Can anyone explain to me like a 7 years old what Pipewire, PulseAudio, ALSA, JACK is?

I got some problems with this. I remove Pipewire in my PAMAC and my can’t login in my desktop after I did it. Now I go back to a fresh install and everything is fine again.

I want to understand this.
Are they all the same?
Or should I just choose just one of them?
Is this just like VIA HD software in windows?
Do you have videos or article that I can consume to understand this (please share it to me) like a 7 year old?

It might be easiest to describe things in terms of lineage;
For pipewire:
" PipeWire is a new low-level multimedia framework. It aims to offer capture and playback for both audio and video with minimal latency and support for PulseAudio, JACK, ALSA and GStreamer-based applications. "
So pipewire will run on top of puleaudio or alsa, or jack, or any other ‘software you use to configure and play sound, etc’.
Similarly Pulseaudio runs on top of ALSA, but some people prefer to remove pulseaudio and use the more classic ‘alsa-only’ approach. You could run pipewire on top in either case.
(or not at all - though your system or some components of it may be configured to rely on it)

So starting from the ground up:

https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture

https://wiki.archlinux.org/title/PulseAudio

https://wiki.archlinux.org/title/PipeWire

2 Likes

Most likely you also removed some other packages which depend on pipewire and didn’t notice. Always pay attention to the resulting package list if you’re trying to remove packages.

1 Like

There is a video explaining the differences if you are interested

4 Likes