Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Mplayer/vdpau failing after mesa upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Mon May 20, 2019 11:03 am    Post subject: [SOLVED]Mplayer/vdpau failing after mesa upgrade Reply with quote

Just upgraded to =media-libs/mesa-19.1.0_rc2 and mplayer refuses to play using vo.vdpau. My hardware is AMD r600, "[AMD/ATI] Wrestler [Radeon HD 7340]".

Error output when playing any video file is like this:
Code:
MPlayer 1.3.0-7.4.0 (C) 2000-2016 MPlayer Team

Playing movies/LOGAN.m4v.
libavformat version 58.20.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f083a78b2c0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang eng
[lavf] stream 2: subtitle (dvdsub), -sid 0, -slang eng
VIDEO:  [H264]  720x430  24bpp  25.000 fps  836.7 kbps (102.1 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.35.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: mp42
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 creation_time: 2018-06-29T20:28:07.000000Z
 title: LOGAN
 encoder: HandBrake 1.1.0 2018052000
Load subtitles in movies/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7f0839f60420]Channel layout '5.1(side)' with 6 channels does not match specified number of channels 2: ignoring specified channel layout
AUDIO: 48000 Hz, 2 ch, floatle, 448.0 kbit/14.58% (ratio: 56000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 2.38:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x430 => 1024x430 Planar YV12  [fs]
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tgsi opcode unsupported
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select - Failed to build shader variant (type=5) -22
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_shader.c:4290 tgsi_unsupported - DIV tgsi opcode unsupported
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_shader.c:185 r600_pipe_shader_create - translation from TGSI failed !
EE ../mesa-19.1.0-rc2/src/gallium/drivers/r600/r600_state_common.c:879 r600_shader_select - Failed to build shader variant (type=5) -22


MPlayer interrupted by signal 11 in module: filter video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.


I've tried re-merging mplayer, libvdpau, xorg-server, xf86-video-ati, and ffmpeg (in that order IIRC) and deleting ~/.c/mesa_shader_cache dir, no change.

Just wanted to seek advice prior to filing a bug in case I'm overlooking any prior steps. TIA


Last edited by Havin_it on Mon May 20, 2019 9:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Mon May 20, 2019 11:14 am    Post subject: Reply with quote

Try with mpv, maybe it's something in mplayer.
With radeonsi vdpau works fine here with mpv, Kodi as well.
Could be something in mesa though and r600, if that's the case then maybe downgrade it until it's fixed.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Mon May 20, 2019 5:24 pm    Post subject: Reply with quote

I use mpv all the time, I do keep mplayer around (as a backup or for testing a problem)
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Mon May 20, 2019 6:18 pm    Post subject: Reply with quote

mpv just rocks, and to correct myself, I use vulkan with mpv, but in Kodi it's vdpau and I use both daily.
Didn't notice anything unusual.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Mon May 20, 2019 6:44 pm    Post subject: Reply with quote

Mesa problem and already reported

https://bugs.gentoo.org/686252
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Havin_it
Veteran
Veteran


Joined: 17 Jul 2005
Posts: 1247
Location: Edinburgh, UK

PostPosted: Mon May 20, 2019 9:47 pm    Post subject: Reply with quote

Ta Mr Moose :)

(Always I get it wrong - I try and save the bugwranglers a headache and give forumites one instead - great instincts)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum