Bug 155686

Summary: XGL calculates dpi wrongly
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stephan Binner <stbinner>
Component: X.OrgAssignee: David Reveman <dreveman>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: eich, sndirsch
Version: Beta 6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Binner 2006-03-07 06:51:42 UTC
With Xorg, as printed by xdpyinfo:

  dimensions:    1920x1200 pixels (332x210 millimeters)
  resolution:    147x145 dots per inch

Same configuration and Xgl running:

  dimensions:    1920x1200 pixels (508x318 millimeters)
  resolution:    96x96 dots per inch
Comment 1 David Reveman 2006-03-09 01:45:20 UTC
I know that it has been discussed if DPI should actually be calculated like Xorg is doing it or if it should be set to something more useful like kdrive and Xgl is doing. However, I think it makes sense to have Xgl use Xorg's DPI setting when running on top of it so I'll try to fix this asap.
Comment 2 David Reveman 2006-03-09 13:54:07 UTC
Fixed in CVS.
Comment 3 Matthias Hopf 2006-03-09 15:49:07 UTC
David, I suggest closing bugs only if an updated package is available.
I'm in the process of generating a new Xgl package, but I'm stumbling over several generic build errors. Will have that fixed soon, hopefully.
Comment 4 Matthias Hopf 2006-03-10 15:02:01 UTC
Fixed in stable.