Bug 18615 - randr screen changes break xdpyinfo (and likely DPI in general)
Summary: randr screen changes break xdpyinfo (and likely DPI in general)
Status: RESOLVED DUPLICATE of bug 692
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) NetBSD
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 17:40 UTC by Michal Suchanek
Modified: 2009-06-30 09:08 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
script that causes reported physical size to shrink 271->215 mm (327 bytes, text/plain)
2008-11-19 04:13 UTC, Michal Suchanek
no flags Details

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.