mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3436] Sound only working with one program at a time with ALSA #2159
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#2159
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 @fareyozz on GitHub (May 27, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3436
Describe the bug.
When starting software with firejail, only one can output audio. Any other program will be completely silent, and fail to start audio playback.
What did you expect to happen?
All software should be able to output audio at the same time.
What changed calling
firejail --noprofile PROGRAMin a shell?The program successfully outputs audio.
Steps to reproduce the behavior:
Audio coming from Chromium continues playing, while Steam is completely silent.
With debug output enabled, I get the message "ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave".
Environment
Artix Linux, kernel 5.6.14-zen1-1-zen
firejail version 0.9.62
No other program interact with the affected program.
Additional context
Pulseaudio isn't installed.
firecfg --fix-audio did not fix the issue (and failed to execute properly).
Issue seems simillar to #3282, except I am not using pulseaudio at all.
@rusty-snake commented on GitHub (May 27, 2020):
--noprofile) it works?default.profileorchromium.profile?@fareyozz commented on GitHub (May 27, 2020):
It only happens if both are firejailed.
Yes, B works properly with --noprofile.
I mean chromium.profile. Same with Steam, steam.profile was used (with more relaxed settings).
It also happens when I'm using a custom profile (attached below) with other programs.
Oddly enough, VirtualBox (with virtualbox.profile) seems unaffected by the issue.
custom.profile.txt
steam.profile.txt
@rusty-snake commented on GitHub (May 28, 2020):
Thats good news for you, because it can easily fixed. Can you try which option in steam.profile which is not in custom.profile cause this. (
nogroups?)@fareyozz commented on GitHub (May 28, 2020):
Seems like the "ipc-namespace" option is the culprit! Removing it from the profiles fixes everything. Thanks!
@tostiheld commented on GitHub (Nov 15, 2020):
I am having a very similar problem, but commenting "ipc-namespace" does not seem to resolve the issue. Running with --noprofile does fix it, but I have no idea what the culprit is exactly. I have tried commenting different things in steam.profile, but frankly, I have no idea what I'm doing. Any advice on other things to try would be appreciated.
I am getting the exact same error message (ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave), by the way.
@rusty-snake commented on GitHub (Nov 15, 2020):
Comment everything in steam.profile (it should work then as
--noprofileis effectively the same) and uncomment then line for line.