<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VA-API nouveau SIGSEGV and asserts"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111213#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - VA-API nouveau SIGSEGV and asserts"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111213">bug 111213</a>
              from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
        <pre>(In reply to KJ Liew from <a href="show_bug.cgi?id=111213#c13">comment #13</a>)
<span class="quote">> Both VA-API and VDPAU do not play video on GK208B using mpv. There was only
> sound and black screen.

> Linux 5.2.7-arch1-1-ARCH
> local/libva-mesa-driver 19.1.4-1
> local/mesa 19.1.4-1
> local/mesa-demos 8.4.0-1
> local/mesa-vdpau 19.1.4-1

> $ LIBVA_DRIVER_NAME=nouveau mpv --hwdec=vaapi -vo=vaapi /path/to/MP4
> Playing: /path/to/MP4
>  (+) Video --vid=1 (*) (h264 1280x720 23.976fps)
>  (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
> Using hardware decoding (vaapi).
> AO: [pulse] 44100Hz stereo 2ch float
> VO: [vaapi] 1280x720 vaapi[nv12]
> nve4_set_surface_info:969 - unsupported surface format, try
> is_format_supported() !
> nve4_set_surface_info:969 - unsupported surface format, try
> is_format_supported() !
> nve4_set_surface_info:969 - unsupported surface format, try
> is_format_supported() !
> nve4_set_surface_info:969 - unsupported surface format, try
> is_format_supported() !
> nve4_set_surface_info:969 - unsupported surface format, try
> is_format_supported() !</span >

Yep, I know about this. Needs yet another change... just need to figure out how
to best resolve it.

<span class="quote">> 
> $ VDPAU_DRIVER=nouveau mpv --hwdec=vdpau -vo=opengl /path/to/MP4 
> Driver 'opengl' has been replaced with 'gpu'!
> Playing: /path/to/MP4
>  (+) Video --vid=1 (*) (h264 1280x720 23.976fps)
>  (+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
> Cannot load libcuda.so.1
> Using hardware decoding (vdpau).
> VO: [gpu] 1280x720 vdpau[yuv420p]
> AO: [pulse] 44100Hz stereo 2ch float
> AV: 00:00:12 / 00:02:03 (10%) A-V:  0.000</span >

mpv doesn't seem to work, yeah. FWIW I'd expect -vo vdpau to work (not -vo
opengl, which is unlikely to work with vdpau decoding). But it doesn't, I get
some kind of error (something is trying to submit a batch with an unregistered
bo or something).

mplayer works fine though. See
<a href="https://nouveau.freedesktop.org/wiki/VideoAcceleration/">https://nouveau.freedesktop.org/wiki/VideoAcceleration/</a> for instructions on how
to use it.</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>
      </ul>
    </body>
</html>