You are not logged in.
After upgrading the NVIDIA driver and restarting, I noticed Gnome is now running under X11 and GDM does not provide the option to run under Wayland. I have tried the following to resolve the issue:
1. nvidia driver is loaded:
$ nvidia-smi
Tue Nov 14 12:44:11 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+2. Kernel modesetting is enabled
$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/MyVolGroup-root rw cryptdevice=UUID=7eacdbc1-f9b7-41aa-9dd5-f0ebde3940d7:cryptlvm root=/dev/MyVolGroup/root nvidia-drm.modeset=1 loglevel=33. Nvidia services are enabled
$ systemctl status nvidia-resume
○ nvidia-resume.service - NVIDIA system resume actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-resume.service; enabled; preset: disabled)
Active: inactive (dead)
$ systemctl status nvidia-suspend
○ nvidia-suspend.service - NVIDIA system suspend actions
Loaded: loaded (/usr/lib/systemd/system/nvidia-suspend.service; enabled; preset: disabled)
Active: inactive (dead)4. Video memory is preserved after suspend
$ cat /etc/modprobe.d/nvidia.conf
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp5. Added udev workaround
$ ln -s /dev/null /etc/udev/rules.d/61-gdm.rulesUpon rebooting, the GDM menu only shows "Gnome" and "Gnome Classic", both of which load the X11 display server.
I'm at a loss over what else to try, other than downgrading back to 535.
Last edited by planetmarshall (2023-11-14 15:18:58)
Offline
The issue seems to be resolved, though I'm unsure exactly how. Here's what I did for the benefit of anyone else experiencing the same issue:
1. Exited to a console and started a gnome wayland session manually
$ XDG_SESSION_TYPE=wayland dbus-run-session gnome-session2. Restarted GDM
$ sudo systemctl restart gdm3. Rebooted
The 4-option GNOME menu then appears as normal and a GNOME wayland session can be started.
Offline
Hmm... spoke too soon. System suspended then when resumed only the X11 options were available again.
I tried the following:
1. Removed the udev symlink workaround
2. Restarted GDM. Wayland session options still not present
3. Re-added the symlink workaround
4. Restarted GDM. Wayland session options still not present
5. Rebooted
6. Wayland session options now present, however selecting them just dumps me back at the GDM login screen, and leaves just the X11 options.
7. Logged in using an X11 option and uploaded the journal log
Journal log here - https://paste.ubuntu.com/p/4D6Zbmd5np/
There are a few errors when attempting to start the wayland session but nothing particularly descriptive.
Last edited by planetmarshall (2023-11-14 16:19:52)
Offline