this post was submitted on 27 Oct 2024
27 points (96.6% liked)

Linux

48143 readers
771 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 2 weeks ago (2 children)

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

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago)

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...

[–] [email protected] 2 points 2 weeks ago (2 children)

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

[–] [email protected] 2 points 2 weeks ago
[–] [email protected] 4 points 2 weeks ago (1 children)

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

[–] [email protected] 1 points 2 weeks ago

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

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

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.

[–] [email protected] 1 points 2 weeks ago

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