Bug 441848 - Intel driver gives bogus screen size in mm
Summary: Intel driver gives bogus screen size in mm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-i810
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-10 15:00 UTC by Peter Bloomfield
Modified: 2008-04-10 20:35 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-10 18:33:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Small program to dump screen size. (549 bytes, text/plain)
2008-04-10 15:00 UTC, Peter Bloomfield
no flags Details
xorg.conf (691 bytes, text/plain)
2008-04-10 15:01 UTC, Peter Bloomfield
no flags Details
Xorg.0.log for intel driver (361 bytes, text/plain)
2008-04-10 15:02 UTC, Peter Bloomfield
no flags Details
Xorg.0.log for vesa driver (37.87 KB, text/plain)
2008-04-10 15:03 UTC, Peter Bloomfield
no flags Details
Correct Xorg.0.log for intel driver (22.45 KB, text/plain)
2008-04-10 15:17 UTC, Peter Bloomfield
no flags Details

Description Peter Bloomfield 2008-04-10 15:00:14 UTC
Description of problem:
When intel is used, my screen (Sony SDM-X82) is reported to be 40959 mm by 6553
mm, whereas vesa gives the correct 361 x 292.  I wouldn't care, except that
Evince believes what it's told (unwisely, imo), and refuses to show a
US-letter-size pdf larger than a small postage stamp--but that's another story.

Version-Release number of selected component (if applicable):
xorg-x11-drv-i810-2.2.1-20

How reproducible:
Every time.

Steps to Reproduce:
1.  Attached is a short program that uses {Width,Height}MMOfScreen to display
what the server claims.
2.
3.
  
Actual results:
Screen is 1280 (40959 mm) wide by 1024 (6553 mm) high.

Expected results:
Screen is 1280 (361 mm) wide by 1024 (292 mm) high.

Additional info:
lspci shows:
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated
Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics
Controller (rev 02)

xorg.conf and Xorg.0.log to follow.

Comment 1 Peter Bloomfield 2008-04-10 15:00:14 UTC
Created attachment 302003 [details]
Small program to dump screen size.

Comment 2 Peter Bloomfield 2008-04-10 15:01:33 UTC
Created attachment 302004 [details]
xorg.conf

Comment 3 Peter Bloomfield 2008-04-10 15:02:54 UTC
Created attachment 302007 [details]
Xorg.0.log for intel driver

Comment 4 Peter Bloomfield 2008-04-10 15:03:32 UTC
Created attachment 302008 [details]
Xorg.0.log for vesa driver

Comment 5 Peter Bloomfield 2008-04-10 15:17:57 UTC
Created attachment 302009 [details]
Correct Xorg.0.log for intel driver

Comment 6 Adam Jackson 2008-04-10 18:27:42 UTC
Can you compare the output of 'xdpyinfo | grep dimensions' with 'xrandr | grep
mm' for me?  I think we're just getting out of sync somewhere.

Comment 7 Adam Jackson 2008-04-10 18:33:26 UTC
Actually, not an X bug.  Turns out this was due to gnome-desktop setting the DPI
for you, wildly incorrectly.

Comment 8 Peter Bloomfield 2008-04-10 18:41:28 UTC
OK--just for the sake of completeness:

$ xdpyinfo | grep dimensions
  dimensions:    1280x1024 pixels (40959x6553 millimeters)
$ xrandr | grep mm
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis) 359mm x 287mm

How can I get gnome-desktop to not mess with the DPI?

Comment 9 Adam Jackson 2008-04-10 20:35:10 UTC
Update to gnome-desktop 2.21.1-2


Note You need to log in before you can comment on or make changes to this bug.