Snap: libEGL fatal: DRI driver not from this Mesa build

Hello, My KDE snap apps that (I think) use Qt6 won’t show up in wayland. running them from terminal print this:

~ snap run okular
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.3' vs '23.2.1-1ubuntu3.1~22.04.2')

~ snap run kalzium
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.3' vs '23.2.1-1ubuntu3.1~22.04.2')

~ snap run kcharselect
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.3' vs '23.2.1-1ubuntu3.1~22.04.2')

~ snap run filelight
libEGL fatal: DRI driver not from this Mesa build ('23.2.1-1ubuntu3.1~22.04.3' vs '23.2.1-1ubuntu3.1~22.04.2')

this one runs fine :point_down:

~ snap run okteta

By using QT_QPA_PLATFORM=xcb I can get those Qt6 apps to work.

I’m not sure this is a kde bug or not so I decided to post here.

Here are some more info about my system:

$ apt list --installed | grep nvidia

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libnvidia-cfg1-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-common-560/oracular,oracular,now 560.35.03-0ubuntu5 all [installed,automatic]
libnvidia-compute-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-compute-560/oracular,now 560.35.03-0ubuntu5 i386 [installed,automatic]
libnvidia-decode-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-decode-560/oracular,now 560.35.03-0ubuntu5 i386 [installed,automatic]
libnvidia-egl-wayland1/oracular,now 1:1.1.15-1 amd64 [installed]
libnvidia-egl-wayland1/oracular,now 1:1.1.15-1 i386 [installed,automatic]
libnvidia-encode-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-encode-560/oracular,now 560.35.03-0ubuntu5 i386 [installed,automatic]
libnvidia-extra-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-fbc1-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-fbc1-560/oracular,now 560.35.03-0ubuntu5 i386 [installed,automatic]
libnvidia-gl-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
libnvidia-gl-560/oracular,now 560.35.03-0ubuntu5 i386 [installed,automatic]
linux-modules-nvidia-560-6.11.0-13-generic/oracular-updates,oracular-security,now 6.11.0-13.14+1 amd64 [installed,automatic]
linux-modules-nvidia-560-generic/oracular-updates,oracular-security,now 6.11.0-13.14+1 amd64 [installed]
linux-objects-nvidia-560-6.11.0-13-generic/oracular-updates,oracular-security,now 6.11.0-13.14+1 amd64 [installed,automatic]
linux-signatures-nvidia-6.11.0-13-generic/oracular-updates,oracular-security,now 6.11.0-13.14+1 amd64 [installed,automatic]
nvidia-compute-utils-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
nvidia-driver-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed]
nvidia-firmware-560-560.35.03/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
nvidia-kernel-common-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
nvidia-kernel-source-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
nvidia-prime/oracular,oracular,now 0.8.17.2 all [installed,automatic]
nvidia-settings/oracular,now 510.47.03-0ubuntu4 amd64 [installed,automatic]
nvidia-utils-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]
xserver-xorg-video-nvidia-560/oracular,now 560.35.03-0ubuntu5 amd64 [installed,automatic]

~ uname -r 
6.11.0-13-generic
$ apt list --installed | grep egl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libegl-dev/oracular,now 1.7.0-1build1 amd64 [installed,automatic]
libegl-mesa0/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libegl1/oracular,now 1.7.0-1build1 amd64 [installed]
libnvidia-egl-wayland1/oracular,now 1:1.1.15-1 amd64 [installed]
libnvidia-egl-wayland1/oracular,now 1:1.1.15-1 i386 [installed,automatic]
libwayland-egl1/oracular,now 1.23.0-1 amd64 [installed,automatic]
libwayland-egl1/oracular,now 1.23.0-1 i386 [installed,automatic]

$ apt list --installed | grep mesa

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libegl-mesa0/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libgl1-mesa-dri/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libgl1-mesa-dri/oracular,now 24.2.3-1ubuntu1 i386 [installed]
libglapi-mesa/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libglapi-mesa/oracular,now 24.2.3-1ubuntu1 i386 [installed]
libglu1-mesa-dev/oracular,now 9.0.2-1.1build1 amd64 [installed]
libglu1-mesa/oracular,now 9.0.2-1.1build1 amd64 [installed,automatic]
libglu1-mesa/oracular,now 9.0.2-1.1build1 i386 [installed,automatic]
libglx-mesa0/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libglx-mesa0/oracular,now 24.2.3-1ubuntu1 i386 [installed]
libosmesa6/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
libosmesa6/oracular,now 24.2.3-1ubuntu1 i386 [installed,automatic]
mesa-common-dev/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
mesa-libgallium/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
mesa-libgallium/oracular,now 24.2.3-1ubuntu1 i386 [installed,automatic]
mesa-utils-bin/oracular,now 9.0.0-2 amd64 [installed,automatic]
mesa-utils/oracular,now 9.0.0-2 amd64 [installed]
mesa-va-drivers/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
mesa-va-drivers/oracular,now 24.2.3-1ubuntu1 i386 [installed,automatic]
mesa-vdpau-drivers/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
mesa-vdpau-drivers/oracular,now 24.2.3-1ubuntu1 i386 [installed,automatic]
mesa-vulkan-drivers/oracular,now 24.2.3-1ubuntu1 amd64 [installed,automatic]
mesa-vulkan-drivers/oracular,now 24.2.3-1ubuntu1 i386 [installed,automatic]

Hi! Hmm, based on seeing things like this: Please update to mesa 24.0.9 · Issue #7 · canonical/mesa-2404 · GitHub , it may be something that needs adjusted in how the Snap versions of those KDE applications are put together.

Those likely make sense to be reported as bugs via the KDE Bugtracking System: Get Involved/Issue Reporting - KDE Community Wiki

In the interim, those applications are all also available using the Flatpak format from Flathub: Apps by KDE | Flathub

1 Like

kf6-core22 got updated and this issue is fixed.