Since my last reinstallation of EOS Plasma, whenever I want to play sound of any kind, I first have a crackling in the speakers. I am using PulseAudio 15.0.
Is it using any specific programs?
Is it crackling and popping or is it a constant noise even when nothing is playing?
Also is it onboard audio or a soundcard/usb sound device
It’s a crackle. It always happens when I play an audio source first, e.g. music player, audio stream in broweser, youtube etc. It is an old onboard chip of an equally old processor (878).
ok your buffers might need to be tweaked if you wish to continue using pulseaudio.
I might recommend pipewire like @Kresimir though as it uses much less CPU and handles buffers better than pulse. Itll likely do much better on your system if its older.
How do I do that exactly? I’ve read several times here that people were annoyed and wanted to go back to PulseAudio.
Update your system and install
sudo pacman -Syu pipewire-pulse
Depending on your specific use cases, you may need to install additional packages, but most likely not.
Sure, but I’ve read many, many more times that people think PulseAudio sucks.
What will then happen to the customizations I made in
for PulseAudio? Are they obsolete then?
And do I still need to activate Piwire and assign the sound card? Should I uninstall PulseAudio after that?
You don’t need to do anything. Installing
pulseaudio (if you look at your installed packages list, with
pacman -Q, it is no longer installed).
thx @Kresimir, I will try that tomorrow
Pulseaudio will be replaced automatically, you can do custom configurations in ~/.config/pipewire
Here is info on it here
you can set custom buffers in the pipewire alsa conf and the pipewire conf files. There is a lot you can do with it and it actually makes doing loopbacks and such really easy and Ive enjoyed using it since my switch many months ago.
the /etc/pulse/daemon.conf could be deleted or at least reset, or the complete folder /
etc/pulse/ could be deleted?
It should remove them automatically so you dont need to worry about it even if it leaves a couple files they wont have any effect.
Last question: what can I do to get back to PulseAudio in case of problems (sound broken, nerves broken …)? I do not really trust Timeshift in such situations .
uninstall pipewire and reinstall pulseaudio should be all youd need to do
I did and so far PipeWire is running unexcited. However, it sounds a bit thinner to me compared to PulseAudio. I’m looking for the files to at least improve the global sample rate and resample quality. With PulseAudio I had the following settings:
resample-method = speex-float-5 default-sample-format = float24le default-sample-rate = 441000 alternate-sample-rate = 48000
resample-method = speex-float- 10 I had before, after changing it to 5 the cracking became less.
Where can I do the equivalent for PipeWire?
Edit: The file which is needed for this (
/etc/pipewire/pipewire.conf) does not exist for me.
In the meantime, it crackles just the same with PipeWire. Before this comes: Yes, plugs are all tight
The files for pipewire are all in /usr/share/pipewire, just copy them to your config folder, I use ~/.config/pipewire. Most people dont need to configure it so no config files get made.
hmmm…idk then, if youre still crackling its gotta be something other than pulse or pipewire
cant be certain without physically testing it
I can only say one thing at the moment: currently I’m using Manjaro KDE again and there the sound is exactly as it should be (still with PulseAudio). I don’t have the necessary knowledge to evaluate this in more detail …