<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 - GPU hang on Haswell while encoding and decoding video"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109629">109629</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GPU hang on Haswell while encoding and decoding video
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>normal
          </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>m.olbrich@pengutronix.de
          </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=143378" name="attach_143378" title="/sys/class/drm/card0/error for drm-intel-fixes-2019-02-13">attachment 143378</a> <a href="attachment.cgi?id=143378&action=edit" title="/sys/class/drm/card0/error for drm-intel-fixes-2019-02-13">[details]</a></span>
/sys/class/drm/card0/error for drm-intel-fixes-2019-02-13

I'm getting GPU hangs while encoding & decoding H.264 video with vaapi. I'm not
quite sure what triggers the issue. It might be just starting or stopping,
resolution changes or corruptions in H.264 stream while decoding.

I've reproduced this with the following Kernel versions:
- 4.20.x
- 5.0-rc6
- drm-intel-next-2019-02-07
- drm-intel-fixes-2019-02-13

It does not occur with 4.19.x and older.
Git bisect gives me 79556df293b2efbb3ccebb6db02120d62e348b44 first bad commit.
On Haswell this changes the default for ppgtt from 1 (aliasing) to 2 (full). If
I set enable_ppgtt=1 on 4.20.x then the problem is gone.

I've attached the content of /sys/class/drm/card0/error for
drm-intel-fixes-2019-02-13.</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 on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>