From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 111213] VA-API nouveau SIGSEGV and asserts Date: Sat, 27 Jul 2019 02:21:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2008215459==" 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 --===============2008215459== Content-Type: multipart/alternative; boundary="15641940801.e3Df8.20454" Content-Transfer-Encoding: 7bit --15641940801.e3Df8.20454 Date: Sat, 27 Jul 2019 02:21:20 +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 #8 from Ilia Mirkin --- (In reply to KJ Liew from comment #6) > I don't know how you had verified VDPAU to make sure it is working. Runni= ng > vdpauinfo is not enough. mplayer -vo vdpau the-video See https://nouveau.freedesktop.org/wiki/VideoAcceleration/ -- "Using VDPAU= ". (You also have to tell it to use the "vdpau" codecs.) > $ LIBVA_DRIVER_NAME=3Dvdpau VDPAU_DRIVER=3Dnouveau chromium > [19735:19735:0726/182126.662312:ERROR:vaapi_wrapper.cc(455)] > GetConfigAttributes failed for va_profile 13 > [19735:19735:0726/182126.662353:ERROR:vaapi_wrapper.cc(455)] > GetConfigAttributes failed for va_profile 6 > [19735:19735:0726/182126.662359:ERROR:vaapi_wrapper.cc(455)] > GetConfigAttributes failed for va_profile 7 > [19735:19735:0726/182126.764805:ERROR:sandbox_linux.cc(368)] > InitializeSandbox() called with multiple threads in process gpu-process. > [19735:19735:0726/182126.808082:ERROR:buffer_manager.cc(488)] > [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- err= or > from previous GL command > romium/chromium --type=3Dgpu-process > --field-trial-handle=3D7302155616383548209,8433935369873353489,131072 > --disable-breakpad > --gpu- > preferences=3DKAAAAAAAAAAgAACgAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgAAAA= AAAAA > --service-request-channel-token=3D6382519074401266972: > ../mesa-19.1.3/src/gallium/drivers/nouveau/nvc0/nvc0_video.c:43: > nvc0_decoder_begin_frame: Assertion `ret =3D=3D 2' failed. Ah yeah, that's something else. This appears like it would happen as a result of ret =3D nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client); failing. No clue how that could happen... OTOH, I see messages about thread= s, and certainly video decoding + GL in different threads is highly likely to = be broken with nouveau. Please try to build a debug version, see if that yields more info. Also look for errors in dmesg. --=20 You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.= --15641940801.e3Df8.20454 Date: Sat, 27 Jul 2019 02:21:20 +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

Commen= t # 8 on bug 11121= 3 from Ilia Mirkin
(In reply to KJ Liew from comment #6)
> I don't know how you had verified VDPAU to make =
sure it is working. Running
> vdpauinfo is not enough.

mplayer -vo vdpau the-video

See htt=
ps://nouveau.freedesktop.org/wiki/VideoAcceleration/ -- "Using VDP=
AU".
(You also have to tell it to use the "vdpau" codecs.)

> $ LIBVA_DRIVER_NAME=3Dvdpau VDPAU_DRIVER=3Dnouve=
au chromium
> [19735:19735:0726/182126.662312:ERROR:vaapi_wrapper.cc(455)]
> GetConfigAttributes failed for va_profile 13
> [19735:19735:0726/182126.662353:ERROR:vaapi_wrapper.cc(455)]
> GetConfigAttributes failed for va_profile 6
> [19735:19735:0726/182126.662359:ERROR:vaapi_wrapper.cc(455)]
> GetConfigAttributes failed for va_profile 7
> [19735:19735:0726/182126.764805:ERROR:sandbox_linux.cc(368)]
> InitializeSandbox() called with multiple threads in process gpu-proces=
s.
> [19735:19735:0726/182126.808082:ERROR:buffer_manager.cc(488)]
> [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <=
;- error
> from previous GL command
> romium/chromium --type=3Dgpu-process
> --field-trial-handle=3D7302155616383548209,8433935369873353489,131072
> --disable-breakpad
> --gpu-
> preferences=3DKAAAAAAAAAAgAACgAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgA=
AAAAAAAA
> --service-request-channel-token=3D6382519074401266972:
> ../mesa-19.1.3/src/gallium/drivers/nouveau/nvc0/nvc0_video.c:43:
> nvc0_decoder_begin_frame: Assertion `ret =3D=3D 2' failed.

Ah yeah, that's something else.

This appears like it would happen as a result of

   ret =3D nouveau_bo_map(bsp_bo, NOUVEAU_BO_WR, dec->client);

failing. No clue how that could happen... OTOH, I see messages about thread=
s,
and certainly video decoding + GL in different threads is highly likely to =
be
broken with nouveau.

Please try to build a debug version, see if that yields more info. Also look
for errors in dmesg.


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