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
Sound not working with firejail #3282
Comments
Do you use pulseaudio? |
@rusty-snake yes, I am. |
Related: #3165 |
@rusty-snake thanks for the link. I read the info there and tried
so there is clearly some error relating to ALSA. My system is a fairly generic Dell Insipron desktop PC, x86, using a built-in sound card. |
I tried it with |
I just commented out all of the built-in blacklisted locations in |
You can use |
@rusty-snake ok, I'll give those a try and let you know what happens. Another thing I tried was running Rhythmbox in firejail ( |
@rusty-snake thanks for the link. However, it seems strange the I get the same audio issues in firejail as I do if I try to run the application as root. I will look into how to enable sound for the root user and see if that helps with firejail. |
I couldn't find a good way to enable the root user to use sound with pulseaudio, so I removed pulse completely and now the sound works fine with steam in firejail (both the client and the XCom game I was trying). Again, I suspect its to do with pulse not allowing access for the root user (I'm suddenly not so much a fan of pulse any more ...) |
just remembered, have you tried |
@rusty-snake yes, I ran that command after installing, per the installation instructions on firejail.wordpress.com. However, I still experienced no audio through pulseaudio with firejailed applications. |
No idea if that could change anything but you can give it a try: Unfortunately I have no more ideas what the issue could be, or how to investigate it further. |
@rusty-snake Suggestion to change title to "Firejailed steam has no pulseaudio sound". |
@glitsj16 Suggestion to change title to "Firejailed steam has no pulseaudio sound", because other sound apparently works. |
@matu3ba read that comment: #3282 (comment) |
@matu3ba Why should we do that? The OP started noticing audio issues in Steam, while digging into it detected that all firejailed apps suffer from it and changed the title accordingly. Until there's a very good argument to do so I'm regarding the issue title the OP's prerogative. |
@matu3ba no, that isn't correct. I have tried with other applications that use audio and I'm not able to get sound from any of them within firejail with pulseaudio running. @rusty-snake ok, I will give that a try when I get a chance. Although, for me, removing pulseaudio and falling back to ALSA solves the problem. |
You can try noprofile.profie. If this does not work ... 😿 . |
Sorry for somewhat necrobumping, but I have audio issues with Discord on Void Linux. It works with I actually had audio issues with Discord (as in, the website) inside the browser Vivaldi as well, but the following lines solved it:
It does not work for the Discord app though. It works if I remove all For example, this one WORKS:
But this one does NOT WORK:
Any ideas as to why that might be the case? Keep in mind it does not work either if I comment out the I did try the default Unfortunately in this case I do not get any errors related to Apparently it even works with:
The issue only occurs if I uncomment the last 3 lines. OK, I do get error with
SOLVED: Never mind, the issue was a missing An example of a supposedly working profile:
It was a great monologue regardless. sighs I do have some issues still at times but it might not be |
Hi, I am trying to run steam in firejail on Parabola GNU/Linux (derivative of Arch). If I run it outside of firejail, it seems to work fine and XCom: Enemy Unknown starts and runs fine. However, in firejail, even if I use
--noprofile
, the sound in the Steam application doesn't work (for example, in the store videos) and the game won't launch.The text was updated successfully, but these errors were encountered: