<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#c16">Comment # 16</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#c15">comment #15</a>)
<span class="quote">> (In reply to Ilia Mirkin from <a href="show_bug.cgi?id=111213#c14">comment #14</a>)
> > > $ 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
> > 
> > mpv doesn't seem to work, yeah. FWIW I'd expect -vo vdpau to work (not -vo
> > opengl,

> It works for r600 and radeonsi on my 2 other laptops using mpv and the same
> command-line using -vo gpu. I think it also works with Geforce9300/Nouveau
> but need to double check again.</span >

Apologies - I should have clarified I was talking about nouveau specifically.
The issue is multi-threaded submission, which mpv (at least at one point)
attempted to do with hwdec + video output in separate threads.

mpv -vo vdpau --hwdec vdpau should work. But it doesn't, at least not in my
testing. Hits an assert in libdrm about rather incorrect usage. Haven't
investigated it though.

Like I said, this works fine with mplayer. This is my preferred player, so I
tend not to go much further.</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 the assignee for the bug.</li>
      </ul>
    </body>
</html>