DEV Community

Cover image for No Sound on Linux? Restart PipeWire and WirePlumber
Mohammed Chami
Mohammed Chami

Posted on

No Sound on Linux? Restart PipeWire and WirePlumber

Sometimes Linux can behave strangely with audio: YouTube or another application continues playing normally, but there is no sound. The laptop speakers may also disappear from the audio device list, or KDE may refuse to let you select them.

If your system uses **PipeWire and WirePlumber**, restarting the audio services can fix the problem without rebooting the computer.
Enter fullscreen mode Exit fullscreen mode

The quick fix

Open a terminal and run:

systemctl --user restart pipewire pipewire-pulse wireplumber
Enter fullscreen mode Exit fullscreen mode

Wait a few seconds and check your audio output again.

On my EndeavourOS system, this immediately restored the laptop speakers and sound.

What does this command do?

The command restarts three user services:

  • pipewire — the main multimedia server.
  • pipewire-pulse — provides PulseAudio compatibility for applications.
  • wireplumber — manages audio devices, routes, profiles, and connections.

WirePlumber normally runs as a systemd user service and works together with PipeWire to manage audio devices and routing.

Why can this happen?

The exact cause can vary. Sometimes the audio services can get into a bad state after:

  • waking the laptop from suspend
  • connecting or disconnecting headphones
  • switching between HDMI and laptop speakers
  • changing Bluetooth audio devices
  • an application interfering with the audio routing

Instead of rebooting the entire computer, restarting the audio services is worth trying first.

If that doesn't work

You can inspect the current PipeWire/WirePlumber devices with:

wpctl status
Enter fullscreen mode Exit fullscreen mode

If WirePlumber's stored state is causing an audio-routing problem, another troubleshooting step is to remove its local state and restart the services:

rm -rf ~/.local/state/wireplumber
systemctl --user restart pipewire pipewire-pulse wireplumber
Enter fullscreen mode Exit fullscreen mode

Be careful: the second command resets WirePlumber's stored state, so I would only use it if simply restarting the services doesn't solve the problem.

My Linux audio emergency command

For future reference, the first thing I'm going to try when my Linux audio suddenly disappears is:

systemctl --user restart pipewire pipewire-pulse wireplumber
Enter fullscreen mode Exit fullscreen mode

No reboot required.

Top comments (0)