<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 - [bisected] UVD hangs system on Vega10 linux-4.17"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106259">106259</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[bisected] UVD hangs system on Vega10 linux-4.17
          </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>normal
          </td>
        </tr>

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

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

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lothmordor@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=139148" name="attach_139148" title="dmesg">attachment 139148</a> <a href="attachment.cgi?id=139148&action=edit" title="dmesg">[details]</a></span>
dmesg

Trying to play h264 encoded video with mpv --vo=opengl --hwdec=vdpau results in
frozen video and the system unresponsive to key/mouse input.  System freezes
roughly 1sec into videos, although audio often continues.  Bisected to the
following kernel commit:

2ee150cda7bdc766cf9baca3534f3a2c0b0e8357 is the first bad commit
commit 2ee150cda7bdc766cf9baca3534f3a2c0b0e8357
Author: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
Date:   Fri Jan 19 15:19:16 2018 +0100

    drm/amdgpu: remove now superflous *_hdp operation

    All HDP invalidation and most flush can now be replaced by the generic
    ASIC function.

    Signed-off-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
    Acked-by: Chunming Zhou <<a href="mailto:david1.zhou@amd.com">david1.zhou@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>

:040000 040000 85ee277739bbce19d5dbaf1fb309983198180d0f
056ae126031efe507bea405931ce89864979ef2d M      drivers
-------------------------------------------------

I tested mesa (git-227b1af866) patched with "radeon/vcn: fix mpeg4 msg buffer
settings" by Boyuan Zang, but that didn't fix my problem.  I also tested
today's pull request for linux drm-fixes-4.17, but the issue is still present.

Software versions:
    Linux 4.17.0-rc1 x86_64
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.0-rc1
    libdrm: 2.4.91
    libvdpau: 1.1.1
    mpv: 0.27.2
    ffmpeg: 3.4.2-r1

GPU hardware:
    OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.23.0, 4.16.0-rc4,
LLVM 6.0.0)
    03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Vega 10 XT [Radeon RX Vega 64] [1002:687f] (rev c3)

CPU hardware:
    AMD Phenom(tm) II X4 955 Processor</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>