Bug 98317 - [BSW]GPU HANG: ecode 8:0:0x7f5f7f7f, in ba [916], reason: Ring hung, action: reset
Summary: [BSW]GPU HANG: ecode 8:0:0x7f5f7f7f, in ba [916], reason: Ring hung, action: ...
Status: ASSIGNED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Pengfei
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-19 01:25 UTC by william
Modified: 2016-12-14 01:45 UTC (History)
2 users (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/Other


Attachments
dump log from /sys/class/drm/card0/error (12.48 KB, text/plain)
2016-10-19 01:25 UTC, william
Details

Description william 2016-10-19 01:25:40 UTC
Created attachment 127396 [details]
dump log from /sys/class/drm/card0/error

When using libva-stack from 01.org to encoding, occasionally get this GPU hang issue.
Fully log from dmesg as below shows:
[177082.427310] [drm] stuck on render ring 
[177082.438483] [drm] GPU HANG: ecode 8:0:0x7f5f7f7f, in ba [916], reason: Ring hung, action: reset 
[177082.448325] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. 
[177082.458809] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel 
[177082.468840] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. 
[177082.479831] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. 
[177082.489967] [drm] GPU crash dump saved to /sys/class/drm/card0/error 
[177082.499497] drm/i915: Resetting chip after gpu hang 
[177088.423173] [drm] stuck on render ring 
[177088.434265] [drm] GPU HANG: ecode 8:0:0x7f5f7f7f, in ba [916], reason: Ring hung, action: reset 
[177088.444257] [drm:i915_context_is_banned] *ERROR* gpu hanging too fast, banning! 
[177088.454664] drm/i915: Resetting chip after gpu hang 

Linux Kernel version: 4.2.0
Comment 1 haihao 2016-10-19 13:41:26 UTC
Someone reported GPU hang with high media workload on BSW and provided a workaround in the gfx mailing list. Could you give a try?

https://lists.freedesktop.org/archives/intel-gfx/2016-September/105710.html
Comment 2 william 2016-10-20 01:49:58 UTC
(In reply to haihao from comment #1)
> Someone reported GPU hang with high media workload on BSW and provided a
> workaround in the gfx mailing list. Could you give a try?
> 
> https://lists.freedesktop.org/archives/intel-gfx/2016-September/105710.html

Okay, I will let my customer to try it, thanks!
Comment 3 haihao 2016-11-04 03:41:16 UTC
Does the fix in kernel work for you ?
Comment 4 william 2016-11-16 07:01:38 UTC
(In reply to haihao from comment #3)
> Does the fix in kernel work for you ?

No, We have tried but have no effect.Is there any tools to debug this type(GPU hang) of issue?
Comment 5 haihao 2016-11-17 07:04:49 UTC
Normally it is hard to identify the root cause for GPU hang issue without any details. 

You are using Kernel 4.2.0, could you try the latest rc kernel? If you can produce this issue with the latest rc kernel, please provide the steps to reproduce this issue and /sys/kernel/debug/dri/0/i915_error_state.


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.