Trying to wipe Pipewire or solve crackling

In th emeantime I have disabled pipewire services and socket but it was trial and error because everything is different from the old posts I find. Pipewie while running wine games just cracks and pops to finally just crash and I have to reboot to fix it. Maybe I coudl restart the service but this will solve nothing anyways. While Pulseaudio is rock solid and I am fine now for the time being.

I tried to uninstall pipewire entirely but ti was tied to many non-nonsensical dependencies and I don’t know what is happening. I think if I remove those packages my system will be bricked. Does someone has a solution to use Pipewire as of today because the Arch wiki has old info because I don’t find any of the configuration files mentioned in articles.

Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing wireplumber breaks dependency 'pipewire-session-manager' required by kwin
- removing pipewire breaks dependency 'pipewire' required by xdg-desktop-portal

Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing xdg-desktop-portal breaks dependency 'xdg-desktop-portal' required by flatpak
- removing wireplumber breaks dependency 'pipewire-session-manager' required by kwin

Also, I need to replace Noise Reduction and Loudness equalization in Pulseaudio which I got from EasyEffects in Pipewire.

The Package manjaro-pipewire deinstall pulseaudio and install pipewire.
The Package manjaro-pulse deinstall pipewire and install pulseaudio.

pipewire is described as : “Low-latency audio/video router and processor”
and it is required for video support and cannot be removed

PulseAudio does not need a session manager so there is no replacement package for wireplumber

Metapackage manjaro-pulse installs pulseaudio pulseaudio-alsa and pulseaudio-bluetooth to replace pipewire-pulse and pipewire-alsa

pamac info manjaro-pulse
Name                  : manjaro-pulse
Version               : 20240817-1
Description           : Manjaro meta package for complete PulseAudio support
URL                   : https://wiki.archlinux.org/title/PulseAudio
Licences              : GPL-3.0-or-later
Repository            : extra
Groups                : --
Depends On            : pulseaudio pulseaudio-alsa pulseaudio-bluetooth
Optional Dependencies : paprefs: Configuration dialog
                        pasystray: system tray application
                        pavucontrol: A GTK volume control tool [Installed]
                        pavucontrol-qt: A Qt volume control tool
                        pulseaudio-equalizer: Graphical equalizer
                        pulseaudio-equalizer-ladspa: A 15-band equalizer
                        pulseaudio-jack: Jack support [Installed]
                        pulseaudio-lirc: IR (lirc) support
                        pulseaudio-rtp: RTP and RAOP support
                        pulseaudio-zeroconf: Zeroconf support
Provides              : --
Replaces              : --
Conflicts With        : manjaro-pipewire pipewire-jack pipewire-pulse pipewire-v4l2 pipewire-x11-bell pipewire-zeroconf
Packager              : Mark Wagie <mark@manjaro.org>
Build Date            : Sat 17 Aug 2024 17:46:44 BST
Validated By          : MD5 Sum  SHA-256 Sum  Signature

If metapackage is not working as expected, PulseAudio can be installed to replace PipeWire audio packages

pamac install pulseaudio pulseaudio-alsa

and select optional dependency pulseaudio-bluetooth if Bluetooth audio support is needed

1 Like

Thank You Very Much!

I need two things, Noise reduction and Loudness equalization which I got from EasyEffects. Do you know how to set those up? I will add to stating question.

This may be of interest:

1 Like

Please use colloquial English, not cellphone text speak. Not everyone here is a native English speaker, and therefore, not everyone will understand your abbreviations.

I don’t know about noise reduction — you can try searching the repos or the AUR — but for equalization, there is pulseaudio-equalizer.

Ok. Changed that :slight_smile:

1 Like

pulseffects-legacy-git from AUR

Do you know how to set those up?

I do not use noise reduction DSP. I use a dynamic microphone that has better noise rejection than condenser microphones (and closed-back headphones), so I usually use a noise gate to reduce background noise when I am not talking

I have used the LSP Loudness Compensator in JACK in the past, but I don’t usually listen to audio at low levels to need it. I usually use outboard DSP (levelling amplifier and 3-band EQ) for live audio. and sometimes pulseaudio-equalizer-ladspa for background noise/low-quality audio from VOIP callers

1 Like

Hey. I want to try to fix it. I am checking things to troubleshoot the OOTB installation.

I found out that wireplumber,conf.d is not there:

s /etc/pipewire && ls /etc/wireplumber/wireplumber.conf.d                                                                                              
client.conf.d  client-rt.conf.d  minimal.conf.d  pipewire.conf.d  pipewire-pulse.conf.d
ls: cannot access '/etc/wireplumber/wireplumber.conf.d': No such file or directory

Should I reinstall Wireplumber or even manjaro-pipewire?

mkdir -p ~/.config/pipewire/ && mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ && cp /usr/share/pipewire/*.conf ~/.config/pipewire/ && cp /usr/share/wireplumber/wireplumber.conf.d/* ~/.config/wireplumber/wireplumber.conf.d/
micro ~/.config/wireplumber/wireplumber.conf.d/alsa-vm.conf
  • add session.suspend-timeout-seconds = 0
actions = { 
  update-props = { 
    session.suspend-timeout-seconds = 0
micro ~/.config/pipewire/pipewire.conf

In pipewire.conf change

#default.clock.rate          = 48000
#default.clock.allowed-rates = [ 48000 ]

to:

default.clock.rate          = 41000
default.clock.allowed-rates = [ 44100 48000 96000 192000 ] 

I did beyond 48000 but that is your choice.
Then reset

systemctl --user stop pipewire.socket
systemctl --user restart pipewire pipewire-pulse wireplumber

Maybe a Logout is needed or even a reboot if this doesn’t reset well, I am no expert. This reduced to almost zero without setting the default sample rate to 41k but then it stopped after that. There is still some crinkles when I click outside of a game or a sound is high. Next I will try 48k sample rate. But if I am not using Steam that doesn’t happen.

That file is owned by wireplumber and will be overwritten the next time the package is updated.

Please see WirePlumber - ArchWiki for more information about what files are configurable and where they should be.

1 Like

Ok then, it is better to do the ~/.config path then. Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.