Hey all. After upgrading my NixOS unstable PC for the first time in about a month, I lost all sound in Plasma. If I open the PulseAudio Volume Control app (pavucontrol), I get a spinner as it says it’s trying to connect to PulseAudio, but nothing else. Anyone else having this issue? My sound configuration hasn’t changed, and if I boot into the previous derivation, everything works again.
Could you post/pastebin the output of journalctl -bu pipewire, and journalctl -bu pipewire-pulse. It may also help mentioning which revisions of nixpkgs you are using. Are you using Edit: nevermind, I forgot looking in your repo. I’ll have a look.nix-channel for updating or a flake.lock?
Ahh, should have checked the log! Don’t know where my head was at. Thanks for the nudge.
Oct 04 15:31:28 caprica systemd[2724]: Started PipeWire Multimedia Service.
Oct 04 15:31:28 caprica pipewire[3191]: mod.pipe-tunnel: mkfifo('/run/snapserver/dispatch'): No such file or directory
Oct 04 15:31:28 caprica pipewire[3191]: pw.conf: 0x557b36ed8c10: could not load mandatory module "libpipewire-module-pipe-tunnel": No such file or directory
Oct 04 15:31:28 caprica pipewire[3191]: default: failed to create context: No such file or directory
Oct 04 15:31:28 caprica systemd[2724]: pipewire.service: Main process exited, code=exited, status=254/n/a
Oct 04 15:31:28 caprica systemd[2724]: pipewire.service: Failed with result 'exit-code'.
Figured it out from this. The nixpkg options for Snapcast (services.snapserver) changed recently. I thought I’d commented out all of my config related to this until I got time to fix it, but I still had some Pipewire config referring to the (now defunct) Snapcast FIFO pipe.
That motivated me to actually fix Snapcast to be compliant with the new options. In case anyone cares, here are the changes I needed to make to services.snapserver. Once I fixed Snapcast and rebooted, Pipewire was happy again.