<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [APL] GPU Hang during transcoding video"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99942">99942</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[APL] GPU Hang during transcoding video
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>edwardtseng@qnap.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=129895" name="attach_129895" title="dump from /sys/class/drm/card0/error">attachment 129895</a> <a href="attachment.cgi?id=129895&action=edit" title="dump from /sys/class/drm/card0/error">[details]</a></span>
dump from /sys/class/drm/card0/error

Hi:
While transcoding HEVC 10bit video to H264, the GPU may hang there.
It can recover from the status only if the device reboots.
The Kernel message is as follow:
[  973.709462] [drm] GPU HANG: ecode 9:4:0xacdfbffd, in ffmpeg [6992], reason:
Hang on video enhancement ring, action: reset
[  973.720436] [drm] GPU hangs can indicate a bug anywhere in the entire gfx
stack, including userspace.
[  973.729630] [drm] Please file a _new_ bug report on bugs.freedesktop.org
against DRI -> DRM/Intel
[  973.738477] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[  973.748085] [drm] The gpu crash dump is required to analyze gpu hangs, so
please always attach it.
[  973.757000] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[  973.764295] drm/i915: Resetting chip after gpu hang
[  973.769821] [drm] GuC firmware load skipped
[  983.766780] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[  993.780258] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1003.792770] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1013.805246] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1023.817750] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1024.719067] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1033.830242] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1034.731572] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete
[ 1043.843737] [drm:i915_gem_wait_for_error.part.38] *ERROR* Timed out waiting
for the gpu reset to complete

dump from /sys/class/drm/card0/error:
GPU HANG: ecode 9:4:0xacdfbffd, in ffmpeg [6992], reason: Hang on video
enhancement ring, action: reset
Time: 1487838143 s 4506 us
Kernel: 4.2.8
Active process (on ring vebox): ffmpeg [6992]
Reset count: 0
Suspend count: 0
PCI ID: 0x5a85
PCI Revision: 0x0b
PCI Subsystem: 8086:2112
IOMMU enabled?: 0
DMC loaded: yes
DMC fw version: 1.7
EIR: 0x00000000
IER: 0x08000000
GTIER gt 0: 0x01010101
GTIER gt 1: 0x01010101
GTIER gt 2: 0x00000070
GTIER gt 3: 0x00000101
PGTBL_ER: 0x00000000
FORCEWAKE: 0xffff0001
DERRMR: 0x2077efef
CCID: 0x00000000
Missed interrupts: 0x00000000

CPU: Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
Git src tag: drm-intel-testing-2016-07-25
Please advise.
Thank you!
Cheers,
Edward Tseng</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>