https://bugs.freedesktop.org/show_bug.cgi?id=110783 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=144362&action=edit xorg Hi. I noticed that after the Mesa upgrade from stable 19.0X to 19.1rc when trying to play MPV video with VAAPI it crashing MPV with this error: Playing: /VID_20150204_135614.m4v (+) Video --vid=1 (*) (mpeg4 17.570fps) (+) Audio --aid=1 --alang=eng (*) (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 tgsi 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=5) -22 EE ../src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tgsi 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=5) -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=vaapi or --vo=vdpau. Not crashing with --vo=gpu or --vo=xv 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 with Radeon HD5650m. In attachment output of xorg log. -- You are receiving this mail because: You are the assignee for the bug.