[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Making an ATI Radeon X1900 PCIe work on a G5/Quad (or can I?)



Hi Everyone,

I'm having troubles making an ATI Radeon X1900 PCIe work on my G5/Quad.
It is the G5 MacEdition (and it works with Mac OS X, tested).

With linux, the computer works, but no luck with the video: it is frozen on the open firmware boot message end (early kernel boot).

Of course, I tried also with "video=ofonly" but the kernel doesn't seems to take the option into account. For the relevant lines of my dmesg log:

boot:

[...]
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=/dev/sda3 ro video=ofonly
[ 0.000000] mpic: Setting up MPIC " MPIC 1 " version 1.2 at f8040000, max 4 CPUs
[    0.000000] mpic: ISU size: 124, shift: 7, mask: 7f
[    0.000000] mpic: Initializing for 124 sources
[    0.000000] mpic: Setting up HT PICs workarounds for U3/U4
[    0.000000] mpic:   - HT:07.0 [0x90] vendor 106b device 0053 has 86 irqs
[    0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[    0.000000] time_init: decrementer frequency = 33.333333 MHz
[    0.000000] time_init: processor frequency   = 2500.000000 MHz
[    0.000000] clocksource: timebase mult[7800001] shift[22] registered
[    0.000000] clockevent: decrementer mult[888] shift[16] cpu[0]
[    0.000336] Console: colour dummy device 80x25
[    0.000618] console handover: boot [udbg0] -> real [tty0]

after that nothing on the screen (except: smp_core99_probe, smp_core99_kick_cpu, smp_core99_kick_cpu done)

Later in the boot process:

[ 1.168930] Using unsupported 640x480 ATY,Prionace_B at ac008000, depth=8, pitch=768
[    1.174572] Console: switching to colour frame buffer device 80x30
[ 1.179923] fb0: Open Firmware frame buffer device on /pci@0,f0000000/ATY,PrionaceParent@0/ATY,Prionace_B@1
[    1.185855] vio_register_driver: driver hvc_console registering

At last, the drm parts:

[   12.455795] [drm] Initialized drm 1.1.0 20060810
[   12.478283] pci 0000:0a:00.0: enabling device (0006 -> 0007)
[   12.481290] [drm] Initialized radeon 1.29.0 20080528 on minor 0

If it matters, here are some parts of the Xorg.log:

(II) RADEON: Driver for ATI Radeon chipsets:
        ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
        ATI Radeon Mobility X300 (M24) 3152 (PCIE),
        ATI FireGL M24 GL 3154 (PCIE), ATI Radeon X600 (RV380) 3E50 (PCIE),
[etc.]

(II) Primary Device is: PCI 0a:00:0
(--) Chipset ATI Radeon X1950 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]
[etc.]

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0x00000000f1000000: size 64KB
(II) RADEON(0): PCI bus 10 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(II) RADEON(0): VGAAccess option set to FALSE, VGA module load skipped
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: "ATI Radeon X1950" (ChipID = 0x7240)
(WW) RADEON(0): R500 support is under development. Please report any issues to xorg-driver-ati@lists.x.org
(--) RADEON(0): Linear framebuffer at 0x00000000a0000000
(--) RADEON(0): BIOS at 0xa0020000
(II) RADEON(0): PCIE card detected
(II) Attempted to read BIOS 64KB from /sys/bus/pci/devices/0000:0a:00.0/rom: got 0KB
(WW) RADEON(0): Video BIOS not detected in PCI space!
(WW) RADEON(0): Attempting to read Video BIOS from legacy ISA space!
(II) RADEON(0): Attempting to read un-POSTed bios
(II) Attempted to read BIOS 64KB from /sys/bus/pci/devices/0000:0a:00.0/rom: got 0KB
(WW) RADEON(0): Video BIOS not detected in PCI space!
(WW) RADEON(0): Attempting to read Video BIOS from legacy ISA space!
(WW) RADEON(0): Unrecognized BIOS signature, BIOS data will not be used
(WW) RADEON(0): Unrecognized BIOS signature, BIOS data will not be used
(II) UnloadModule: "radeon"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

I compared with my Mac Mini G4: the difference being that with the G4, and Radeon R280, it doesn't care about being unable to access BIOS signature. But since even the console doesn't work properly, I am not sure it matters yet.

I'm on regular testing, up to date.

luigi~$ uname -a
Linux marie 2.6.26-2-powerpc64 #1 SMP Sun Jun 21 14:43:08 UTC 2009 ppc64 GNU/Linux

For hardware info:

luigi@marie:~$ cat /proc/cpuinfo
processor       : 0
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 1
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 2
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

processor       : 3
cpu             : PPC970MP, altivec supported
clock           : 2500.000000MHz
revision        : 1.1 (pvr 0044 0101)

timebase        : 33333333
platform        : PowerMac
model           : PowerMac11,2
machine         : PowerMac11,2
motherboard     : PowerMac11,2 MacRISC4 Power Macintosh
detected as     : 337 (PowerMac G5 Dual Core)
pmac flags      : 00000000
L2 cache        : 1024K unified
pmac-generation : NewWorld

And lspci:
luigi@marie:~$ lspci
0000:00:0b.0 PCI bridge: Apple Computer Inc. CPC945 PCIe Bridge
0000:0a:00.0 VGA compatible controller: ATI Technologies Inc R580 [Radeon X1900]
0001:00:00.0 Host bridge: Apple Computer Inc. U4 HT Bridge
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3) 0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3) 0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3) 0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:07.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Computer Inc. Shasta PCI Bridge
0001:01:07.0 Class ff00: Apple Computer Inc. Shasta Mac I/O
0001:01:0b.0 USB Controller: NEC Corporation USB (rev 43)
0001:01:0b.1 USB Controller: NEC Corporation USB (rev 43)
0001:01:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
0001:03:0c.0 IDE interface: Broadcom K2 SATA
0001:03:0d.0 Class ff00: Apple Computer Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple Computer Inc. Shasta Firewire
0001:05:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03) 0001:05:04.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5780 Gigabit Ethernet (rev 03) 0001:06:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)

I left the old nVidia card in a secondary PCIe slot, but I don't think it matters, since the kernel don't try and access the secondary card.

I am ready to do some testing if requiered, and if someone wish to help.

Best regards,
--
Stéphane Louise
mailto:luigi+online@nerim.net



Reply to: