Bug 91498

Summary: Broadwell: XVideo: GPU HANG: stuck on render ring
Product: DRI Reporter: pigeon
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: BDW i915 features: GPU hang
Attachments:
Description Flags
gzipped /sys/class/drm/card0/error none

Description pigeon 2015-07-29 02:45:17 UTC
Created attachment 117433 [details]
gzipped /sys/class/drm/card0/error

On a box with Broadwell, playing videos with XVideo sometimes results in this GPU HANG problem. Can be reproduced using mplayer, gstreamer (xvimagesink), or vlc.

Kernel messages:
[  752.114617] [drm] stuck on render ring
[  752.116565] [drm] GPU HANG: ecode 0:0x85dffffb, in Xorg [1278], reason: Ring hung, action: reset
[  752.116571] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[  752.116576] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[  752.116580] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[  752.116584] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[  752.116588] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  754.114037] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[  758.112898] [drm] stuck on render ring
[  758.114842] [drm] GPU HANG: ecode 0:0x85dffffb, in Xorg [1278], reason: Ring hung, action: reset
[  758.115000] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
[  760.112366] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off

/sys/class/drm/card0/error attached.
Comment 1 pigeon 2015-07-29 05:19:22 UTC
This is on stock Centos 7, so kernel version 3.10.0-229.7.2.el7.x86_64, xorg-x11-drv-intel 2.99.916
Comment 2 Chris Wilson 2015-07-29 08:58:00 UTC
commit 97fe3c1c860978c7a649cba93a55fa497010ccc1
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Wed Nov 5 15:48:14 2014 -0800

    sna: Use VMask in 3DSTATE_PS
    
    Using dispatch mask cause hangs waiting PS Done on some cases like bug #83207,
    with larger screen or when scaling it.
    
    Also mesa uses VMask instead of Dmask for 3DSTATE_PS because in some cases
    they were getting incorrect derivatives for subspans.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83207
    Cc: Timo Aaltonen <tjaalton@ubuntu.com>
    Cc: Gary Wang <gary.c.wang@intel.com>
    Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

In 2.99.917.

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.