Created attachment 123331 [details]
getting unrecoverable GPU hang with error:
Apr 28 23:37:00 dhcppc14 kernel: [drm] GPU HANG: ecode 8:2:0xfffffffe, in DVDPlayerVideo , reason: Ring hung, action: reset
Apr 28 23:37:00 dhcppc14 kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Apr 28 23:37:00 dhcppc14 kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Apr 28 23:37:00 dhcppc14 kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Apr 28 23:37:00 dhcppc14 kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Apr 28 23:37:00 dhcppc14 kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error
Apr 28 23:37:00 dhcppc14 kernel: [drm:i915_reset_and_wakeup] resetting chip
Apr 28 23:37:00 dhcppc14 kernel: drm/i915: Resetting chip after gpu hang
Reproducible 100% after starting video playback via vaapi backend.
It 'works' with kernel-core-4.6.0-0.rc0.git1.1.fc25, where occasionally video hangs with:
[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
but it's recoverable by stopping playback or skipping to playing the next video file.
Created attachment 123333 [details]
We seem to have neglected the bug a bit, apologies.
The issue is occurring 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.
Besides kodi, can you reproduce this issue with other vaapi based player?
Did you reproduce this issue with a specific video file? If yes, is it possible to share the video file?
It seems to be working fine (without visible effects) since 4.8 kernel.
Currently I run Fedora 24 with following components:
Uptime since last update/reboot is 5 days and there is only one error in dmesg
which doesn't seem to affect anything:
[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=81437 end=81438) time 290 us, min 1074, max 1079, scanline start 1067, end 1067
So I'm closing this BZ as fixed.