Skip to content
  • Hans de Goede's avatar
    monitor-config-manager: Fix 90/270 degree rotation not working · 1035200f
    Hans de Goede authored and Carlos Garnacho's avatar Carlos Garnacho committed
    When rotating 90/270 degrees we need to swap width and height. This fixes
    the screen going black and the following errors showing in the journal:
    
    gnome-shell[1097]: Failed to set CRTC mode 800x1280: No space left on device
    gnome-shell[1097]: Failed to flip: Device or resource busy
    gnome-shell[1097]: Failed to set CRTC mode 800x1280: No space left on device
    gnome-shell[1097]: Failed to set CRTC mode 800x1280: No space left on device
    
    When rotating a tablet with accelerometer 90/270 degrees.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787836
    1035200f