Skip to content
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

No audio for dota in Linux #12233

Open
malcolmherrazencora opened this issue Sep 27, 2023 · 24 comments
Open

No audio for dota in Linux #12233

malcolmherrazencora opened this issue Sep 27, 2023 · 24 comments

Comments

@malcolmherrazencora
Copy link

Description

I can not hear anything either be in welcome page, in-game or watching a game with the latest actualization.

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

@samuelborges1991
Copy link

I had the same issue, in my case, it was redirecting to one of the sound outputs and ignoring any configuration changes(DOTA and System)

@malcolmherrazencora
Copy link
Author

I had the same issue, in my case, it was redirecting to one of the sound outputs and ignoring any configuration changes(DOTA and System)

How did you solve it?

@samuelborges1991
Copy link

Forgive me, English is not my native language, so I may not have been very clear. I couldn't solve the problem.

@petry078
Copy link

petry078 commented Sep 28, 2023

Same issue here... Recent update from today (Sep 27 2023) killed the sound. No sound at all. My party can hear me, but there is no sound for me. Version 5,855 Patch 7.34C. Sound config on my machine is fine, Dota is listening to default device, no sound even when manually selecting the right sound output.

@petry078
Copy link

Recent update from a minute ago fixed for me.

@pleish
Copy link

pleish commented Sep 28, 2023

Latest update does not fix this on Arch Linux for me. Still no audio.

@samuelborges1991
Copy link

I had the same issue, in my case, it was redirecting to one of the sound outputs and ignoring any configuration changes(DOTA and System)

New update partially fixed to me. Changing soud output device in dota now works, but still got problems when using default output.

@pleish
Copy link

pleish commented Sep 28, 2023

Was able to fix it with the launch option -sdlaudiodriver pipewire. If you are using pulseaudio or something else try using that instead of pipewire.

@nm004
Copy link

nm004 commented Sep 28, 2023

This seems that Dota 2 has the same issue as CS2 does. As @pleish says, -sdlaudiodriver pipewire works if you use PipeWire, but -sdlaudiodriver pulse won't work even if you use PulseAudio only. For a current workaround, plase look here.

@u83rmensch
Copy link

u83rmensch commented Sep 28, 2023

Im also seeing this issue. on arch linux. the issue is both in the new CS 2 and Dota 2. I can switch to the proper audio output and it works, but my issue is actually running media from the browser while also playing the game.

if I have youtube running while launching the game, the audio in the game wont work. If I pause the youtube video and and then change the audio output in-game from one device back to the proper device, it starts to work but then I cant play the youtube video, it'll just sit there loading indefinitely until I close dota. Once dota fully closes out, the youtube video will immediately start playing. This interaction happens both in firefox & chrome.

this is very frustrating. its only an issue with dota 2 and the new CS 2.

I can get audio with out the workaround, but the work around does not resolve this issue with browser media playback while dota 2 is running.

update:

I installed pipewire-pulse via pacman then rebooted, added the "-sdlaudiodriver pipewire" workaround to the dota 2 launch options and now media playback + dota 2 works again. thx boys.

@earn9
Copy link

earn9 commented Sep 28, 2023

Latest update does not fix this on POP OS! (Ubuntu) Linux. Still no audio.

@drogeek
Copy link

drogeek commented Sep 28, 2023

Using Ubuntu 22.04 with pipewire here, I can confirm that using "-sdlaudiodriver pipewire" as an argument to the game works. Weird.

@earn9
Copy link

earn9 commented Sep 28, 2023

Adding -sdlaudiodriver pipewire to Launch Options as workaround helped on Ubuntu/POP OS!

@Forage
Copy link

Forage commented Sep 28, 2023

Duplicate of #12230, but I can confirm that the work-around in comment #12233 (comment) works if you use the Flatpak method for a Flatpak install (duh), as described on the provided linked page. By setting it to "pulse" despite a pipewire install, oddly enough.

@SethDusek
Copy link

Using -sdlaudiodriver pipewire causes strange behavior. My game randomly crashes and when it does I hear static. Infact I can't hear anything else (discord, youtube playing in background, etc) until I kill dota 2 manually.

Is anyone else experiencing this?

@andrei-trybukhouski
Copy link

@SethDusek on linux mint it works great, I can hear everything

@esubalol
Copy link

esubalol commented Sep 28, 2023

If you are on an Arch-based distro that uses pulseaudio (such as Manjaro), the steps i took are the following:

sudo pacman -S wireplumber pipewire-audio
sudo pacman -R pulseaudio pulseaudio-bluetooth manjaro-pulse pulseaudio-equalizer pulseaudio-zeroconf pulseaudio-alsa pulseaudio-ctl 
sudo pacman -S pipewire-pulse
systemctl --user --now enable wireplumber.service
reboot

then set "-sdlaudiodriver pipewire" as a launch argument for dota2 in steam.

this clears the distro dependencies regarding pulseaudio, replaces it with pipewire and enables wireplumber. afterwards, you can open your audio mixer, select the correct audio channels, then select them again in dota, and everything should work properly

@skoehler
Copy link

-sdlaudiodriver pipewire fixed it for me. I didn't need that before. I have been running Arch Linux with pipewire+wireplumber for ages and Dota was working fine.

@nm004
Copy link

nm004 commented Sep 28, 2023

Duplicate of ValveSoftware/Dota-2#2491, and this issue is fixed now for PipeWire AFACT.

@drogeek
Copy link

drogeek commented Sep 28, 2023

Duplicate of ValveSoftware/Dota-2#2491, and this issue is fixed now.

I can confirm that it works without "-sdlaudiodriver pipewire" now

@bryku
Copy link

bryku commented Sep 29, 2023

If you are on an Arch-based distro that uses pulseaudio (such as Manjaro), the steps i took are the following:

sudo pacman -S wireplumber pipewire-audio
sudo pacman -R pulseaudio pulseaudio-bluetooth manjaro-pulse pulseaudio-equalizer pulseaudio-zeroconf pulseaudio-alsa pulseaudio-ctl 
sudo pacman -S pipewire-pulse
systemctl --user --now enable wireplumber.service
reboot

then set "-sdlaudiodriver pipewire" as a launch argument for dota2 in steam.

this clears the distro dependencies regarding pulseaudio, replaces it with pipewire and enables wireplumber. afterwards, you can open your audio mixer, select the correct audio channels, then select them again in dota, and everything should work properly

I haven't even been able to load the game, but out of a dozen tries I ended up getting the game open, but without audio and it locked up.

I decided to give this a try and it worked!

@srsgores
Copy link

srsgores commented Oct 3, 2023

None of these solutions worked for me, but I have an external sound card and also use wireplumber and pipewire on Garuda linux. Other games also don't launch or have audio Wine, so it's probably a system-wide issue with FFADO drivers and wireplumber. I suggest people either revert back to using jack2 and ALSA or else run proprietary Windows.

@Forage
Copy link

Forage commented Oct 4, 2023

None of these solutions worked for me, .... I suggest people either revert back to using jack2 and ALSA or else run proprietary Windows.

That's quite a suggestion to make for others while it's most likely only a config issue on your side. The sound issue that appeared a week ago has also been fixed within a day. If sound worked for you before that period, I suggest you make sure you undo all workarounds you applied, to the game and/or other system packages, to get it fixed. Through a complete reinstall of the game just in case.

@earn9
Copy link

earn9 commented Oct 12, 2023

Adding -sdlaudiodriver pipewire to Launch Options as workaround helped on Ubuntu/POP OS!

now fixed in patch for my system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests