I was trying to get steam working on debian testing and i kept getting the glxChooseVisual failed error. After some ducking* i found this thread on the steam forums and thanks to sgtlion i was able to resolve the issue and i can finally get my system up and running again.
So if you encounter this problem, install the i386 version of the nvidia-driver-libs, on debian its:
apt install nvidia-driver-libs-i386
*i use duckduckgo as a search engine