How to use PulseAudio and PipeWire for audio
· Category: Linux
Short answer
PulseAudio is the traditional Linux sound server; PipeWire is the modern replacement offering lower latency and better hardware support.
Steps
- Check active sound server:
pactl info
pipewire --version
- Control volume with
pactlorwpctl:
wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.5
- List devices:
wpctl status
- Route audio with
pavucontrolorhelvum.
Tips
- PipeWire can emulate PulseAudio and JACK APIs for compatibility.
- Bluetooth audio often works better on PipeWire.
- Use
pipewire-pulsefor PulseAudio compatibility.
Common issues
- Conflicts between PulseAudio and PipeWire: uninstall one.
- Permission issues: add user to the
audiogroup.