kern/89271: [radeon][agp][hang] hangs when heavily using Radeon dri features

Alex Dupre ale at
Sat Nov 19 09:30:28 GMT 2005

>Number:         89271
>Category:       kern
>Synopsis:       [radeon][agp][hang] hangs when heavily using Radeon dri features
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 19 09:30:18 GMT 2005
>Originator:     Alex Dupre
>Release:        FreeBSD 6.0-STABLE i386
System: FreeBSD 6.0-STABLE FreeBSD 6.0-STABLE #2: Sun Nov 13 13:29:04 CET 2005 alex at i386

Scenario: FreeBSD 6-STABLE, ATI Radeon 32MB SDR (first serie), 
6.8.2 and (as in ports with relative dri and dri-devel).

agp0: <VIA 82C8363 (Apollo KT133x/KM133) host to PCI bridge> mem 0xd0000000-0xd3
ffffff at device 0.0 on pci0

agp0 at pci0:0:0:  class=0x060000 card=0x00000000 chip=0x03051106 rev=0x02 hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8363/5 KT133/KM133 System Controller'
    class    = bridge
    subclass = HOST-PCI

pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x1106 device 0x0305
 VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
  STATUS    0xa210  COMMAND 0x0006
  CLASS     0x06 0x00 0x00  REVISION 0x02
  BIST      0x00  HEADER 0x00  LATENCY 0x00  CACHE 0x00
  BASE0     0xd0000008  addr 0xd0000000  MEM PREFETCHABLE

pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x1106 device 0x8305
 VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
  STATUS    0x2230  COMMAND 0x0007
  CLASS     0x06 0x04 0x00  REVISION 0x00
  HEADER    0x01  LATENCY 0x00
  PRIBUS    0x00  SECBUS 0x01  SUBBUS 0x01
  SECLT     0x00  SECSTATUS 0x0000
  IOBASE    0xc000  IOLIM 0xcfff
  NOPREFETCH_MEMBASE 0xd8000000  MEMLIM 0xd9ffffff
  PREFETCH_MEMBASE   0xd4000000  MEMLIM 0xd7ffffff

drm0: <ATI Radeon QD R100> port 0xc000-0xc0ff mem 0xd4000000-0xd7ffffff,0xd90000
00-0xd907ffff irq 12 at device 0.0 on pci1
info: [drm] AGP at 0xd0000000 64MB
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0

drm0 at pci1:0:0:  class=0x030000 card=0x00081002 chip=0x51441002 rev=0x00 hdr=0x00

    vendor   = 'ATI Technologies Inc'
    device   = 'Radeon 7200 QD SDR/DDR Radeon 7200 QD SDR/DDR'
    class    = display
    subclass = VGA

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x5144
 ATI Technologies Inc Radeon R100 QD [Radeon 7200]
 CardVendor 0x1002 card 0x0008 (ATI Technologies Inc Radeon 7000/Radeon VE)
  STATUS    0x02b0  COMMAND 0x0087
  CLASS     0x03 0x00 0x00  REVISION 0x00
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
  BASE0     0xd4000008  addr 0xd4000000  MEM PREFETCHABLE
  BASE1     0x0000c001  addr 0x0000c000  I/O
  BASE2     0xd9000000  addr 0xd9000000  MEM
  MAX_LAT   0x00  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x0c


X starts and seems to work OK, until I try to play a video.
After a few minutes of playback with 
mplayer, the system hangs: my LCD monitor enters in power state sleep 
mode, the audio hangs and I cannot close X via keyboard.
I can access the system only via ssh and I see 
the Xorg process eating all the CPU. Xorg cannot be killed (even with -9)
and the only solution is rebooting the system.
The hang occurs even with other less intensive applications (like xmms)
but after hours of playback; with mplayer only a few minutes are needed.
Disabling DRI solves the problem, but that's not a great fix ;-)



More information about the freebsd-bugs mailing list