[systemsettings] [Bug 322653] New: Setup for rotated displays is not saved correctly
Bogdan
bogdanb at gmail.com
Sun Jul 21 15:06:44 BST 2013
https://bugs.kde.org/show_bug.cgi?id=322653
Bug ID: 322653
Summary: Setup for rotated displays is not saved correctly
Classification: Unclassified
Product: systemsettings
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: kcm_randr
Assignee: unassigned-bugs at kde.org
Reporter: bogdanb at gmail.com
CC: hbock at providence.edu
I have a multi-monitor setup and I recently noticed that I was affected by bug
#183143. I looked into some of the work-arounds posted there, but while doing
so I noticed that the xrandr line written into krandrrc for the rotated screen
is wrong (i.e., xrandr does not accept it).
Reproducible: Always
Steps to Reproduce:
1. Get a multi-monitor setup;
2. Rotate one of the screens;
3. Save the configuration as default;
4. Examine the StartupCommands line in ~/.kde/share/config/krandrrc, and
isolate the command for the rotated screen.
Actual Results:
xrandr --output DVI-I-1 --pos 1920x0 --mode 1200x1920 --rotate left --refresh
59.9502
Expected Results:
xrandr --output DVI-I-1 --pos 1920x0 --mode 1920x1200 --rotate left --refresh
59.9502
If you’re wondering what the difference is, it’s the mode.
$ xrandr --output DVI-I-1 --pos 1920x0 --mode 1200x1920 --rotate left --refresh
59.9502
xrandr: cannot find mode 1200x1920
For some reason whoever generates the krandrrc rotates the mode according to
the screen rotation. Apparently xrandr wants to set the mode in unrotated
coordinates, which sort of makes sense. (Presumably the mode is needed to
configure the data link to the screen, which doesn’t care if the image is
rotated. I’m not sure where those refresh values come from, xrandr shows 60.0.)
This is the configuration I’m supposed to have:
$ xrandr
Screen 0: minimum 8 x 8, current 3120 x 1920, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1200x1920+1920+0 left (normal left inverted right x axis y
axis) 546mm x 352mm
1920x1200 60.0*+ 59.9
1680x1050 60.0
1600x1200 60.0
1600x1000 60.0
1280x1024 75.0 60.0
1280x960 60.0
1024x768 75.0 60.0
800x600 75.0 60.3
640x480 75.0 59.9
HDMI-0 connected 1920x1200+0+430 (normal left inverted right x axis y axis)
546mm x 352mm
1920x1200 60.0*+
1920x1080 59.9 50.0 30.0 30.0 25.0
1680x1050 60.0
1600x1200 60.0
1600x1000 60.0
1280x1024 75.0
1280x960 60.0
1280x720 60.0 59.9 50.0
1024x768 75.0 60.0
800x600 75.0 60.3
720x576 50.0 25.0
720x480 59.9 30.0
640x480 75.0 59.9 59.9
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list