this post was submitted on 28 Sep 2023
52 points (98.1% liked)

Linux Gaming

15300 readers
16 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

If you are using pipewire add -sdlaudiodriver pipewire to your CS 2 launch options.

For those using gamemoderun it would look like this: gamemoderun %command% -sdlaudiodriver pipewire

top 5 comments
sorted by: hot top controversial new old
[–] Confetti_Camouflage@pawb.social 11 points 1 year ago (1 children)

You should also be able to set the SDL_AUDIODRIVER environment variable to pipewire to get this effect globally.

https://wiki.libsdl.org/SDL2/FAQUsingSDL

Oh, dope, thanks! I hope this doesn't fuck up anything that's hardcoded to expect Pulse or something, but I guess I'll find out.

[–] uuhhhhmmmm@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago)

For flatpak steam, you need to run this:

flatpak override --user --filesystem=/run/user/1000/pipewire-0 com.valvesoftware.Steam

Then -sdlaudiodriver pipewire launch option will work.

[–] angrymouse@lemmy.world 1 points 1 year ago

This is happening with dota 2 as well, probably it was messed up on the engine level.

[–] Molecular0079@lemmy.world 1 points 1 year ago

Yeah, seems like it is preferring the ALSA backend. Sound initially worked for me because I had pipewire-alsa installed, but I couldn't do anything to change the volume.