After updating from Ubuntu 22.04 to 24.04. (on Wayland) I am unable to open Settings, Nautilus file explorer, etc. When trying to open Nautilus from the Terminal, I get the error libEGL warning: egl: failed to create dri2 screen
. I am using the Nvidia driver 535. When installing the driver 550 (or 545 as well), it is instantly possible to open Nautilus, etc., without any errors. But when I then reboot, the graphics driver isn't loading correctly, and I only get a low resolution, and I'm unable to use external screens on my notebook. Does anyone know a solution to that?
Addition: When switching from Wayland to x11 everything works.
I don't know if this is a cure-all, but I had a similar issue with Wayland after upgrading to 24.04 on Wayland, where all gnome programs wouldn't launch and gave that exact error - even down to the driver issue, the fix for me was simply:
sudo apt-get install libnvidia-egl-wayland1
After a reboot all my issues seemed to go. Again, I appreciate this may not be a cure-all.
I had the same issue and I can confirm that this:
sudo apt-get install libnvidia-egl-wayland1
worked