Gnome-Wayland Desktop Shell Support
To enable experimental Gnome-Wayland desktop shell support:
- Install
gdm3,mutter, and their dependencies:sudo apt update sudo apt install -y gdm3 mutter adwaita-icon-theme-full sudo apt install -y --reinstall libdrm2 ubuntu-session - Repair the broken
drm-nvdcsoft link and rename the Ubuntu session file:sudo ln -sf /usr/lib/libdrm.so.2 /usr/lib/aarch64- linux-gnu/libdrm.so.2 sudo mv /usr/share/wayland-sessions/ubuntu-wayland.desktop /usr/share/wayland-sessions/ubuntu.desktop - Add the
gdmdaemon to the video group:sudo usermod -a -G video gdm - Configure
gdmto use Wayland by setting the following flag in the[daemon]section of/etc/gdm3/custom.conf:[daemon] WaylandEnable=true - Load the required
modules:
sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia.ko rm_firmware_active="all" sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia-modeset.ko sudo insmod /lib/modules/$(uname -r)/extra/opensrc-disp/nvidia-drm.ko modeset=1 - Start
gdm:sudo systemctl start gdm3.service - Log in and verify the Wayland backend is
running:
ps -e | grep wayland - Reboot and repeat step 7 to verify the Wayland backend auto-started successfully.