I’m setting up my AMD platform PC, using KDE Plasma 6 X11 (Due to a known issue that breaks Wayland) and PipeWire.
When running Linux native programs and games, everything works well. However, when I start a Windows game through Steam Proton, or through remote play from other PC, the entire system will have no sound, until I quit the game.
When I check PipeWire through journalctl --user | grep pipewire, the logs during the game running just repeats:
spa.alsa: front:2p: (... suppressed) snd_pcm_avail after recover: Broken pipe
Here’s the related desktop, sound and Steam configurations. Not sure if I missed anything else to make it work.
nixpkgs.config.allowUnfree = true;
services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
security.rtkit.enable = true;
services.pulseaudio.enable = false;
services.pipewire = {
enable = true;
audio.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
wireplumber.enable = true;
};
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true;
programs.steam.protontricks.enable = true;
programs.steam.gamescopeSession.enable = true;