Bug 13251 - kdrive (Xfbdev) server reports bad RandR when started as rotated
Summary: kdrive (Xfbdev) server reports bad RandR when started as rotated
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: ARM Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-14 17:35 UTC by Stanislav Brabec
Modified: 2018-06-11 19:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Stanislav Brabec 2007-11-14 17:35:03 UTC
I have Zaurus SL-C3200, which has native screen resolution 480x640, but the resolution native to users is 640x480. That is why the default position of the screen is changed by command line arguments:
Xfbdev -br -pn -dpi 200 -rgba rgb -screen 480x640@270 :0 -noreset

But when program asks for xrandr values, some values are returned using the native screen coordinates, other values are returned using rotated coordinates.

For example icewm guesses full size window badly and full screen windows has swapped sizes.


Screen 0: minimum 480 x 640, current 640 x 480, maximum 480 x 640
default connected 480x640+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   480x640         0.0* 

Work-around:
Xfbdev -br -pn -dpi 200 -rgba rgb -screen 480x640 :0 -noreset
xrandr -o right

The result is exactly the same screen orientation, but xrandr returns correct values. Now it is clean, that the screen is rotated and applications work correctly.

Screen 0: minimum 480 x 640, current 640 x 480, maximum 480 x 640
default connected 640x480+0+0 right (normal left inverted right x axis y axis) 0mm x 0mm
   480x640         0.0*
Comment 1 Adam Jackson 2018-06-11 19:30:01 UTC
Xfbdev isn't a thing anymore.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.