Unable to run X on ATI Radeon 2400HD with radeonhd driver
Hello, I'm trying to run X server on a newly installed machine with has an onboard nvidia card and another ATI Radeon 2400HD in it's PCIExpress slot. X server runs on the onboard card but fails to initialize the ATI card because it can't read it's AtomBios information. Here's the relevant part from Xorg log : (II) RADEONHD: version 1.2.4, built from git branch master, commit 003325a5 + changes ... (II) RADEONHD(0): Unknown card detected: 0x94C1:0x1458:0x2190. If - and only if - your card does not work or does not work optimally please contact radeonhd@opensuse.org to help rectify this. Use the subject: 0x94C1:0x1458:0x2190: <name of board> and *please* describe the problems you are seeing in your message. (--) RADEONHD(0): Detected an RV610 on an unidentified card (II) RADEONHD(0): FUNCTION: rhdMapMMIO (II) RADEONHD(0): Mapped IO @ 0xf5000000 to 0x7fe1c1e89000 (size 0x00010000) (II) RADEONHD(0): PCIE Card Detected (II) RADEONHD(0): FUNCTION: RHDAtomBiosFunc (II) RADEONHD(0): FUNCTION: rhdAtomInit (II) RADEONHD(0): Getting BIOS copy from PCI ROM (II) RADEONHD(0): FUNCTION: rhdAtomGetTables (EE) RADEONHD(0): rhdAtomGetTables: No AtomBios signature found (II) RADEONHD(0): Query for AtomBIOS Init: failed (II) RADEONHD(0): FUNCTION: RHDAtomBiosFunc (**) RADEONHD(0): Call to Analog TV Default Mode failed (II) RADEONHD(0): FUNCTION: rhdGetVideoRamSize (II) RADEONHD(0): The detected amount of videoram exceeds the PCI BAR aperture. (II) RADEONHD(0): Using only 262144kB of the total 4194303kB. (--) RADEONHD(0): VideoRAM: 262144 kByte I'm currently using radeonhd which I downloaded and compiled from xorg git repository. version 1.2.4, built from git branch master, commit 003325a5 + changes. Xorg.conf was built using sax2 utility, which found both cards and added them to /etc/X11/xorg.conf file. I even build conntest (which reside under xorg/driver/xf86-video-radeonhd/utils/conntest) and got similar error message : # ./rhd_conntest -d 02:00.0 rhd_conntest: v1.2.4, git branch master, commit 003325a5 + changes No AtomBios signature found Cannot analyze AtomBIOS debugging the code, it seems that it only tries to open the primary device, which is a nvidia card. the vbios base address is hard coded in the code as a macro rhd_conntest.c: 2343 rombase = mmap((caddr_t)0, VBIOS_MAXSIZE, PROT_READ, MAP_SHARED, fd, VBIOS_BASE); rhd_conntest.c:75:#define VBIOS_BASE 0xC0000 When the actual address of the bios is different. I'm willing to share more information about my machine if needed. Some more machine information : # lspci | grep VGA 00:05.0 VGA compatible controller: nVidia Corporation C51G [GeForce 6100] (rev a2) 02:00.0 VGA compatible controller: ATI Technologies Inc RV610 [Radeon HD 2400 XT] # uname -a Linux doves 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/SuSE-release openSUSE 11.1 (x86_64) VERSION = 11.1 # cat /etc/SuSE-brand openSUSE VERSION = 11.1 # rpm -qa | grep xorg xorg-x11-libXau-7.4-1.31 xorg-x11-libXext-7.4-1.27 xorg-x11-libXfixes-7.4-1.27 xorg-x11-libXv-7.4-1.28 xorg-x11-libs-7.4-8.1 xorg-x11-libXdmcp-devel-7.4-1.31 xorg-x11-libxcb-devel-7.4-1.28 xorg-x11-libxkbfile-devel-7.4-1.27 xorg-x11-libXp-32bit-7.4-1.25 xorg-x11-libXpm-devel-7.4-1.30 xorg-x11-libX11-ccache-7.4-1.38 xorg-x11-libSM-7.4-1.31 xorg-x11-libXpm-7.4-1.30 xorg-x11-libXmu-7.4-1.30 xorg-x11-Xvnc-7.4-17.3 xorg-x11-libfontenc-32bit-7.4-1.23 xorg-x11-fonts-core-7.4-1.32 xorg-x11-libICE-devel-7.4-1.33 xorg-x11-libXpm-32bit-7.4-1.27 xorg-x11-libxkbfile-32bit-7.4-1.25 xorg-x11-libXmu-devel-7.4-1.30 xorg-x11-driver-video-radeonhd-debugsource-1.2.3_081202_ed532a7-1.1 xorg-x11-server-sdk-7.4-17.3 xorg-x11-driver-input-7.4-11.5 xorg-x11-libfontenc-7.4-1.32 xorg-x11-libxkbfile-7.4-1.27 xorg-x11-7.4-8.18 xorg-x11-driver-video-radeonhd-1.2.3_081202_ed532a7-1.1 xorg-x11-fonts-devel-7.4-1.32 xorg-x11-libSM-32bit-7.4-1.26 xorg-x11-libxcb-32bit-7.4-1.24 xorg-x11-fonts-7.4-1.32 xorg-x11-libXfixes-32bit-7.4-1.24 xorg-x11-libXrender-32bit-7.4-1.24 xorg-x11-libXt-devel-7.4-1.29 xorg-x11-libXprintUtil-32bit-7.4-1.26 xorg-x11-libs-32bit-7.4-8.1 xorg-x11-driver-video-radeonhd-debuginfo-1.2.3_081202_ed532a7-1.1 xorg-x11-libICE-7.4-1.33 xorg-x11-libxcb-7.4-1.28 xorg-x11-libX11-7.4-1.29 xorg-x11-libXt-7.4-1.29 xorg-x11-libXrender-7.4-1.27 xorg-x11-libXprintUtil-7.4-1.30 xorg-x11-driver-video-unichrome-20080807-12.47 xorg-x11-driver-video-7.4-19.4 xorg-x11-libICE-32bit-7.4-1.24 xorg-x11-libXau-32bit-7.4-1.23 xorg-x11-libXau-devel-7.4-1.31 xorg-x11-xtrans-devel-7.4-4.21 xorg-x11-libX11-32bit-7.4-1.25 xorg-x11-libX11-devel-7.4-1.29 xorg-x11-libSM-devel-7.4-1.31 xorg-x11-libXrender-devel-7.4-1.27 xorg-x11-libXfixes-devel-7.4-1.27 xorg-x11-libXext-devel-7.4-1.27 xorg-x11-libXp-devel-7.4-1.28 xorg-x11-devel-7.4-8.1 xorg-x11-proto-devel-7.4-1.39 xorg-x11-libfontenc-devel-7.4-1.32 xorg-x11-util-devel-7.4-1.31 xorg-x11-libXext-32bit-7.4-1.25 xorg-x11-libXv-devel-7.4-1.28 xorg-x11-libXdmcp-7.4-1.31 xorg-x11-libXp-7.4-1.28 xorg-x11-xauth-7.4-8.18 xorg-x11-server-7.4-17.3 xorg-x11-libXt-32bit-7.4-1.26 xorg-x11-libXmu-32bit-7.4-1.26 xorg-x11-libXv-32bit-7.4-1.25 xorg-x11-libXprintUtil-devel-7.4-1.30 Thank you, Sagi. -- Sagi Ben-Akiva - sagi@graphtech.co.il GraphTech Computer Systems, www.graphtech.co.il Tel: +972-9-9703334 Mob: +972-54-4970634 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Mon, Dec 22, 2008 at 4:24 PM, Sagi Ben-Akiva
Hello, I'm trying to run X server on a newly installed machine with has an onboard nvidia card and another ATI Radeon 2400HD in it's PCIExpress slot.
X server runs on the onboard card but fails to initialize the ATI card because it can't read it's AtomBios information.
ROM decoding is probably not enabled on the secondary card. Using sysfs you should be able to enable the ROM on radeon card: echo 1 > /sys/bus/pci/devices/domain:bus:slot.fn/rom (you can see PCI topology using lspci) then try starting X. Luca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
Hi Luca, Thank you for your answer. After sending the email I started to read radeonhd wiki carefully and found the same line. After doing it, I was able to run X on the second card. But I have one more issue : rhd_conntest fails to run on my system with the following error message : rhd_conntest: v1.2.4, git branch master, commit 003325a5 + changes No AtomBios signature found Cannot analyze AtomBIOS I looked at rhd_conntest source code and I noticed that it reads the rom only for the primary card which explains the failure. Thanks, Sagi. Luca Tettamanti wrote:
On Mon, Dec 22, 2008 at 4:24 PM, Sagi Ben-Akiva
wrote: Hello, I'm trying to run X server on a newly installed machine with has an onboard nvidia card and another ATI Radeon 2400HD in it's PCIExpress slot.
X server runs on the onboard card but fails to initialize the ATI card because it can't read it's AtomBios information.
ROM decoding is probably not enabled on the secondary card. Using sysfs you should be able to enable the ROM on radeon card: echo 1 > /sys/bus/pci/devices/domain:bus:slot.fn/rom (you can see PCI topology using lspci)
then try starting X.
Luca
-- Sagi Ben-Akiva - sagi@graphtech.co.il GraphTech Computer Systems, www.graphtech.co.il Tel: +972-9-9703334 Mob: +972-54-4970634 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Wed, Dec 24, 2008 at 3:39 PM, Sagi Ben-Akiva
But I have one more issue : rhd_conntest fails to run on my system with the following error message :
rhd_conntest: v1.2.4, git branch master, commit 003325a5 + changes No AtomBios signature found Cannot analyze AtomBIOS
I looked at rhd_conntest source code and I noticed that it reads the rom only for the primary card which explains the failure.
Yep, it reads from 0xC0000 which is the legacy VGA ROM space. I think that the PCI bridges forward the request to the "primary" card according to the VGA bus routing bit. Luca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (2)
-
Luca Tettamanti
-
Sagi Ben-Akiva