Issues with mesa due to llvm update

After update I do have issues with the graphics drivers.

>ls  -l  /usr/lib/dri 
.rwxr-xr-x  32M root 19 Aug 08:18 crocus_dri.so
.rwxr-xr-x  32M root 19 Aug 08:18 d3d12_dri.so
.rwxr-xr-x  14M root 19 Aug 08:18 d3d12_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 i915_dri.so
.rwxr-xr-x 8.2M root  6 Mar  2022 i965_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 iris_dri.so
.rwxr-xr-x  32M root 19 Aug 08:18 kms_swrast_dri.so
.rwxr-xr-x  32M root 19 Aug 08:18 nouveau_dri.so
.rwxr-xr-x  14M root 19 Aug 08:18 nouveau_drv_video.so
lrwxrwxrwx   18 root  6 Mar  2022 nvidia_drv_video.so -> vdpau_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 r300_dri.so
.rwxr-xr-x  32M root 19 Aug 08:18 r600_dri.so
.rwxr-xr-x  14M root 19 Aug 08:18 r600_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 radeonsi_dri.so
.rwxr-xr-x  14M root 19 Aug 08:18 radeonsi_drv_video.so
lrwxrwxrwx   18 root  6 Mar  2022 s3g_drv_video.so -> vdpau_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 swrast_dri.so
.rwxr-xr-x  84k root  6 Mar  2022 vdpau_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 virtio_gpu_dri.so
.rwxr-xr-x  14M root 19 Aug 08:18 virtio_gpu_drv_video.so
.rwxr-xr-x  32M root 19 Aug 08:18 vmwgfx_dri.so
.rwxr-xr-x  32M root 19 Aug 08:18 zink_dri.so
>pacman -Qs mesa                                                                                                                                                                                                             
local/glu 9.0.3-1
    Mesa OpenGL utility library
local/lib32-glu 9.0.3-1
    Mesa OpenGL utility library (32 bits)
local/lib32-libva-mesa-driver 23.1.2-1
    VA-API drivers (32-bit)
local/lib32-mesa 23.1.2-1
    An open-source implementation of the OpenGL specification (32-bit)
local/lib32-mesa-demos 9.0.0-1
    Mesa demos (32-bit)
local/lib32-mesa-vdpau 23.1.2-1
    VDPAU drivers (32-bit)
local/lib32-vulkan-intel 23.1.2-1
    Intel's Vulkan mesa driver (32-bit)
local/lib32-vulkan-radeon 23.1.2-1
    Radeon's Vulkan mesa driver (32-bit)
local/libva-mesa-driver 1:23.1.6-1
    VA-API drivers
local/mesa 1:23.1.6-1
    An open-source implementation of the OpenGL specification
local/mesa-demos 9.0.0-2
    Mesa demos
local/mesa-utils 9.0.0-2
    Essential Mesa utilities
local/mesa-vdpau 1:23.1.6-1
    VDPAU drivers
local/vulkan-intel 1:23.1.6-1
    Intel's Vulkan mesa driver
local/vulkan-radeon 1:23.1.6-1
    Radeon's Vulkan mesa driver
pacman -Qs amdgpu                                                                                                                                                                                                           
local/mhwd-amdgpu 19.1.0-1
    MHWD module-ids for amdgpu
local/xf86-video-amdgpu 23.0.0-1 (xorg-drivers)
    X.org amdgpu video driver
>glxinfo -B                                                                                                                                                                                                                  
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

“Graphic-OpenGL(EGL)” section in KDE’s Info Center

MESA-LOADER: failed to open radeonsi: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open radeonsi: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: libLLVM-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
libEGL warning: DRI2: failed to authenticate
libEGL warning: MESA-LOADER: failed to open swrast: libLLVM-15.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-15.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-15.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-15.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-15.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-15.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-15.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)

EGL client extensions string:
    EGL_EXT_client_extensions, EGL_EXT_device_base, 
    EGL_EXT_device_enumeration, EGL_EXT_device_query, EGL_EXT_platform_base, 
    EGL_EXT_platform_device, EGL_EXT_platform_wayland, EGL_EXT_platform_x11, 
    EGL_EXT_platform_xcb, EGL_KHR_client_get_all_proc_addresses, 
    EGL_KHR_debug, EGL_KHR_platform_gbm, EGL_KHR_platform_wayland, 
    EGL_KHR_platform_x11, EGL_MESA_platform_gbm, 
    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 platform:
eglinfo: eglInitialize failed

Device #1:

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

“Graphic-OpenGL(GLX)” section in KDE’s Info Center

Error: couldn't find RGB GLX visual or fbconfig
name of display: :0

“Vulkan” section in KDE’s Info Center

ERROR: [Loader Message] Code 0 : libLLVM-15.so: cannot open shared object file: No such file or directory
ERROR: [Loader Message] Code 0 : loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/libvulkan_radeon.so. Ignoring this JSON
ERROR: [Loader Message] Code 0 : setup_loader_term_phys_devs:  Failed to detect any valid GPUs in the current config
ERROR at /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.255/vulkaninfo/vulkaninfo.h:237:vkEnumeratePhysicalDevices failed with ERROR_INITIALIZATION_FAILED

Environment

OS: Manjaro Linux x86_64 
Kernel: 6.5.0-1-MANJARO 
Resolution: 1920x1080, 1920x1080, 1920x1080 
DE: Plasma 5.27.7
CPU: AMD Ryzen 9 7950X (32) @ 5.881GHz 
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX 
Memory: 8480MiB / 64035MiB 

Plasma Renderer has reverted to software rendering now. Did anybody else encounter this issue? A bit of help with resolving this would be really appreciated :slightly_smiling_face:

2 Likes

I missed that completely. I will wait for the update. Thank you.

@Ancestr you are using a mixed set of mesa drivers from 3rd party repos. Get your packages in order as llvm update needs a rebuild of mesa.

1 Like

You probably are using the nonfree repo. You should be able to fix it by installing llvm15-libs.

3 Likes