Radeon HD 5450 on PowerMac G5

Stephane Louise stephane.r.louise at gmail.com
Sun Apr 29 06:00:13 PDT 2012


Hi,

Having given all hopes of making work my Radeon 1950 Mac Edition on my
Quad G5 (because it lacks Atombios), I finally tried the Radeon HD
5450, because it is quite cheap these days, quite powerfull and silent
(no fan). The dmesg, looks mostly alright on Debian Testing (kernel
3.2.0), but it seems that the card is mostly unable to correctly
detect any monitor plug in any of the 3 port (DVI, HDMI or VGA).

Here is a collection of information:

$ uname -a
Linux marie 3.2.0-2-powerpc64 #1 SMP Sun Apr 15 18:45:28 UTC 2012
ppc64 GNU/Linux

$ lspci
0000:00:0b.0 PCI bridge: Apple Inc. CPC945 PCIe Bridge
0000:0a:00.0 VGA compatible controller: NVIDIA Corporation NV43
[GeForce 6600] (rev a2)
0001:00:00.0 Host bridge: Apple 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 Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple 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 Unassigned class [ff00]: Apple Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple 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: Advanced Micro Devices [AMD]
nee ATI Cedar PRO [Radeon HD 5450]
0001:06:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Cedar
HDMI Audio [Radeon HD 5400/6300 Series]

$ dmesg |grep -i drm
[    8.922973] [drm] Initialized drm 1.1.0 20060810
[    9.182991] [drm] radeon defaulting to kernel modesetting.
[    9.182995] [drm] radeon kernel modesetting enabled.
[    9.183418] [drm] initializing kernel modesetting (CEDAR
0x1002:0x68F9 0x174B:0xE164).
[    9.183446] [drm] register mmio base: 0x80140000
[    9.183449] [drm] register mmio size: 131072
[    9.305205] [drm] GPU not posted. posting now...
[    9.308960] [drm] Detected VRAM RAM=1024M, BAR=256M
[    9.308963] [drm] RAM width 64bits DDR
[    9.309129] [drm] radeon: 1024M of VRAM memory ready
[    9.309133] [drm] radeon: 512M of GTT memory ready.
[    9.309166] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[    9.309169] [drm] Driver supports precise vblank timestamp query.
[    9.309299] [drm] radeon: irq initialized.
[    9.309315] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    9.311371] [drm] Loading CEDAR Microcode
[    9.779780] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
[    9.812806] [drm] ring test succeeded in 1 usecs
[    9.813473] [drm] radeon: ib pool ready.
[    9.813626] [drm] ib test succeeded in 0 usecs
[   10.123437] [drm] Radeon Display Connectors
[   10.123441] [drm] Connector 0:
[   10.123443] [drm]   HDMI-A
[   10.123445] [drm]   HPD2
[   10.123449] [drm]   DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448
0x644c 0x644c
[   10.123452] [drm]   Encoders:
[   10.123454] [drm]     DFP1: INTERNAL_UNIPHY1
[   10.123457] [drm] Connector 1:
[   10.123459] [drm]   DVI-I
[   10.123461] [drm]   HPD4
[   10.123465] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468
0x646c 0x646c
[   10.123468] [drm]   Encoders:
[   10.123470] [drm]     DFP2: INTERNAL_UNIPHY
[   10.123472] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[   10.123475] [drm] Connector 2:
[   10.123477] [drm]   VGA
[   10.123481] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438
0x643c 0x643c
[   10.123484] [drm]   Encoders:
[   10.123486] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[   10.123561] [drm] Internal thermal controller with fan control
[   10.123629] [drm] radeon: power management initialized
[   10.130388] [drm] Cannot find any crtc or sizes - going 1024x768
[   10.132915] [drm] fb mappable at 0x90142000
[   10.132917] [drm] vram apper at 0x90000000
[   10.132920] [drm] size 3145728
[   10.132922] [drm] fb depth is 24
[   10.132924] [drm]    pitch is 4096
[   10.133027] fb1: radeondrmfb frame buffer device
[   10.133030] drm: registered panic notifier
[   10.133042] [drm] Initialized radeon 2.12.0 20080528 for
0001:06:00.0 on minor 0
[   10.149164] [drm] nouveau 0000:0a:00.0: Detected an NV40 generation
card (0x043100a4)
[   10.733011] [drm] nouveau 0000:0a:00.0: OF bios successfully copied
(6447 bytes)
[   10.733083] [drm] nouveau 0000:0a:00.0: Attempting to load BIOS
image from PRAMIN
[   10.792724] [drm] nouveau 0000:0a:00.0: ... BIOS checksum invalid
[   10.792733] [drm] nouveau 0000:0a:00.0: Attempting to load BIOS
image from PROM
[   10.792779] [drm] nouveau 0000:0a:00.0: ... BIOS signature not found
[   10.792785] [drm] nouveau 0000:0a:00.0: Attempting to load BIOS
image from PCIROM
[   10.792897] [drm] nouveau 0000:0a:00.0: ... BIOS signature not found
[   10.792904] [drm] nouveau 0000:0a:00.0: Attempting to load BIOS
image from ACPI
[   10.792912] [drm] nouveau 0000:0a:00.0: ... BIOS signature not found
[   10.792919] [drm] nouveau 0000:0a:00.0: Using BIOS image from PRAMIN
[   10.852427] [drm] nouveau 0000:0a:00.0: BIT BIOS found
[   10.852436] [drm] nouveau 0000:0a:00.0: Bios version 05.43.02.75
[   10.852445] [drm] nouveau 0000:0a:00.0: TMDS table version 1.1
[   10.852459] [drm] nouveau 0000:0a:00.0: Found Display Configuration
Block version 3.0
[   10.852473] [drm] nouveau 0000:0a:00.0: Raw DCB entry 0: 01000100 00000028
[   10.852481] [drm] nouveau 0000:0a:00.0: Raw DCB entry 1: 03000102 00000000
[   10.852489] [drm] nouveau 0000:0a:00.0: Raw DCB entry 2: 04011210 00000028
[   10.852497] [drm] nouveau 0000:0a:00.0: Raw DCB entry 3: 02111212 02000100
[   10.852504] [drm] nouveau 0000:0a:00.0: Raw DCB entry 4: 02011211 0020c070
[   10.852514] [drm] nouveau 0000:0a:00.0: DCB connector table: VHER 0x30 5 7 2
[   10.852522] [drm] nouveau 0000:0a:00.0:   0: 0x00001030: type 0x30
idx 0 tag 0x07
[   10.852532] [drm] nouveau 0000:0a:00.0:   1: 0x00002130: type 0x30
idx 1 tag 0x08
[   10.852545] [drm] nouveau 0000:0a:00.0: Parsing VBIOS init table 0
at offset 0x0744
[   10.852815] [drm] nouveau 0000:0a:00.0: Parsing VBIOS init table 1
at offset 0x0B87
[   10.865128] [drm] nouveau 0000:0a:00.0: Parsing VBIOS init table 2
at offset 0x105B
[   10.865160] [drm] nouveau 0000:0a:00.0: Parsing VBIOS init table 3
at offset 0x1195
[   10.868419] [drm] nouveau 0000:0a:00.0: Parsing VBIOS init table 4
at offset 0x1273
[   10.868436] [drm] nouveau 0000:0a:00.0: mem timing table length unknown: 14
[   10.889841] [drm] nouveau 0000:0a:00.0: 1 available performance level(s)
[   10.889883] [drm] nouveau 0000:0a:00.0: 0: core 300MHz shader
300MHz memory 500MHz fanspeed 100%
[   10.889907] [drm] nouveau 0000:0a:00.0: c: core 300MHz shader
300MHz memory 500MHz
[   10.890349] [drm] nouveau 0000:0a:00.0: Detected 256MiB VRAM
[   10.909676] [drm] nouveau 0000:0a:00.0: 512 MiB GART (aperture)
[   10.913399] [drm] nouveau 0000:0a:00.0: Detected TMDS transmitter: sil164
[   10.969753] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[   10.969760] [drm] No driver support for vblank timestamp query.
[   10.969777] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on vga
encoder (output 0)
[   10.969787] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on tmds
encoder (output 1)
[   10.969797] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on vga
encoder (output 2)
[   10.969806] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on tmds
encoder (output 3)
[   10.969816] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on TV
encoder (output 4)
[   11.186057] [drm] nouveau 0000:0a:00.0: allocated 1680x1050 fb:
0x49000, bo c000000276eb1400
[   11.196545] [drm] nouveau 0000:0a:00.0: 0x14C5: Parsing digital
output script table
[   11.246081] [drm] nouveau 0000:0a:00.0: Setting dpms mode 0 on tmds
encoder (output 1)
[   11.246087] [drm] nouveau 0000:0a:00.0: Output DVI-I-2 is running
on CRTC 0 using output A
[   11.247753] [drm] Initialized nouveau 0.0.16 20090420 for
0000:0a:00.0 on minor 1
[ 5154.274850] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on tmds
encoder (output 1)
[ ... ]
[791501.033867] [drm:drm_edid_block_valid] *ERROR* EDID checksum is
invalid, remainder is 10
[791616.582876] [drm:drm_edid_block_valid] *ERROR* EDID checksum is
invalid, remainder is 2
[792670.961241] [drm:radeon_dvi_detect] *ERROR* HDMI-A-1: probed a
monitor but no|invalid EDID
[795319.264504] [drm] nouveau 0000:0a:00.0: Setting dpms mode 3 on
tmds encoder (output 1)
[...]

When I plugged a monitor in the DVI then in the HDMI port the dmesg output was:
[791501.033867] [drm:drm_edid_block_valid] *ERROR* EDID checksum is
invalid, remainder is 10
[791501.033874] Raw EDID:
[791501.033878]  	00 ff ff ff ff ff ff 00 1e 6d f6 9c 01 01 01 01
[791501.033882]  	01 13 01 03 80 a0 5a 78 0a 34 34 b3 ac 38 bb 23
[791501.033885]  	07 4a 51 af ce 00 31 40 45 7f ff ff ff ff ff ff
[791501.033889]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791501.033892]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791501.033896]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791501.033899]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791501.033903]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.582876] [drm:drm_edid_block_valid] *ERROR* EDID checksum is
invalid, remainder is 2
[791616.582883] Raw EDID:
[791616.582887]  	00 ff ff ff ff ff ff 00 1e 6d f6 9c 01 01 01 01
[791616.582890]  	01 13 01 03 80 a0 5a 78 0a 34 34 b3 ac 38 bb 23
[791616.582894]  	07 4a 51 af ce 00 31 40 45 40 61 40 81 80 90 ff
[791616.582897]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.582901]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.582904]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.582908]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.582911]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[791616.644069] Raw EDID:
[791616.644072]  	00 81 40 01 01 a0 0f 20 00 31 58 1c 20 28 80 14
[791616.644076]  	00 40 58 62 00 00 1e 30 2a 00 98 51 00 2a 40 30
[791616.644079]  	70 13 00 40 84 63 00 00 1e 00 00 00 fc 00 4c 47
[791616.644083]  	20 50 52 4f 4a 45 43 54 4f 52 0a 00 00 00 fd 00
[791616.644086]  	38 4b 1f 42 0f 00 0a 20 20 20 20 20 20 01 be 02
[791616.644090]  	03 25 f1 4f 84 07 01 16 02 03 11 12 13 14 05 20
[791616.644093]  	22 1f 10 23 09 07 07 83 01 00 00 68 03 0c 00 10
[791616.644097]  	00 80 1e 00 01 1d 00 80 51 d0 1c 20 40 80 35 00

Xorg was unable to detect any other screen than the screen plugged on
my NVidia card.

I discussed the issue on the debian-ppc mailing list a few weeks ago,
and the conclusion is that there is a probable bug in the radeon
driver (maybe an endianess issue in the Atombios interpreter). Anyway
I was told to seek further help on this mailing list.

I am ready to do a bit of testing if required (I can compile a brand
new kernel or modules if required, I only need some help with git if I
have to use it since I rarely use it myself). I join the full dmesg
and Xorg.0.log (here the server is launched without xorg.conf)

Thank you for any suggestion. Please CC me when replying.
-- 
Stéphane Louise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: application/octet-stream
Size: 28299 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20120429/cac8760d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg
Type: application/octet-stream
Size: 52150 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20120429/cac8760d/attachment-0003.obj>


More information about the xorg-driver-ati mailing list