Bug 95249

Summary: [BYT] GPU HANG: ecode 1:0xa8eeeb7e, in DVDPlayerVideo [4335], reason: Ring hung, action: reset in bsd ring
Product: libva Reporter: Axay <immortal.axay>
Component: intelAssignee: ykzhao <yakui.zhao>
Status: NEEDINFO --- QA Contact: Sean V Kelley <seanvk>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: BYT i915 features: GPU hang
Attachments: GPU crash dump from /sys/class/drm/card0/error

Description Axay 2016-05-03 10:09:14 UTC
Created attachment 123432 [details]
GPU crash dump from /sys/class/drm/card0/error

Play movie in kodi, suddenly display gone and following log found in dmesg. After reboot system become normal.
 

[drm] stuck on bsd ring
[drm] GPU HANG: ecode 1:0xa8eeeb7e, in DVDPlayerVideo [4335], reason: Ring hung, action: reset
[drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[drm] GPU crash dump saved to /sys/class/drm/card0/error
[drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
[drm] stuck on bsd ring
[drm] GPU HANG: ecode 1:0xcbedeb76, in DVDPlayerVideo [4335], reason: Ring hung, action: reset
[drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
[drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
Comment 1 yann 2016-12-07 09:13:05 UTC
(In reply to Axay from comment #0)
> Created attachment 123432 [details]
> GPU crash dump from /sys/class/drm/card0/error
> 
> Play movie in kodi, suddenly display gone and following log found in dmesg.
> After reboot system become normal.
>  
> 
> [drm] stuck on bsd ring
> [drm] GPU HANG: ecode 1:0xa8eeeb7e, in DVDPlayerVideo [4335], reason: Ring
> hung, action: reset
> [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack,
> including userspace.
> [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI ->
> DRM/Intel
> [drm] drm/i915 developers can then reassign to the right component if it's
> not a kernel issue.
> [drm] The gpu crash dump is required to analyze gpu hangs, so please always
> attach it.
> [drm] GPU crash dump saved to /sys/class/drm/card0/error
> [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off
> [drm] stuck on bsd ring
> [drm] GPU HANG: ecode 1:0xcbedeb76, in DVDPlayerVideo [4335], reason: Ring
> hung, action: reset
> [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning!
> [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off

We seem to have neglected the bug a bit, apologies.

The issue is occurring with a pretty old kernel and in bsd ring.
Reassigning to libva component.
There were improvements pushed in kernel and libva that will benefit to your system, so please re-test with latest kernel & libva and mark as REOPENED if you can reproduce (and attach fresh gpu error dump & kernel log) and RESOLVED/* if you cannot reproduce.
Comment 2 haihao 2016-12-07 15:19:00 UTC
Besides kodi, can you reproduce this issue with other vaapi based player?
Comment 3 haihao 2016-12-16 12:42:56 UTC
The issue in https://bugs.freedesktop.org/show_bug.cgi?id=95197 disappears after using a recent Linux kernel and libva. #95917 and #95249 are similar, so could you also retest with latest kernel and libva?

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.