I don't use a desktop environment. Pulseaudio starts on demand for me,
but I rarely use anything but mpv to play sound.
Conky does not seem to support Pulseaudio, so I parse `pactl` output
instead. It's dirty but I can't figure out anything better.
--
Pierre Neidhardt
signature.asc
Hello Pierre,
Pierre Neidhardt writes:
[…]
> I'd put the blame on conky / Pulseaudio for now :)
I have a different Pulseaudio behavior. Sometimes I use a program which
does not use Pulseaudio but Alsa, then I need to start Pulseaudio
manually if there is no program which produces a sound,
OK, I've nailed it!
I was mistaken about the "3 pulseaudio processes" I mentioned before,
those actually were
├─pulseaudio(500,499,ambrevar)─┬─{alsa-sink-ALC25}(509,499)
│ └─{alsa-source-ALC}(510,499)
But htop did not display them that
I've investigated further to come up with a more precise recipe:
- Start the machine afresh.
- Log in, play some music, everything is fine (only one pulseaudio
process, no crackles.)
- Log out and relog _as fast as possible_ (if possible, enter the
credentials in SLiM in less than 2-3
Pierre Neidhardt writes:
> I'm not doing anything to start Pulseaudio since it starts
> on demand.
Maybe you can trace the processes back to see what spawned the multiple
Pulseaudio processes? Try using pstree (from the "psmisc" package).
--
Chris
signature.asc
I'm not doing anything to start Pulseaudio since it starts
on demand. I can't think of anything wrong with how I start my
user session. I run EXWM via ~/.xsession. See my dotfiles:
https://github.com/ambrevar/dotfiles
Find my config.scm attached.
--
Pierre Neidhardt
config.scm
On Mon, Apr 23, 2018 at 12:10:37PM +0530, Pierre Neidhardt wrote:
>
> After a fresh boot, pulseaudio works just fine. If I log out and log
> back again, I systematically get the following odd behaviour:
>
> - When no sound is playing, I hear crackles.
> - Instead of one, two pulseaudio
After a fresh boot, pulseaudio works just fine. If I log out and log
back again, I systematically get the following odd behaviour:
- When no sound is playing, I hear crackles.
- Instead of one, two pulseaudio processes are running.
- `pavucontrol' fails to start, claiming it cannot connect to