Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

The game completely loses sound after finding a match on Arch linux

Open ZamKidManager opened this issue 1 year ago • 29 comments

Description

about 5-7 days ago, after the match selection was completed and a menu with a button for accepting the game appeared, the sound in the game completely disappeared. Sometimes it helps to change the output device in the system settings and return it to normal - but only for the first time after the sound disappears. It started around the time the Monster Hunter update came out. I am using Arch Linux + Hyprland

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

ZamKidManager avatar Nov 21 '25 13:11 ZamKidManager

Description: After the match selection was completed and a menu with a button for accepting the game appeared, the sound in the game disappeared completely. It started around the time the Monster Hunter update came out. ubuntu 25.10 + gnome

Example Match ID (and possibly Timestamp) No response

Screenshots No response

d1vinel3af avatar Nov 22 '25 20:11 d1vinel3af

Also happens when unpausing tabbed out

broconut123 avatar Nov 23 '25 19:11 broconut123

same problem, pop os 24.04 + hyprland

nueshto avatar Nov 24 '25 11:11 nueshto

https://github.com/ValveSoftware/Dota2-Gameplay/issues/29230

savtech avatar Nov 24 '25 17:11 savtech

Update #1

yesterday, when the new update came out, I logged into the game and when I started the game search, the bug did not happen again. However, this did not work at any subsequent times, even after restarting the game - the bug repeats again, as it was before.

I also noticed that the trick to change the output device after sound loss only works if the dota window is active while the match has been found.

ZamKidManager avatar Nov 26 '25 23:11 ZamKidManager

+1, Ubuntu 24.04 LTS, lose audio when joining a party

gfdb avatar Nov 30 '25 23:11 gfdb

I'm having this issue too on PopOs. Happens when the accept game button comes up and the party invite button

HowCatIfDog avatar Dec 02 '25 21:12 HowCatIfDog

I'm now getting this consistently on Ubuntu 24.04.3 LTS. Typically happens just after accepting a match. Quitting and restarting the game fixes the issue.

12th Gen Intel® Core™ i5-1240P × 16 Linux 6.8.0-87-generic Wayland Gnome v46

mike-kiss avatar Dec 05 '25 04:12 mike-kiss

I am also having the issue on Ububtu 24.04.3 - toggling the audio device restores it in-session, but it will happen again when the match found sound occurs.

I have had this issue consistently for about a year as well.

roboconcept avatar Dec 13 '25 17:12 roboconcept

I posted this on https://github.com/ValveSoftware/Dota2-Gameplay/issues/29562 as well, here's a copy-paste of my workaround (Pop_OS 24.04):

As someone who is lacking a lot of low-level Dota (Valve in general?) game knowledge, this appears to be caused by the queue pop overlay and anything else that uses that 'level' of UI. My working theory is that this causes an extreme fps spike and pulseaudio or pipewire or wireplumber or something in that layer doesn't know how to handle the high fps, and crashes that specific audio client. Whatever you're changing back/forth enough probably gets pipewire to give it a new device and everything picks back up. You can confirm this by looking at wpctl and seeing if the client (or device, source, or sink?) changes when modifying the device(s) in the settings.

This can be bypassed, 100% of the time, by strace-ing the process (therefore vastly lowering FPS) and then killing that between matches. Be warned that you can fill your disk up with this though, and it will actually tank your performance so don't forget to ctrl-c the command from your terminal. Here's the command I use:

sudo strace -v -f -s 4096 -o /root/strace.k -p $(pidof dota2)

The benefit of this specific strace is that if it still happens you'll have something in /root/strace.k which will have some chain of evidence of what the root cause is.

You'll find in some threads that SDL_AUDIODRIVER=pulseaudio %command% is an option but it did not work for me.

chuckyz avatar Dec 17 '25 01:12 chuckyz

Echoing others here, this is happening for me as well:

  • 6.12.57+deb13-amd64 GNU/Linux
  • Gnome

nkuligoski avatar Dec 23 '25 15:12 nkuligoski

I had this same issue happening out of nowhere. I noticed it would mainly happen while being in demo hero and "Your game is ready" popping out, after that it would just randomly happen, even if I wasn't testing a hero.

I don't know if it really works but I ran -Syu and limited my fps to 144 as to match my screen refresh rate and it stopped happening since then, I just hope it's permanent

Kernel: Linux 6.18.2-arch2-1 DE: KDE Plasma 6.5.4 WM: KWin (Wayland) WM Theme: Breeze CPU: AMD Ryzen 5 5600G (12) @ 4.46 GHz GPU: AMD Radeon RX 6600 [Discrete]

Monseis1 avatar Dec 29 '25 18:12 Monseis1

Had the same issue on Linux Bazzite 43. The sound gone missing mostly when match found.

altela avatar Jan 03 '26 01:01 altela

Same issue. And I have this bug few month in a row. Only restarting the game helped yet. Bazzite 6.17.7-ba22.fc43.x86_64 Intel i5-13-600k RX7800xt

AndreiPrystupchyk avatar Jan 03 '26 12:01 AndreiPrystupchyk

Changing sound channel fixes for me, but it is annoying is to do every other match - issue still persist

wfzyx avatar Jan 23 '26 19:01 wfzyx

Adding this to the launch options -sdlaudiodriver pulse fixes the issue for me, on Arch with KDE Plasma (Wayland).

If this does not work, as a workaround, changing the output device to something else then back to the original device also fixes the issue.

prenaissance avatar Feb 07 '26 19:02 prenaissance

Same here. Linux Mint 22.3, Cinnamon, X11, RTX5090, Nvidia 590-open drivers, Intel Core Ultra 9 285K.

666xan666 avatar Feb 11 '26 07:02 666xan666

Same, kubuntu 24.04

K0wareta avatar Feb 18 '26 16:02 K0wareta

same issue with arch linux + hyprland, commenting to bump this up

ethantang93 avatar Mar 14 '26 02:03 ethantang93

Fun fact: to SOLVE this issue: go to Armory and change music to different "set"... also I used those run parameters [even though I am on PIPEWIRE (like all of us nowadays?): gamemoderun +fps_max 240 +dota_minimap_disable_rightclick 1 -novid -sdlaudiodriver pulse Hope this workaround will save someones nerves today ;) <3

666xan666 avatar Mar 16 '26 10:03 666xan666