The sound disappears
I have Linux Mint, the game lags and suddenly the sound disappears. I switch to another output and the sound comes back. Only in some situations (more and more often) does the sound disappear completely, even in qpwgraph the sound source that the game was playing stops appearing.
Can you fix this? Because without sound it's like an additional obstacle.
I have it in ~/.config/pipewire/pipewire-pulse.conf.d/. I added additional sound sources, so I can check that it disappears completely on one, but sometimes it is still present on another.
pulse.cmd = [ { cmd = "load-module", args = "module-null-sink media.class=Audio/Sink sink_name=name1 channel_map=stereo" }, { cmd = "load-module", args = "module-null-sink media.class=Audio/Sink sink_name=name2 channel_map=stereo" }, { cmd = "load-module", args = "module-loopback source=name1.monitor sink=Creative" }, { cmd = "load-module", args = "module-loopback source=name2.monitor sink=Creative" } ]
Can you try setting -sdlaudiodriver pulse in launch options?
Probably duplicate of #2736
That helped at Arch. Thank you.
Can you try setting
-sdlaudiodriver pulsein launch options?Probably duplicate of #2736
Why can't they add it themselves in the game code? I played once and the sound didn't cut out, but more testing is needed.
Can you try setting
-sdlaudiodriver pulsein launch options?Probably duplicate of #2736
Getting this same issue on Kubuntu. It's almost always the found game notification that stops the sound. Adding the above launch options doesn't seem to reliably fix it.
Are you using Discord? I most often see the sound stop working when I am running discord. I added the config -sdlaudiodriver pipewire for on mine using Fedora 41. I am testing now without discord running will try to update again later. By the way switching sound devices doesn't fix it for me the only thing I can do is exit dota and restart it and rejoin the game, what I learned is I can play pretty well without sound from time to time.
Are you using Discord? I most often see the sound stop working when I am running discord. I added the config -sdlaudiodriver pipewire for on mine using Fedora 41. I am testing now without discord running will try to update again later. By the way switching sound devices doesn't fix it for me the only thing I can do is exit dota and restart it and rejoin the game, what I learned is I can play pretty well without sound from time to time.
same here without discord is fine, with discord it keeps muting dota after accept a match
So far as I know it have 3 different launch option that solve this, -sdlaudiodriver pulse, -sdlaudiodriver pipewire and -sdlaudiodriver alsa.
I still don't know how Valve didn't fix this, since it's an old issue at this point.
It's not specifically Discord related, but it might be related to other applications in general using the microphone. I've been observing the issue for a while and have never used Discord.
One discovery I made is that when pulseaudio or alsa are used then wpctl reports a modern client (1.4.9) matching all my other apps. When I omit the flag or launch with -sdlaudiodriver pipewire then the client version as reported by wpctl status is 0.36.5