вторник, 30 януари 2018 г.

No sound in steam (some games at least)

For some reasons, some games in Steam don't have sound on my system. For example, X rebirth. It worked with the internal speakers but they suck, so I had to do something about it.
Here's what works for me:
1) In pavucontrol set the output device you want to use as "Fallback" - for me, these are my USB speakers.
2) Then in a konsole do:
$export SDL_AUDIODRIVER=pulseaudio
3) And then start steam with the runtime enabled.
$STEAM_RUNTIME=1 steam
And now I have sound.