-
Notifications
You must be signed in to change notification settings - Fork 38
Audio stops mid-game #2736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sometimes audio stops in menu, but often in early game at lane stage. I use pipewire |
Not sure if this message is related to the audio issues. I got this as soon as my audio dropped.
|
Also have this issue. |
I have the same problem. Happens all the time when I'm in a lobby and my client is alt+tabbed. Audio cuts out and never comes back until I restart the client. Never happens in game, only when I'm alt tabbed / in lobby. Operating System: NixOS 24.11 Audio export info:
|
Anyone got a fix for this? |
I am not certain if my issue #2775 but for me the issue has gotten much worse on the newest update. |
For me, the issue happens if I play a video on youtube or if someone else joins the voice chat on Discord. It's like if PulseAudio/Pipewire detects a new audio source, then Dota audio stops. So the solution was, no discord, no Youtube audio. |
For me the issue doesn't seem connected to discord, I've had it happen solo queueing. Though, it is possible something in the background created a temporary audio source killing dota2's. |
This bug has been open for over 2 months now, and not a word on what the issue is?? No workarounds, versions of packages suggested? Come on now.... |
Because it's not main issue for this problem, there are few of them with workarounds and devs' attempts to solve it and they think it's not dota but sdl bug. Look at #2707 and #2775 There are reports saying launch option -xaudio helps on wayland, others say -sdlaudiodriver pulse or -sdlaudiodriver pipewire can help. Most likely it stems from this comment ValveSoftware/csgo-osx-linux#3256 (comment) |
Thanks for the update and linkages. So far I tested -xaudio and it didn't fix it. Testing the "-sdlaudiodriver pipewire" one now. Will report back. |
I'm also testing it. Launched game 10+ hours ago. Several matches, a lot of afk time (mostly unfocused on another workspace), audio still working. |
Taking it back, lost audio again :D |
I also had a similar experience, it took longer but eventually kicked off with "-sdlaudiodriver pipewire" as well...back to the drawing board. |
My headset has a quirk where sometimes I have to unplug it and plug again after boot to have any sound, and then press its volume up button, otherwise it is very quiet. I actually have a laptop where it isn't even detected at all, not even at the USB level. It has some other problems too. Anyway, weirdly, doing that after Dota 2's sound went away seemed to make it come back. For what it's worth. |
That's odd, does the headset show up as its own sound card?
|
On the computer I play Dota on, it does appear in the output of
|
Update: Lately, I seem to be able to reproduce this issue very frequently when I queue for a custom game and the "Accept" pop up is triggered / sound plays, rather than from simply being alt tabbed while in the lobby. I also seem to see it occur when getting an invite to a party. |
@mfed3 Yes, I can confirm this as well. This issue of losing the sound is triggered when the |
@veigaribo
@ong-andrew Similar/same issue for CS2 is here with two possible workarounds - ValveSoftware/csgo-osx-linux#3832 |
Close, it was a HyperX Cloud Alpha S. I have since bought a new headset, because that old one somehow started sending its audio output through to its microphone. I do still have it laying around, though. I'm not aware of any revisions the Alpha S might've had, but the model is HX-HSCAS-BK/WW according to the box. I really don't think I understand what a sound card would be in this case, but
The game works fine for me when using the PulseAudio interface ( |
The USB hijink you're connecting the headset into is the sound card. I have similar issues with my Cloud 2 card sometimes (and others funny things like it messing with USB HID Num Lock indicator on my keyboard). I might just buy a DAC at this point, as I messed up the repair of the card when I was adding removable USB-C and it came loose and I really don't want to redo it and THEN debug the rest of the issues :/
Sounds like you were not plugging in the 3.5mm jack all the time or it became loose/obstructed.
Would be curious if HW somehow mattered. |
This is still a problem on:
My workaround is changing my audio profile in KDE to Pro Audio then back to Analog Stereo Duplex. I have to do this literally every match to fix the audio after the lobby or ACCEPT MATCH popup breaks the audio again. |
I can also reproduce this! I have a Bluetooth headset H848 Wireless Headset Pro with a USB key plugged in indeed... but the audio is set everywhere to the builtin sound card "Builtin sound Analog stereo". I'll try using |
Still having the issue, for Dota and CS 2 Also KDE, Pipewire and Arch(Garuda) |
Extremely easy to reproduce. Using KDE Plasma 6 Wayland. Every single time Dota pops up with "match found -> Accept" menu the audio cuts out. How is this still not fixed??? |
Uh oh!
There was an error while loading. Please reload this page.
This is the error that appears in the logs. Hard to reproduce.
EDIT: I'm finally able to reproduce it. Audio stops immediately after I join a discord voice channel or if someone joins my voice channel. This happens only on the Discord app. If I use the browser version, it's fine. Odd, considering that the app is an electron app.
The text was updated successfully, but these errors were encountered: