** Description changed: - when using the wayland session for GNOME on Ubuntu 24.04 with nvidia I was always only getting software rendering with gnome shell. - Updating libnvidia-egl-wayland1 from the shipped 1.1.13 to 1.1.17 via the graphics drivers PPA solved the issue. - Maybe the package can be updated as part of a HWE or something. + [ Impact ] + + In Ubuntu 24.04 the NVIDIA drivers 570 or newer break the + EGL_PLATFORM_WAYLAND_EXT extension, preventing most graphical + applications from using OpenGL in a Wayland session. + + The libnvidia-egl-wayland.so.1 library implementing the + EGL_PLATFORM_WAYLAND_EXT extension has an incorrect version check which + makes it refuse to load on the newer NVIDIA drivers. + + This was fixed upstream by: https://github.com/NVIDIA/egl- + wayland/pull/106 + + [ Test Plan ] + + 1. Set up Ubuntu 24.04 on a machine with an NVIDIA GPU + 1. Install an affected NVIDIA driver: + $ sudo apt install nvidia-driver-570 + 2. Install the update with: + $ sudo apt install -t noble-proposed libnvidia-egl-wayland1 + 2. Log in to "Ubuntu on Wayland" + 3. Run in a terminal: + $ eglinfo -B -p wayland + Verify that it prints information about your NVIDIA card and driver + 4. Open Settings > System > Info > Details + 5. Verify that it detects your NVIDIA GPU. + + [ Regression Test Plan ] + + Perform the same steps as the main Test Plan, but using an older NVIDIA driver: + $ sudo apt install nvidia-driver-560 + + [ Where problems could occur ] + + The change inverts a version check, so there is a risk that the older + NVIDIA drivers the used to be working will stop working. The [ + Regression Test Plan ] verifies that this is not the case.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2117339 Title: [nvidia] Software rendering in GNOME Shell Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/egl-wayland/+bug/2117339/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
