Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Firefox 53 (in Sid) requires Pulse Audio for sound

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
andoru
Posts: 272
Joined: 2014-03-14 16:59

Re: Firefox nightly requires Pulse Audio

#41 Post by andoru »

It seems I still have sound in FF (52.0.1, have a mozilla-built package in my ~/bin/ folder) on an ALSA-only Sid install... weird. Not sure how much this is going to last though. I also maintain someone else's PC with a similar installation, and they did have sound problems after updating FF. Fixed it with apulse, thankfully, and I hope we'll be able to circumvent this disastrous decision with it in the future.
After reading the bugzilla thread previously mentioned (https://bugzilla.mozilla.org/show_bug.cgi?id=1345661) I find their reason to stick with PulseAudio quite flaky, like they're desperate for PA ****, so much they start worshipping it. Also that Anthony Jones is a downright patronising wanker.
Someone even suggested moving to different frameworks, like SDL2 sound, or OpenAL, but they didn't even bother to consider that.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Firefox nightly requires Pulse Audio

#42 Post by stevepusser »

If any Jessie users want a Debian repo with apulse, I've added to my multimedia+ repository: http://forums.debian.net/viewtopic.php? ... 02#p610702
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Firefox nightly requires Pulse Audio

#43 Post by Head_on_a_Stick »

andoru wrote:It seems I still have sound in FF (52.0.1, have a mozilla-built package in my ~/bin/ folder) on an ALSA-only Sid install... weird.
Try firefox-esr from experimental, that is the version I am using in my stretch system (I can't stand old browsers) and that is the version that has no sound without PA (unless apulse is installed).

https://packages.debian.org/experimental/firefox-esr

@stevepusser, thank you very much! :)
deadbang

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Firefox nightly requires Pulse Audio

#44 Post by TonyT »

I ran into this problem yesterday after upgrading FF to 52.01 from 51.01. In my research I read that the Release ESD version still has also support. Not sure about beta or other ESD versions. I rolled back to 51.01 for now rather than install PA. I'm running Stretch and MATE, installed piece by piece rather than selecting anything during install. I'd like to move to the beta or experimental versions but don't want PA.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Firefox nightly requires Pulse Audio

#45 Post by stevepusser »

TonyT wrote:I ran into this problem yesterday after upgrading FF to 52.01 from 51.01. In my research I read that the Release ESD version still has also support. Not sure about beta or other ESD versions. I rolled back to 51.01 for now rather than install PA. I'm running Stretch and MATE, installed piece by piece rather than selecting anything during install. I'd like to move to the beta or experimental versions but don't want PA.
Let me get this straight...you'd rather use a browser version with known security flaws than use pulseaudio?

Have you considered apulse as an alternative to pulseaudio?
MX Linux packager and developer

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Firefox nightly requires Pulse Audio

#46 Post by TonyT »

stevepusser wrote:
TonyT wrote:I ran into this problem yesterday after upgrading FF to 52.01 from 51.01. In my research I read that the Release ESD version still has also support. Not sure about beta or other ESD versions. I rolled back to 51.01 for now rather than install PA. I'm running Stretch and MATE, installed piece by piece rather than selecting anything during install. I'd like to move to the beta or experimental versions but don't want PA.
Let me get this straight...you'd rather use a browser version with known security flaws than use pulseaudio?

Have you considered apulse as an alternative to pulseaudio?
Apulse will likely be the solution I select. I had trouble with PA when I was running earlier systems and have shyed away from it since. I like to build my system from the bottom up and only install what I need. Sounds works just fine using alsa. As for security flaws, the "flaws" in 51.0.1 are minuscule and the likelyhood of me ever encountering someone or a site that exploits them is near zero. But that's me, others may be more prone to getting exploited.

timbgo
Posts: 265
Joined: 2013-04-14 12:17

Re: Firefox nightly requires Pulse Audio

#47 Post by timbgo »

The news about apulse also spread to Devuan folks (I think it was golinux who told about it on the Devuan ML), and it is being installed in Devuan machines as well. So thanks!

But I just found a nice user criticism of Mozilla devs (btw, I moved to Palemoon, and _really_ have no regrets) at:
Firefox developers disrespect large swaths of users
https://bugzilla.mozilla.org/show_bug.cgi?id=1352780

I'm posting it also because, even though they, afterwards, named me
(
by name and surname in the bug that I participated in, at:
Require PulseAudio to play sound on Linux
https://bugzilla.mozilla.org/show_bug.c ... 47056#c175
)
I am not allowed to post, even though I didn't do any more than post in the links that you can find in my previous posts in this topic, such as:
http://forums.debian.net/viewtopic.php? ... 28#p630102
[ that post is with links to Alsa ML (about Archlinux and much more), and also to Gentoo-user ML where I aired my views as well ]

I hope you'll find "Firefox developers disrespect large swaths of users" linked further above amusing and truthful. And you'll agree that banning posters for just criticism is plain wrong by Mozilla devs.

And I warmly suggest Palemoon (or Pale Moon) to readers. I like to say it really looks to me that Palemoon is an Angel of Honesty in comparison to Firefox. No surveillance on me did I find in Palemoon! And Firefox is suspicious!
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Anyone can dismiss these: kernel hooks for rootkits
linux capabilities for intrusion?

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: Firefox nightly requires Pulse Audio

#48 Post by sjukfan »

In version 53.0.is.52.0.2-1, the one in Sid now, this pops up when you try to play sound.
Image

Seems to work fine with apulse except for a tiny sound delay that you only notice if you stare at people's mouth when they speak in a clip.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#49 Post by L_V »

Do you have at least just libpulse0 installed ?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#50 Post by stevepusser »

L_V wrote:Do you have at least just libpulse0 installed ?
Firefox now requires pulseaudio be running, or at least apulse to fool it. Libpulse alone is not going to do that.
MX Linux packager and developer

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#51 Post by L_V »

I don't have pulseaudio installed, and sound is working fine in Firefox 57 in Debian stretch.

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#52 Post by sjukfan »

apulse is now in Sid.

For apulse to work with Firefox 57 /dev/snd/ has to be added to security.sandbox.content.write_path_whitelist in about:config as stated here
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#53 Post by Segfault »

57 built from source, no apulse, still have sound.

andoru
Posts: 272
Joined: 2014-03-14 16:59

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#54 Post by andoru »

Same here, although I'm not compiling it myself. Also I switched to Waterfox.

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#55 Post by Nili »

It's a misfortune :( For a while I found another solution (browser switching).
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#56 Post by sjukfan »

If I remember it correctly they're leaving the alsa code in for now but they're not updating it. And the plan is to remove it in version 5-something. Until then you can compile it yourself with

Code: Select all

--disable-pulseaudio --enable-alsa
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#57 Post by L_V »

removed by mistake. I edited this one instead of replying (see next message).
Last edited by L_V on 2017-12-05 20:01, edited 2 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#58 Post by Head_on_a_Stick »

L_V wrote:Could someone refresh a little bit how to get sound from Firefox without pulseaudio ?
I've just purged PulseAudio from my Arch box and Firefox (v57) went mute, installing the apulse package brings back the noise for me.

Presuming the same applies to a Debian system try stevepusser's version:

https://software.opensuse.org//download ... age=apulse

I can personally vouch for the skills of the package maintainer, he is great :D

EDIT: the apulse package is actually available in testing/unstable so you should be able to install the .deb.

EDIT2: I've thrown apulse into my Arch openSUSE repository (if that makes sense) so anybody with an Arch-based system (including ArchLabs, Manjaro and Antergos) can install it from there, I will be using it myself so it will be kept updated:

https://software.opensuse.org//download ... age=apulse
deadbang

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#59 Post by L_V »

L_V wrote:Now I try Firefox 57 from SID in Stretch ... => no sound.
I added apulse [from SID]
Head_on_a_Stick wrote:installing the apulse package brings back the noise for me. Presuming the same applies to a Debian system try stevepusser's version
Do you mean apulse from SID is not fine ?
A changelog would be welcome so that Debian developers update apulse from SID.
------------------------
EDIT: after trying again during hours to manage headphone output with pulseaudio without any success (tried everything known), I have tried again apulse form SID, and it works fine, but this should be known
Instead of simply launching firefox, this should be done:

Code: Select all

apulse firefox
=>> apulse from SID is just fine

BTW, I cannot understand how pulseaudio is supposed to manage very complex things, but not able to manage correctly a VERY basic configuration with just one speaker output + headphone output.
Forums are full of complaints about headphone output management with pulseaudio, and difficult to understand that pulseaudio is still so buggy in 2017.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Firefox 53 (in Sid) requires Pulse Audio for sound

#60 Post by Head_on_a_Stick »

Hey, good news fellow PA-h8ers: the new upstream version of QEMU (2.11) now has PulseAudio as a dependency :x

I've compiled a local package without the dependency for my Arch box but now I have no sound in QEMU :(

Debian sid is still on 2.10 so something to look forward to, eh? :mrgreen:
deadbang

Post Reply