3

I know, by now, that this particular question has been answered again and again and again and again. I have been trying all of the suggested cures to this menace, but nothing seems to work.


First of all, my system comprises of: an AMD Phenom X4, GeForce GTX 960 and I have installed every possible driver (367, 370, 375, 378) and nothing solves my problem which is this:

iraklis@panisxyros:~$ steam
Running Steam on ubuntu 16.10 64-bit
STEAM_RUNTIME is enabled automatically
[2017-02-20 13:12:44] Startup - updater built Jan 19 2017 01:22:13
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)

Trying to add a little more verbosity i did a:

iraklis@panisxyros:~$ LIBGL_DEBUG=verbose steam

but I got the exact same output message, although this happens only with the 367 drivers loaded. When all of the other drives were loaded I got some extra info, such as:

libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL error: failed to load driver: swrast

The solution is always a thing with an old version of libstdc++, but this problem is solved, since the steam package installed from the repo, takes care of this internally.


Anyway, the most baffling things are:

  1. When I tried using my old GPU (an ancient GT 210) Steam worked just fine (with 340 drivers installed)
  2. When I use the nouveau driver, Steam does work, but the performance is so bad that it renders my computer unusable.

So, any other suggestions would be so very welcome. Thanks in advance.

iraklis
  • 151

2 Answers2

1

After a week of meddling around I finally found a solution, which was easier than I could have expected. For anyone that might seem useful, it was just a problem with misconfiguration in /etc/ld.so.conf.d. Although I have been there before and started tweaking I haven't found any solution, until I stumbled upon this file bug and more specifically here. So, the problem is that for some twisted reason my system was pointing into the mesa library, rather than the nvidia. So all it was needed was a:

sudo update-alternatives --config i386-linux-gnu_gl_conf

and checking the appropriate library, then

sudo ldconfig

and BOOM steam started like a charm!

iraklis
  • 151
0

This solution for libstdc++ is not solved, as far as I know, so please see accepted answer here: steam_libstdc++

otherwise try this solution with new environment variable STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0:

cd $HOME/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
cd $HOME/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak

dconf write /org/compiz/profiles/unity/plugins/unityshell/show-launcher '""'
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 /usr/games/steam
dconf write /org/compiz/profiles/unity/plugins/unityshell/show-launcher '"Super"'
Leder
  • 282