59
submitted 2 years ago by [email protected] to c/[email protected]

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

all 5 comments
sorted by: hot top new old
[-] [email protected] 11 points 2 years ago

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

[-] [email protected] 5 points 2 years ago

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.

[-] [email protected] 1 points 2 years 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.

[-] [email protected] 1 points 2 years ago

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

this post was submitted on 28 Sep 2023
59 points (98.4% liked)

Linux Gaming

20660 readers
121 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.

No memes/shitposts/low-effort posts, please.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS