First, if your game also does not start up properly, start debugging by cd
-ing into your OneShot directory of Steam.
($HOME/.steam/steam/steamapps/common/OneShot
in most cases). And then start OneShot with ./steamshim
.
In my case: I got this error:
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 109
Current serial number in output stream: 108
After messing around abit, I found that running the game with MESA_LOADER_DRIVER_OVERRIDE=i965
solve it.