[Bug 12474] New: DisplaySize overridden and DPI miscalculated by the driver
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 18 15:06:19 PDT 2007
http://bugs.freedesktop.org/show_bug.cgi?id=12474
Summary: DisplaySize overridden and DPI miscalculated by the
driver
Product: xorg
Version: 7.3
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: medium
Component: Driver/Radeon
AssignedTo: xorg-driver-ati at lists.x.org
ReportedBy: freebsd at chillt.de
QAContact: xorg-team at lists.x.org
I am using version 6.7.192 of the Radeon driver. The machine is a Dell Inspiron
8600C laptop running FreeBSD 6-STABLE with a Radeon M10 graphics card serving
the internal LCD panel via LVDS. The screen is 15.4" widescreen with a
resolution of 1920x1200.
As the screen appears not to report its physical size to the driver, I manually
set it via "DisplaySize 325 203" in the "Monitor" section. This worked
correctly in X.org 7.2 and resulted in the correct 150 DPI being calculated.
The new driver normally ignores the "Monitor" section. After I set the
undocumented "Monitor-LVDS" option, the DisplaySize setting does get read and
used, but then gets overridden somehow, resulting in a bogus physical screen
size and 96 DPI (see attached Xorg.0.log).
The relevant log lines are:
> Line 508: (==) RADEON(0): X server will not keep DPI constant for all screen sizes
----
> Line 537: (II) RADEON(0): Max desktop size set to 2560x2048
----
> Line 559: (II) RADEON(0): Panel Size from BIOS: 1920x1200
----
> Line 637: (II) RADEON(0): Output LVDS using initial mode 1920x1200
----
> Line 639: (**) RADEON(0): Display dimensions: (325, 203) mm
> Line 640: (**) RADEON(0): DPI set to (200, 256)
----
> Line 787: (II) RADEON(0): Setting screen physical size to 508 x 317
My understanding is as follows:
* Line 508: randr will not fudge the physical screen size to keep the DPI
constant
* Line 537: The graphics card can handle up to 2560x2048 resolution
* Line 559: The LCD panel will only do 1920x1200 resolution
* Line 637: The chosen resolution is 1920x1200
* Line 639: The correct physical screen size has been read from xorg.conf
* Line 640: Despite knowing that 1920x1200 will be used, the driver calculates
DPI based on 2560x2048, which is wrong
* Line 787: The driver for some reason overrides the correct physical screen
size, now again using 1920x1200 resolution and fudging the size so that it
results in 96 DPI, which is wrong
I have to manually correct the physical screen size via "xrandr --fbmm 325x203"
after every login, which is a pain.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-driver-ati
mailing list