Wayland with nvidia proprietary (GNOME)

Hello,

I’m not getting the option for Wayland since installing an NVIDIA graphics card and switching to NVIDIA’s proprietary driver. X11 works fine, but there is simply no option in GDM for Wayland.

I did two things to enable this, but something is still missing.

1 - Added nvidia_drm.modeset=1 to the kernel command line. I use ReFind - and so checked cat /proc/cmdline after booting - the parameter is there.

2 - Added NVIDIA modules to /etc/mkinitcpio.conf like this:

MODULES=("crc32c-intel" nvidia nvidia_modeset nvidia_uvm nvidia_drm)

and ran sudo mkinitcpio -P which did rebuild things and I saw it add various nvidia* modules and firmware files.

Still, no option for Wayland.

What am I missing?

Which one?

mhwd -l -li

Im not sure about the rest … but this is off … remove the quotes around the first:

MODULES=(crc32c-intel nvidia nvidia_modeset nvidia_uvm nvidia_drm)
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
          video-nvidia            2023.03.23               false            PCI


Warning: No installed USB configs!
> 0000:01:00.0 (0300:10de:2704) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2023.03.23               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0380:8086:4680) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI

The quotes were present in the original (installed from repo) version of this file, I only added the nvidia stuff.

Also, installed nvidia related packages:

pamac list -i | grep nvidia                                                                                                     ✔ 
lib32-nvidia-utils                 535.54.03-1                   multilib      216.4 MB
linux63-nvidia                     535.54.03-9                   extra         55.7 MB
mhwd-nvidia                        535.54.03-1                   extra         1.7 kB
mhwd-nvidia-390xx                  390.157-7                     extra         1.9 kB
mhwd-nvidia-470xx                  470.199.02-2                  extra         1.8 kB
nvidia-settings                    535.54.03-1                   extra         1.6 MB
nvidia-utils                       535.54.03-1                   extra         711.9 MB

Weird. But ok …

As to the driver I was wondering because it must be newer (500+?) … but you have latest … so theres that.

There is a wealth of information reading NVIDIA - ArchWiki

Specific information for Gnome GDM and Wayland see GDM - ArchWiki

1 Like