How to test if PulseAudio is correctly autospawning

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

How to test if PulseAudio is correctly autospawning

Post by rotindo »

Hi,

Trying to solve my sound problem step by step, it occured to me that PulseAudio does not seem to autospawn as is should per https://www.freedesktop.org/wiki/Softwa ... r/Running/

Is there an application that would allow me to verify this? I Eg, a software that rely on PulseAudio and should always trigger libpulse.

Thanks in advance!
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: How to test if PulseAudio is correctly autospawning

Post by rotindo »

When I launch pavucontrol, it stalls on “Establishing connection to PulseAudio. Please wait…” :(
And pactl info confirms that PulseAudio is not running as I get “Connection failure: Connection refused
pa_context_connect() failed: Connection refused”.

Any idea why is PulseAudio not autospawning?
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: How to test if PulseAudio is correctly autospawning

Post by bluebell »

rotindo wrote:Hi,

Trying to solve my sound problem step by step, it occured to me that PulseAudio does not seem to autospawn as is should per https://www.freedesktop.org/wiki/Softwa ... r/Running/

Is there an application that would allow me to verify this? I Eg, a software that rely on PulseAudio and should always trigger libpulse.

Thanks in advance!
Congrats. My first step is to disable autospawning in /etc/pulseaudio/client.conf (there might be a file oder dir like .pulseaudio in your home dir as well) to prevent it from grabbing my audio interface. I start pulseaudio with jack-sink activated after jackd is running. Can be automated with a sessioni script or within qjackctl or other tools.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

folderol
Established Member
Posts: 2072
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 224 times
Been thanked: 400 times
Contact:

Re: How to test if PulseAudio is correctly autospawning

Post by folderol »

Maybe I'm not understanding something, but why have pulse audio running at all?
Does anyone really want undefined sound sources jumping in when they feel like it?
The Yoshimi guy {apparently now an 'elderly'}
User avatar
nikgnomicradio
Established Member
Posts: 109
Joined: Wed Feb 07, 2018 9:31 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: How to test if PulseAudio is correctly autospawning

Post by nikgnomicradio »

folderol wrote:Maybe I'm not understanding something, but why have pulse audio running at all?
unload a lot of the modules
get rid of udev and timer scheduling
load static ALSA sink when needed
swap ALSA sink for JACK sink when needed

optimised to rest of system and it is a useful tool
User avatar
nikgnomicradio
Established Member
Posts: 109
Joined: Wed Feb 07, 2018 9:31 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: How to test if PulseAudio is correctly autospawning

Post by nikgnomicradio »

rotindo wrote:Any idea why is PulseAudio not autospawning?
Which version of Pulseaudio and distribution/repository ?

If you have had version update recently, try clearing user configuration folder ~/.config/pulse/
do you have old configuration folder ~/.pulse ? remove it

restart pulsaudio with:

Code: Select all

pulseaudio --kill && pulseaudio -v
and check if it shows any problems
Post Reply