You can sign up to get a daily email of our articles, see the Mailing List page!
Prey 2006 libGL error
TimeFreeze 3 Nov, 2020
So i downloaded the Linux Installer from icculus and installed it everything good so far. But when i want to start it i always get this error:

Loading GL driver '(default)' through SDL
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open i965 (search paths /usr/lib32/dri)
libGL error: failed to load driver: i965
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  43
  Current serial number in output stream:  42


Already tried to use a override variable didnt do anything. Any ideas?
This topic has an answer marked - jump to answer.
whizse 3 Nov, 2020
  • Supporter
Do you have the 32bit version of the drivers installed?

It might also be the bundled libgcc that doesn't work with the version Mesa is built against?

Might sadly be easier to get it up and running with Wine or Proton...
TimeFreeze 3 Nov, 2020
Quoting: whizseDo you have the 32bit version of the drivers installed?

It might also be the bundled libgcc that doesn't work with the version Mesa is built against?

Might sadly be easier to get it up and running with Wine or Proton...

32bit drivers are installed yep. I tried many things already using LD_PRELOAD , MESA Override , putting all those drivers into the folder where the game is located nothing works and i dont know what the freaking problem is. I saw some videos where they played the Native Version without Problems but idk whats wrong here.
whizse 3 Nov, 2020
  • Supporter
Looks like the winner is:

rm libgcc_s.so.1

(The one bundled with the game, not the one on your system!)
TimeFreeze 3 Nov, 2020
Quoting: whizseLooks like the winner is:

rm libgcc_s.so.1

(The one bundled with the game, not the one on your system!)

You are a true Hero. Thank you so much
The_Aquabat 3 Nov, 2020
for what it is worth with Steam runs perfectly fine no tweaks needed. at least on Ubuntu.

Last edited by The_Aquabat on 3 November 2020 at 3:41 pm UTC
mos 4 Nov, 2020
Quoting: The_Aquabatno tweaks needed
this aint a 'tweak' - if a system has an incompatibility with an application, it won't magically work.
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.

Livestreams & Videos
Community Livestreams
Latest Forum Posts