Nvidia DRM + wayland gnome

I m trying to get gnome with wayland to work, but have no option to chose wayland in GDM ?

Inside gnome session:

echo $XDG_SESSION_TYPE
x11

Wayland is not disabled in gdm conf:

cat /etc/gdm/custom.conf 
# GDM configuration storage

[daemon]
AutomaticLoginEnable=False
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
....

I understood Nvidia card (rtx3070) will need DRM support, thus I set the kernel option on boot but this does not look good :wink:
running on Linux and nvidia LTS packages

journalctl | grep drm
okt 01 18:15:58 louqe /usr/lib/gdm-x-session[1375]: (II) xfree86: Adding drm device (/dev/dri/card0)
okt 01 18:15:58 louqe /usr/lib/gdm-x-session[1375]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
okt 01 18:16:00 louqe kernel: [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership

Is this a known issue? Any idea’s on how to overcome this or just working combinations to start from?

Thank you !

My kernel info just for completness:

uname -a
Linux louqe 6.1.55-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 16:57:15 +0000 x86_64 GNU/Linux

extra/nvidia-lts 1:535.113.01-2 (43.2 MiB 43.3 MiB) (Installed)

You will need to enable KMS. If you are using dracut the correct method is described here:

https://wiki.archlinux.org/title/Dracut#Early_kernel_module_loading

Early kernel module loading

Dracut enables early loading (at the initramfs stage, via modprobe) through it’s --force_drivers command or force_drivers+="" config entry line. For example:

/etc/dracut.conf.d/myflags.conf
# ... 
force_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm " 
# ...

Afterward, rebuild the initramfs.

sudo dracut-rebuild

If it’s still not working, check this note here:

https://wiki.archlinux.org/title/GDM#Wayland_and_the_proprietary_NVIDIA_driver

Wayland and the proprietary NVIDIA driver

To use Wayland in GDM with the NVIDIA driver, you must first enable NVIDIA#DRM kernel mode setting.

Note: If the Wayland option is not displayed in GDM, even after enabling KMS and configuring Wayland, then you most likely have NVreg_PreserveVideoMemoryAllocations and NVIDIA systemd services disabled. Before trying the method below to force Wayland, follow NVIDIA/Tips and tricks#Preserve video memory after suspend first.

If you work through those steps and it’s still not working, the Hail Mary thing to try is to symlink GDM’s chipset-dependent udev rules to /dev/null.

sudo ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

I hope that helps, welcome to the community @louqe. :slightly_smiling_face:

1 Like

Thank you for the reply, I missed the importance of this part indeed. :blush:
However after executing all these steps still have the same nvidia-drm modeset error in the journal logs.
Double checked if my grub install used the new initramfs file - for what I could figure out - ok. (might have to look deeper in this part)

the ‘hail mary’ part lets me select wayland mode in gdm, it does not login a session though, guess drm is still not funtional.

I’m a bit stunned how difficult this is, is my scenario so uncommon?
Does nobody use gnome + wayland => steam ? (that would stun me though :crazy_face:)

What is the kernel option you have set?

I am using Wayland on Nvidia for long time without issue from standard EOS install. But I’m not using Gnome but rather KDE. I have no issues.

nvidia-drm.modeset=1

search --no-floppy --fs-uuid --set=root 1e9c91f1-0ad8-4cfc-9032-38ed91faa053
echo	'Loading Linux linux-lts ...'
linux	/@/boot/vmlinuz-linux-lts root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@  nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
echo	'Loading initial ramdisk ...'
initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux-lts.img

@ricklinux thank you for the confirmation :slightly_smiling_face:
Can you tell us what kernel and nvidia packages you are running on?

Just for reference, a short comprehensive list of my current relevant packages:
core/linux-lts 6.1.55-1 (116.1 MiB 116.2 MiB) (Installed)
extra/nvidia-lts 1:535.113.01-2 (43.2 MiB 43.3 MiB) (Installed)
extra/nvidia-settings 535.113.01-1 (766.2 KiB 1.6 MiB) (Installed)
extra/nvidia-dkms 535.113.01-2 (42.9 MiB 70.0 MiB)
extra/nvidia 535.113.01-2 (43.7 MiB 43.7 MiB)

(the 2 last are not installed)

I have the current kernel installed on KDE only running on Wayland with Nvidia GTX 1060. As i said the install is EOS with Nvidia.

nvidia-dkms
nvidia-hook
nvidia-settings
nvidia-utils

also:
nvidia-inst
nvidia-installer-common
libva-nvidia-driver
egl-wayland

Edit: also have all the required Wayland packages installed from EOS install and then adding plasma-wayland-session

Edit: I am using grub so the only thing in the grub command line is this.

GRUB_CMDLINE_LINUX_DEFAULT='nowatchdog nvme_load=YES nvidia-drm.modeset=1 loglevel=3'

Hi, you provided very little info about your system. Do you also have integrated graphics? Can you post your journa, inxil and Xorg log if any.

This error simply means that some other module/device is drm master already. iGPU could have claimed it or it could have been some other module. I remember i2c-nvidia-gpu causing issues like this in the past.

Try blacklisting the i2c-nvidia-gpu module, add this to your kernel command line

module_blacklist=i2c-nvidia-gpu

Also, why are you using the LTS kernel, have you tried to use current arch kernel?

@ricklinux thank you for the clarification, for someone that has his system installed for 3 years and added some custom packages along the way, ‘EOS defaults’ is not so clear :stuck_out_tongue_winking_eye:

@jake99 You are correct, however I wanted to see if I could fix it myself with some minor input.

I will first try to reset my kernel stuff to the EOS defaults, I consider this LTS install to be the issue.
If drm still does not work after installing the default kernel, I’ll be happy to post you all the logs :blush:

I don’t have the i2c-nvidia module:

louqe ~]$ lsmod | grep nvidia
nvidia_drm             77824  7
nvidia_uvm           3268608  2
nvidia_modeset       1519616  11 nvidia_drm
video                  65536  1 nvidia_modeset
nvidia              61898752  526 nvidia_uvm,nvidia_modeset

Desktop PC i7-10700k + desktop rtx3070

1 Like

Nice, I like your initiative :slight_smile:

i2c stuff is loaded dynamically. It should be in your kernel tree anyway, whats the output of

modinfo i2c-nvidia-gpu

Try blacklisting, reboot and report back if there are any changes.

Somethings are different for sure as now the install is systemd boot as default unless you select grub. There is also dracut which i don’t have much knowledge. I can tell you though i run btrfs with btrs-assistant, snapper-support and btrfsmaintenace on KDE both on an Intel system with nvidia and also on a Ryzen system with AMD and both using Wayland since this year.

Desktop PC Intel i7 8086K 50th anniversary processor KDE Nvidia GTX 1060

[ricklinux@asus-tuff ~]$ lsmod | grep nvidia
nvidia_uvm           3477504  0
nvidia_drm             94208  46
nvidia_modeset       1556480  27 nvidia_drm
video                  77824  3 asus_wmi,i915,nvidia_modeset
nvidia              62734336  2451 nvidia_uvm,nvidia_modeset
[ricklinux@asus-tuff ~]$ 

@jake99

Now I’m totally lost to what the current issue is, maybe I forgot something basic, maybe I totally messed up now. I did the following and the log output is barely changed from where I started:

  • back to the regular kernel
  • installed and configured dracut
  • fix grub config
  • configured nvidia kms and suspend

Thank you for having another look!
If you want/need any extra info, feel free to ask :slightly_smiling_face:

Still using grub, but grub config is a rather good state now, compared to before :wink:

	echo	'Loading Linux linux ...'
	linux	/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@  nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
	echo	'Loading initial ramdisk ...'
	initrd	/@/boot/intel-ucode.img /@/boot/initramfs-linux.img

Kernel

louqe ~]$ uname -a
Linux louqe 6.5.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000 x86_64 GNU/Linux

Modules

louqe ~]$ lsmod | grep 'nvidia\|drm'
nvidia_drm             94208  7
nvidia_uvm           3477504  2
nvidia_modeset       1556480  11 nvidia_drm
video                  77824  1 nvidia_modeset
nvidia              62734336  532 nvidia_uvm,nvidia_modeset

Xorg log

louqe ~]$ cat /var/log/Xorg.0.log
[    16.093] (--) Log file renamed from "/var/log/Xorg.pid-968.log" to "/var/log/Xorg.0.log"
[    16.093] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    16.093] Current Operating System: Linux louqe 6.5.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000 x86_64
[    16.093] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@ nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
[    16.093]  
[    16.093] Current version of pixman: 0.42.2
[    16.093] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    16.093] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.093] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct  3 22:29:05 2023
[    16.093] (==) Using config file: "/etc/X11/xorg.conf"
[    16.093] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.093] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.093] (==) ServerLayout "Layout0"
[    16.093] (**) |-->Screen "Screen0" (0)
[    16.093] (**) |   |-->Monitor "Monitor0"
[    16.093] (**) |   |-->Device "Device0"
[    16.093] (**) |-->Input Device "Keyboard0"
[    16.093] (**) |-->Input Device "Mouse0"
[    16.093] (**) Option "Xinerama" "0"
[    16.094] (==) Automatically adding devices
[    16.094] (==) Automatically enabling devices
[    16.094] (==) Automatically adding GPU devices
[    16.094] (==) Automatically binding GPU devices
[    16.094] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    16.094] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    16.094] 	Entry deleted from font path.
[    16.094] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    16.094] 	Entry deleted from font path.
[    16.094] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    16.094] 	Entry deleted from font path.
[    16.094] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    16.094] (==) ModulePath set to "/usr/lib/xorg/modules"
[    16.094] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    16.094] (WW) Disabling Keyboard0
[    16.094] (WW) Disabling Mouse0
[    16.094] (II) Module ABI versions:
[    16.094] 	X.Org ANSI C Emulation: 0.4
[    16.094] 	X.Org Video Driver: 25.2
[    16.094] 	X.Org XInput driver : 24.4
[    16.094] 	X.Org Server Extension : 10.0
[    16.094] (++) using VT number 1

[    16.095] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[    16.096] (--) PCI:*(1@0:0:0) 10de:2484:1043:87c3 rev 161, Mem @ 0x97000000/16777216, 0x4030000000/268435456, 0x4040000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/131072
[    16.096] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    16.096] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    16.096] (II) LoadModule: "dbe"
[    16.096] (II) Module "dbe" already built-in
[    16.096] (II) LoadModule: "extmod"
[    16.096] (II) Module "extmod" already built-in
[    16.096] (II) LoadModule: "glx"
[    16.096] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    16.097] (II) Module glx: vendor="X.Org Foundation"
[    16.097] 	compiled for 1.21.1.8, module version = 1.0.0
[    16.097] 	ABI class: X.Org Server Extension, version 10.0
[    16.097] (II) LoadModule: "nvidia"
[    16.097] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    16.097] (II) Module nvidia: vendor="NVIDIA Corporation"
[    16.097] 	compiled for 1.6.99.901, module version = 1.0.0
[    16.097] 	Module class: X.Org Video Driver
[    16.097] (II) NVIDIA dlloader X Driver  535.113.01  Tue Sep 12 19:49:52 UTC 2023
[    16.097] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    16.097] (II) Loading sub module "fb"
[    16.097] (II) LoadModule: "fb"
[    16.097] (II) Module "fb" already built-in
[    16.097] (II) Loading sub module "wfb"
[    16.097] (II) LoadModule: "wfb"
[    16.097] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    16.097] (II) Module wfb: vendor="X.Org Foundation"
[    16.097] 	compiled for 1.21.1.8, module version = 1.0.0
[    16.097] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    16.111] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[    16.111] (EE) NVIDIA:     system's kernel log for additional error messages and
[    16.112] (EE) NVIDIA:     consult the NVIDIA README for details.
[    16.112] (EE) No devices detected.
[    16.112] (EE) 
Fatal server error:
[    16.112] (EE) no screens found(EE) 
[    16.112] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    16.112] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    16.112] (EE) 
[    16.112] (EE) Server terminated with error (1). Closing log file.

Latest journal

louqe ~]$ journalctl -b | grep 'nvidia\|drm'
okt 07 19:35:06 louqe kernel: Command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@ nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
okt 07 19:35:06 louqe kernel: The simpledrm driver will not be probed
okt 07 19:35:06 louqe kernel: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@ nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
okt 07 19:35:06 louqe kernel: ACPI: bus type drm_connector registered
okt 07 19:35:06 louqe dracut-cmdline[251]: Using kernel command line parameters:  rd.driver.pre=btrfs rd.driver.pre=nvidia rd.driver.pre=nvidia_modeset rd.driver.pre=nvidia_uvm rd.driver.pre=nvidia_drm   BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@ nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
okt 07 19:35:06 louqe kernel: nvidia: loading out-of-tree module taints kernel.
okt 07 19:35:06 louqe kernel: nvidia: module license 'NVIDIA' taints kernel.
okt 07 19:35:06 louqe kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
okt 07 19:35:06 louqe kernel: nvidia: module license taints kernel.
okt 07 19:35:06 louqe kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 238
okt 07 19:35:06 louqe kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
okt 07 19:35:06 louqe kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  535.113.01  Tue Sep 12 19:45:42 UTC 2023
okt 07 19:35:06 louqe kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
okt 07 19:35:06 louqe systemd-modules-load[220]: Inserted module 'nvidia_uvm'
okt 07 19:35:06 louqe kernel: nvidia-uvm: Loaded the UVM driver, major device number 236.
okt 07 19:35:06 louqe kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
okt 07 19:35:07 louqe kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
okt 07 19:35:08 louqe systemd[1]: Starting Load Kernel Module drm...
okt 07 19:35:08 louqe systemd[1]: modprobe@drm.service: Deactivated successfully.
okt 07 19:35:08 louqe systemd[1]: Finished Load Kernel Module drm.
okt 07 19:35:09 louqe (udev-worker)[563]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
okt 07 19:35:09 louqe (udev-worker)[563]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1.
okt 07 19:35:12 louqe gnome-shell[967]: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-linux root=UUID=1e9c91f1-0ad8-4cfc-9032-38ed91faa053 rw rootflags=subvol=@ nvidia-drm.modeset=1 quiet loglevel=3 nowatchdog
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) xfree86: Adding drm device (/dev/dri/card0)
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) LoadModule: "nvidia"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Module nvidia: vendor="NVIDIA Corporation"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Applying OutputClass "nvidia" options to /dev/dri/card0
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-5.8"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (**) NVIDIA(0): Option "MetaModes" "DP-4.8: nvidia-auto-select +0+0, DP-2: 2560x1440 +3440+0"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Loading sub module "glxserver_nvidia"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) LoadModule: "glxserver_nvidia"
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
okt 07 19:35:21 louqe /usr/lib/gdm-x-session[1449]: (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
okt 07 19:35:22 louqe /usr/lib/gdm-x-session[1449]: (II) NVIDIA(0):     "DP-4.8:nvidia-auto-select+0+0,DP-2:2560x1440+3440+0"
okt 07 19:35:22 louqe /usr/lib/gdm-x-session[1449]: (WW) NVIDIA:     '/var/run/nvidia-xdriver-f0ba8981' Permission denied
okt 07 19:35:22 louqe /usr/lib/gdm-x-session[1449]: (II) NVIDIA(0): Setting mode "DP-4.8:nvidia-auto-select+0+0,DP-2:2560x1440+3440+0"
okt 07 19:35:23 louqe /usr/lib/gdm-x-session[1449]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
okt 07 19:35:24 louqe kernel: [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership

Xorg.conf

louqe ~]$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 535.113.01

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 495.46

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL U3415W"
    HorizSync       30.0 - 89.0
    VertRefresh     48.0 - 85.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce RTX 3070"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-5.8"
    Option         "metamodes" "DP-4.8: nvidia-auto-select +0+0, DP-2: 2560x1440 +3440+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

dracut modules

louqe ~]$ dracut --list-modules  | grep -i 'nvidia\|drm'
dracut: Executing: /usr/bin/dracut --list-modules
drm

Initramfs output

louqe ~]$ sudo lsinitrd /boot/initramfs-linux.img | grep 'nvidia\|drm'
-rw-r--r--   1 root     root           60 Oct  7 17:52 etc/modprobe.d/disable-i2c-nvidia-gpu.conf
-rw-r--r--   1 root     root           30 Oct  1 17:57 etc/modprobe.d/nvidia-drm.conf
-rw-r--r--   1 root     root          125 Oct  7 18:59 etc/modprobe.d/nvidia-power-managment.conf
drwxr-xr-x   1 root     root            0 Oct  7 19:17 usr/lib/firmware/nvidia
drwxr-xr-x   1 root     root            0 Oct  7 19:17 usr/lib/firmware/nvidia/535.113.01
-rw-r--r--   1 root     root     38061600 Sep 25 00:23 usr/lib/firmware/nvidia/535.113.01/gsp_ga10x.bin
-rw-r--r--   1 root     root     23750944 Sep 25 00:23 usr/lib/firmware/nvidia/535.113.01/gsp_tu10x.bin
-rw-r--r--   1 root     root           18 Sep 25 00:23 usr/lib/modprobe.d/nvidia-utils.conf
-rw-r--r--   1 root     root         8073 Sep 24 00:55 usr/lib/modules/6.5.5-arch1-1/kernel/drivers/hid/hid-nvidia-shield.ko.zst
-rw-r--r--   1 root     root         2275 Sep 24 00:55 usr/lib/modules/6.5.5-arch1-1/kernel/drivers/usb/typec/altmodes/typec_nvidia.ko.zst
-rw-r--r--   1 root     root        43523 Oct  7 16:53 usr/lib/modules/6.5.5-arch1-1/updates/dkms/nvidia-drm.ko.zst
-rw-r--r--   1 root     root     45715498 Oct  7 16:53 usr/lib/modules/6.5.5-arch1-1/updates/dkms/nvidia.ko.zst
-rw-r--r--   1 root     root       652817 Oct  7 16:53 usr/lib/modules/6.5.5-arch1-1/updates/dkms/nvidia-modeset.ko.zst
-rw-r--r--   1 root     root       852108 Oct  7 16:53 usr/lib/modules/6.5.5-arch1-1/updates/dkms/nvidia-uvm.ko.zst
-rw-r--r--   1 root     root           11 Sep 25 00:23 usr/lib/modules-load.d/nvidia-utils.conf

Config files and suspend/hibernate status for nvidia

louqe ~]$ cat /etc/modprobe.d/disable-i2c-nvidia-gpu.conf
#blacklist i2c_nvidia_gpu 
options i2c-nvidia-gpu modeset=0

louqe ~]$ cat /etc/modprobe.d/nvidia-drm.conf 
options nvidia_drm modeset=1

louqe ~]$ cat /etc/modprobe.d/nvidia-power-managment.conf 
#nvidia suspend and hibernate support
options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp

louqe ~]$ 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)

louqe ~]$ systemctl status nvidia-hibernate
○ nvidia-hibernate.service - NVIDIA system hibernate actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
     Active: inactive (dead)

Installed packages

louqe ~]$ pacman -Q linux
linux 6.5.5.arch1-1
louqe ~]$ pacman -Ss nvidia | grep installed
endeavouros/nvidia-hook 1.3-1 [installed]
endeavouros/nvidia-inst 23-8 [installed]
endeavouros/nvidia-installer-common 23-7 [installed]
extra/egl-wayland 2:1.1.12-1 [installed]
extra/ffnvcodec-headers 12.0.16.0-1 [installed]
extra/libvdpau 1.5-2 [installed]
extra/libxnvctrl 535.113.01-1 [installed]
extra/nvidia-dkms 535.113.01-2 [installed]
extra/nvidia-settings 535.113.01-1 [installed]
extra/nvidia-utils 535.113.01-2 [installed]
multilib/lib32-nvidia-utils 535.113.01-1 [installed]

louqe ~]$ pacman -Ss dracut | grep installed
endeavouros/eos-dracut 1.2-1 [installed]
extra/dracut 059-3 [installed]


@louqe
On Gnome you log into Wayland from the gear icon below the login box to the right, Normally Gnome is Wayland default.

@ricklinux Thank you Rick
But I already got this far :wink:
By setting the ‘/etc/udev/rules.d/61-gdm.rules’ file you basically overwrite the gdm/xorg checks and get all 4 inlog options.

gnome (=wayland) → does not work and disappears when i remove the flag above.
gnome classic (idem)
gnome classic on xorg
gnome on xorg

Also if you take a look at my logs I really think something is broken on the kernel/initramfs/driver level.
Unless you tell me that these errors are expected, but I sincerely doubt it :stuck_out_tongue_winking_eye:

But if you have it working on your system, would be nice if you could spare a few minutes of your time and execute the same log commands and post or compare the output, so we can figure out what the issue is?

thank you

Sorry I’m not even using Gnome. I use KDE with Wayland and i also use grub.

Edit: There should be someone using Gnome that understands what you are doing. :wink:

@ricklinux judging on the nvidia error I’m not sure the issue is with gnome in my case, but I could be wrong …