[GH-ISSUE #1968] No sound output from Firefox after upgrading Firejail to 0.9.54 #1321

Closed
opened 2026-05-05 07:51:43 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @mi2iec on GitHub (May 30, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1968

I have just updated Firejail from 0.9.52 to 0.9.54 and now sound no longer works in
Firefox 60.0.1

If Firejail is started with --debug, the following message is printed in the terminal
while playing a YouTube video:

[Child 47, MediaPlayback #3] WARNING: 5593d1b04e60 OpenCubeb() failed to init cubeb: file /home/buildozer/aports/testing/firefox/src/firefox-60.0.1/dom/media/AudioStream.cpp, line 388

[Child 47, MediaPlayback #3] WARNING: Decoder=5593d17d1c00 [OnMediaSinkAudioError]: file /home/buildozer/aports/testing/firefox/src/firefox-60.0. /dom/media/MediaDecoderStateMachine.cpp, line 3746

I use Firefox with only ALSA and all Firejail profiles are default. If I remove Firejail or
downgrade to 0.9.52, sound works again.

How can I get sound working with Firejail 0.9.54?

Originally created by @mi2iec on GitHub (May 30, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1968 I have just updated Firejail from 0.9.52 to 0.9.54 and now sound no longer works in Firefox 60.0.1 If Firejail is started with `--debug`, the following message is printed in the terminal while playing a YouTube video: `[Child 47, MediaPlayback #3] WARNING: 5593d1b04e60 OpenCubeb() failed to init cubeb: file /home/buildozer/aports/testing/firefox/src/firefox-60.0.1/dom/media/AudioStream.cpp, line 388` `[Child 47, MediaPlayback #3] WARNING: Decoder=5593d17d1c00 [OnMediaSinkAudioError]: file /home/buildozer/aports/testing/firefox/src/firefox-60.0. /dom/media/MediaDecoderStateMachine.cpp, line 3746` I use Firefox with only ALSA and all Firejail profiles are default. If I remove Firejail or downgrade to 0.9.52, sound works again. How can I get sound working with Firejail 0.9.54?
Author
Owner

@netblue30 commented on GitHub (May 30, 2018):

At some point Firefox dropped the support for ALSA and moved to PulseAudio. What distribution are you using?

<!-- gh-comment-id:393118610 --> @netblue30 commented on GitHub (May 30, 2018): At some point Firefox dropped the support for ALSA and moved to PulseAudio. What distribution are you using?
Author
Owner

@mi2iec commented on GitHub (May 30, 2018):

I'm using Alpine LInux. Firefox is no longer built with ALSA support by default, but it's stille possible to enable it at build time with --enable-alsa which it seems like many smaller distributions like Alpine Linux do. As far as i know, Firefox has not completely dropped ALSA support, it's just currently unmaintained.

However, as mentioned in the issue, sound works fine with 0.9.52 or if I disable the Firefox profile after updating, so someting must have happened between 0.9.52 and 0.9.54 that breaks the sound.

<!-- gh-comment-id:393221615 --> @mi2iec commented on GitHub (May 30, 2018): I'm using [Alpine LInux](https://alpinelinux.org/). Firefox is no longer built with ALSA support by default, but it's stille possible to enable it at build time with `--enable-alsa` which it seems like many smaller distributions like Alpine Linux do. As far as i know, Firefox has not completely dropped ALSA support, it's just currently unmaintained. However, as mentioned in the issue, sound works fine with 0.9.52 or if I disable the Firefox profile after updating, so someting must have happened between 0.9.52 and 0.9.54 that breaks the sound.
Author
Owner

@w00x00 commented on GitHub (May 31, 2018):

I have exactly the same issue. Sound is working without firejail or with firejail 0.9.52

<!-- gh-comment-id:393502093 --> @w00x00 commented on GitHub (May 31, 2018): I have exactly the same issue. Sound is working without firejail or with firejail 0.9.52
Author
Owner

@michabuntu commented on GitHub (Jul 1, 2018):

Comment nogroups in firefox.profile: no sound with nogroups enabled: on a system free of systemd and pulseaudio.
With systemd alsa-sound works, because groups are handeld by systemd.
And yes firefox still has alsa, enabled in v.60 (can be enabled via mozconfig) and also in waterfox, same goes for chromium, still alsa.

<!-- gh-comment-id:401592149 --> @michabuntu commented on GitHub (Jul 1, 2018): Comment nogroups in firefox.profile: no sound with nogroups enabled: on a system free of systemd and pulseaudio. With systemd alsa-sound works, because groups are handeld by systemd. And yes firefox still has alsa, enabled in v.60 (can be enabled via mozconfig) and also in waterfox, same goes for chromium, still alsa.
Author
Owner

@chiraag-nataraj commented on GitHub (Jul 24, 2018):

Let's switch the discussion to #2042.

<!-- gh-comment-id:407243344 --> @chiraag-nataraj commented on GitHub (Jul 24, 2018): Let's switch the discussion to #2042.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1321
No description provided.