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 , 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 , 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
Someone reported GPU hang with high media workload on BSW and provided a workaround in the gfx mailing list. Could you give a try?
(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?
Okay, I will let my customer to try it, thanks!
Does the fix in kernel work for you ?
(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?
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.