Firefox52/Pulseaudio/No Sound (Solved)

Using applications, configuring, problems
Message
Author
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.

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

FF 52 No :(

#36 Post by whynosound2 »

This works on FF Quantum with Tahr but I have just found that it does not work on FF 52, and that is what I have to run.

On FF 52 you can play videos (ex youtube) with no sound or if you copy the apulse libs, then videos start (like I can see the first frame) but they don't play at all and you get the error

"If playback doesn't bein shortly, try restarting your device."

EDIT: actual error message

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

#37 Post by OscarTalks »

If you need help with a specific situation it would help if you could give the full Firefox version number and if it is the standard or ESR version (52?). Also, where did the Firefox originate from? Is it a Mozilla official build or one that has been compiled by Debian, Ubuntu, Slackware, Yourself or somebody else?
Also, it is always a good idea to indicate if your Puppies are 32bit or 64bit.

The hints I wrote in my previous post outline the main areas you should look at and really apply to current latest Quantum official build from Mozilla, but there are a number of variables so you may have to experiment and adapt things a bit.

The one other step which might be useful, if you have put the apulse libraries inside the firefox directory, start Firefox with a little script (named "firefox" and placed in /usr/bin) to give priority to those libraries over any system library:-

#!/bin/sh
export LD_LIBRARY_PATH=/usr/lib/firefox:$LD_LIBRARY_PATH
exec /usr/lib/firefox/firefox "$@"


Change those paths accordingly if it is in /opt rather than /usr/lib
Oscar in England
Image

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

FF 52 No Go

#38 Post by whynosound2 »

> If you need help with a specific situation it would help if you could give the full Firefox version number and if it is the standard or ESR version (52?).

1. Tor Browser, based on Firefox 52.7.0 64-bit

2. Firefox 59.0 64-bit downloaded from getfirefox.org (this is the one that works on some Youtube videos but not on others.

> Also, it is always a good idea to indicate if your Puppies are 32bit or 64bit.

Tahr 64, Xenial 64.

Sound is not working (reliably) anywhere.

Is this something that will be fixed in a later version of Xenial? If so then I will wait until a stable version with sound is released. Not much reason to do all of this.

About your suggestion: I can try that script but I have tried putting the libraries in /opt/firefox/ AND, OR /usr/lib64 and there is no change in what happens in any case.

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

#39 Post by OscarTalks »

The browser in Tor Browser is a Firefox ESR that has been modified and compiled by the Tor developers specifically for their bundle. I usually try to upload versions of this which have been adapted to work in Puppy including sound fix, see here and feel free to test:-
http://murga-linux.com/puppy/viewtopic.php?t=91141

I am not familiar with getfirefox.org as a source, but I would expect the principles I outlined to work in some combination if applied correctly. For the Mozilla builds I would use something like mozilla.org/firefox but there may be some other reason why it is not working for you. I only tested up to 58.0.2 and they do keep changing things.

Are you using the whitelist settings for sound? If so the number 54 should be replaced by 12 (I believe) for 64bit.

I don't know if it will be fixed in Xenial or other Puppies in the short term. I don't think there are any plans to include PulseAudio and apulse is really a workaround. My advice is to continue to look at it until you figure out how to do your own adaptations because it does appear to work in my tests and other users have reported the same.
Oscar in England
Image

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

#40 Post by OscarTalks »

Firefox Quantum 59.0.1 64bit
Mozilla official build, main directory installed under /opt with apulse libraries inside that directory.
I added a user.js file to set sandbox level to 0 (and defined the profile folder name because I am not sure how else to enter this file). In this form I think it may be possible to offer it as a package.

In my quick test it runs OK in Xenial64 and sound is working.
In Tahr64 it runs if you install libgtk-3 first. (If tooltips are too dark, change gtk3 theme to default).

If anyone wants to give it a try, bear in mind it is STRICTLY FOR TESTING PURPOSES.
Uploaded here:-
https://yadi.sk/d/S7ktsYZPqg2Lc?force_show=1
Oscar in England
Image

Post Reply