[Bug 12474] DisplaySize overridden and DPI miscalculated by the driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Oct 6 03:12:51 PDT 2007


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


arekm at maven.pl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|FreeBSD                     |All




------- Comment #21 from arekm at maven.pl  2007-10-05 17:52 PST -------
Doesn't work with newly released ati driver 6.7.195. Alex Deucher tells that
this is probably xserver issue and not ati driver one:
http://lists.freedesktop.org/archives/xorg/2007-September/028627.html.
Unfortunately xserver devs didn't respond to that so this is still unknown.

If you are xserver dev and could help to track down this I'm ready to test your
ideas, debug things and so on. Very nasty issue preventing any few randr 1.2
drivers from being usable :-/


------- Comment #22 from arekm at maven.pl  2007-10-05 17:52 PST -------
Doesn't work with newly released ati driver 6.7.195. Alex Deucher tells that
this is probably xserver issue and not ati driver one:
http://lists.freedesktop.org/archives/xorg/2007-September/028627.html.
Unfortunately xserver devs didn't respond to that so this is still unknown.

If you are xserver dev and could help to track down this I'm ready to test your
ideas, debug things and so on. Very nasty issue preventing any few randr 1.2
drivers from being usable :-/


------- Comment #23 from arekm at maven.pl  2007-10-05 22:31 PST -------
In my case resolution is 1680x1050 and this code in
hw/xfree86/modes/xf86RandR12.c is executed:
                /*
                 * Otherwise, just set the screen to 96dpi
                 */
                mmWidth = width * 25.4 / 96;
                mmHeight = height * 25.4 / 96;

width is 1680, height 1050 and that ends up as   dimensions:    1680x1050
pixels (444x277 millimeters).

I assume that the standard code path that this driver shoud follow is:
if (crtc && crtc->mode.HDisplay && output->mm_width && output->mm_height)

Unfortunately the problem is that mm_width and mm_height are zero so that code
path is never executed. Don't know yet where these come from - I assume radeon
driver fills these. Digging.

I'm guessing that my problems are related to "(WW) RADEON(0): Unknown DDCType 6
found" like not found => no ddc query => panel dimensions unknown. Is my
guessing correct?


------- Comment #24 from arekm at maven.pl  2007-10-06 03:15 PST -------
"Unknown DDCType 6 found" was the main problem here. Without handling it
DDC/EDID didn't work so X didn't know panel dimensions and other stuff. Thanks
to airlied git commit 0b03a73b7dcb4aa192c42f2a4c842d324c358122 the isue is
solved for me.

Bartosz logs also show the same issue so I guess he will be fine with this
patch, too.


-- 
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