Hi folks,

Just to report a minor problem with the latest radeon drivers, in case
this isn't already on somebody's todo list. This is with a Radeon M7,
XFree86 4.3 with 9 June DRI CVS. All works fine until I log out and
the display manager resets the X server (I'm using gdm). Then there's
a problem with a DRM kernel lock:

Jun  9 20:17:48 localhost kernel: [drm:radeon_cp_init] *ERROR* radeon_cp_init called 
without lock held
Jun  9 20:17:48 localhost kernel: [drm:radeon_unlock] *ERROR* Process 4153 using 
kernel context 0

and when I log in again, direct rendering is no longer
available. Restarting (instead of resetting) the X server makes no
difference. An effective workaround is to restart the X server AND
remove the radeon kernel module while the X server is down. 

Apart from that, this is the best set of radeon drivers I've seen. The
vtxfmt segfaults I used to get with our medical imaging application
are now a think of the past.

Thanks for everyone's efforts,

Andrew

PS. In case anyone else has this problem and wants to automate the
workaround, write a simple wrapper for the X server (call it X_clean,
for example):

#!/bin/sh

/sbin/modprobe -r radeon
exec /usr/X11R6/bin/X $*

and then make sure that /etc/X11/gdm/gdm.conf has the following lines:

AlwaysRestartServer=true
...
0=/usr/bin/X11/X_clean



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to