Created attachment 27506 [details] [review] connector information A Lenovo machine I use has a radeon HD 2400 XT card that lies about its connector information, which results in the DVI port not working with the radeonhd driver. I figured out the right connector information via trial and error. I obviously don't have the connector macro name right, but I don't really understand the naming scheme there. I've been using this patch for a few months with both the DVI and VGA ports in use and everything seems to work properly.
Can you please attach a Xorg.0.log of a 'X -logverbose 7' run? Also, for determining the correct set of flags we use the 'conntest' of the utils/ directory. It includes a README how to run it. Please attach the output of conntest with and without attached monitor(s), because chances are that just the HDP pins are wrong.
Here's the conntest info. I'll provide a xorg log shortly. conntest with DVI and VGA plugged in: rhd_conntest: v1.2.5, non-git sources Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT] Checking connectors on 0x94C1, 0x1458, 0x2174 (@01:00:00): Load Detection: RHD_OUTPUT_DACA HotPlug: RHD_HPD_1 DDC: RHD_DDC_NONE ----------------------------------------------------- with DVI only: rhd_conntest: v1.2.5, non-git sources Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT] Checking connectors on 0x94C1, 0x1458, 0x2174 (@01:00:00): Load Detection: RHD_OUTPUT_NONE HotPlug: RHD_HPD_1 DDC: RHD_DDC_NONE ----------------------------------------------------- with VGA only: rhd_conntest: v1.2.5, non-git sources Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT] Checking connectors on 0x94C1, 0x1458, 0x2174 (@01:00:00): Load Detection: RHD_OUTPUT_DACA HotPlug: RHD_HPD_NONE DDC: RHD_DDC_NONE ----------------------------------------------------- and with neither: rhd_conntest: v1.2.5, non-git sources Found card: ATI Technologies Inc - RV610 [Radeon HD 2400 XT] Checking connectors on 0x94C1, 0x1458, 0x2174 (@01:00:00): Load Detection: RHD_OUTPUT_NONE HotPlug: RHD_HPD_NONE DDC: RHD_DDC_NONE
This rather looks rather bad - neither load detection is working for DVI for you, nor is *any* DDC detected. Egbert, you know best about DDC, what is happening here?
A copy of your vbios would be helpful. (as root) cd /sys/bus/pci/devices/<pci bus id>/ echo 1 > rom cat rom > /tmp/lenovo_hd2400.rom echo 0 > rom
Created attachment 27584 [details] xorg -logverbose 7 output This was generated with my patch applied, so I'm not sure if it'll help at all. I don't have access to this machine outside business hours, so this is the best I can do for now.
Created attachment 27659 [details] rom file
? The driver gets EDID from DDC_1, but conntest fails to detect that there's something on DDC_1? What is happening there? Strange... Luc, I think you wrote conntest, any ideas?
Apparently Egbert wrote the DDC code. Egbert?
Does this issue occur with the preferred ati driver (xf86-vide-ati)? If so, please move this to the Driver/Radeon component. Development of radeonhd has pretty much halted and development focus is on the ati driver. Please see http://www.x.org/wiki/radeonhd If the issue does not exist in the ati driver (or if there is no response to this message), this bug will be closed as WONTFIX unless someone contributes a patch.
I don't have access to the hardware any more. Feel free to close this bug.
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.