-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smplayer: cannot play video with mpv as backend on Arch #3596
Comments
Can you try the lua stuff. |
I already tried that, see my first edit on OP, the lua error was inconsistent, sometimes smplayer + mpv said liblua wasn't found, sometimes it didn't... I'll try again. |
Didn't work added allow-lua.inc, whitelist /usr/share/lua,whitelist /usr/share/lua*,whitelist /usr/share/vulkan to smplayer. It's weird. |
Have you tried /usr/share/vulkan? |
Where? |
In smplayer.local/profile. |
Yes I tried all three lua+vulkan. I don't use locals. |
Works |
You mean use smplayer profile to run |
Yes, I want to know if the smplayer-profile breaks mpv (with the smplayer args) or if it is the interaction between smplayer and mpv. |
Ohh okay, the last command line argument has to be dropped and the softvol ones second last I think:
Doesn't work, mpv itself doesn't show above warnings when launched with its profile. So something in the args I think. |
Can you try to find the problematic line. |
Doesn't work with the full smplayer.profile commented:
Profile: https://termbin.com/anb7 Even noprofile fails,weird, mpv works on its own though, under firejail without the args. |
So when I made Obsevation 5, it was working that way, now it doesn't, the only changes in this period were updating the kernel/system and installing multilib mesa,vulkan etc., the latter could be related to the change in observation now. |
#3596 (comment) this command works for me (other video path). I'm out of ideas. |
The faulty arg for the case in #3596 (comment) was
|
Bug and expected behavior
Open a video in SMPlayer with mpv as backend,
/us/local/bin/mpv
fails to launch, video does not play.The process to run and to video to play.
No profile or disabling firejail
firejail --noprofile PROGRAM
in a shell?Runs
whereis PROGRAM
,firejail --list
,stat $programpath
)?Runs.
Steps to reproduce the behavior:
Others /usr/local/bin/mpv
provided it also has a symlink.Environment
lsb_release -a
)firejail --version
) exclusive or used git commit (git rev-parse HEAD
)mpv,smplayer,mplayer
Observations:
Ubuntu firejail 0.9.62.4-2 with smplayer 20.6/mpv not affected, only on Arch I think.
private-bin
line causing the error in step 6.firejail --build
andstrace -e execve, readlink,access
produces:pacmd,dbus-send,xset
etc. adding them toprivate-bin
along with shell doesn't help. If you are running strace feed smplayer a video on terminal to reduce verbosity a bit.mplayer as a backend works fine with no changes to profiles.
The error is not about mpv or its profile: copy the command line arguments smplayer feeds to mpv with a few changes, run under firejail a video, works!
The softvol and the last flag needs to be removed, then feed it a video.
The text was updated successfully, but these errors were encountered: