could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

Alight ... Alright I meant .... My Fossa Pup does not have any sound.
Previous instance I could hear some sound but the same errors were being thrown

Code: Select all

root# deadbeef --play https://www2.cs.uic.edu/~i101/SoundFiles/BabyElephantWalk60.wav
starting deadbeef 1.8.4
root# 
root# mpv $_
 (+) Audio --aid=1 (pcm_s16le 1ch 22050Hz)
ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card
[ao/alsa] Playback open error: No such device
AO: [oss] 22050Hz mono 1ch s16
A: 00:00:59 / 00:01:00 (99%) Cache: 0.0s

Here is my ALSA screenshot

some more info snippets that might be of use :

Code: Select all

# root#  whereis pulseaudio
pulseaudio: /usr/bin/pulseaudio /usr/lib/x86_64-linux-gnu/pulseaudio /usr/share/pulseaudio /usr/share/man/man1/pulseaudio.1.g

I tried running pulseaudio and here's what it o/p's out ( & in that process I created user + group called pulse assigning it '' password 'cos it kept complaining that it needed a user & group with name pulse. okay .....so I gave 'em user:group pulse and then I ran into issues logging in as user pulse /etc/shadow: bad record what got and the rest of the errors are in there. PLZ scroll down. The fenster is very small.

Code: Select all

passwd: password for pulse changed by root
root/Downloads # 
root/Downloads # 
root/Downloads # login pulse
login: /etc/shadow: bad record
login: /etc/shadow: bad record
login: /etc/shadow: bad record
root/Downloads # 
root/Downloads # 
root/Downloads # 
root/Downloads # whoami
root
root/Downloads # login
nokia3962 login: pulse
login: /etc/shadow: bad record
login: /etc/shadow: bad record
login: /etc/shadow: bad record
root/Downloads # 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 'pulse' is not '/var/run/pulse', ignoring.
W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
W: [pulseaudio] main.c: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea.
W: [pulseaudio] authkey.c: Failed to open cookie file '/root/.config/pulse/cookie': Permission denied
W: [pulseaudio] authkey.c: Failed to load authentication key '/root/.config/pulse/cookie': Permission denied
W: [pulseaudio] authkey.c: Failed to open cookie file '/var/run/pulse/.pulse-cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/var/run/pulse/.pulse-cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to open cookie file '/root/.config/pulse/cookie': Permission denied
W: [pulseaudio] authkey.c: Failed to load authentication key '/root/.config/pulse/cookie': Permission denied
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
E: [pulseaudio] main.c: Failed to acquire org.pulseaudio.Server: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.79" is not allowed to own the service "org.pulseaudio.Server" due to security policies in the configuration file

also tried to run

Code: Select all

apulse firefox 

No avail.

Questions
-- Muted system. Please help me get some sound
-- How do I get youtube via browser running with sound. Rght now video runs but there's no sound & from what I read pulseaudio is what browsers want to get them to talk . They won't get along with ALSA ( ?). Elsewhere I read ALSA is good enough and pulseaudio can be scrapped. Dont know what I should do to get this puppy talking.
-- deadbeef isnt working command line or front end ( deadbeef is deadbeef ) .
-- I installed sfs with addtional media utils including Audacity & none of em work.
How do I fix these
Image[/img]

Attachments
proceesflow.jpg.jpg
proceesflow.jpg.jpg (28.47 KiB) Viewed 1165 times
User avatar
rockedge
Site Admin
Posts: 6381
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2585 times
Been thanked: 2536 times
Contact:

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by rockedge »

pulseaudio is tricky in Fossapup64. I will have time in an hour or so to give some help....

have you tried to use the ALSA setup to select your sound card?

User avatar
Geoffrey
Posts: 32
Joined: Wed Jul 15, 2020 10:46 am
Location: Bucca, Queensland, Australia
Has thanked: 2 times
Been thanked: 13 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by Geoffrey »

Try this script from the old forum, https://oldforum.puppylinux.com/viewtop ... 9#p1025219 it worked for me, downloads the latest Firefox.

Remove the .gz to run the file in a terminal

ffportable-inst.gz
(1.85 KiB) Downloaded 73 times

.
Builds a Firefox that contains the files needed for sound.

Attachments
snapshot.png
snapshot.png (44.65 KiB) Viewed 1135 times
geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2160 times
Been thanked: 865 times

Re: check the Auto-Mute-Mode box and set it to 'Disabled'

Post by geo_c »

I don't have any insight into the scripts that drive sound in puppy, but I do use a lot of browsers and change sound cards quite a bit, I also use a jack based system. In all of these instances I sometimes find browsers not accessing sound, most notably Palemoon and Librewolf (firefox) sometimes Ungoogled Chromium.

Usually I rectify the problem by closing the browser, running the multiple sound card wizard, choosing a sound card to test, making sure the test sound plays, Then choosing that card as the default.

Then I use the ALSA sound mixer in your screenshot above. I adjust all the levels being sure that PCM and speakers, headphones, etc are all at a reasonable volume and active.

Then I right click the speaker icon in retrovol, sometimes located in the tray, if not I run it from the menu and configure the retrovol to include all of the volume controls, and in particular I check the Auto-Mute-Mode box and set it to 'Disabled'. I noticed in ALSA you have it set to 'enabled.' That is often the issue.

I restart the browser after these settings have been tweaked and 99% of the time everything works as should.

If not, it is sometimes helpful to restart X.

In other words, I ignore the Pulse Audio aspect of it.

geo_c
Old School Hipster, and Such

User avatar
mikewalsh
Moderator
Posts: 6038
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 738 times
Been thanked: 1904 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by mikewalsh »

@sieger707 :-

PulseAudio, despite making some things easier - especially if you're used to it from other, 'mainstream' distros - has always been a complete PITA to get working correctly under Puppy. A lot of this is due to Puppy's 'running-as-root' model, which longtime Linux users just cannot get their heads around.......having had it drummed into them from day one that running anything as root is a cardinal sin!

Here in Puppyland, we run ALSA.....and where PulseAudio is expected, we make use of 'apulse' to satisfy the beast. What are you having problems with in particular?

What output d'you get from

Code: Select all

aplay -l

.....please?

Mike. ;)

User avatar
rockedge
Site Admin
Posts: 6381
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2585 times
Been thanked: 2536 times
Contact:

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by rockedge »

@Geoffrey I just ran @fredx181's script from the oldforum and it built a working Firefox 99.0.1 with sound.

Replaced the Firefox I had which ran the CPU hot and sound wasn't working with the finished product. Sound works and CPU is nice and cool

User avatar
bigpup
Moderator
Posts: 6836
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 874 times
Been thanked: 1472 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by bigpup »

Choosing the correct device to provide the sound, is most of the time, the issue.
When you get the correct one set, sound is usually no longer an issue.
Anything identified as analog is good to use.

Running the multiple sound card wizard.
Choosing the correct sound card to test.
Making sure the test sound plays.
Then choosing that card as the default.

Fossapup64 9.5
Quickpet ->info -> Fossapup updates
This provides a few fixes and updates for stuff.

Never had a problem with Pale Moon and sound in Fossapup64 9.5.
It does not need apulse or pulseaudio.

If you tried to install the full complete PulseAudio.
You probably broke what was already in Fossapup64, to provide just what is needed to get sound working, with browsers that have to have it, to provide sound.
apulse is in Fossapup64 and when used in the command to start a browser, it usually works to get sound working in that browser.
Examle:

Code: Select all

apulse firefox

to start Firefox.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Geoffrey
Posts: 32
Joined: Wed Jul 15, 2020 10:46 am
Location: Bucca, Queensland, Australia
Has thanked: 2 times
Been thanked: 13 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by Geoffrey »

rockedge wrote: Tue Apr 26, 2022 3:15 pm

@Geoffrey I just ran @fredx181's script from the oldforum and it built a working Firefox 99.0.1 with sound.

Replaced the Firefox I had which ran the CPU hot and sound wasn't working with the finished product. Sound works and CPU is nice and cool

Yea, the script works well, I'm still using XTahr with the graphics applications adrive I made, the only problem I have is that the old browser was next to useless.
The new Firefox crash's but I did keep the contained /extralibs and ff script, transferred them to firefox-86.0.1 that I downloaded, this seem stable enough for the use I need, the only problem I found was it crashed if the "Print" function was tried, it still try's to update firefox to the latest version but there is a fix for that too, in the "firefox" directory make a folder called "distribution", inside of that a file called "policies.json", with this.

Code: Select all

{
"policies": 
   {
     "DisableAppUpdate": true
    }
}
sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

mikewalsh wrote: Tue Apr 26, 2022 2:19 pm

@sieger707 :-

PulseAudio, despite making some things easier - especially if you're used to it from other, 'mainstream' distros - has always been a complete PITA to get working correctly under Puppy. A lot of this is due to Puppy's 'running-as-root' model, which longtime Linux users just cannot get their heads around.......having had it drummed into them from day one that running anything as root is a cardinal sin!

Here in Puppyland, we run ALSA.....and where PulseAudio is expected, we make use of 'apulse' to satisfy the beast. What are you having problems with in particular?

What output d'you get from

Code: Select all

aplay -l

.....please?

Mike. ;)

Here's my aplay :

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: 92HD75B2X5 Analog [92HD75B2X5 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root# 

User avatar
bigpup
Moderator
Posts: 6836
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 874 times
Been thanked: 1472 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by bigpup »

card 0: Intel [HDA Intel], device 0: 92HD75B2X5 Analog [92HD75B2X5 Analog]

This is the one to select in the multiple sound card wizard and set to default.

What is providing sound output?
Speakers, headset, speakers in a monitor, speakers in a laptop.... ???

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

thanks ye'all mucho.... yes that is ze 1. See d'écran below

Attachments
soundcardDefaul.jpg.jpg
soundcardDefaul.jpg.jpg (9.83 KiB) Viewed 1190 times
sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: check the Auto-Mute-Mode box and set it to 'Disabled'

Post by sieger707 »

geo_c wrote: Tue Apr 26, 2022 1:53 pm

I don't have any insight into the scripts that drive sound in puppy, but I do use a lot of browsers and change sound cards quite a bit, I also use a jack based system. In all of these instances I sometimes find browsers not accessing sound, most notably Palemoon and Librewolf (firefox) sometimes Ungoogled Chromium.

Usually I rectify the problem by closing the browser, running the multiple sound card wizard, choosing a sound card to test, making sure the test sound plays, Then choosing that card as the default.

Then I use the ALSA sound mixer in your screenshot above. I adjust all the levels being sure that PCM and speakers, headphones, etc are all at a reasonable volume and active.

Then I right click the speaker icon in retrovol, sometimes located in the tray, if not I run it from the menu and configure the retrovol to include all of the volume controls, and in particular I check the Auto-Mute-Mode box and set it to 'Disabled'. I noticed in ALSA you have it set to 'enabled.' That is often the issue.

I restart the browser after these settings have been tweaked and 99% of the time everything works as should.

If not, it is sometimes helpful to restart X.

In other words, I ignore the Pulse Audio aspect of it.

yes thanks .Auto mute was enabled--> disabled Now. Still there's no sound

sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

yes thanks .Auto mute was enabled--> disabled Now. Still there's no sound.
I ran a sound test and here's the o/p

Code: Select all

speaker-test 1.2.2

Playback device is hw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right



sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

Geoffrey wrote: Tue Apr 26, 2022 1:46 pm

Try this script from the old forum, https://oldforum.puppylinux.com/viewtop ... 9#p1025219 it worked for me, downloads the latest Firefox.

Remove the .gz to run the file in a terminal ffportable-inst.gz.
Builds a Firefox that contains the files needed for sound.

I ran this. What the sh does it find out Arch, Locale etc and d/l the latest ff and then un-tar the 2nd file into the 1st extract folder. So now this is the latest n greatest - albeit portable ff. I made it my default by copying that entire portable dir to /usr/lib/firefox & I am on 99 by default.

Code: Select all

root/Downloads # firefox -v
Mozilla Firefox 99.0.1
root/Downloads # 

I think I may hav come close to a soln. Suspecting that I tinkered a file or 2 , should'nt have ...I booted to puppy without 2fs - RAM only option that used defaults. Over here if I choose the default sound card and pre-fix apulse firefox I can get some sound in youtube but its faint ( after all other mixer levels are at hightest ) ...so would it worth it if I copy the the only RAM settings of audio onto the sfs file ( after mounting it ) while I am in the only RAM ( ==No 2fs mode ) . What files should I be copying over so I can reset my audio defaults

williams2
Posts: 1059
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 302 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by williams2 »

I can get some sound in youtube but its faint

You can run the sound wizard.
I think you can enable a software equalizer.
Just enabling it might increase the sound volume.

On my machine, if I'm using headphones, if I set the speakers to zero and mute, the sound in the headphones is louder and fuller (more bass)

The configuration is in /etc/asound.conf

My asound.conf for HDMI is:

Code: Select all

defaults.pcm.card 0
defaults.pcm.device 3
defaults.ctl.card 0

My asound.conf for analog is:

Code: Select all

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

Your numbers may be different. aplay -l should tell you.

An application, like Firefox, will use the new configuration when it next runs.

sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

I got rid of pulseaudio and the sound came back on. For the "woof test" ( sound card wizard) but youtube and others still not working. i noticed that even the former works only if in retrovol both loopback mixing and Auto-mute mode are both disabled. Still trying hopefully will get this soon

Code: Select all

root/Downloads # whereis pulseaudio
pulseaudio: /usr/bin/pulseaudio /usr/lib/x86_64-linux-gnu/pulseaudio /usr/share/pulseaudio /usr/share/man/man1/pulseaudio.1.gz
root/Downloads # ik
root/Downloads # pkg -u pulseaudio_13.99.1-1ubuntu3_amd64.deb
Warning: pulseaudio is needed by:  

  pulseaudio-module-gsettings
  pulseaudio-module-zeroconf

Uninstall the packages above first, or use:
pkg uninstall pulseaudio_13.99.1-1ubuntu3_amd64$ --force

root/Downloads # pkg uninstall pulseaudio_13.99.1-1ubuntu3_amd64$ --force
Uninstall the package pulseaudio_13.99.1-1ubuntu3_amd64$:  
Uninstalled: pulseaudio_13.99.1-1ubuntu3_amd64$
root/Downloads # whereis pulseaudio
pulseaudio: /usr/lib/x86_64-linux-gnu/pulseaudio /usr/share/pulseaudio
root/Downloads # ll /usr/share/pulseaudio
total 8
drwxr-xr-x   2 root root 4096 Apr 28 04:41 .
drwxr-xr-x 362 root root 4096 Mar 24  2020 ..
root/Downloads # ll /usr/lib/x86_64-linux-gnu/pulseaudio
total 531
drwxr-xr-x   2 root root   4096 Apr 28 04:41 .
drwxr-xr-x 109 root root  20480 Apr 27 23:22 ..
-rw-r--r--   1 root root 518496 Jul 17  2020 libpulsecommon-13.99.so
root/Downloads # 
User avatar
bigpup
Moderator
Posts: 6836
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 874 times
Been thanked: 1472 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by bigpup »

but youtube and others still not working

Have you tried starting Firefox from a console command?:

Code: Select all

apulse firefox

Sound volume low issue.
This may work.

From the menu:

Settings > Setup > ALSA sound Wizard > Sound Card Wizard 2 (click the tool icon)

Select your default sound card

Select Equaliser and Software volume control with 20dB preamp

... then click the mixer icon and push everything up to 100. (Have to use the arrow keys for this but it's pretty straightforward.)

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 6038
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 738 times
Been thanked: 1904 times

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by mikewalsh »

My colleague's suggestion may help, but there's one other Retrovol adjustment that I've always found to work wonders for an apparently low audio output.

Right-click the volume icon->Config window->Tab 'Main'. For the first entry, 'Volume Scaling", use the drop-down to select 'Logarithmic' (you're probably on 'Linear', since this is pre-set by default).

If this still isn't enough for you, give 'Exponential' a try. DO be warned; this one goes VERY loud, and will quite possibly blow laptop speakers out! I basically go to around 40%, then the output is adjusted from the volume control on my powered speaker system.....which works for me. This is an elderly 40W RMS Goodman's system with separate sub-woofer; nearly 20 years old, but it's still plenty loud enough for my liking.

(All the other two 'Scaling' settings do, apparently, is to use different multiplication factors on the base output. 'Linear' is a direct 1:1, whereas 'Logarithmic' varies between 1:1 and around 5:1 the further up the scale you go. 'Exponential', I've never dared go all the way up with it, but it's more like between 10:1 and 15:1..!)

----------------------------------

I suspect your "issue" was self-created, almost entirely due to trying to treat Puppy exactly like you would a mainstream distro.....without checking with the community - BEFORE starting - to see what differences there are with Puppy operation. You're by no means the first to make this mistake, and I very much doubt you'll be the last..! :D

Mike. ;)

sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

G'even folks
ALSA equalizer complained its not enabled. There's a hidden file which after It was created got Eq to work.
I now can finally get youtube .. on firefox. The problem was I ran apulse `ff` where $1 in the former was an alias for

Code: Select all

firefox -profile <path>

it fired up ff alright but without sound. Palemoon had sound but it crashed on flash earlier so I made ff my browser /usr/local/bin/defaultbrowser. I had to call ff without alias on that command.
So far all is well with sound. Now trying to wrap around BT. But that is for another one if at all I hit a wall.

sieger707
Posts: 24
Joined: Fri Aug 06, 2021 9:37 am

Re: could'nt find 'pulse' on my Pup. Puppy that does not even as much -wimp

Post by sieger707 »

yes speaker levels were Log
on a side note - my W-10 runs like crap. Is it possible to get a Virtual player onto puppy and use my existing install as the OS import rather than a fresh ISO. Wonder if that happens, can I install programs hitherto non existent on the physical install on my virtual OS ? I will open a new thread sos needed.

Post Reply

Return to “Users”