Bug 18615

Summary: randr screen changes break xdpyinfo (and likely DPI in general)
Product: xorg Reporter: Michal Suchanek <hramrach>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: NetBSD   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
script that causes reported physical size to shrink 271->215 mm none

Description Michal Suchanek 2008-11-18 17:40:08 UTC
when I start X the xdpyinfo and xrandr report basically the same physical size, and the DPI is correct.

however, when I rotate the screen with

xrandr --orientation 3

the width and height in pixels are swapped, and the width in mm and height in mm are not, resulting in asymmetric wrong DPI.

xrandr --output <myouputname> --rotation right

results in correct DPI but I have to know the name of the output.

Note also the inconsistent interface, the values are not interchangeable.

It also seems repeatedly changing screen layout like this reduces the physical screen size reported by xdpyinfo slowly.
Comment 1 Michal Suchanek 2008-11-19 04:13:21 UTC
Created attachment 20442 [details]
script that causes reported physical size to shrink 271->215 mm
Comment 2 Michal Suchanek 2009-06-30 09:08:11 UTC
Screen size is no longer changed.

DPI breaks, however, which is bug 692.

*** This bug has been marked as a duplicate of bug 692 ***

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.