On 01/16/2018 04:32 AM, Ken Moffat wrote:
On Tue, Jan 16, 2018 at 01:07:07AM +0100, Tim Tassonis wrote:
Hi All
On 01/16/2018 12:29 AM, Tim Tassonis wrote:
Hi all
As Ken noted, Firefox 58 seems to have some sound issues. I could not
confirm this on all my boxes, but found out that one box has the issue,
while the other has not. But are using alsa and the same, self-compiled
firefox 58b16.
A solution on the faulty machine is to start firefox, go to
about:config, and then set the property
security.sandbox.content.level
to 0, instead of 3.
I found a nice explanation for the problem at:
https://github.com/i-rinat/apulse
To leave sandboxing active and get alsa sound running, you can also set
security.sandbox.content.syscall_whitelist
to 16, which is the iotcl syscall needed by alsa. For 32bit architectures,
the value is 54.
Cheers
Tim
Tim, many thanks for all that.
When I ran pulse builds (b15, b16, even b03) from a term, I got errors like
fork(): Operation not permitted
[Child 4423, MediaPlayback #3] WARNING: 7f1bb72bb1c0 Can't get cubeb context!:
file /scratch/working/firefox-58.0b15/dom/media/AudioStream.cpp, line 358
[Child 4423, MediaPlayback #3] WARNING: Decoder=7f1bbcc4b400
[OnMediaSinkAudioError]: file
/scratch/working/firefox-58.0b15/dom/media/MediaDecoderStateMachine.cpp, line
3642
Which is initially disturbing (the source is no longer there), but I
guess something in the build saves the full path to the file.
Well, according to
https://filippo.io/linux-syscall-table/
fork has the syscall number 57, so setting
security.sandbox.content.syscall_whitelist to 57 should fix that. But
then, it will maybe bomb out later...
Cheers
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page