r/cncnet • u/Icy-Comedian-2758 • 12d ago
No sound in game Linux/Wine - Fix
Fix for random no-sound in Tiberian Sun (CnCNet) on Linux/Wine
Symptom: Matches randomly start with no in-game audio (menu sound works fine). Save/reload or restarting the match sometimes "fixes" it — it's actually a coin flip every time the game boots.
Cause: Not the game, not Wine — it's an old PipeWire bug. PipeWire 0.3.48 (stock on some distros) has a race in its PulseAudio-compat layer where a newly created audio stream can freeze at creation: the game plays sound normally into the stream, but PipeWire never drains it, so everything gets silently discarded. Nothing you do in-game can fix a boot that lost the coin flip.
Fix: Upgrade PipeWire to 1.x. :
sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo add-apt-repository ppa:pipewire-debian/wireplumber-upstream
sudo apt update && sudo apt full-upgrade
systemctl --user restart pipewire pipewire-pulse wireplumber
Verify:
$ pactl info | grep "Server Name"
Server Name: PulseAudio (on PipeWire 1.0.7)
it should say on PipeWire 1.0.x. Relaunch the game and enjoy