Issues with latest mesa updates

Hello!

I’ve been using the CachyOS repos for a while now and haven’t had many problems. In fact, I am very happy with them. But since yesterday I have a problem…

When starting a normal update I get shown some mesa packages from the cachy repos:

> yay -Syyu
[sudo] password for user1:
:: Synchronizing package databases...
 cachyos                 473,1 KiB  1391 KiB/s 00:00 [----------------------------] 100%
 core                    121,6 KiB   370 KiB/s 00:00 [----------------------------] 100%
 extra                     7,9 MiB  4,67 MiB/s 00:02 [----------------------------] 100%
 multilib                138,9 KiB   217 KiB/s 00:01 [----------------------------] 100%
 cachyos-v3              163,5 KiB   556 KiB/s 00:00 [----------------------------] 100%
 cachyos-core-v3          57,7 KiB   196 KiB/s 00:00 [----------------------------] 100%
 cachyos-extra-v3          2,1 MiB  3,68 MiB/s 00:01 [----------------------------] 100%
:: Searching AUR for updates...
:: Searching databases for updates...
:: 6 packages to upgrade/install.
6  cachyos/lib32-mesa          1:24.1.2-2 -> 1:24.1.3-2
5  cachyos/lib32-mesa-vdpau    1:24.1.2-2 -> 1:24.1.3-2
4  cachyos/libva-mesa-driver   1:24.1.2-1 -> 1:24.1.3-2
3  cachyos/mesa                1:24.1.2-1 -> 1:24.1.3-2
2  cachyos/mesa-vdpau          1:24.1.2-1 -> 1:24.1.3-2
1  cachyos/vulkan-mesa-layers  1:24.1.2-1 -> 1:24.1.3-2
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==>

When I install these updates and then try to launch any GPU-accelerated software like alacritty, I get these messages:

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

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

Error: Error { raw_code: Some(12289), raw_os_message: None, kind: InitializationFailed }

This also causes gnome to crash horribly on startup with the same messages in the journal.

It looks like some LLVM dependencies are missing. Or the system environment is no longer correct.

At the moment I am thinking about disabling the cachy repos to get my system working again…

Any idea how to fix this?

1 Like

I disabled all CachyOS repos. Updated 2-3 times.
It pulled a lot of the “extra” repo, including llvm 18.
Then reenabled the CachyOS repos and updated.
Everything wokrs now again.

1 Like

I think you arch mirror was outdated, which resulted into that.

Oh, I see the issue. You have added the cachyos repo wrongly. It need to be above the archlinux repository.

Right. The repos should be by order of priority in /etc/pacman.conf.

You should have:

  1. the v3 repos first
  2. then the normal cachyos repo
  3. then the arch repos

Okay! Thank you guys that is very helpful :smile:

I added them a while back using this document:

But I didn’t know what the correct priorities are. Now I’ll adapt it.

1 Like