Skip to content

Pipewire

App support

chromium

chrome://flags/#enable-webrtc-pipewire-capturer must be enabled

Install

Packages

sudo apt purge pulseaudio
sudo apt install pipewire
systemctl --user status pipewire
systemctl --user status pipewire.socket

Usage

List output sinks:

pactl list sinks

Debug

Debug:

systemctl --user stop pipewire
env PIPEWIRE_DEBUG=5 pipewire

Issues

pulseaudio replacement

Needed to replace the 3 libraries in /usr/lib/x86_64-linux-gnu/:

ls -la /usr/lib/x86_64-linux-gnu/libpulse*
pactl info
ldd /usr/bin/pavucontrol | grep pulse

Play (pw-play only plays ogg, no mp3):

pw-play ~/Music/Michael\ Jackson/Number\ Ones/05\ Thriller.ogg
pw-pulse gst123 /usr/share/sounds/freedesktop/stereo/bell.oga

Working:

  • [x] Native pipewire pw-play /usr/share/tuxtype/themes/dansk/sounds/excuseme.wav
  • [x] gstreamer (gst123 /usr/share/tuxtype/themes/dansk/sounds/excuseme.wav)
  • [ ] Alsa aplay /usr/share/tuxtype/themes/dansk/sounds/excuseme.wav
  • [x] Pulseaudio paplay /usr/share/tuxtype/themes/dansk/sounds/excuseme.wav
  • [ ] Fake-pulseaudio pw-pulse paplay /usr/share/tuxtype/themes/dansk/sounds/excuseme.wav segfault