Comment 23 for bug 1935082

Revision history for this message
Alberto Milone (albertomilone) wrote :

> After installing libnvidia-egl-wayland1 and restarting the Wayland compositor, how do you verify that this package is being used? Does this work with any Wayland compositor in the archive or only specific ones?

The main scenario that we support is Gnome shell, with its default compositor (Mutter), which comes by default with Ubuntu 21.10.

As for verifying that libnvidia-egl-wayland1 is in use, you probably can't, at least directly. You will notice, though, if 3D applications run unaccelerated.

> How do you enable KMS? How do you verify that KMS has been enabled?

If you install the driver using the ubuntu-drivers tool (or if you install Ubuntu 21.10, and select the proprietary drivers) Wayland support will be enabled by default, as long as your GPU is supported by the NVIDIA 470 driver:

https://help.ubuntu.com/community/NvidiaDriversInstallation

> Can you expand upon the 'not Wayland native 3D application'? Is the idea to test the X11 compatibility layer? Or is this also not an X11 application? What application will you use for testing this, is this in the archive already or is it packaged elsewhere?

3D acceleration on Wayland already works on native applications (using the GTK3, GTK4, QT5 toolkits, etc). Applications which use their own toolkit, such as Firefox, may also feature Wayland support. GTK2 apps, apps that rely on Wine, and older QT apps can be assumed to run on X11 (XWayland) when Gnome Shell is running on Wayland.

To check that you are running a Wayland compositor:

$ echo $XDG_SESSION_TYPE

You can also get a list of the apps which run on X11 on your system using the following command:

$ xlsclients

> Can you expand upon the 'single GPU' bit? What happens on systems with eg two or more GPUs?

If your system has an integrated (AMD or Intel) GPU, and an NVIDIA discrete GPU, the Gnome session will run off the integrated GPU, and you will have to tell the shell to use the discrete GPU for selected applications.

Thanks