Bug 17922

Summary: radeon driver fails for RS482 [Xpress 200], did work with Xorg-6.9
Product: xorg Reporter: Peter Breitenlohner <peb>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.3 (2007.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
possible fix
none
xorg log from todays git plus patch
none
xorg log for RS482 from working Xorg-6.9 none

Description Peter Breitenlohner 2008-10-06 02:52:59 UTC
With new hardware we had to switch from Xorg-6.9 to Xorg-7.3 (or the upcoming 7.4). This works mostly fine (e.g., we can use the nv driver instead of the proprietary nvidia one).

But we have serious problems with the RS482 [Radeon Xpress 200] on some of our systems (reading the ChangeLog that seems to be a problem child):
  PCI: 01:05:0: chip 1002,5974 card 103c,280a rev 00 class 03,00,00 hdr 80

Everything looks fine, except that the screen is white (but does accept keyboard input).

That card used to work just fine with Xorg-6.9, and if the problem cannot be fixed, we may have to keep this old version around just for these few systems.

From Xorg.0.log for 7.3 we get
  Port0: DDCType-0x68, DACType-2, TMDSType-1, ConnectorType-1
  Port1: DDCType-0x68, DACType-0, TMDSType-2, ConnectorType-3
  Port5: DDCType-0x0, DACType-2, TMDSType-0, ConnectorType-5

  Output VGA-0 using monitor section Monitor1
  Output DVI-0 has no monitor section

  Port1:
    Monitor   -- AUTO
    Connector -- DVI-D
    DAC Type  -- None
    TMDS Type -- External
    DDC Type  -- 0x68

but later on
  Output: VGA-0, Detected Monitor Type: 0
  Output: DVI-0, Detected Monitor Type: 0

(EE) RADEON(0): No connected devices found!

=================

The same problem occurs with driver versions 6.6.3, 6.8.0, 6.9.0, as well as git as of about two weeks ago.

Is there some secret config option to assign the correct monitor section to the DVI-D output?
Comment 1 Alex Deucher 2008-10-06 08:05:09 UTC
Created attachment 19410 [details] [review]
possible fix

XPRESS chips use external TMDS which we've never really had working correctly in most cases.  It's worked in pre-randr versions of the driver mostly by luck.  This patch against ati git master attempts to use the hw i2c engine which may work better than using sw bit banging.
Comment 2 Peter Breitenlohner 2008-10-07 02:32:59 UTC
have tried the possible fix (id=19410), unfortunately nothing has changed

today I tried both the VGA and DVI-D output, same result (white screen) for both

Could more info from Xorg.0.log (or any other diagnostic output) be of any help?
Comment 3 Alex Deucher 2008-10-07 07:38:08 UTC
(In reply to comment #2)
> have tried the possible fix (id=19410), unfortunately nothing has changed
> 
> today I tried both the VGA and DVI-D output, same result (white screen) for
> both
> 
> Could more info from Xorg.0.log (or any other diagnostic output) be of any
> help?
> 

Can you attach the xorg log from the run with the patch applied?
Comment 4 Peter Breitenlohner 2008-10-07 08:05:13 UTC
(In reply to comment #3)
> Can you attach the xorg log from the run with the patch applied?
> 

Attached is the xorg log created by the git version (of this morning) with the patch applied as well as, for comparison, the one from the working Xorg-6.9 version.

I should add that the system has an x86_64 kernel, but Xorg is an i686 binary (in case that matters).
Comment 5 Peter Breitenlohner 2008-10-07 08:06:41 UTC
Created attachment 19437 [details]
xorg log from todays git plus patch
Comment 6 Peter Breitenlohner 2008-10-07 08:07:39 UTC
Created attachment 19438 [details]
xorg log for RS482 from working Xorg-6.9
Comment 7 Alex Deucher 2009-11-11 10:32:49 UTC
This should be fixed in xf86-video-ati git master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.