Bug 36095 - i915: mplayer video playback sometimes causes GPU hang
Summary: i915: mplayer video playback sometimes causes GPU hang
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Chris Wilson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 19:44 UTC by paul walmsley
Modified: 2017-07-24 23:05 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description paul walmsley 2011-04-08 19:44:58 UTC
This is Debian bug 619781, filed here at Ben Hutchings' request.

Sometimes, starting mplayer video playback on this machine causes the screen to
blank.  Lots of kernel messages appear:

Mar 26 16:02:49 twilight kernel: [ 1552.973035] [drm:i915_hangcheck_elapsed]
*ERROR* Hangcheck timer elapsed... GPU
hung
Mar 26 16:02:49 twilight kernel: [ 1552.973881] [drm:i915_do_wait_request]
*ERROR* i915_do_wait_request returns -11 (awaiting 302417 at 302416, next
302439)
Mar 26 16:02:49 twilight kernel: [ 1552.974222] [drm:init_ring_common] *ERROR*
render ring initialization failed ctl 00000000 head 00000000 tail 00000000
start 00000000
Mar 26 16:02:49 twilight kernel: [ 1553.292337] [drm:i915_do_wait_request]
*ERROR* something (likely vbetool) disabled interrupts, re-enabling
...
Mar 26 16:02:55 twilight kernel: [ 1559.304055] [drm:i915_hangcheck_elapsed]
*ERROR* Hangcheck timer elapsed... GPU hung
Mar 26 16:02:55 twilight kernel: [ 1559.304083] [drm:i915_do_wait_request]
*ERROR* i915_do_wait_request returns -11 (awaiting 302555 at 302416, next
302556)
Mar 26 16:02:55 twilight kernel: [ 1559.305036] [drm:init_ring_common] *ERROR*
render ring initialization failed ctl 00000000 head 00000000 tail 00000000
start 00000000
...
...
Mar 26 16:02:57 twilight kernel: [ 1561.080311] [drm:i915_hangcheck_elapsed]
*ERROR* Hangcheck timer elapsed... GPU hung
Mar 26 16:02:57 twilight kernel: [ 1561.080340] [drm:i915_do_wait_request]
*ERROR* i915_do_wait_request returns -11 (awaiting 302846 at 302416, next
302847)

No mplayer command line options were used, simply "mplayer videofile.mp4".
After this happens, the machine is still running and reachable via ssh.

This is on a Thinkpad T61 with a "Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller", according to lspci.

The kernel is Linux version 2.6.38-1-amd64 (Debian 2.6.38-1) (ben@decadent.org.uk) (gcc version 4.4.5 (Debian
4.4.5-14) ) #1 SMP Wed Mar 16 17:38:02 UTC 2011
Comment 1 paul walmsley 2011-04-08 19:46:48 UTC
On the Debian bug, Cyril Brulebois noted:

--------------------------------------------------------------------

Hi,

Yan Li <yanli@gnome.org> (07/04/2011):
> Upstream has provided with a fix to xf86-video-intel, please help to
> test and integrate.
> 
> commit 23f9b14df7c102c1036134835dd5d1a508059858
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Sat Feb 12 10:42:34 2011 +0000

that's included in the 2:2.14.902-1+exp1 package in experimental.
You'll need to upgrade your X server as well. Or wait a few days until
the X stack migrates to testing, and 2:2.14.902-1 will be uploaded to
unstable at that point.

KiBi.
Comment 2 paul walmsley 2011-05-06 08:15:55 UTC
Hi, this seems to be fixed now, perhaps due to the fix in bug 34017:

https://bugs.freedesktop.org/show_bug.cgi?id=34017


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.