Michael Cree wrote:
Stephane Louise wrote:
I am trying to set up a ATI Radeon X1900 MacEdition (PCIe) on my Quad G5 PowerMac.
IIRC, the powerpc on Mac is a big-endian architecture. Coupled with:
Indeed.
(II) RADEONHD: version 1.2.1, built from dist of git branch master, commit 761940fd
it is not surprising that it doesn't work as version 1.2.1 of radeonhd does not support big-endian architectures. You need to update to at least version 1.2.5 of readonhd. But even then you're probably screwed, as the fixes in 1.2.5 do not extend to accessing the AtomBios. I attach a patch that might help you. You apply it to git master (or version 1.2.5 source would suffice, if you prefer). There is a possibility that you have to insert a '#define linux' before the '#include "compiler.h"' before it works correctly. I have to do that on the Alpha architecture for some reason that I haven't had time to find out why. (The patch fixes both endian and alignment issues.)
But, if your ati card has no AtomBIOS as you suggest, then my patch will likely be of no use to you. Upgrading to at least version 1.2.5 of radeonhd may still be a useful test.
(II) LoadModule: "radeonhd" (II) Loading /usr/lib/xorg/modules/drivers//radeonhd_drv.so (II) Module radeonhd: vendor="AMD GPG" compiled for 1.4.2, module version = 1.2.5 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 [...] (II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices: RV505 : Radeon X1550, X1550 64bit. RV515 : Radeon X1300, X1550, X1600; FireGL V3300, V3350. RV516 : Radeon X1300, X1550, X1550 64-bit, X1600; FireMV 2250. R520 : Radeon X1800; FireGL V5300, V7200, V7300, V7350. RV530 : Radeon X1300 XT, X1600, X1600 Pro, X1650; FireGL V3400, V5200. RV535 : Radeon X1300, X1650. RV550 : Radeon X2300 HD. RV560 : Radeon X1650. RV570 : Radeon X1950, X1950 GT; FireGL V7400. R580 : Radeon X1900, X1950; AMD Stream Processor. R600 : Radeon HD 2900 GT/Pro/XT; FireGL V7600/V8600/V8650. RV610 : Radeon HD 2350, HD 2400 Pro/XT, HD 2400 Pro AGP; FireGL V4000. RV620 : Radeon HD 3450, HD 3470. RV630 : Radeon HD 2600 LE/Pro/XT, HD 2600 Pro/XT AGP; Gemini RV630; FireGL V3600/V5600. RV635 : Radeon HD 3650, HD 3670. RV670 : Radeon HD 3690, 3850, HD 3870, FireGL V7700, FireStream 9170. R680 : Radeon HD 3870 X2. M52 : Mobility Radeon X1300. M54 : Mobility Radeon X1400; M54-GL. M56 : Mobility Radeon X1600; Mobility FireGL V5200. M58 : Mobility Radeon X1800, X1800 XT; Mobility FireGL V7100, V7200. M62 : Mobility Radeon X1350. M64 : Mobility Radeon X1450, X2300. M66 : Mobility Radeon X1700, X1700 XT; FireGL V5250. M68 : Mobility Radeon X1900. M71 : Mobility Radeon HD 2300. M72 : Mobility Radeon HD 2400; Radeon E2400. M74 : Mobility Radeon HD 2400 XT. M76 : Mobility Radeon HD 2600; (Gemini ATI) Mobility Radeon HD 2600 XT. M82 : Mobility Radeon HD 3400. M86 : Mobility Radeon HD 3650, HD 3670, Mobility FireGL V5700. M88 : Mobility Radeon HD 3850, HD 3850 X2, HD 3870, HD3870 X2. RS600 : Radeon Xpress 1200, Xpress 1250. RS690 : Radeon X1200, X1250, X1270. RS740 : RS740, RS740M. RS780 : Radeon HD 3100/3200/3300 Series. RV770 : Radeon HD 4800 Series; Everest, K2, Denali ATI FirePro. R700 : Radeon R700. M98 : Radeon M98 Mobility. RV730 : Radeon HD4670, HD4650. M96 : Radeon M96 Mobility. RV710 : Radeon HD4570, HD4350. (II) RADEONHD: version 1.2.5, built from non-git sources (II) Primary Device is: PCI 0a:00:0 (--) Chipset R580 found (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xfa500000 - 0xfa50ffff (0x10000) MX[B]E [5] -1 0 0xfa510000 - 0xfa51ffff (0x10000) MX[B]E [6] -1 0 0xfa520000 - 0xfa52ffff (0x10000) MX[B]E [7] -1 0 0xfa530000 - 0xfa53ffff (0x10000) MX[B]E [8] -1 0 0xfa400000 - 0xfa401fff (0x2000) MX[B]E [9] -1 0 0xfa404000 - 0xfa407fff (0x4000) MX[B]E [10] -1 0 0xfa402000 - 0xfa403fff (0x2000) MX[B]E [11] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E [12] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E [13] -1 0 0x80082000 - 0x80083fff (0x2000) MX[B]E [14] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E [15] -1 0 0xa0020000 - 0xa003ffff (0x20000) MX[B](B) [16] -1 0 0xf1000000 - 0xf100ffff (0x10000) MX[B](B) [17] -1 0 0xa0000000 - 0xa7ffffff (0x8000000) MX[B](B) [18] -1 0 0x80100000 - 0x8011ffff (0x20000) MX[B](B) [19] -1 0 0x81000000 - 0x81ffffff (0x1000000) MX[B](B) [20] -1 0 0x90000000 - 0x9fffffff (0x10000000) MX[B](B) [21] -1 0 0x82000000 - 0x82ffffff (0x1000000) MX[B](B) [22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [23] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [24] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [25] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [26] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [27] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [28] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E (II) resource ranges after probing: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xfa500000 - 0xfa50ffff (0x10000) MX[B]E [5] -1 0 0xfa510000 - 0xfa51ffff (0x10000) MX[B]E [6] -1 0 0xfa520000 - 0xfa52ffff (0x10000) MX[B]E [7] -1 0 0xfa530000 - 0xfa53ffff (0x10000) MX[B]E [8] -1 0 0xfa400000 - 0xfa401fff (0x2000) MX[B]E [9] -1 0 0xfa404000 - 0xfa407fff (0x4000) MX[B]E [10] -1 0 0xfa402000 - 0xfa403fff (0x2000) MX[B]E [11] -1 0 0x80080000 - 0x80080fff (0x1000) MX[B]E [12] -1 0 0x80081000 - 0x80081fff (0x1000) MX[B]E [13] -1 0 0x80082000 - 0x80083fff (0x2000) MX[B]E [14] -1 0 0x80000000 - 0x8007ffff (0x80000) MX[B]E [15] -1 0 0xa0020000 - 0xa003ffff (0x20000) MX[B](B) [16] -1 0 0xf1000000 - 0xf100ffff (0x10000) MX[B](B) [17] -1 0 0xa0000000 - 0xa7ffffff (0x8000000) MX[B](B) [18] -1 0 0x80100000 - 0x8011ffff (0x20000) MX[B](B) [19] -1 0 0x81000000 - 0x81ffffff (0x1000000) MX[B](B) [20] -1 0 0x90000000 - 0x9fffffff (0x10000000) MX[B](B) [21] -1 0 0x82000000 - 0x82ffffff (0x1000000) MX[B](B) [22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [23] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [24] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [25] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [26] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [27] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E [28] -1 0 0xf0000000 - 0xf0000000 (0x1) IX[B]E (**) RADEONHD(0): Depth 24, (--) framebuffer bpp 32 (**) RADEONHD(0): Selected XAA 2D acceleration. (II) RADEONHD(0): Unknown card detected: 0x7240:0x1002:0x7240. 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: 0x7240:0x1002:0x7240: <name of board> and *please* describe the problems you are seeing in your message. (--) RADEONHD(0): Detected an R580 on an unidentified card (II) RADEONHD(0): Mapped IO @ 0xf1000000 to 0xf7fbe000 (size 0x00010000) (II) RADEONHD(0): PCIE Card Detected (II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location (EE) RADEONHD(0): Invalid BIOS length field (II) RADEONHD(0): Getting BIOS copy from PCI ROM (II) Attempted to read BIOS 128KB from /sys/bus/pci/devices/0000:0a:00.0/rom: got 0KB (EE) RADEONHD(0): Cannot read BIOS image (II) RADEONHD(0): Query for AtomBIOS Init: failed (EE) RADEONHD(0): No Video RAM detected. (II) RADEONHD(0): Query for AtomBIOS Teardown: failed (II) UnloadModule: "radeonhd" (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found Using "#define linux" or not doesn't change a thing. In a way it seems worse than before since it doesn't detect the amount of video RAM. But I may have done something bad regarding the compilation or installation of the new radeonhd module. Thank you anyway for taking the time to answer. Best regards, -- Stéphane Louise -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org