You are not logged in.

#1 2022-05-11 10:07:54

bltr
Member
Registered: 2021-12-29
Posts: 4

[SOLVED] GDM doesn't allow me to log into wayland session

I use GNOME and I want to log into wayland session, but wayland requires KMS and with nvidia it's should be manualy enabled. "nvidia-drm.modeset=1" kernel parameter is set, but it seems like KMS is not enabled. GDM doesn't show me the option to log into wayland session. I think that problem is with KMS because it "allows for instant console (tty) switching" and for me it is not instant at all.

Last edited by bltr (2022-05-11 11:18:58)

Offline

#2 2022-05-11 10:34:14

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,324

Re: [SOLVED] GDM doesn't allow me to log into wayland session

That's not KMS by DRM KMS, check

cat /proc/cmdline; lsmod | grep nvidia

You'll also need some nvidia 4xx.xx driver - the 390xx series won't support wayland.

Online

#3 2022-05-11 10:44:51

bltr
Member
Registered: 2021-12-29
Posts: 4

Re: [SOLVED] GDM doesn't allow me to log into wayland session

$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=2deeb8f3-810b-49dc-bc18-053722c41ba7 rw loglevel=3 quiet nvidia-drm.modeset=1
$ lsmod | grep nvidia
nvidia_drm             73728  11
nvidia_uvm           2609152  0
nvidia_modeset       1163264  12 nvidia_drm
nvidia              39161856  543 nvidia_uvm,nvidia_modeset
i2c_nvidia_gpu         16384  0

My Nvidia driver is "nvidia 510.68.02-1"

Offline

#4 2022-05-11 11:00:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: [SOLVED] GDM doesn't allow me to log into wayland session

GDM has a udev rule that doesn't really work as designed and will falsely remove the Wayland option even if KMS is enabled. Check https://wiki.archlinux.org/title/GDM#Wa … DIA_driver for how you can disable the rule to offer you Wayland anyway.

Offline

#5 2022-05-11 11:08:41

bltr
Member
Registered: 2021-12-29
Posts: 4

Re: [SOLVED] GDM doesn't allow me to log into wayland session

V1del wrote:

GDM has a udev rule that doesn't really work as designed and will falsely remove the Wayland option even if KMS is enabled. Check https://wiki.archlinux.org/title/GDM#Wa … DIA_driver for how you can disable the rule to offer you Wayland anyway.

That worked, thank you.

Offline

#6 2022-05-11 11:13:04

bltr
Member
Registered: 2021-12-29
Posts: 4

Re: [SOLVED] GDM doesn't allow me to log into wayland session

Btw, should I change the title of the topic, to what the actual issue was?

Offline

#7 2022-05-11 11:13:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: [SOLVED] GDM doesn't allow me to log into wayland session

I'd say up to you, would probably help for people that look for more specific info

Offline

Board footer

Powered by FluxBB