PulseAudio under TahrPup 6.0.5 x64

Booting, installing, newbie
Post Reply
Message
Author
frenchiveruti
Posts: 120
Joined: Wed 15 Feb 2017, 14:00

PulseAudio under TahrPup 6.0.5 x64

#1 Post by frenchiveruti »

Hello, I posted this on IRC but well, sometimes the answers are slow and they get lost forever.
I have this post from mike:
https://www.bleepingcomputer.com/forums ... hrpup-605/

But it's old and the "pulse audio" it offers is just for i686.

The problem is that I want to run Firefox 57 (x64) that's having issues with Apulse.
Should I stay on Firefox 56, wait for XenialPup and deal with this later or this issue can be solved "relatively" easy without the conflicts from running both 32 and 64 bits.

I have all the necesary SFS such as DevX and 32bit compat layer.
Thanks.

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#2 Post by redandwhitestripes »

I'm having exactly the same problem on Thar64.
Followed the suggestions to install pulseaudio, apulse and amend the profile file in the mozilla folder, nothing worked. By contrast, on Slimjet I can watch Netflix fine.

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

#3 Post by watchdog »

Pulseaudio is a "stranger" in puppy. I have abandoned it even though I had some success in tahr64:

http://www.murga-linux.com/puppy/viewto ... 004#957004

I betterly suggest to install the OscarTalks x86_64 apulse 0.1.10:

http://smokey01.com/OscarTalks/

Then use the following workaround to fix sound using firefox:

http://www.murga-linux.com/puppy/viewto ... 839#965839

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#4 Post by redandwhitestripes »

Thanks for suggestions here and elsewhere. Sadly on Tahrpup64 nothing works. I've tried:
Install from tar download
Install from repos and update.
Run apulse 64
Run apulse 32 with compatibility
Modify the config settings to /dev/sda/
Create a user.js profile
Fiddle with the default pulseaudio settings.

Nothing worked. It was either media would not play whatsoever ( under apulse64) or would play without sound and an increasingly infuriating warning about installing pulseaudio.

So I'll wait for another chance to use FF Quantum in future and for now I'll just use it under Windows. It does look and run impressively.

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

#5 Post by watchdog »

Tested in tahr64 firefox quantum and I got audio working using apulse and the following user.js in the browser's profile:

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");

thinkpadfreak
Posts: 98
Joined: Mon 17 Oct 2016, 05:11

pulseaudio under tahrpup64 6.0.6

#6 Post by thinkpadfreak »

I am using tahrpup64 606, pulseaudio and Firefox 57. They produce sound on YouTube (and probably on other sites).

I updated pulseaudio_4.0 through PPM. And then I typed the following commands.
# adduser pulse
(password is not needed)
# adduser pulse-access
(password is not needed)
# adduser root pulse-access
# adduser pulse audio
(The message says 'audio' can't be found)
# adduser audio
(The message says 'audio' is in use)
Again,
# adduser pulse audio
(The command is accepted)

# pulseaudio --system

Pulseaudio starts though I get some warnings.

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

#7 Post by frenchiveruti »

redandwhitestripes wrote:Thanks for suggestions here and elsewhere. Sadly on Tahrpup64 nothing works. I've tried:
Install from tar download
Install from repos and update.
Run apulse 64
Run apulse 32 with compatibility
Modify the config settings to /dev/sda/
Create a user.js profile
Fiddle with the default pulseaudio settings.

Nothing worked. It was either media would not play whatsoever ( under apulse64) or would play without sound and an increasingly infuriating warning about installing pulseaudio.

So I'll wait for another chance to use FF Quantum in future and for now I'll just use it under Windows. It does look and run impressively.
I've tried all the same things, a Xenial user reported me that on XenialPup everything works just fine using Apulse.

I actually have Apulse 0.1.10, Tahr64 6.0.5 and FF57.
Tried to install PulseAudio from the Oscar's repo but with no luck to star the daemon after editing the file that has to be adjusted.

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

#8 Post by bigpup »

Firefox 57

Just have the apulse 0.1.12 from here installed. Nothing else.
Make sure to use the correct bit version.
http://smokey01.com/OscarTalks/
Reboot after you install it to make sure it is saved and loaded at the correct place.

You will also need this:

/root/.mozilla/firefox
Look for a directory that ends in .default

Put the user.js file in that directory.

Use Geany to make this user.js file.
This is what needs to be in it.
watchdog's code

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
Last edited by bigpup on Sun 11 Nov 2018, 17:46, edited 3 times in total.
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)

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

#9 Post by frenchiveruti »

bigpup wrote:Firefox 57

Just have the apulse 0.1.10 from here installed. Nothing else.
Make sure to use the correct bit version.
http://smokey01.com/OscarTalks/
Reboot after you install it to make sure it is saved and loaded at the correct place.

You will also need this:

/root/.mozilla/firefox
Look for a directory that ends in .default

Put the user.js file in that directory.

Use Geany to make this user.js file.
This is what needs to be in it.
watchdog's code

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
Thanks BigPup I'll see if this works someday, I won't test it as It usually doesn't work and I have to literally start over everytime. I'll test it out the moment I gather the will to do so ha.

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#10 Post by battleshooter »

bigpup wrote:Firefox 57

Just have the apulse 0.1.10 from here installed. Nothing else.
Make sure to use the correct bit version.
http://smokey01.com/OscarTalks/
Reboot after you install it to make sure it is saved and loaded at the correct place.

You will also need this:

/root/.mozilla/firefox
Look for a directory that ends in .default

Put the user.js file in that directory.

Use Geany to make this user.js file.
This is what needs to be in it.
watchdog's code

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
Build 58 requires user_pref("security.sandbox.content.syscall_whitelist", "/dev/snd/"); to be set to "16" now instead of /dev/snd/, so am currently using

Code: Select all

// for using apulse with latest firefox
user_pref("security.sandbox.content.write_path_whitelist", "/dev/snd/");
user_pref("security.sandbox.content.syscall_whitelist", "16");
user_pref("security.sandbox.content.read_path_whitelist", "/dev/snd/");
Thank you Bigpup!

Ref: https://github.com/i-rinat/apulse/issues/65
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#11 Post by Mike Walsh »

Although not a Firefox fan, I'm now using FF52esr as my 'back-up' browser in most of my Pups, having abandoned it for quite a while. I'm using Oscar's apulse_0.1.10_wz.....and NetFlix plays fine.

I'm playing around with Quantum in a couple of my newer Pups, using rcrsn51's apulse workaround, and the result is the same.....NetFlix behaving itself nicely.

Horses for courses. I'm employing the same tactic as for my other browsers, running a single instance of FF remotely, sym-linked into all Pups where they expect to find it. Works a treat.


Mike. :wink:

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#12 Post by belham2 »

Mike Walsh wrote:
I'm playing around with Quantum in a couple of my newer Pups, using rcrsn51's apulse workaround, and the result is the same.....NetFlix behaving itself nicely.


Mike. :wink:

Hi Mike,

Hey, I am just now screwing around with 32-bit FF Quantum in Peebee's Artfulpup, and could not get sound to work. I hunted all over for someone posting a workaround, and then I saw your post here. Where in heck did rcrsn51 post his workaround at? I must be looking right at it and still didn't see it. Thanks for any link to it :wink:

User avatar
Mike Walsh
Posts: 6351
Joined: Sat 28 Jun 2014, 12:42
Location: King's Lynn, UK.

#13 Post by Mike Walsh »

Hallo, Master B.

Well, I got put onto it via my thread I started about Quantum, here:-

http://murga-linux.com/puppy/viewtopic. ... 411#974411

.....courtesy of Dan (dancytron). Which led me to here (it's in 'Puppy Projects', in the 'Create Debian 9 (Stretch) minimal ISO like DebianDog' thread):-

http://murga-linux.com/puppy/viewtopic. ... 420#971420

.....although Bill has since removed the download, and added a note that it's now in the DebianDog 'Stretch' repo under 'apulse'. If you want it straight away without hunting for it, here it is:-

https://www.datafilehost.com/d/44907cc4

Make sure you follow Bill's instructions.....they're fairly easy. Good luck!


Mike. :wink:

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#14 Post by belham2 »

Mike Walsh wrote:Hallo, Master B.

Well, I got put onto it via my thread I started about Quantum, here:-

http://murga-linux.com/puppy/viewtopic. ... 411#974411

.....courtesy of Dan (dancytron). Which led me to here (it's in 'Puppy Projects', in the 'Create Debian 9 (Stretch) minimal ISO like DebianDog' thread):-

http://murga-linux.com/puppy/viewtopic. ... 420#971420

.....although Bill has since removed the download, and added a note that it's now in the DebianDog 'Stretch' repo under 'apulse'. If you want it straight away without hunting for it, here it is:-

https://www.datafilehost.com/d/44907cc4

Make sure you follow Bill's instructions.....they're fairly easy. Good luck!


Mike. :wink:

Danka, Mike! :wink:

Post Reply