Skip to content

Instantly share code, notes, and snippets.

@Rudo2204
Created September 4, 2020 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rudo2204/dbc416ad0744d5f1e91565cde0b7b222 to your computer and use it in GitHub Desktop.
Save Rudo2204/dbc416ad0744d5f1e91565cde0b7b222 to your computer and use it in GitHub Desktop.
Oneshot (the game) does not start on MXLinux 19.3 fix

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment