<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 - Using hardware video encoding with amdgpu/vaapi crashes system immediately"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102203">102203</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Using hardware video encoding with amdgpu/vaapi crashes system immediately
          </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>jb5sgc1n.nya@20mm.eu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I tried using hardware video encoding with amdgpu/vaapi, but every attempt
immediately crashes the system.

The latest command line (amongst many with the same crash result) I tried:

ffmpeg -vaapi_device /dev/dri/renderD128 -t 10 -i somevideo.mp4 -vf
'scale=1920:1072,hwupload' -aspect 1920:1072 -map 0:0 -y -c:a copy -threads 1
-slices 1 -vcodec h264_vaapi -b:v 12500k -profile:v 77 -bf 0 test.mkv

ffmpeg/libva/mesa/dri etc. are the most recent ones currently shipped with Arch
Linux (ffmpeg version 3.3.3 built with gcc 7.1.1).

I am currently using
<a href="https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next">https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next</a> as my
kernel, but experienced the same error also with previous kernel versions (like
4.12)

Video card is a Radeon RX 460.</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>