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
User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Firefox 53 (in Sid) requires Pulse Audio for sound

#1 Post by sjukfan »

https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
https://www.reddit.com/r/linux/comments ... x_nightly/

Haven't seen this around. In short, the Firefox dev team have problems with ALSA so the plan is to ditch the ALSA support and make Firefox require Pulse Audio in the future. They will leave the ALSA code in there but it will be unsupported and to use it you'll have to compile it yourself.

My track record with Pulse Audio hasn't been very good so I'd prefer to leave it out. Anyone know what the build time might be on a core 2 quad with 8GB ram? Or if Pale Moon or similar browser are planning to keep the ALSA support?


For those who can't/want to compile the source themselves you can use apule to emulate pulseaudio under alsa. It's in active development again.

Edit: Changed subject and added link to apulse.
Last edited by sjukfan on 2017-04-24 22:35, edited 1 time in total.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

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

#2 Post by stevepusser »

I don't think that Pale Moon has any plans for that. Debian builds from source also might stick to ALSA; for example, Debian's version 49 uses gtk 2 instead of gtk 3 like Mozilla's.

8 GB of ram should be plenty- The last time I built Firefox from source was years ago on an older i5 processor, and the compile itself took a couple hours using two real cores plus two hyperthreaded ones. However, the lengthy built-in self-testing of the finished binaries took much longer then the compiling and used only one thread, but the self test could probably be disabled.

The Debian sources include maybe a hundred separate source packages, mostly for the language packs, so that makes the source somewhat tedious to get unless you use something like "apt-get source" for that particular release.
Last edited by stevepusser on 2016-10-01 23:42, edited 1 time in total.
MX Linux packager and developer

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Firefox nightly requires Pulse Audio

#3 Post by bw123 »

I have never used firefox for audio, had no idea...sort of interesting topic. Does this have something to do with flash?
resigned by AI ChatGPT

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

#4 Post by stevepusser »

Not really, more like what output it would use to play audio from any source in the browser, be it from Flash, HTML5, RTC, or something else.
MX Linux packager and developer

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Firefox nightly requires Pulse Audio

#5 Post by bw123 »

Maybe i'm just a bad brain, but sounds kinda nutty to require sound support to install a browser?
resigned by AI ChatGPT

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

Re: Firefox nightly requires Pulse Audio

#6 Post by sjukfan »

bw123 wrote:Maybe i'm just a bad brain, but sounds kinda nutty to require sound support to install a browser?
Yeah. I have this aversion against requirements. Shouldn't take that many if statements to write for both alternatives that there's sound and there's not.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Firefox nightly requires Pulse Audio

#7 Post by debiman »

stevepusser wrote:I don't think that Pale Moon has any plans for that.
for what?
keeping alsa or dropping it?
imho, palemoon is based on an older version of FF and, accordingly, will stick to whatever that older version uses.
but that's really just an opinion.

for compiling on a dual core - on my quad core it (ff 48 with gtk2) took quite a while - not sure exactly, maybe an hour. long enough to go away and do something else for a while, but not so long as to leave it running while off to work.

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

Re: Firefox nightly requires Pulse Audio

#8 Post by timbgo »

Good understanding is necessary! People like me, so users up to somewhat advanced *nix users, after reading:
Require PulseAudio on Linux
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
can only conclude:
most users wrote:Aahhh... I will now have to install Pulseaudio...
Wrong! But it took me several hours scattered over some time I stole from other things I do, to figure it out!
Pulseaudio is not required on at least some of the well known and well used FOSS GNU Linux distros!
( my update on these lists below, and the Mozilla bug, are... pending at the time of posting this )
The reliable information:
Not required on Archlinux
http://www.mail-archive.com/alsa-user@l ... 31929.html
Not required on Gentoo [ freshly confirmed here ]
https://marc.info/?l=gentoo-user&m=147962947600929&w=2

I do not have a Debian installed right now (and I would not want it with systemd anyway), but I thought other readers will want to know this information.

Regards!
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Anyone can dismiss these: kernel hooks for rootkits
linux capabilities for intrusion?

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Firefox nightly requires Pulse Audio

#9 Post by bw123 »

it took me several hours scattered over some time I stole from other things I do, to figure it out!
Thanks for the time, but just so I get it, are you saying the dummy pulseaudio.deb is the solution?
I do not have a Debian installed right now (and I would not want it with systemd anyway)
you can still use sysVinit btw, works just fine
https://wiki.debian.org/FAQsFromDebianUser#systemd
resigned by AI ChatGPT

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

Re: Firefox nightly requires Pulse Audio

#10 Post by Segfault »

Code: Select all

firefox: Mon Nov 21 23:28:39 2016: 5510 seconds
This is how long it took on an i3, Gentoo. However, this binary was built using shared libraries, already present in the system. BTW, ALSA cannot be tossed, ALSA still has to be there, Pulseaudio is just a parasite layer between ALSA and user applications.

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

Re: Firefox nightly requires Pulse Audio

#11 Post by timbgo »

bw123 wrote:
it took me several hours scattered over some time I stole from other things I do, to figure it out!
Thanks for the time, but just so I get it, are you saying the dummy pulseaudio.deb is the solution?
I wouldn't know. I'm not very advanced...
bw123 wrote:
I do not have a Debian installed right now (and I would not want it with systemd anyway)
you can still use sysVinit btw, works just fine
https://wiki.debian.org/FAQsFromDebianUser#systemd
...Ah, it might work... To be honest, I miss Debian as it used to be. And, the rift could be bridged btwn Debian and Devuan, if the freedom was back, but really. Jaromil, the leader of the Devuan project, a fork of Debian says so in the video:
Devuan GNU+Linux presented at FSCONS 2016
https://www.youtube.com/watch?v=wMvyOGawNwo
somewhere from: 0:36:30 (but adding #t0:36:30 to the url didn't make it for me start at 36min 30sec, and it should, how come?).

It's not just systemd, but also the other (can I call it:) poetterware? dbus, *kits (sure: pulse) and other (what is, in my opinion) non-true unix programs/packages...
dummkopf wrote:

Code: Select all

firefox: Mon Nov 21 23:28:39 2016: 5510 seconds
This is how long it took on an i3, Gentoo.[/code]
However, this binary was built using shared libraries, already present in the system.
One hour and a half!? Can't be... It takes around one hour here, and my system is older... IIUC.
(
Intel won't let me view the page:
http://www.intel.com/content/www/us/en/ ... essor.html
probably because I have tracking protection... and I'm not disabling it on intel.com... Give me anonymous browsing of your site, you big dirty business!...
)
And my system is olde:

Code: Select all

$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 16
model		: 4
model name	: AMD Phenom(tm) II X4 965 Processor
stepping	: 3
...
( that's a 4-core old phenom...).
dummkopf wrote: BTW, ALSA cannot be tossed, ALSA still has to be there, Pulseaudio is just a parasite layer between ALSA and user applications.
Go and have a look, they even changed the title... Looks like they're promising to require Pulseaudio on everybody.

And here's what I believe is the real issue about Pulse:
http://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg31928.html wrote: In the Sureveillance Age that we live in, in which everybody carries
appliances that state spies, and world spies like Google, can all listen
to
(
at any later date, they just locate where any event that you took part
in, private or public, they don't have any consideration, the most
private events included, any event, as they have all in their databases,
years later if they want to, and apply a search on it just like the
Google users --I keep to duckduckgo.com-- search in their browsers, and
in this case it's searching through sound, and they find whatever they
search for, in their databases of recordings...
),
in this Surveillance Age we live in, you now tell me what Pulseaudio
is for, with all the remote seats --sure they may have renamed those, I
do not follow their development in the least anymore-- of some
policykit's and stuff? You tell me!
Yeah, they've even changed the title:
Require PulseAudio to play sound on Linux
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056
while the old title was just "Require PulseAudio on Linux". Feel like a promise... No.. Mozilla has also good developers, just like Debian still has... But if I were one, I couldn't bare the overwhelming overbearance of the poetterware...

Regards!
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Anyone can dismiss these: kernel hooks for rootkits
linux capabilities for intrusion?

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

Re: Firefox nightly requires Pulse Audio

#12 Post by Segfault »

One hour and a half!? Can't be... It takes around one hour here, and my system is older... IIUC.
I use PGO, it doubles the build time. Anyhow, version 50 still builds without pulse, remains to be seen. Oh, and I build with -j2 so building won't slow down my box.

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

Re: Firefox nightly requires Pulse Audio

#13 Post by timbgo »

dummkopf wrote:
One hour and a half!? Can't be... It takes around one hour here, and my system is older... IIUC.
I use PGO, it doubles the build time.
...
Oh, and I build with -j2 so building won't slow down my box.
Yeah, that the reason! Now I understand the (very relative) slowliness.
dummkopf wrote:
Anyhow, version 50 still builds without pulse, remains to be seen.
Not necessarily on Debian. It depends on your developers, whether they decide to, in Debian's case, follow the Archlinux attitude (Arch is also very predominantly, and officially only- systemd-based), where pure ALSA is available, and Firefox works, like I posted about...
It depends on your developers, but I can't go any deeper into this.

Regards to everybody!
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Anyone can dismiss these: kernel hooks for rootkits
linux capabilities for intrusion?

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

#14 Post by stevepusser »

Hah, trying rebuilding the Debian Firefox--the last time I did that, the self testing procedure after the build took several times as long as the actual compilation, though I don't know if that is still part of the build. It can also be disabled in the mozconfig.in files. I wonder if the current Firefox will build on the openSUSE build service, or if the machines will run out of RAM during the linking. I provide the Pale Moon repository on the OBS, and so far no RAM issues with those builds.
MX Linux packager and developer

MoaTib
Posts: 74
Joined: 2011-02-27 02:38

Re: Firefox nightly requires Pulse Audio

#15 Post by MoaTib »

bw123 wrote:
I do not have a Debian installed right now (and I would not want it with systemd anyway)
you can still use sysVinit btw, works just fine
https://wiki.debian.org/FAQsFromDebianUser#systemd
But the systemd-shim package is orphaned since at least five months. Someone was interested and asked for a mentor to sponsor him, but a Debian developer welcomed him (a month later...) rather negatively telling him that they will not "blindly sponsor stuff just because of somebody is interested" and that "an unmaintained Package is better than a badly maintained package ". The guy asking for sponsorship left and never came back.

So now, systemd-shim is officially orphaned and unmaintained and no longer compatible with systemd.
apt-get install braindump -t unstable

Stupid changes are not synonymous of useful progress.

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

Re: Firefox nightly requires Pulse Audio

#16 Post by timbgo »

Just for the users wishful to remain in the pure ALSA realm, there's this post in the Alsa-users:

[Alsa-user] sans-pulseaudio Firefox? was: a strange thing
https://www.mail-archive.com/alsa-user@ ... 31940.html

but more ...threats by ...particularly inclined Mozilla devs have been voiced on the aforebrought Mozilla bug page:

Require PulseAudio to play sound on Linux
https://bugzilla.mozilla.org/show_bug.c ... 47056#c178

where notice the "Target: Firefox52" is the news. Was previously deemed to need to be reached by Firefox46, IIUC.

Regards!
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr
Anyone can dismiss these: kernel hooks for rootkits
linux capabilities for intrusion?

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

Re: Firefox nightly requires Pulse Audio

#17 Post by Segfault »

To build this Firefox you still need to install Pulse, otherwise the build will fail. That sucks.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Firefox nightly requires Pulse Audio

#18 Post by debiman »

idk; can't you then uninstall it again after compiling?
a so-called makedepend?

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

Re: Firefox nightly requires Pulse Audio

#19 Post by Segfault »

Lets wait and see what happens. There are people interested in cleaning up the code and get the PA calls out. Even if this means no sound in FF.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Firefox nightly requires Pulse Audio

#20 Post by debiman »

fwiw, i'm not 100% happy with FF either, the way it's going, but there just doesn't seem to be 1 browser to rule them all, they all have their dis/advantages...

(and this is NOT meant as an invitation to start recommending what somebody perceives is THE best browser EVER) :mrgreen:

Post Reply