No wayland option despite fresh gnome install (Debian 12, testing, nvidia)
from Smorty@lemmy.blahaj.zone to linux@lemmy.ml on 27 Oct 02:22
https://lemmy.blahaj.zone/post/17933290

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`

bash 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 | ±--------------------------------------------------------------------------------------+

#linux

threaded - newest

rustydomino@lemmy.world on 27 Oct 03:51 next collapse

I had the same problem - see this thread for solution (you have to scoll down to the middle)

forums.debian.net/viewtopic.php?t=157700

in short, delete or rename this file: /usr/lib/udev/rules.d/61-gdm.rules

1984@lemmy.today on 27 Oct 07:04 next collapse

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…

Smorty@lemmy.blahaj.zone on 27 Oct 15:14 collapse

Unfortunately that did not fix it for me. I have now renamed the file to […].backup but it still only displays X11 options.

rustydomino@lemmy.world on 27 Oct 15:24 next collapse

RIP 😭

[deleted] on 27 Oct 15:53 collapse

.

TriangleSpecialist@lemmy.world on 27 Oct 16:03 next collapse

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:

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.

Smorty@lemmy.blahaj.zone on 27 Oct 21:10 collapse

Just tried it, and sadly that didn’t change anything after a reboot.

rotopenguin@infosec.pub on 27 Oct 18:08 collapse

From what I can tell, Nvidia drivers only started to git gud at doing Wayland around version 555.

Smorty@lemmy.blahaj.zone on 27 Oct 21:03 collapse

Fair, but they supported it a bit before that too I think. Like, they allowed it to show up in the login.