Bug 61571

Summary: drm:ring_stuck error with i915 driver
Product: Drivers Reporter: userx (jflowsauce007)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED CODE_FIX    
Severity: blocking CC: chris, daniel, intel-gfx-bugs, jacobecc9, kernel
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.11.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: error_state file contents

Description userx 2013-09-17 14:39:34 UTC
Created attachment 108731 [details]
error_state file contents

Anytime I load a video file or use the GPU in any way i get tons of the following message in dmesg.

[  161.372074] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[  165.372674] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[  169.373276] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring

Also the video will play in what seems like 1 FPS

Reproducible: Always

Steps to Reproduce:
1. run mplayer on some avi file
2. observe failure of life
3. open bug report
Actual Results:  
[  161.372074] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[  165.372674] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring
[  169.373276] [drm:ring_stuck] *ERROR* Kicking stuck wait on render ring

Expected Results:  
no errors with proper playback framerate.

more dmesg error stuff:

[  169.373282] [drm:i915_hangcheck_elapsed] *ERROR* no progress on render ring
[  169.373284] [drm] capturing error event; look for more information in /sys/kernel/debug/dri/0/i915_error_state
[  169.383415] [drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x3b35000 ctx 0) at 0x3b3501c


contents of the /sys/kernel/debug/dri/0/i915_error_state file are attached!
Comment 1 Tom Wijsman 2013-09-17 14:42:53 UTC
(Downstream bug at https://bugs.gentoo.org/show_bug.cgi?id=485162)
Comment 2 userx 2013-09-20 19:35:22 UTC
Please let me know if you require any additional information as this really is a huge problem.
Comment 3 Daniel Vetter 2013-09-20 21:07:30 UTC
Likely a bug in the MI_WAIT implementation of the ddx. What's your version of xfree86-video-intel?
Comment 4 userx 2013-09-20 21:25:01 UTC
x11-drivers/xf86-video-intel installed version: 2.20.13
Comment 5 jacobecc9 2013-09-20 21:55:36 UTC
2.20.13 is old. You should run latest xf86-video-intel with latest kernel.
Comment 6 Chris Wilson 2013-09-21 00:10:47 UTC
Specifically 2.21.0 or later in this case.
Comment 7 userx 2013-09-23 03:33:53 UTC
I just emerged version: x11-drivers/xf86-video-intel-2.21.3 and now stuff is working! This version was masked in gentoo and I generally only emerge stable so I'd never have tried this. I've only been playing with this for the past few minutes but video is definitely playing now!