Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

The sound disappears

Open metro952 opened this issue 1 month ago • 9 comments

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" } ]

metro952 avatar Oct 27 '25 21:10 metro952

Can you try setting -sdlaudiodriver pulse in launch options?

Probably duplicate of #2736

jn64 avatar Nov 02 '25 10:11 jn64

That helped at Arch. Thank you.

Can you try setting -sdlaudiodriver pulse in launch options?

Probably duplicate of #2736

lrailgun avatar Nov 11 '25 23:11 lrailgun

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 pulse in launch options?

Probably duplicate of #2736

metro952 avatar Nov 13 '25 19:11 metro952

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.

PTsuarez avatar Nov 17 '25 23:11 PTsuarez

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.

Paul-J-Barrett avatar Nov 23 '25 01:11 Paul-J-Barrett

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

rafa4aquino avatar Nov 25 '25 15:11 rafa4aquino

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.

TheD4rkNss avatar Nov 26 '25 21:11 TheD4rkNss

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.

distinctjuggle avatar Dec 04 '25 22:12 distinctjuggle

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

JakePi3 avatar Dec 13 '25 05:12 JakePi3