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
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

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1395
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 78 times
Been thanked: 173 times

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

#61 Post by steve_v »

Head_on_a_Stick wrote:Hey, good news fellow PA-h8ers: the new upstream version of QEMU (2.11) now has PulseAudio as a dependency
Oh FFS. If this bullshit carries on I'm going back to LFS. Or BSD... No crapware invasion over there. No systemdisaster either.

Why the hell does anyone need this pulseaudio thing anyway?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

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

#62 Post by Segfault »

Well, it is consuming additional CPU cycles, generating more heat, may become handy in a cold winter day.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1395
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 78 times
Been thanked: 173 times

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

#63 Post by steve_v »

Segfault wrote:Well, it is consuming additional CPU cycles, generating more heat, may become handy in a cold winter day.
For this I have BIONC.
It's not the resource wasting that pisses me off, it's the unwanted complexity.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

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

#64 Post by Segfault »

Ha. I just installed Mint into a VM to support friends who run it. Guess what, DNS didn't work, so I had a closer look. It is running some middleman (again!) which sits at 127.0.1.1. Red Hat camp apparently can't write real software, so they add layers between existing software, claiming they are doing things better.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

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

#65 Post by Wheelerof4te »

Segfault wrote:Well, it is consuming additional CPU cycles, generating more heat, may become handy in a cold winter day.
Only if your fan is somehow broken. But then again, if it is, whatever you do will make your laptop a nice barbeque.
steve_v wrote:Why the hell does anyone need this pulseaudio thing anyway?
Why the hell does anyone need Windows thing anyway?

It is just an effort to unify soundsystem on Linux. Making new standards and all of that. You can either accept it and move on, or join ALSA maintainment squad.

Post Reply