FireFox requires PulseAudio for sound; how to install?

Using applications, configuring, problems
Message
Author
User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

FireFox requires PulseAudio for sound; how to install?

#1 Post by MrAccident »

I've found a thread on this forum about the subject - but couldn't understand anything.
So from the beginning - sound in FireFox as of latest version - doesn't work, and the program's notification tells me to install PulseAudio.
This is the page I found for installation -
; and it seems incredibly complicated; many dependencies with their own dependencies etc; and I don't even understand how to install them.
I didn't find it in PPM. Is there a simple way to install it?
Last edited by MrAccident on Sun 12 Mar 2017, 18:41, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#2 Post by Semme »

Pup version? Really, "ALWAYS" include this when asking for help.

Have you got its corresponding devx loaded? It contains build tools required for compiling.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#3 Post by MrAccident »

Sorry, forgot; Slacko 5.7.0.
I installed only PulseAudio without the dependencies - but that just made FireFox crash when the video started.
Last edited by MrAccident on Mon 28 Aug 2017, 17:15, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#4 Post by Semme »

And my other question?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

#5 Post by watchdog »

In slacko 5.7 works the following pulseaudio by OscarTalks:

http://smokey01.com/OscarTalks/pulseaud ... 486-w5.pet

Install it and type in console:

Code: Select all

pulseaudio --start
/path-to/firefox
pulseaudio --kill

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#6 Post by MrAccident »

+watchdog

Code: Select all

/path-to/firefox
There are 2 "firefox" folders: one in "share", one in "lib".
Also - it's portable FireFox; if it matters.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#7 Post by OscarTalks »

As an alternative, try installing the suitable apulse package from:-
http://smokey01.com/OscarTalks
Then just run Firefox with the command

Code: Select all

apulse firefox
(or use one of the other methods for loading the apulse libraries with preference over the pulse libraries in /usr/lib).
The apulse libraries are in the sub-directory /usr/lib/apulse so as not to break any programs that need the original libpulse
Last edited by OscarTalks on Wed 19 Jun 2019, 09:10, edited 2 times in total.
Oscar in England
Image

User avatar
MrAccident
Posts: 361
Joined: Mon 31 Mar 2014, 20:53

#8 Post by MrAccident »

+OscarTalks - WORKS! Thanks a lot!

User avatar
James186282
Posts: 270
Joined: Tue 08 Sep 2009, 19:14
Location: Minnesota

#9 Post by James186282 »

I am so pissed that I wasted a morning trying to figure out why Firefox suddenly didn't do sound. It seems to me that if your going to change your program so that it suddenly is not going to work on a large qty of Linux systems you should have some sort of serious message alerting the user. There was a "suggestion" about me loading Pulse but thats as appealing to me as loading another buggy version of Flash?

The comment made from Mozilla about Firefox not going to continue to use ALSA "Not going to happen" inspires me to say that its a perfect time to switch to Opera or? I've already made up a output file of bookmarks. Now doing some of the tedious stuff concerning passwords and so forth. So far my first impression is Opera is small and fast and its not Firefox. Which was sort of my reason for switching to Firefox. IE It wasn't Microsoft Explorer. These guys do know that Pulse etc all sit on top of ALSA? That sound latency is a serious issue that isn't done well when you stack more abstraction layers on top of each other.

Skype was the first program (That I used) that decided ALSA wasn't going to be supported any longer. It took a lot of screwing around but I got Pulse on a machine but... Skype then became unusually crappy and I kept having sound problems. So my next machine didn't have Skype or pulse and I'm much happier. Maybe its just me but I think Microsoft can ruin anything it touches and Skype is a good example. When a program decides it needs more abstraction I decide that the people writing the code don't know what they are doing and that like so many other things has crossed into being more garbage/bloatware.


Seriously - what does Pulse do that ALSA can't? Some might say its easier but that (To me) is totally subjective. The further away from the actual hardware operates the more difficult it becomes to do things correctly or know what is really going on. If Mozilla can't find guys who can handle writing code for ALSA maybe they should not be "upgrading" Firefox every week? Speaking of which - I think the sign that a program is going to hell is when its so easily screwed with that it needs updates all the time.

I wish I had saved my notes but in the end I just decided installing Pulse was a seriously bad move. If your having trouble installing Pulse your not alone. In fact I'll give you even odds that when your done the sound won't work with anything.

ALSA is going to be there regardless if its being supported so why not support what HAS to be on every Linux machine and not a bloated abstraction layer of slow code?
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
[i]Donald Knuth [/i]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#10 Post by Semme »

:D [^]Sounds like a scene from the X "Far Side" Files..[/^]
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

MrAccident wrote:+OscarTalks - WORKS! Thanks a lot!
+1
thanks OscarTalks!!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

boolean

#12 Post by boolean »

anyone can recompile for x64? , this is for x32

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#13 Post by OscarTalks »

I don't do much with 64bit but try this:-
http://smokey01.com/OscarTalks/apulse-0.1.10-x86_64.pet
Compiled in Tahr64
Tested briefly with Firefox 52.0.1 in Slacko64-6.3.0 as well as Tahr64-6.0.5 and youtube sound worked in both.
EDIT:- I have swapped it now for one compiled in Slacko64-6.3.0 only because the glibc version is earlier, although the tahr one was working fine in both.
Last edited by OscarTalks on Thu 06 Jul 2017, 08:24, edited 1 time in total.
Oscar in England
Image

RickGT351
Posts: 289
Joined: Tue 27 Sep 2011, 22:02
Location: Auckland, New Zealand

#14 Post by RickGT351 »

watchdog wrote:In slacko 5.7 works the following pulseaudio by OscarTalks:

http://smokey01.com/OscarTalks/pulseaud ... 486-w5.pet

Install it and type in console:

Code: Select all

pulseaudio --start
/path-to/firefox
pulseaudio --kill
I tried that and here's what I got

Code: Select all

# pulseaudio --start
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
E: [pulseaudio] main.c: Daemon startup failed.
# 
What do I do now?

artsown
Posts: 403
Joined: Wed 12 Sep 2012, 18:35

#15 Post by artsown »

I've briefly tested both the 32 and 64 bit versions of the apulse pets on
the 32 and 64 bit versions of tahrpup and xenialpup. Audio now works
on all four using firefox 52.0.1

That's great, OscarTalks! Thanks.

Art

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#16 Post by bigpup »

RickGT351,

Try OscarTalks pet only.

What version of Puppy?

Have you tried to install PulseAudio?

If yes.

Do not have PulseAudio installed.

Only install OscarTalks pet.
http://www.murga-linux.com/puppy/viewto ... 398#947398
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#17 Post by Sylvander »

OscarTalks wrote:...try installing this apulse package
http://smokey01.com/OscarTalks/apulse-0.1.8-i686-wz.pet
Then just run Firefox as normal.
Just a library so no need to start and stop daemons.
Compiled in Wheezy but tested briefly and worked in Slacko 5.7
Was running Slacko-5.7.0-pae->Firefox-52.0, and getting no sound [in youtube videos].
Installed the above .pet, and now I get sound. :D

artsown
Posts: 403
Joined: Wed 12 Sep 2012, 18:35

#18 Post by artsown »

The 64 bit apulse pet was also useful for getting audio on Firefox 52
in FATDOG 710 (which requires GTK3 to support Firefox). FATDOG doesn't
use pets but it offers to extract them. Then the three .SO files are copied
to the lib64 folder.

Art

RickGT351
Posts: 289
Joined: Tue 27 Sep 2011, 22:02
Location: Auckland, New Zealand

#19 Post by RickGT351 »

Precise 5.7.1
Update I figured out why pulse audio wasn't working but got these grumpy comments too. Also no sound

Code: Select all

# pulseaudio --system
W: [pulseaudio] main.c: Running in system mode, but --disallow-exit not set!
W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode!
N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time!
W: [pulseaudio] main.c: Home directory of user 'root' is not '/var/run/pulse', ignoring.
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: [pulseaudio] main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
W: [pulseaudio] module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!

RickGT351
Posts: 289
Joined: Tue 27 Sep 2011, 22:02
Location: Auckland, New Zealand

#20 Post by RickGT351 »

bigpup wrote:RickGT351,

Try OscarTalks pet only.

What version of Puppy?

Have you tried to install PulseAudio?

If yes.

Do not have PulseAudio installed.

Only install OscarTalks pet.
http://www.murga-linux.com/puppy/viewto ... 398#947398

Precise 5.7.1
Installed the pet, now can't play youtube videos at all. Looks like I will need to do some more experimentation
Last edited by RickGT351 on Thu 23 Mar 2017, 23:40, edited 1 time in total.

Post Reply