This is something I have been stuck on for a while.
I want to use Wayland for that variable refresh rate and some better handeling of screen recordings.
I have tried time and time again to get a wayland session running with the proprietary nvidia driver, but have not gotten there yet.
Only the X11 options are listed on the login screen. When using the fallback FOSS nvidia driver however, all the correct X11 and Wayland options show up (Including Gnome and KDE, both in X11 and Wayland).
Wasn’t this fixed, like, about a year ago? I have the “latest” proprietary nvidia driver, but the current debain one is still pretty old (535.183.06).
output from nvidia-smi
Sun Oct 27 03:21:06 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.06 Driver Version: 535.183.06 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1060 6GB Off | 00000000:01:00.0 On | N/A |
| 25% 43C P0 25W / 120W | 476MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 6923 G /usr/lib/xorg/Xorg 143MiB |
| 0 N/A N/A 7045 C+G ...libexec/gnome-remote-desktop-daemon 63MiB |
| 0 N/A N/A 7096 G /usr/bin/gnome-shell 81MiB |
| 0 N/A N/A 7798 G firefox-esr 167MiB |
| 0 N/A N/A 7850 G /usr/lib/huiontablet/huiontablet 13MiB |
+---------------------------------------------------------------------------------------+
I had the same problem - see this thread for solution (you have to scoll down to the middle)
https://forums.debian.net/viewtopic.php?t=157700
in short, delete or rename this file: /usr/lib/udev/rules.d/61-gdm.rules
You can do that but Nvidia probably won’t be stable on your system.
Debian is also not the right choice for having a modern system…
Unfortunately that did not fix it for me. I have now renamed the file to […].backup but it still only displays X11 options.
RIP 😭
Haven’t used Debian in a while now, but back when I did, Wayland never did appear in the sessions dropdown on a fresh install with an nvidia card and nvidia proprietary drivers. Doing what is explained in the following link always worked for me though:
https://wiki.debian.org/NvidiaGraphicsDrivers#Wayland
Apologies if you have already tried this, but as I said, I’ve luckily not had to do more to get it to work, so hopefully it’s the same for you.
From what I can tell, Nvidia drivers only started to git gud at doing Wayland around version 555.