You are not logged in.

#1 2022-07-04 04:50:11

tategotoazarasi
Member
Registered: 2022-07-04
Posts: 4

[Resolved] mesa-loader failed to load drivers

After yesterday's update, OpenGL can't load the drivers, KDE desktop effects are gone, and the KDE's Info Center "Graphics" shows that MESA-LOADER can't load the drivers under /usr/lib/dri, but the drivers are actually there.

----------------------------------------------

> ls  -l  /usr/lib/dri
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 crocus_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 d3d12_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 iris_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 kms_swrast_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 nouveau_dri.so
-rwxr-xr-x  3 root root 12M  7月 3日 18:07 nouveau_drv_video.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 r300_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 r600_dri.so
-rwxr-xr-x  3 root root 12M  7月 3日 18:07 r600_drv_video.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 radeonsi_dri.so
-rwxr-xr-x  3 root root 12M  7月 3日 18:07 radeonsi_drv_video.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 swrast_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 virtio_gpu_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 vmwgfx_dri.so
-rwxr-xr-x 12 root root 25M  7月 3日 18:07 zink_dri.so

----------------------------------------------------------------------------------------------------

"Graphic-OpenGL(EGL)" section in KDE's Info Center

MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open zink: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: zink
MESA-LOADER: failed to open kms_swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load swrast driver
MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open zink: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: zink
MESA-LOADER: failed to open kms_swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load swrast driver
MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open zink: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: zink
MESA-LOADER: failed to open kms_swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load swrast driver
libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open radeonsi: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-14.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

EGL client extensions string:
    EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration
    EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11
    EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_KHR_platform_wayland
    EGL_EXT_platform_wayland EGL_KHR_platform_gbm EGL_MESA_platform_gbm
    EGL_MESA_platform_xcb EGL_MESA_platform_surfaceless

GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
eglinfo: eglInitialize failed

Surfaceless platform:
eglinfo: eglInitialize failed

Device platform:
Device #0:

EGL device extensions string:
    EGL_EXT_device_drm EGL_EXT_device_drm_render_node
Platform Device:
eglinfo: eglInitialize failed

Device #1:

EGL device extensions string:
    EGL_MESA_device_software EGL_EXT_device_drm_render_node
Platform Device:
eglinfo: eglInitialize failed

------------------------

> glxinfo -B
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

---------

> pacman -Qs mesa
local/glu 9.0.2-3
    Mesa OpenGL utility library
local/lib32-glu 9.0.2-3
    Mesa OpenGL utility library (32 bits)
local/lib32-libva-mesa-driver 22.1.3-1
    VA-API implementation for gallium (32-bit)
local/lib32-mesa 22.1.3-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-vdpau 22.1.3-1
    Mesa VDPAU drivers (32-bit)
local/lib32-opencl-mesa 22.1.3-1
    OpenCL support for AMD/ATI Radeon mesa drivers (32-bit)
local/lib32-vulkan-mesa-layers 22.1.3-1
    Mesa's Vulkan layers (32-bit)
local/lib32-vulkan-radeon 22.1.3-1
    Radeon's Vulkan mesa driver (32-bit)
local/libva-mesa-driver 22.1.3-1
    VA-API implementation for gallium
local/mesa 22.1.3-1
    An open-source implementation of the OpenGL specification
local/mesa-utils 8.5.0-2
    Essential Mesa utilities
local/mesa-vdpau 22.1.3-1
    Mesa VDPAU drivers
local/opencl-mesa 22.1.3-1
    OpenCL support for AMD/ATI Radeon mesa drivers
local/vulkan-mesa-layers 22.1.3-1
    Mesa's Vulkan layers
local/vulkan-radeon 22.1.3-1
    Radeon's Vulkan mesa driver

----------------------------------------

> pacman -Qs amdgpu
local/aomp-amdgpu 11.11.0-1
    Clang/LLVM based compiler with added support for the OpenMP API on Radeon GPUs
local/rocm-llvm 5.2.0-1
    Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
local/xf86-video-amdgpu 22.0.0-1 (xorg-drivers)
    X.org amdgpu video driver

------------------------------------------------

Environment:

Operating System: Arch Linux
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
Kernel Version: 5.18.9-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 30.7 GiB of RAM
Manufacturer: BIOSTAR Group
Product Name: B550MX/E PRO

------------------------------------------------

I tried reinstalling drivers and the kernel, didn't work.

---------------------------------------------

Problem resolved by resintalling llvm.

Last edited by tategotoazarasi (2022-07-04 05:31:39)

Offline

#2 2022-07-04 05:00:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,107

Re: [Resolved] mesa-loader failed to load drivers

Fully update your system, without ignoring anything. If you're using any 3rd party packages, replace them with the repo versions or rebuild them.

Offline

#3 2022-07-04 05:15:52

tategotoazarasi
Member
Registered: 2022-07-04
Posts: 4

Re: [Resolved] mesa-loader failed to load drivers

Scimmia wrote:

Fully update your system, without ignoring anything. If you're using any 3rd party packages, replace them with the repo versions or rebuild them.

It's all updated except dkms, which have bug in the latest version: https://github.com/dell/dkms/issues/229 .  I downgraded dkms and rebuild the kernel to fix it.

Offline

#4 2022-07-04 05:32:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,107

Re: [Resolved] mesa-loader failed to load drivers

That bug is harmess, and downgrading dkms and rebuilding the kernel would have no effect what so ever on this.

Offline

#5 2022-07-04 05:35:48

tategotoazarasi
Member
Registered: 2022-07-04
Posts: 4

Re: [Resolved] mesa-loader failed to load drivers

Scimmia wrote:

That bug is harmess, and downgrading dkms and rebuilding the kernel would have no effect what so ever on this.

Thanks for your help! I fix it by reinstalling llvm.

Offline

Board footer

Powered by FluxBB