protonscr

TF2 with alsa (not pulseaudio)

steamclosed reviewed
ValveSoftware/steam-for-linux#32 · opened 2012-12-20 by frankc-valve · updated 2024-03-17 · 8 comments · github
Ffrankc-valve 2012-12-20 github

(Originally http://steamcommunity.com/app/221410/discussions/2/846939071195059175/)

Hello guys.
There is no PulseAudo in my OS. I configured the Steam to use alsa as an audio output device.
But TF2 wants to use only Pulse:
SDLAUDIO: SDL_OpenAudioDevice() failed: Could not setup connection to PulseAudio
And I have to use this hint to solve the problem.
Could you set SDL_AUDIODRIVER on your side as in the Steam configuration?

== Additional Points ==
Yeah, Steam maybe should check which audio server is installed by itself and act accordingly, or as Al@rm says, act according to what is specified in the options.

Even Ubuntu users may choose to uninstall pulseaudio. It should not be a big deal to set the variable in a startup script according to the steam configuration.

SSTrRedWolf 2012-12-20 github

There may be an issue where ALSA has underrun buffering issues, and it affects the graphics.

Ddraeath 2012-12-20 github

Then forcing pulse is not the answer, because pulse talks in turn to alsa.

Ssvenstaro 2012-12-20 github

Using export SDL_AUDIODRIVER=alsa seems to work fine for me.

?ghost 2012-12-20 github

Does microphone (in voice chat) also work for you with SDL_AUDIODRIVER=alsa? Because it doesn't for me.

Ssuhr 2012-12-20 github

Also, what about OSSv4 support?

LLlammissar 2012-12-22 github

Moving forward, perhaps OpenAL is the way to go? Push the audio subsystem selection into a library made for it and you'll probably fix a lot more bugs than you create.

Sslouken 2013-02-28 github

This is fixed for the next beta release. Thanks!

?ghost 2024-03-17 github

well, its broken again, sorry to comment here, at least the microphone is COMPLETELY unusuable on alsa version, probabaly because its using SDL2 for sound again (why tho, openal had nice 3d audio)

Launch options