Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4516

libGL error: failed to load drivers iris and swrast in Ubuntu 22.04

$
0
0

I'm trying to run a pong game (pygame) in Python (VSCode) using a conda environment and I get this:

pygame 2.3.0 (SDL 2.24.2, Python 3.9.16)Hello from the pygame community. https://www.pygame.org/contribute.htmllibGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)libGL error: failed to load driver: irislibGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)libGL error: failed to load driver: swrastX Error of failed request:  BadValue (integer parameter out of range for operation)  Major opcode of failed request:  149 (GLX)  Minor opcode of failed request:  3 (X_GLXCreateContext)  Value in failed request:  0x0  Serial number of failed request:  161  Current serial number in output stream:  162

Viewing all articles
Browse latest Browse all 4516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>