From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 111213] VA-API nouveau SIGSEGV and asserts Date: Sun, 11 Aug 2019 00:31:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0869785319==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0869785319== Content-Type: multipart/alternative; boundary="15654835081.6F4a7F.14018" Content-Transfer-Encoding: 7bit --15654835081.6F4a7F.14018 Date: Sun, 11 Aug 2019 00:31:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D111213 --- Comment #16 from Ilia Mirkin --- (In reply to KJ Liew from comment #15) > (In reply to Ilia Mirkin from comment #14) > > > $ VDPAU_DRIVER=3Dnouveau mpv --hwdec=3Dvdpau -vo=3Dopengl /path/to/MP= 4=20 > > > Driver 'opengl' has been replaced with 'gpu'! > > > Playing: /path/to/MP4 > > > (+) Video --vid=3D1 (*) (h264 1280x720 23.976fps) > > > (+) Audio --aid=3D1 --alang=3Deng (*) (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 > >=20 > > mpv doesn't seem to work, yeah. FWIW I'd expect -vo vdpau to work (not = -vo > > opengl, >=20 > It works for r600 and radeonsi on my 2 other laptops using mpv and the sa= me > command-line using -vo gpu. I think it also works with Geforce9300/Nouveau > but need to double check again. Apologies - I should have clarified I was talking about nouveau specificall= y. 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. --=20 You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.= --15654835081.6F4a7F.14018 Date: Sun, 11 Aug 2019 00:31:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 16 on bug 11121= 3 from Ilia Mirkin
(In reply to KJ Liew from comment #15)
> (In reply to Ilia Mirkin from comment #14)
> > > $ VDPAU_DRIVER=3Dnouveau mpv --hwdec=3Dvdpau -vo=3Dopengl /p=
ath/to/MP4=20
> > > Driver 'opengl' has been replaced with 'gpu'!
> > > Playing: /path/to/MP4
> > >  (+) Video --vid=3D1 (*) (h264 1280x720 23.976fps)
> > >  (+) Audio --aid=3D1 --alang=3Deng (*) (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
> >=20
> > mpv doesn't seem to work, yeah. FWIW I'd expect -vo vdpau to work=
 (not -vo
> > opengl,
>=20
> 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/Nou=
veau
> but need to double check again.

Apologies - I should have clarified I was talking about nouveau specificall=
y.
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.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
= --15654835081.6F4a7F.14018-- --===============0869785319== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============0869785319==--