libGL error: MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)

Issues related to applications and software problems and general support
Post Reply
darkness
Posts: 1
Joined: 2021/03/28 05:30:05

libGL error: MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)

Post by darkness » 2021/03/28 05:47:06

I switched to centos8 after my previous system got messed up because it was the only installation media I had. So I have less knowledge about centos

I wrote some SFML C++ code and when I run it it gives me this warning:

Code: Select all

libGL error: MESA-LOADER: failed to open i915 (search paths /usr/lib64/dri)
libGL error: failed to load driver: i915
I tried it with pyglet (python) I get the same warning.
After googling about the problem, it seems like its a video driver issue

The programs work fine but I never got this warning message in my previous systems (manjaro and kubuntu).

Contents of /usr/lib64/dri

Code: Select all

-rwxr-xr-x. 1 root root 13502080 Aug 12  2020 i965_dri.so
-rwxr-xr-x. 1 root root  8350160 Jun  8  2020 i965_drv_video.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 iris_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 kms_swrast_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 nouveau_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 r600_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 radeonsi_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 swrast_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 virtio_gpu_dri.so
-rwxr-xr-x. 8 root root 21541280 Aug 12  2020 vmwgfx_dri.so
I updated my kernel to 5.4.108-1.el8.elrepo.x86_64 hoping to fix the problem, but it didn't work.
From the contents of /usr/lib64/dri it seems like I have i965 drivers. Can I set mesa to load i965 instead of i915?
How should I fix this? Please help.

System information:

Code: Select all

OS: CentOS Linux release 8.3.2011 x86_64 
Kernel: 5.4.108-1.el8.elrepo.x86_64 
Uptime: 37 mins 
Packages: 2012 (rpm) 
Shell: zsh 5.5.1 
Resolution: 1440x900 
DE: Xfce 4.14 
WM: Xfwm4 
WM Theme: WhiteSur-dark 
Theme: WhiteSur-dark [GTK2] 
Icons: ePapirus [GTK2], breeze-dark [GTK3] 
Terminal: xfce4-terminal 
Terminal Font: Ubuntu Mono 14 
CPU: Intel Pentium Dual E2180 (2) @ 1.382GHz 
GPU: Intel 82945G/GZ 
Memory: 1708MiB / 3486MiB 

Post Reply