Skip to content

Instantly share code, notes, and snippets.



Last active Jan 13, 2020
What would you like to do?
TF2 Linux Fadora 26 HRTF setup

Install openal

sudo dnf install openal-soft.i686 openal-soft.x86_64

Now we need to point steam to use these more up to date vershions of open al To find where dnf installed our files we can run: rpm -q --filesbypkg openal-soft.i686 openal-soft.x86_64 | grep$ On fadora 26 I got:

openal-soft               /usr/lib/
openal-soft               /usr/lib64/

The files we want to replace can be found with this command

find ~/.local/share/Steam/ -name*

So to tell steam we add a simlimk like this

# 32-bit
ln -sfT /usr/lib/ ${HOME}/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
# 64-bit
ln -sfT /usr/lib64/ ${HOME}/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/

Configure openal

#acticate openal on the system echo "hrtf = true" >> ~/.alsoftrc

add these to launch options (forces better audio and skips valve intro)

-novid -snd_openal

//add these to your autoexec.cfg dsp_slow_cpu 1 # Disable in-game spatialiazation snd_spatialize_roundrobin 1 # Disable spatialization 1.0*100% of sounds dsp_enhance_stereo 0 # Disable DSP sound effects. You may want to leave this on, if you find it does not interfere with your perception of the sound effects. snd_pitchquality 1 # Use high quality sounds

To be able to here all audio you need to disable this SE linux feature as valve have written some dangerous code in there mp3 decoder

See this issue if there is a resolution

su -c "setsebool -P allow_execheap 1"


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment