From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI Date: Tue, 28 May 2019 13:11:16 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1370542494==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id DAEA08949C for ; Tue, 28 May 2019 13:11:16 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1370542494== Content-Type: multipart/alternative; boundary="15590490761.357b7.19871" Content-Transfer-Encoding: 7bit --15590490761.357b7.19871 Date: Tue, 28 May 2019 13:11:16 +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=3D110783 Bug ID: 110783 Summary: Mesa 19.1 rc crashing MPV with VAAPI Product: Mesa Version: 19.1 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: angrypenguinpoland@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 144362 --> https://bugs.freedesktop.org/attachment.cgi?id=3D144362&action=3Dedit xorg Hi. I noticed that after the Mesa upgrade from stable 19.0X to 19.1rc when tryi= ng to play MPV video with VAAPI it crashing MPV with this error: Playing: /VID_20150204_135614.m4v (+) Video --vid=3D1 (*) (mpeg4 17.570fps) (+) Audio --aid=3D1 --alang=3Deng (*) (amr_nb 1ch 8000Hz) AO: [pulse] 8000Hz mono 1ch float VO: [vdpau] 640x480 yuv420p [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate. EE ../src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tg= si opcode unsupported EE ../src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create - translation from TGSI failed ! EE ../src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select - Failed to build shader variant (type=3D5) -22 EE ../src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tg= si opcode unsupported EE ../src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create - translation from TGSI failed ! EE ../src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select - Failed to build shader variant (type=3D5) -22 Violation of memory protection (memory dump) <- (last line translated) It worked fine on Mesa 19.0X, it began crash after upgrade to Mesa 19.1rc2 = and 19.1rc3. Trying libva 2.4.0 and also libva 2.4.1 - same results. MPV crashing at default launch options. Crashing also with --vo=3Dvaapi or --vo=3Dvdpau. Not crashing with --vo=3Dgpu or --vo=3Dxv Worth to add other video players like VLC not crashing wit VAAPI. Only MPV. Details: Linux OpenMandriva Lx 4 x86_64 Kernel 5.1.5 Mesa 19.1rc2/3 libva 2.4.0/2.4.1 Tested on two computers with R600, one PC with Radeon HD5850 and notebook w= ith Radeon HD5650m. In attachment output of xorg log. --=20 You are receiving this mail because: You are the assignee for the bug.= --15590490761.357b7.19871 Date: Tue, 28 May 2019 13:11:16 +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
Bug ID 110783
Summary Mesa 19.1 rc crashing MPV with VAAPI
Product Mesa
Version 19.1
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter angrypenguinpoland@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 144362 [details]
xorg

Hi.

I noticed that after the Mesa upgrade from stable 19.0X to 19.1rc when tryi=
ng
to play MPV video with VAAPI it crashing MPV with this error:

Playing: /VID_20150204_135614.m4v
 (+) Video --vid=3D1 (*) (mpeg4 17.570fps)
 (+) Audio --aid=3D1 --alang=3Deng (*) (amr_nb 1ch 8000Hz)
AO: [pulse] 8000Hz mono 1ch float
VO: [vdpau] 640x480 yuv420p
[vo/vdpau] Compositing window manager detected. Assuming timing info is
inaccurate.
EE ../src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tg=
si
opcode unsupported
EE ../src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create -
translation from TGSI failed !
EE ../src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select -
Failed to build shader variant (type=3D5) -22
EE ../src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tg=
si
opcode unsupported
EE ../src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create -
translation from TGSI failed !
EE ../src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select -
Failed to build shader variant (type=3D5) -22

Violation of memory protection (memory dump) <- (last line translated)

It worked fine on Mesa 19.0X, it began crash after upgrade to Mesa 19.1rc2 =
and
19.1rc3.
Trying libva 2.4.0 and also libva 2.4.1 - same results.

MPV crashing at default launch options. Crashing also with --vo=3Dvaapi or
--vo=3Dvdpau.
Not crashing with --vo=3Dgpu or --vo=3Dxv

Worth to add other video players like VLC not crashing wit VAAPI. Only MPV.

Details:
Linux OpenMandriva Lx 4 x86_64
Kernel 5.1.5
Mesa 19.1rc2/3
libva 2.4.0/2.4.1

Tested on two computers with R600, one PC with Radeon HD5850 and notebook w=
ith
Radeon HD5650m.

In attachment output of xorg log.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15590490761.357b7.19871-- --===============1370542494== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1370542494==--