Bug 692334 - [Sandybridge] (Intel HD graphics) GPU hangs
Summary: [Sandybridge] (Intel HD graphics) GPU hangs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 04:00 UTC by Ian Pilcher
Modified: 2018-04-11 09:14 UTC (History)
4 users (show)

Fixed In Version: 7.11-0.5.20110401.0
Clone Of:
Environment:
Last Closed: 2011-04-08 15:56:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmesg with drm.debug=14 (no hangs) (177.62 KB, text/plain)
2011-03-31 04:00 UTC, Ian Pilcher
no flags Details
dmesg with drm.debug=14 (171.73 KB, text/plain)
2011-03-31 22:40 UTC, Ian Pilcher
no flags Details
dmesg dump (123.18 KB, text/plain)
2011-04-05 00:47 UTC, Andy Lawrence
no flags Details
messages dump (1.24 MB, text/plain)
2011-04-05 00:47 UTC, Andy Lawrence
no flags Details
xorg.0.log (34.37 KB, text/plain)
2011-04-05 00:47 UTC, Andy Lawrence
no flags Details

Description Ian Pilcher 2011-03-31 04:00:01 UTC
Description of problem:
With the latest mesa packages in Fedora 15 updates-testing, X appears to hang,
and I get messages about GPU hangs in the syslog:

Mar 30 20:47:16 ian kernel: [  233.620717] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:16 ian kernel: [  233.620730] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:18 ian kernel: [  235.121821] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:18 ian kernel: [  235.121834] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:19 ian kernel: [  236.622925] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:19 ian kernel: [  236.622937] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:21 ian kernel: [  238.124022] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:21 ian kernel: [  238.124034] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:22 ian kernel: [  239.625122] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:22 ian kernel: [  239.625133] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:24 ian kernel: [  241.126214] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:24 ian kernel: [  241.126226] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:25 ian kernel: [  242.627316] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:25 ian kernel: [  242.627328] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring
Mar 30 20:47:27 ian kernel: [  244.128421] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
Mar 30 20:47:27 ian kernel: [  244.128433] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt ring

I tried gathering more information by booting with drm.debug=14, but I
was unable to reproduce the problem.  Race condition?  :-(

Version-Release number of selected component (if applicable):
mesa-dri-llvmcore-7.11-0.1.20110327.0.fc15.x86_64
mesa-dri-drivers-7.11-0.1.20110327.0.fc15.x86_64
mesa-libGLU-devel-7.11-0.1.20110327.0.fc15.x86_64
mesa-dri-filesystem-7.11-0.1.20110327.0.fc15.x86_64
mesa-libGL-devel-7.11-0.1.20110327.0.fc15.x86_64
mesa-libGL-7.11-0.1.20110327.0.fc15.x86_64
mesa-libGLU-7.11-0.1.20110327.0.fc15.x86_64

How reproducible:
X generally gets "stuck" very quickly after I log in to KDE (with KDE
desktop effects enabled).

Additional info:
Downgrading the mesa packages back to 7.10-0.29.fc15 gets rid of the
problem.

Comment 1 Ian Pilcher 2011-03-31 04:00:59 UTC
Created attachment 488977 [details]
dmesg with drm.debug=14 (no hangs)

Comment 2 Ian Pilcher 2011-03-31 22:40:47 UTC
Created attachment 489257 [details]
dmesg with drm.debug=14

With kernel-2.6.38.2-9.fc15.x86_64, I now get the GPU hangs with
drm.debug=14.  Attaching dmesg.

This shows everything from boot-up until KWin disables desktop effects.

Comment 3 Andy Lawrence 2011-04-05 00:46:53 UTC
Very similar problem with intel_drv 2.14 (the latest on koji), also compiled and tried with the latest GIT 2.14.902, same problem and output.  Please see the attached logs with drm.debug=0x04 boot parm.

Comment 4 Andy Lawrence 2011-04-05 00:47:13 UTC
Created attachment 489885 [details]
dmesg dump

Comment 5 Andy Lawrence 2011-04-05 00:47:28 UTC
Created attachment 489886 [details]
messages dump

Comment 6 Andy Lawrence 2011-04-05 00:47:45 UTC
Created attachment 489887 [details]
xorg.0.log

Comment 7 Matěj Cepl 2011-04-08 15:40:32 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please attach

* your X server config file (/etc/X11/xorg.conf, if available), and
* X server log file (/var/log/Xorg.*.log)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 8 Ian Pilcher 2011-04-08 15:56:41 UTC
(In reply to comment #7)
> Please attach
> 
> * your X server config file (/etc/X11/xorg.conf, if available), and
> * X server log file (/var/log/Xorg.*.log)
> 

Huh?  Those are already there.

Regardless, 7.11-0.5.20110401.0  seems to have fixed this particular problem.
(I still see occasional GPU hangs, but KWin desktop effects are working for
me again; the situation is basically the same as it was with 7.10-0.29.)

Closing this.

Comment 9 Matěj Cepl 2011-04-08 20:19:47 UTC
(In reply to comment #8)
> Huh?  Those are already there.

I am sorry, yes, they are.

I am glad it has been fixed, and thank you for letting us know.


Note You need to log in before you can comment on or make changes to this bug.