* How to temporarily disable Pulseaudio?
@ 2020-04-19 14:30 Pierre Neidhardt
2020-04-19 15:18 ` Julien Lepiller
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Pierre Neidhardt @ 2020-04-19 14:30 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
Hi!
I've got a couple of sound issues which I suspect might be linked to
Pulseaudio.
I'd like to temporarily disable Pulseaudio and see if I experience those
issues with ALSA alone.
It seems that Pulseaudio is part of the %desktop-services.
However it's not listed in
--8<---------------cut here---------------start------------->8---
sudo herd status
--8<---------------cut here---------------end--------------->8---
for me. Any idea why?
Killing the pulseaudio process manually results in it being
automatically started. I suspect that's expected from shepherd.
Any clue how to kill it for real?
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to temporarily disable Pulseaudio?
2020-04-19 14:30 How to temporarily disable Pulseaudio? Pierre Neidhardt
@ 2020-04-19 15:18 ` Julien Lepiller
2020-04-19 16:18 ` Pierre Neidhardt
2020-04-19 15:41 ` Marius Bakke
2020-04-19 16:51 ` Leo Famulari
2 siblings, 1 reply; 11+ messages in thread
From: Julien Lepiller @ 2020-04-19 15:18 UTC (permalink / raw)
To: help-guix, Pierre Neidhardt
Le 19 avril 2020 10:30:52 GMT-04:00, Pierre Neidhardt <mail@ambrevar.xyz> a écrit :
>Hi!
>
>I've got a couple of sound issues which I suspect might be linked to
>Pulseaudio.
>
>I'd like to temporarily disable Pulseaudio and see if I experience
>those
>issues with ALSA alone.
>
>It seems that Pulseaudio is part of the %desktop-services.
>However it's not listed in
>
>--8<---------------cut here---------------start------------->8---
>sudo herd status
>--8<---------------cut here---------------end--------------->8---
>
>for me. Any idea why?
>
>Killing the pulseaudio process manually results in it being
>automatically started. I suspect that's expected from shepherd.
>
>Any clue how to kill it for real?
>
>Cheers!
Actually pulseaudio is not started by the shepherd, it's started by your user processes. Basically, when they try to use it and it's not present, it is automatically started so they can talk to it. Killing it won't help, because it will be restarted by the first app that tries to play sound.
You could make it crash at startup, but then you will get no sound at all. That's what happens with the home manager if you don't implement a workaround. Make your home read-only and you can get rid of pa… and all audio with it :/
The pa service is only to set a default configuration in /etc, but it's always overwritten by configuration in your home (that's why a read-only home crashes it). There's no process started or managed by it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to temporarily disable Pulseaudio?
2020-04-19 14:30 How to temporarily disable Pulseaudio? Pierre Neidhardt
2020-04-19 15:18 ` Julien Lepiller
@ 2020-04-19 15:41 ` Marius Bakke
2020-04-19 16:18 ` Pierre Neidhardt
2020-04-19 16:51 ` Leo Famulari
2 siblings, 1 reply; 11+ messages in thread
From: Marius Bakke @ 2020-04-19 15:41 UTC (permalink / raw)
To: Pierre Neidhardt, help-guix
[-- Attachment #1: Type: text/plain, Size: 950 bytes --]
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Hi!
>
> I've got a couple of sound issues which I suspect might be linked to
> Pulseaudio.
>
> I'd like to temporarily disable Pulseaudio and see if I experience those
> issues with ALSA alone.
>
> It seems that Pulseaudio is part of the %desktop-services.
> However it's not listed in
>
> --8<---------------cut here---------------start------------->8---
> sudo herd status
> --8<---------------cut here---------------end--------------->8---
>
> for me. Any idea why?
>
> Killing the pulseaudio process manually results in it being
> automatically started. I suspect that's expected from shepherd.
>
> Any clue how to kill it for real?
Pulseaudio is designed to be started on demand by any application
attempting to use it, so it cannot really be disabled AFAIK...
You could try to build the application you want to test without
Pulseaudio support, and run it after killing the pulseaudio daemon.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: How to temporarily disable Pulseaudio?
2020-04-19 14:30 How to temporarily disable Pulseaudio? Pierre Neidhardt
2020-04-19 15:18 ` Julien Lepiller
2020-04-19 15:41 ` Marius Bakke
@ 2020-04-19 16:51 ` Leo Famulari
2020-04-20 9:47 ` Pierre Neidhardt
2 siblings, 1 reply; 11+ messages in thread
From: Leo Famulari @ 2020-04-19 16:51 UTC (permalink / raw)
To: Pierre Neidhardt; +Cc: help-guix
On Sun, Apr 19, 2020 at 04:30:52PM +0200, Pierre Neidhardt wrote:
> Hi!
>
> I've got a couple of sound issues which I suspect might be linked to
> Pulseaudio.
You can run a program with `pasuspender -- FOO` to temporarily suspend
the PulseAudio server. That might help...
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-04-21 21:17 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-19 14:30 How to temporarily disable Pulseaudio? Pierre Neidhardt
2020-04-19 15:18 ` Julien Lepiller
2020-04-19 16:18 ` Pierre Neidhardt
2020-04-19 16:50 ` Leo Famulari
2020-04-20 9:42 ` Pierre Neidhardt
2020-04-19 15:41 ` Marius Bakke
2020-04-19 16:18 ` Pierre Neidhardt
2020-04-20 11:20 ` Ricardo Wurmus
2020-04-21 21:17 ` Pierre Neidhardt
2020-04-19 16:51 ` Leo Famulari
2020-04-20 9:47 ` Pierre Neidhardt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.