display
post-type

LibGL error starting Steam on Ubuntu 15.04

Yesterday for some reason I figured that jumping from Ubuntu 14.04 LTS to 15.04 just because I wanted the last version of GNOME (which I don't have anyway) was a good idea. I'm sure you now can figure that I'm a noob at Linux and yes, I ran into some problems.

One of those problems was with Steam. Installed it from the .deb file that I downloaded from the Steam website, which always worked for me. Not this time. I clicked in the icon and nothing, nothing happened. So, I went to my terminal and typed $steam to see what was going on.

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

Oh my... What the hell is that? As usual, started my web browser and started to search a little bit. it seems that is a problem due some outdated dependencies that Steam uses. Apparently if your system has a newer version this errors occurs.

So, the fix is very simple and straightforward: delete the obsolete/outdated dependencies and there you go. We can do it manually or using the terminal with the following commands:

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgcc_s.so.1

After that it should run normally. Keep in mind that you will probably have to remove those files every time Steam updates itself. Also make sure not to install the proprietary AMD drivers as they are very bad for the stability of the OS compared to the open source drivers.If you are getting low performance with the open source drivers then simply upgrade the Mesa version by adding:

sudo add-apt-repository ppa:xorg-edgers/ppa

and then

sudo apt-get update && sudo apt-get upgrade

Hope that helps! 

Add a comment
Comments No comments.