Bug 2852

Summary: Bug when I enable DRI, xfree86 take 100% CPU
Product: DRI Reporter: zorxd <zor>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
URL: http://yolagang.servebeer.com/bug
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xfree86 config file
none
xfree86 log file
none
extra info none

Description zorxd 2005-03-29 11:03:39 UTC
Hi
My laptop freeze when I enable DRI in my XF86Config-4
I am using Debian sarge and Xfree86 4.3. If it can helps, my laptop is a compaq
evo N160 with a blazing fast mobility radeon M6 8Mb DDR.
What I tried :
-Kernel 2.6.8 to 2.6.11
-testing and unstable debian packages xserver-xfree86
-a lower resolution
-I also tried the dri-trunk unofficial debian package to get drivers from Xorg

The problem :
My computer boot and get to the KDM login screen. From there I can either start
KDE or hit ctrl+alt+f1 to open a terminal. When I launch KDE, it freezes a few
seconds later. When I open a terminal, it works, but if I go back to KDM, it
also freezes.

The freeze
It is not a constant thing. Most of the time I can move the mouse and connect by
ssh, but that's all. I can't click on anything and the keyboard doesn't work.
The image can be corrupted. What I know is that Xfree86 process takes 99% of my
CPU at this time, and it is impossible to kill (even with -9). The reboot
command doesn't work. I know the problem comes from DRI because if I comment it
in my XF86Config-4, everything works.

my config files are at http://yolagang.servebeer.com/bug
Comment 1 zorxd 2005-03-29 11:04:31 UTC
Created attachment 2241 [details]
Xfree86 config file
Comment 2 zorxd 2005-03-29 11:04:50 UTC
Created attachment 2242 [details]
xfree86 log file
Comment 3 zorxd 2005-03-29 11:05:06 UTC
Created attachment 2243 [details]
extra info
Comment 4 Michel Dänzer 2005-03-29 11:13:05 UTC
Apparently, you didn't read the top of the log file you attached... anyway, does
it also happen without Option "AGPMode"?
Comment 5 Dave Airlie 2005-03-29 17:44:26 UTC
Try getting the DRM from CVS and using it - 2.6.12 will have a fixed DRM for
X4.3, simple patch just got missed, I might push it into a 2.6.11.7 depends on
if I get time..


Comment 6 zorxd 2005-03-29 18:44:49 UTC
option agpmode=4 was the problem

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.