On Thu, Jan 18, 2018 at 12:34:04AM +0000, Ken Moffat wrote:
> On Wed, Jan 17, 2018 at 10:28:46PM +0000, 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:
> > [...]
> > > > > 
> > > > > 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.
> 
> I've now built b16 with alsa on a second machine: initially no
> sound, but setting security.sandbox.content.syscall_whitelist to 16
> in about:config, and restarting direfox, fixed it.
> 
> Maybe I've left it set like that on the other machine.
> 

Indeed, I had set sandboxing to 0 in case that helped the pulse
problem.  Now that 58.0 seems to be available (with a change in
media/libcubeb/src/resampler.{cpp,h} I retried pulse, but still no
sound.

On the machine where I had turned off the sandbox, I re-enabled that
and then build firefox with alsa: no sound.  Whitelisting syscall
16, and killing/restoring firefox, gave me working sound again.  So
*both* of the machines where I'm doing that (running recent
LFS/BLFS) needed that workaround.

Also, on *some* of my builds I've had to add libnotify - without
that, the very end of './mach install' fails when it tries to run a
program from libnotify.  Plus, this needs a newer rust than 1.19.0
(1.21.0 has worked with recent betas, also 1.22.0, but I'll be
moving the book to 1.23.0), and libpng needs to be current.

Anybody willing to try building it with pulse and style (needs
clang) on a fast multicore machine, test html5 pulse audio, and if
necessary rebuild using alsa instead of pulse ?  At the moment I'm
the only person who apparently gets no aound with pulse, so I'm
reluctant to move the book back to alsa if the problem is in my
setup.  More data would be welcome.  TIA.

For rustc, the line 'channel = "stable"' needs to be deleted for
recent versions.  For firefox, use ./mach build (or ./mach build
--verbose) and (DESTDIR=/some/where ) ./mach install.

I'll update nss and nspr soon (probably not required for ff58, but I
tend to update those locally when I update firefox), then I'll
update rustc and firefox after building on a few older systems.

ĸ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