You are not logged in.

#1 2020-11-23 23:08:46

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 512

[SOLVED] SMPlayer can't play videos using vaapi since mpv 0.33 version

I have many videos on my hard drive in different formats, some of them can no longer be played through SMPlayer. I'm having this error in most of my videos:

SMPlayer output:

/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-48 --msg-level=ffmpeg/demuxer=error --no-fs --vd-lavc-threads=6 --hwdec=vaapi --sub-auto=fuzzy --vo=vaapi, --ao=pulse

blah blah blah

Using hardware decoding (vaapi).
AO: [pulse] 44100Hz stereo 2ch float
VO: [vaapi] 1920x1080 vaapi[nv12]
mpv: malloc.c:2394: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

If I play the videos from a terminal, just running mpv xxxxx.mkv, the videos play fine. Using mpv 0.32, SMPlayer can play 100% of my videos again. I have an AMD Polaris card.

Last edited by agapito (2020-11-29 07:00:01)


Excuse my poor English.

Offline

#2 2020-11-27 16:40:13

ponyrider
Member
Registered: 2014-11-18
Posts: 21

Re: [SOLVED] SMPlayer can't play videos using vaapi since mpv 0.33 version

Vaapi is not the culprit here ( also for me hardware acceleration doesn't do much )

Are you using a different mpv from the one in the repos?

mpv --version
type mpv

Offline

#3 2020-11-28 10:55:13

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 512

Re: [SOLVED] SMPlayer can't play videos using vaapi since mpv 0.33 version

I am using mvp & SMPlayer from the repos, also tried their respective git versions and I come to the conclusion that nothing is wrong with mpv.

Just running mpv from the terminal, without any extra parameter, videos are played using vaapi acceleration. SMPlayer is the problem since by default it plays the videos using the CPU, and when I activate the vaapi acceleration I have those malloc.c:2394 errors.


Excuse my poor English.

Offline

#4 2020-11-29 07:02:33

agapito
Member
From: Spain
Registered: 2008-11-13
Posts: 512

Re: [SOLVED] SMPlayer can't play videos using vaapi since mpv 0.33 version

I solved this, the culprit was the SMPlayer firejail profile i was using. "ignore seccomp" did the trick, and vaapi works fine again on SMPlayer.


Excuse my poor English.

Offline

Board footer

Powered by FluxBB