Dota 2 on fedora

Hi guys, I’m trying to play Dota2 on fedora workstation 40, but it’s always bugging, no sound when I press alt+tab and i’ts not getting back, no sound if I’m talking to somebody in Discord, and if I’m running it through proton VAC anticheat is declining me. Maybe someone can describe me a guide/instruction how should I play Dota2 normally? Pls :_

The normal way (iirc :stuck_out_tongue: ) is to install Steam from RPM Fusion on Fedora, and then Dota 2 (Steam should auto-download Sniper runtime with it). You might have better results with switching Steam to Client Beta, and in the games list show Toolkits/etc and switch Sniper runtime to client_beta too. Verify game files integrity on Runtime and Dota 2 too.

It sounds like audio routing is something specific to Discord, Pipewire, and/or PulseAudio.

Dota 2 I think can be forced to Pipewire with this env, but I suspect this would be set somewhere already: SDL_AUDIODRIVER=pipewire


For only solo (possibly LAN) play with bot matches, I play Dota 2 and download it through steamcmd command-line (notes). I alt-tab fine with audio but didn’t try it with Discord.

Oh, thank you very much, but none of the ways helped me :frowning:

May be I should try to re-install my fedora?

Dota 2 is a native Linux game, by the way. Here is more information :

And so, I reinstalled the whole fedora, and also installed steam via rpm, installed beta test and entered these launch parameters ( -language english -novid -console -prewarm -nod3d9ex -input_button_code_is_scan_code ), but the problem persists. If I just go to Dota2, then the sound is normal, as soon as I go to the discord channel, the sound starts to lag and then disappears completely. If I launch discord first and go to the dialogue, the sound in Dota lags even more. Maybe there is some kind of “priority mode” that does not allow two applications to use one output device?

I know, but I just tried that way

Oh, I think I repaired it, so just will left here commands for starting parameters of Dota2 : --sdlaudiodriver pulse -language english -novid -console -prewarm -nod3d9ex -input_button_code_is_scan_code

1 Like

Does that work with two --? This mentions a single - (and single works for me)


That raises an interesting question though; with PA, PW, and ALSA for SDL audio driver, which one is most-ideal for Dota 2?

PW made sense (and used by-default) but it looks like PW’s using a lower rate (44.1 vs 48), has an error (tested with a few secs at Main Menu), and QUANT is largely different (256 vs 1024); I’m not too sure what most of those numbers mean though (pw-top):

Pipewire (-sdlaudiodriver pipewire):

PulseAudio (-sdlaudiodriver pulseaudio):

ALSA (-sdlaudiodriver alsa):

Oh, really sorry, I missclicked, it’s supposed to be only one -
:frowning:

1 Like