mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5921] mpv: mpv 0.36.0 + pipewire 0.3.75 dbus error #3131
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaredmo on GitHub (Jul 25, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5921
Description
Attempting to open a file with mpv 0.36.0 results in the following error. I am running an up-to-date Arch Linux system with firejail 0.9.72.
Steps to Reproduce
Open any media file with mpv.
Expected behavior
File opens and plays successfully.
Actual behavior
Presented with dbus error message.
Behavior without a profile
File opens and plays successfully.
Additional context
None.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programhttps://gist.github.com/jaredmo/ca032153257acca1242f355572b5e5f6
@kmk3 commented on GitHub (Jul 25, 2023):
Quoting a relevant comment from #5917:
@kmk3 on Jul 25:
@kmk3 commented on GitHub (Jul 25, 2023):
I have downgraded pipewire-related packages to 0.3.74 and restarted pipewire on
Artix and can confirm that mpv 0.36.0 works normally with it.
So it indeed seems that the underlying issue is with pipewire 0.3.75 rather
than with mpv.
@rusty-snake commented on GitHub (Jul 25, 2023):
@kmk3 has this anything todo with pipewire vor is it just that mpv is the only Programm that uses pipewire?
@kmk3 commented on GitHub (Jul 25, 2023):
As mentioned here, the error happens with
--ao=pipewirebut not--ao=alsa, so yes.mpv includes pipewire.h and can use pipewire directly as the backend (if built
with pipewire support); other programs may use it through the alsa/pulse/etc
connectors.
@rusty-snake commented on GitHub (Jul 25, 2023):
Oops. Meant to do with mpv.
@kmk3 commented on GitHub (Jul 25, 2023):
Strangely, it appears that the error only occurs with the exact combination of
the latest mpv + the latest pipewire:
Works:
Fails:
Can anyone else reproduce?
@polyzen commented on GitHub (Jul 25, 2023):
Can confirm these.
@rusty-snake commented on GitHub (Jul 26, 2023):
https://github.com/mpv-player/mpv/issues/12022
@kmk3 commented on GitHub (Jul 26, 2023):
In the mean time, the following workaround (based on #5917) can be added to
~/.config/firejail/mpv.local:
Closing this since the bug was fixed upstream.