<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [ILK] GPU Hang with h.264 video decoding"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71432#c26">Comment # 26</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [ILK] GPU Hang with h.264 video decoding"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71432">bug 71432</a>
              from <span class="vcard"><a class="email" href="mailto:hamer.mk@gmail.com" title="Mihail Kasadjikov <hamer.mk@gmail.com>"> <span class="fn">Mihail Kasadjikov</span></a>
</span></b>
        <pre>I have switched HW decoder in vlc to VDPAU via libvdpau-va-gl1 library:

[avcodec] # FFmpeg audio/video decoder
avcodec-hw=vdpau_avcodec

And I have some additional errors:
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[00007fc750f78278] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for
VDPAU for hardware decoding.
libva info: VA-API version 0.36.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_36
libva info: va_openDriver() returns 0
[00007fc750f78278] avcodec decoder: Using OpenGL/VAAPI/libswscale backend for
VDPAU for hardware decoding.
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpDecoderRender_h264): no surfaces left in buffer
[VS] error (vdpVideoSurfaceGetBitsYCbCr): not implemented conversion VA FOURCC
� -> VDP_YCBCR_FORMAT_YV12
[00007fc721499778] vdpau_chroma filter error: video surface export failure:
VDP_STATUS_INVALID_Y_CB_CR_FORMAT

$ echo -n "FOURCC � ->" | hd
00000000  46 4f 55 52 43 43 20 ef  bf bd 20 2d 3e           |FOURCC ... ->|

After about 2 minutes vlc has been hung. No errors in dmesg.
In htop I saw a 99% IOwait on one CPU core.
Vlc was killed by "-9" and no side-effects on overall system I can observe.

This behaviour is not on all video files.

So. It looks like some video file (and youtube stream) has some frames that HW
decoder can't understand and it is a fatal for HW decoder. Or decoder generate
some error code that libva can't parse? At this stage I can't understand which
component is broken.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>