Fix: Steam On Newer Distros

If you're running an up-to-date distro or a rolling release like Arch or Debian/unstable, you might encounter some problems with Steam and Mesa.

There's an easy fix if running Steam from a terminal looks like this:

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

The Steam runtime often contains older libs which won't work with modern distros. It is safe to get rid of them by using the following command: find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete

For the lazy ones (including me) there's a package called script-steam-cleanup in my repository.