XBMC crashes on ATI card with two different drivers
Using FREE radeon and r300 drivers, I can use almost everything in XBMC except for playing movies. Playing any sort of movie instantly crashes X.

Using the non-free fglrx drivers, X crashes and freezes at a black screen immediately upon starting up. This is the result of a kernel oops in the fglrx module.

Relevant parts of dmesg after kernel oops:

[ 332.795490] [fglrx] Maximum main memory to use for locked dma buffers: 647 MBytes.
[ 332.795817] [fglrx] vendor: 1002 device: 5955 count: 1
[ 332.796063] [fglrx] ioport: bar 1, base 0x9000, size: 0x100
[ 332.796142] ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 16
[ 332.796751] [fglrx] PAT is enabled successfully!
[ 332.797050] [fglrx] module loaded - fglrx 8.53.4 [Sep 8 2008] with 1 minors
[ 690.800057] [fglrx:drm_alloc] *ERROR* [buflist] Allocating 0 bytes
[ 693.187122] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000008
[ 693.187130] printing eip: eefa4fe6 *pde = 00000000
[ 693.187136] Oops: 0000 [#1] SMP
[ 693.187140] Modules linked in: fglrx(P) lirc_mceusb2(F) lirc_dev ipv6 sbs sbshc container dock rfkill_input pcmcia joydev af_packet arc4 ecb blkcipher b43 rfkill mac80211 cfg80211 led_class input_polldev sdhci tifm_7xx1 mmc_core yenta_socket tifm_core rsrc_nonstatic pcmcia_core video output snd_atiixp_modem snd_atiixp snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm battery snd_seq_dummy ac snd_seq_oss snd_seq_midi snd_rawmidi serio_raw psmouse snd_seq_midi_event wmi_acer snd_seq snd_timer snd_seq_device button snd evdev i2c_piix4 soundcore snd_page_alloc ati_agp agpgart shpchp pci_hotplug i2c_core k8temp pcspkr ide_cd cdrom ide_disk pata_atiixp ata_generic pata_acpi libata 8139cp sg ohci1394 ieee1394 ssb 8139too mii atiixp ohci_hcd thermal processor fan fuse fbcon tileblit font bitblit softcursor ext3 ext2 jbd mbcache loop nls_iso8859_1 nls_cp437 vfat fat squashfs unionfs usb_storage libusual sd_mod scsi_mod ide_core uhci_hcd ehci_hcd usbhid hid usbcore

Relevant parts of gdb backtrace after radeon r300 crash

Thread 1 (process 6790):
#0 0xb7f29410 in __kernel_vsyscall ()
#1 0xb7470085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7471a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb746910e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4 0xb684551d in r300EmitArrays () from /usr/lib/dri/r300_dri.so
#5 0xb6837901 in ?? () from /usr/lib/dri/r300_dri.so
#6 0xb68386bb in ?? () from /usr/lib/dri/r300_dri.so
#7 0xb68cbf33 in _tnl_run_pipeline () from /usr/lib/dri/r300_dri.so
#8 0xb68cc4b1 in _tnl_draw_prims () from /usr/lib/dri/r300_dri.so
#9 0xb68c5020 in vbo_exec_vtx_flush () from /usr/lib/dri/r300_dri.so
#10 0xb68c15b8 in vbo_exec_FlushVertices () from /usr/lib/dri/r300_dri.so
#11 0xb69635e1 in ?? () from /usr/lib/dri/r300_dri.so
#12 0xb6966c76 in _mesa_set_enable () from /usr/lib/dri/r300_dri.so
#13 0xb696744e in _mesa_Disable () from /usr/lib/dri/r300_dri.so
#14 0x086a104d in CLinuxRendererGL::RenderSoftware (this=0x8dabf88, flags=0,
index=1) at LinuxRendererGL.cpp:2100
#15 0x086a2704 in CLinuxRendererGL::Render (this=0x92ca200, flags=0,
renderBuffer=1) at LinuxRendererGL.cpp:1476
#16 0x086a3e08 in CLinuxRendererGL::RenderUpdate (this=0x92ca200, clear=true,
flags=0, alpha=255) at LinuxRendererGL.cpp:1073
#17 0x086a6ba1 in CXBoxRenderManager:TongueresentSingle (this=0x8bda6c0)
at RenderManager.cpp:426
#18 0x086a6c6e in CXBoxRenderManager:Tongueresent (this=0x8bda6c0)
at RenderManager.cpp:414
#19 0x082aad66 in CApplication::RenderNoPresent (this=0x8bd48a0)
at Application.cpp:2237
#20 0x082aaf27 in CApplication::Render (this=0x8bd48a0) at Application.cpp:2465
#21 0x085e588d in CXBApplicationEx::Run (this=0x8bd48a0)
at XBApplicationEx.cpp:259
#22 0x085e85a0 in main (argc=4, argv=0xbf83cd04) at XboxMediaCenter.cpp:117

I've seend that the r300 bug is over 2 years old, reported here:

The only work-around involves some VBO setting which is not documented or not available to configure in XBMC. I was hoping for an xorg.conf setting to force that particular feature off.

fglrx kernel oops seems to be solved on ATI's end, but I'm not sure the XBMC-live distro contains the latest ati drivers


It would be nice to upgrade the live distro ASAP to something that has the latest ATI drivers since I don't think the r300 bug will ever be fixed.
I love how I provide a really detailed bug report (with a solution), and yet there's no response, positive or negative...

Time to try boxee
Have fun.
Thread Rating:
  • 1 Vote(s) - 5 Average

Logout Mark Read Team Forum Stats Members Help
XBMC crashes on ATI card with two different drivers51
This forum uses Lukasz Tkacz MyBB addons.