Bug 20042

Summary: r300 Penumbra Overture complete hang 2.6.35/36-rc6
Product: Drivers Reporter: PJBrs (pj_beers)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: ghepeu
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.35, 2.6.36-rc6 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg with 2.6.36-rc7
dmesg with 2.6.34.7
kernel config 2.6.36-rc7
kernel config 2.6.34.7
Xorg.log with kernel 2.6.36-rc7
Xorg.log with kernel 2.6.34.7

Description PJBrs 2010-10-10 19:37:34 UTC
Created attachment 33072 [details]
dmesg with 2.6.36-rc7

I'm experiencing a hard lock (i.e., no magic SysRq) after playing 
Penumbra Overture for about a minute on my ThinkPad t43p with kernel 
2.6.35 / 2.6.36-rc3. I'm using KMS. 2.6.34 works fine. I didn't test 
thoroughly with 2.6.35. With 2.6.36-rc3, I did not mess with any of the 
new power savings settings. I'm not using any xorg.conf, I'm using KMS. Without KMS the problem does not occur. 2.6.34 is the last kernel that worked with KMS.

Some more info:
lspci says: ATI Technologies Inc M24GL [Mobility FireGL V3200] (rev 80)
System info: Slackware 13.1, Mesa 7.8.1, Xserver 1.7.7.

I did try other versions of mesa (including Gallium3D), but that did not make a difference. Furthermore, I tried to bisect this problem, but ended up within the range of 2.6.34-rc's, so I don't think that provided any help in this case.

I also wrote to dri-devel about this problem, but received no reply. I then went to the radeon IRC-channel, where I was told that these complete hangs are very hard to debug, but that it would help to have a Bugzilla report. I wasn't sure whether or not to report this as a regression, so I chose not to. Please correct me if I'm wrong!

I've attached some info that I hope might help, i.e. dmesg, Xorg.log and kernel config for both kernel 2.6.34.7 (working) and 2.6.36-rc7 (not working).

In closing--I'd really like this problem to be solved, and I'd very much 
like to help out as much as I can.

Regards,

PJ
Comment 1 PJBrs 2010-10-10 19:39:37 UTC
Created attachment 33082 [details]
dmesg with 2.6.34.7
Comment 2 PJBrs 2010-10-10 19:42:04 UTC
Created attachment 33092 [details]
kernel config 2.6.36-rc7
Comment 3 PJBrs 2010-10-10 19:42:38 UTC
Created attachment 33102 [details]
kernel config 2.6.34.7
Comment 4 PJBrs 2010-10-10 19:43:15 UTC
Created attachment 33112 [details]
Xorg.log with kernel 2.6.36-rc7
Comment 5 PJBrs 2010-10-10 19:43:48 UTC
Created attachment 33122 [details]
Xorg.log with kernel 2.6.34.7
Comment 6 ghepeu 2010-10-10 21:54:35 UTC
It could be this bug: https://bugs.freedesktop.org/show_bug.cgi?id=29389

The last 2.6.36 RCs should already have the 'poll' parameter.
Comment 7 PJBrs 2010-10-11 07:57:10 UTC
I'll test with the poll parameter tonight. Thanks for notifying me!
Comment 8 PJBrs 2010-10-11 18:45:03 UTC
Tested with drm_kms_helper.poll=0 and the problem is gone, thanks! 

I tried to mark this report a duplicate, then I noticed the other is for freedesktop, not for the kernel. I'll leave this report open as well, as a record. Also; is there anything else I can do to help solve this bug? I'd like to help out, even though I cannot code.
Comment 9 PJBrs 2010-11-20 21:36:59 UTC
I tried running Penumbra Overture with 2.6.37-rc1 and the problem appears to be gone! I'm very happy. Is there any chance that the associated patch might also be added to the stable branches of 2.6.35 and 2.6.36?