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.

There is a pulse-related fix in kernel 4.14.14-rc1, but it makes no
difference to me.

I've now built b16 with alsa instead of pulse, and sound works for
me.

I suspect I'm going to have to find out the details of using
Mozregression to try to assign blame in the bug
(https://bugzilla.mozilla.org/show_bug.cgi?id=1429540)

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
                                     - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to