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 libopenal.so.1$
On fadora 26 I got:
openal-soft /usr/lib/libopenal.so.1
openal-soft /usr/lib64/libopenal.so.1
The files we want to replace can be found with this command
find ~/.local/share/Steam/ -name libopenal.so.1.*
So to tell steam we add a simlimk like this
# 32-bit
ln -sfT /usr/lib/libopenal.so.1 ${HOME}/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libopenal.so.1.13.0
# 64-bit
ln -sfT /usr/lib64/libopenal.so.1 ${HOME}/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libopenal.so.1.13.0
#acticate openal on the system echo "hrtf = true" >> ~/.alsoftrc
-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 ValveSoftware/steam-for-linux#43
su -c "setsebool -P allow_execheap 1"
https://wiki.teamfortress.com/wiki/Oculus_Rift_User_Guide#.28Linux_only.29_Enabling_Binaural_Audio ValveSoftware/steam-for-linux#43