X server should evaluate desktop resolution after applying rotation (and possibly other randr options)
Submitted by Jaroslav Stepanek
Assigned to Jaroslav Stepanek
Description
exact settings: virtual desktop size:2047x2047 first screen:1024x768 secondary screen:1280x1024 (rotation left => pivot mode, makes 1024x1280) first screen position (xrandr --pos): 0x0 secondary screen position: 1023x0
expected behaviour: -secondary screen right of the primary and rotated left, with the two sharing a 1 pixel line (graphic card hast a 2047x2047 limit) -works perfectly as axpected using a lower resolution on either screen
actual behaviour: -the secondary screen is automatically placed with an offset of 767 (same as xrandr --pos 767x0), because Xorg thinks that the two screens will not fit the virtual desktop size (1024+1280=2304) -there is the problem line in /var/log/Xorg.0.log: Mode 1280x1024+1023+0 does not fit virtual size 2047x2047 - offset updated to +767+0
notes: -it seems that the X server validates the resolution before applying rotation, this results in a wrong interpretation, because the actual resolution after applying rotation is NOT 2303x1024 (which doesn't fit the given virtual desktop size), BUT rather 2047x1280 (which is obviously fine)
Version: 7.4 (2008.09)