My system:
- bullseye
- kernel 5.10.0-8-amd64 x86_64
- mpv 0.32.0
- youtube-dl (Im using python version: sudo pip3 install --upgrade youtube_dl)
Code: Select all
vainfo
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Mesa Gallium driver 20.3.5 for AMD RAVEN (DRM 3.40.0, 5.10.0-8-amd64, LLVM 11.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
I cant achieve smplayer and youtube-dl work properly since long (stretch and bullseye versions)...
at first, I thought It was something about my stretch specific installation.. but now,
after installing from zero and upgrading to bullseye.. and buy a new laptop.. i see I can reproduce same freeze problems with smplayer and youtube-dl :
smplayer freeze youtube videos from time to time, eventually under some specific conditions ... It was very strange cos, whenever I updated some smpalyer settings (apply) such as changing video output or hardware acceleration type, it usually got solved and video was able to reproduce without hangs..
I tried to find out where could be the trouble.. and I think I detected It had to be when opening Telegram (flatpak).. after using telegram for a while ; smplayer issue came back..
anyways after many changes and tests I think I found out a workaround of my own that appartlly got solved the trouble.:
My workaround that seems to work:
1- killall xdg-(flatpak portal process) when openning smplayer
Code: Select all
A=$(pidof bwrap)
if [ -z "$A" ]
then
pkill xdg-
fi
If i use hwdec in smplayer or/and xdg flatpak process are running, then, smplayer freeze eventually youtube movies...
by the way, smplayer's flatpak version seems to work without this issue.
I think It might be something with plasma ,dbus and smplayer ..its like when flatpaks or other snap application runs something breaks dbus for smplayer.. its very weird cos i didnt find othere users are reporting it