Skip to contentSkip to conversation

New: nouveau reports DPI correctly in Xorg.0.log, but value reported by X incorrect

Bug 26194 [email protected] 1 participant 3 messages Jan 24, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=26194

Summary: nouveau reports DPI correctly in Xorg.0.log, but value
reported by X incorrect
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

A bit odd:

$ grep -E 'DPI|dimensions' /var/log/Xorg.0.log
(**) NOUVEAU(0): Display dimensions: (290, 180) mm
(**) NOUVEAU(0): DPI set to (112, 112)

290mm x 180mm and 112x112 DPI are indeed correct (1280x800, 13.3" widescreen), however:

$ xdpyinfo | grep -E 'dimensions|resolution'
  dimensions:    1280x800 pixels (338x211 millimeters)
  resolution:    96x96 dots per inch

X appears to be getting bogus data, which screws up font sizing.

I'm on a MacBook Pro 13" with GeForce 9400M (NVac). Using nouveau-drm from the kernel tree with git rev eeec3a1ecd703d3a32fe223274d2a77686030d78 (built out of tree for kernel 2.6.32-gentoo-r2), and xf86-video-nouveau git rev 2630a1553d560ce2c7391bc103d4a543f7d3d0da.

If there's any more data or info I can provide, please let me know.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-26194-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 26194] nouveau reports DPI correctly in Xorg.0.log, but value reported by X incorrect

http://bugs.freedesktop.org/show_bug.cgi?id=26194

Julien Cristau <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Julien Cristau <[email protected]> 2010-01-24 06:37:29 PST ---

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

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 26194] nouveau reports DPI correctly in Xorg.0.log, but value reported by X incorrect

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26194

--- Comment #2 from Brian Tarricone <[email protected]> 2010-01-24 14:56:51 PST --- (In reply to comment #1)

Quoted 2 lines

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

Are you sure this is a dupe? That bug seems to refer to a general problem with xorg-server 1.7. When I use 'nvidia' instead of 'nouveau', my DPI is reported correctly. So it sounds like this is something that the video driver does indeed have control over.

(If it's not *appropriate* for the video driver to 'unbreak' this, then of course I understand.)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.