Firefox52/Pulseaudio/No Sound (Solved)

Using applications, configuring, problems
Message
Author
User avatar
spiritwild
Posts: 181
Joined: Mon 03 Oct 2016, 10:06

#16 Post by spiritwild »

With the release of Firefox 52, we are pleased to welcome the 50 developers who contributed their first code change to Firefox in this release, 45 of whom were brand new volunteers! Please join us in thanking each of these diligent and enthusiastic individuals, and take a look at their contributions:

https://blog.mozilla.org/community/2017 ... tributors/


Found this on Donald Trumps Twitter :lol:

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

#17 Post by watchdog »

Now I am in xenialpup64 7.0.8.1. Wanted to run firefox 52.0 with pulseaudio. There is a simple way to do this. Install in PPM pulseaudio_8.0 again even though it is declared already installed. A symlink is needed to start firefox:

Code: Select all

ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1
Then in console:

Code: Select all

pulseaudio --start
firefox
I'm posting from it and it plays sound.

Bud
Posts: 25
Joined: Tue 27 Apr 2010, 17:59

Re: pulseaudio-4.0-tahr606-i386.pet

#18 Post by Bud »

I think I've spent enough time with this, I got it working now its not.
Thanks all, until there's a simple fix that works it's goodbye Firefox.
Guess I should have posted in Beginners Help, after years of using Puppies this is the first thing I can't fix.
No doubt the 50 Mozilloids are in a drum circle exchanging congratulatory badges :roll:

User avatar
spiritwild
Posts: 181
Joined: Mon 03 Oct 2016, 10:06

#19 Post by spiritwild »

you may try redirecting alsa in (etc/asound.conf)

adding these lines.

pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }

frenchiveruti
Posts: 120
Joined: Wed 15 Feb 2017, 14:00

#20 Post by frenchiveruti »

The mozilloids screwed my audio too... I really don't get why.

Bud
Posts: 25
Joined: Tue 27 Apr 2010, 17:59

#21 Post by Bud »

frenchiveruti wrote:The mozilloids screwed my audio too... I really don't get why.
Guess they wanted me to use Seamonkey 2.46.:)

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#22 Post by 8Geee »

If you are buggered by PulseAudio, try fireFox 45.8esr. It is the update-equivilent to 52.0 (which is an esr BTW). Does NOT require GTK3.0.

Linux 32-bit i686

Linux x86-64bit

Regards
8Geee

PS: using the 32bit on Slacko5.7... so far so good. LOTSA TWEAKING in about:config needed. Very Bloated.
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

User avatar
8Geee
Posts: 2181
Joined: Mon 12 May 2008, 11:29
Location: N.E. USA

#23 Post by 8Geee »

Semme wrote:Now Oscar, is this a band-aid or a :D:wink: splint?
Anything installed to /tmp should be considered a band-aid. Put it in /usr or /opt... then we're talking fix.
Linux user #498913 "Some people need to reimagine their thinking."
"Zuckerberg: a large city inhabited by mentally challenged people."

Bud
Posts: 25
Joined: Tue 27 Apr 2010, 17:59

#24 Post by Bud »

8Geee wrote:If you are buggered by PulseAudio, try fireFox 45.8esr.
Thanks but no thanks, Mozilla need to do something about his, maybe listen to the community outside the Cone of Silence.

@ https://bugzilla.mozilla.org/show_bug.cgi?id=1345661

Don't forget to vote.. (Before Mozilla bury it ;)) click Details to reveal.

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

apulse-git032017-x86_64.pet

#25 Post by watchdog »

apulse-git032017-x86_64.pet:

https://drive.google.com/file/d/0B9iMb4 ... sp=sharing

For slacko64 beta. Pulseaudio 9.0 from slackware does not work for me. This package does not work in xenialpup64 beta.

Code: Select all

apulse /path-to/firefox

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

#26 Post by OscarTalks »

If you install the libraries to the default path of /usr/lib (or presumably /usr/lib64) you do not need to use the

Code: Select all

apulse
command at all. It is just a little wrapper script to find the libs if they are not in standard path. You don't even need to install it in /usr/bin

The readme suggests that for installation in /usr/lib you should build with

Code: Select all

cmake -DAPULSEPATH=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
but I don't know if the first option does anything other than setting the install path for make install

What it appears to be doing is substituting the standard pulseaudio runtime library with a modified apulse library which handles the audio and redirects it to alsa so we can hear it as normal.

It is always best to compile in the distro you are running, but I built the apulse-0.1.8 release in Wheezy ( http://smokey01.com/OscarTalks ) and have tested this (briefly) in Slacko 5.7 / Slacko 6.3.0 / TahrPup 6.0.5 / Dpup Stretch and in all cases the sound worked and Firefox 52 could be started in any of the normal ways.
Oscar in England
Image

Bud
Posts: 25
Joined: Tue 27 Apr 2010, 17:59

#27 Post by Bud »


B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#28 Post by B.K. Johnson »

Hello watchdog

Code: Select all

ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1 
which you recommended cannot possibly work
and was rejected when I tried.

Code: Select all

root# ln -s /usr/lib/libGL.so /usr/lib/libGL.so.1
ln: failed to create symbolic link ‘/usr/lib/libGL.so.1’: File exists
root# 
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

idontregister
Posts: 2
Joined: Tue 10 Oct 2017, 07:00

Nothing Working Here

#29 Post by idontregister »

Compiling and installing apulse does not solve problem. when run "apulse firefox" then youtube videos never load. If run "firefox" then same as before apulse.

pulseaudio always was installed from PPM but never did nothings for Firefox 52.

Also installed pulseaudio-4.0-tahr-i686.pet but only now I see:

:~] pulseaudio
bash: /usr/bin/pulseaudio: No such file or directory

Is anyone successful?

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

#30 Post by bigpup »

Uninstall any PulseAudio you installed.
Should be able to uninstall using PPM (Puppy Package Manager)

Use this fix.
Make sure to get the correct bit version for the Puppy you are using.

Fix audio in Firefox 52 without having to install PulseAudio.
http://www.murga-linux.com/puppy/viewto ... 398#947398

Here is the 32bit pet:
http://www.murga-linux.com/puppy/viewto ... 398#947398

Here is the 64bit pet:
http://www.murga-linux.com/puppy/viewto ... 558#948558
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)

whynosound2
Posts: 11
Joined: Thu 15 Mar 2018, 08:45

NOT solved

#31 Post by whynosound2 »

Sound works fine on Tahr with old Firefox.

Upgrade Firefox and no sound.

Use Xenial and no sound (in Firefox)

I have tried apulse. I have tried that pulseaudio pet. Nothing works.

Can someone PLEASE provide instructions for getting sound to work with Firefox 52+? Xenial is best, Tahr is okay.

matchpoint
Posts: 168
Joined: Fri 26 Jan 2018, 20:54

#32 Post by matchpoint »

That 52 runs says you have Gtk3 installed.

Is there sound in an earlier version of Firefox? Do you have a Chrome based browser to cross-reference?

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

#33 Post by OscarTalks »

Latest Firefox Quantum requires libgtk-3
This is already included in Xenial.
For Tahr, install it using PPM as a first step.

To get sound you can use apulse.
Version 0.1.11 is available as .pet packages for 32bit and 64bit here:-
http://smokey01.com/OscarTalks
Rather than installing the .pet in the normal way, I recommend you unpack the .pet using UExtract and move the libs into the "firefox" directory.
This directory may be in /usr/lib or /opt
Doing this makes the libs available for firefox but stops them from interfering with anything else.

The one remaining problem is that the sound process is sandboxed so still won't work.
Earlier firefox versions didn't have this feature at all.
Decide if you are happy to disable this in about:config
If so, set security.sandbox.content.level to 0

The alternative is to reduce the sandbox level a bit and whitelist the sound, which is a bit more complicated (and 32bit is slightly different from 64bit). There are various threads on the forum about how to do this, but be aware that things might change with future Firefox updates.
http://murga-linux.com/puppy/viewtopic. ... &start=969
Oscar in England
Image

whynosound2
Posts: 11
Joined: Thu 15 Mar 2018, 08:45

No :(

#34 Post by whynosound2 »

EDIT: This worked in Tahr. I already had libgtk3 and I had apulse but they didn't work until you told me about the about:config settings.

Thank you. I don't know why it's not working in Xenial though? Maybe the same thing?

EDIT: It is NOT working on Tahr Quantum. Some videos do play, some do not. Even in Youtube, not all videos play. I know that is strange but it is true. But these same videos play with FF 48.
Last edited by whynosound2 on Fri 16 Mar 2018, 04:38, edited 1 time in total.

matchpoint
Posts: 168
Joined: Fri 26 Jan 2018, 20:54

#35 Post by matchpoint »

Oscar, not that I typically run FF, but, I had to keep you honest. Your method proofs out on Xenial32.

Post Reply