Xorg 100% CPU and Black Screen When Starting with DRI

Mark Kane mark at mkproductions.org
Fri Feb 16 20:21:50 UTC 2007


Hi everyone. I'm finishing up building a new workstation and I'm having
some trouble getting Xorg to start up properly with DRI enabled. 

The basic description of the problem is that when starting Xorg up with
DRI enabled on my ATI Radeon 9250 (PCI), the screen will go black and
when I SSH in, I see Xorg is using up 100% CPU. Sometimes I can kill
the Xorg process with -9 via SSH, but my monitor never returns to the
command line so my only option is to reboot the machine via SSH. 

Here are some messages related to it when I do a dmesg via SSH:

info: [drm] Initialized radeon 1.24.0 20060225 info: 
[drm] Setting GART location based on old memory map 
bus_dmamem_alloc failed to align memory properly. 
info: [drm] Loading R200 Microcode 
info: [drm] writeback test succeeded in 1 usecs

An interesting point is that some of the time it starts up fine with
DRI enabled, so I don't think it's a configuration issue. I'm not sure
what's different between the attempts, but sometimes it will start up
just fine and show direct rendering enabled with glxinfo. Then a few
minutes later I might reboot and try again with the same exact
configuration of everything and it will hang with a black screen and
100% CPU usage.

When it did start up fine with DRI and I was using it for a bit though,
the machine did randomly reboot after a few hours of use. I didn't have
kernel dumps enabled at that time so I'm not sure what happened, but
that doesn't seem to happen with DRI disabled.

It's identified by the radeon kernel module as:

drm0: <ATI Radeon RV280 9250> port 0xe000-0xe0ff mem
0xc0000000-0xcfffffff,0xfebf0000-0xfebfffff irq 16 at device 1.0 on
pci1 

Attached is the Xorg.0.log from when DRI was enabled and it hung with
100% CPU/black screen and my simple configuration file I'm using to
test now.

It _seems_ to work correctly and fairly consistently with DRI disabled
so that's what I'm doing for now.

Thanks very much in advance.

-Mark
FreeBSD 6.2-STABLE [amd64]
Xorg 6.9.0
ATI Radeon 9250 (PCI)

P.S. If the attachments don't make it through, the log and config are
here:

http://www.tntpowerhost.com/mixx941/xorg/Xorg.0.20070216.log
http://www.tntpowerhost.com/mixx941/xorg/xorg.conf

-- 
Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

IRC:
MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.20070216.log
Type: application/octet-stream
Size: 57409 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070216/55dd569a/Xorg.0.20070216.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf
Type: application/octet-stream
Size: 4964 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20070216/55dd569a/xorg.obj


More information about the freebsd-x11 mailing list