FS#57837 - [firefox] No Sound With Jack Audio Sound Server
Attached to Project:
Arch Linux
Opened by Turbo B (Turbo) - Wednesday, 14 March 2018, 13:41 GMT
Last edited by Balló György (City-busz) - Friday, 09 June 2023, 12:29 GMT
Opened by Turbo B (Turbo) - Wednesday, 14 March 2018, 13:41 GMT
Last edited by Balló György (City-busz) - Friday, 09 June 2023, 12:29 GMT
|
Details
Description: With FF 59 (version 1 & 2) there is no
sound playing trough jack audio sound server, jack seems to
be enable via mozconfig (ac_add_options --enable-jack). Hve
to turn off Jack to play sound with alsa (that is enable too
in mozconfig (ac_add_options --enable-alsa).
Additional info: * package version(s) FireFox 59 |
This task depends upon
[Child 3604, MediaPlayback #1] WARNING: 7fcc9d8f6100 OpenCubeb() failed to init cubeb: file /build/firefox/src/mozilla-unified/dom/media/AudioStream.cpp, line 387
[Child 3604, MediaPlayback #3] WARNING: Decoder=7fcc91271e00 [OnMediaSinkAudioError]: file /build/firefox/src/mozilla-unified/dom/media/MediaDecoderStateMachine.cpp, line 3755
[Child 3604, MediaPlayback #3] WARNING: Decoder=7fcc91271e00 Decode error: NS_ERROR_DOM_MEDIA_MEDIASINK_ERR (0x806e000b) - OnMediaSinkAudioError: file /build/firefox/src/mozilla-unified/dom/media/MediaDecoderStateMachine.cpp, line 3453
It's ok with security.sandbox.content.level to 0.
I have reported the bug to bugzilla [Bug 783733], here is there answer:
"Looks like the sandbox is blocking bind(). You could try Firefox 60 (where
we've moved audio to the chrome process to avoid sandbox restrictions in the
content process), although it's untested with JACK. Alternatively, you could
lower the sandbox level via the security.sandbox.content.level pref, but be
aware that you're reducing your security to get JACK working in that case."
good news (for me ..)!
I have tried setting security.sandbox.content.level to 0 and I've also tried setting media.cubeb.sandbox to false yet no JACK ports appear for FireFox after restarting it.
When I exit FF, I get errors like so:
[Parent 10035, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox/src/mozilla-unified/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 736
[Parent 10035, Gecko_IOThread] WARNING: pipe error (150): Connection reset by peer: file /build/firefox/src/mozilla-unified/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 363
Are you running JACK standalone (as required to achieve low latencies when recording) or are you using the JACK PA sink? I have no use for the latter personally.
If you are running Firefox under JACK (and not PA/JACK), how did you get it to work?
In the beginning, i remember that i have follow this: https://wiki.archlinux.org/index.php/Firefox [Multimedia Playback Section]
Hope this helps.
I just tried everything suggested on that page again and I got a new/different error alongside the ones I posted previously:
IPDL protocol error: Handler returned error code!
###!!! [Parent][DispatchAsyncMessage] Error: PLayerTransaction::Msg_ReleaseLayer Processing error: message was deserialized, but the handler returned false (indicating failure)
You could try doing a diff of ~/.mozilla/firefox/something.default/prefs.js with that of a new prefs.js and see what options you changed, then we can get it documented on the Arch wiki if it fixes it for me too?
Thanks
One question: is there no images and no sound on YT or just no sound?
content process, with FF build with Jack enable [of course] and this one running [of course], you have nothing else to do in the FF preferences ... to watch videos, listen to music ...