Skip to content


Subversion checkout URL

You can clone with
Download ZIP


TF2 with alsa (not pulseaudio) #32

frankc-valve opened this Issue · 7 comments

9 participants



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.


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


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


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


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


Also, what about OSSv4 support?

@mikesart mikesart was assigned

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.

@slouken slouken was assigned

This is fixed for the next beta release. Thanks!

@slouken slouken closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.