steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

TF2 with alsa (not pulseaudio)

Open frankc-valve opened this issue 13 years ago • 8 comments

(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.

frankc-valve avatar Dec 20 '12 02:12 frankc-valve

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

STrRedWolf avatar Dec 20 '12 03:12 STrRedWolf

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

draeath avatar Dec 20 '12 05:12 draeath

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

svenstaro avatar Dec 20 '12 10:12 svenstaro

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

ghost avatar Dec 20 '12 10:12 ghost

Also, what about OSSv4 support?

suhr avatar Dec 20 '12 12:12 suhr

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.

Llammissar avatar Dec 22 '12 14:12 Llammissar

This is fixed for the next beta release. Thanks!

slouken avatar Feb 28 '13 03:02 slouken

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)

ghost avatar Mar 17 '24 22:03 ghost