You are not logged in.
I am trying to setup Wayland on my Arch install.
I have an HP laptop with an NVIDIA card:
$ lspci | grep "VGA"
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev a1)I have already added nvidia_drm.modeset=1 kernel parameter, but GBM backend is still not used:
$ sudo journalctl -b 0 --grep "renderer for"
Oct 08 09:59:18 riccardo-arch dbus-daemon[620]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.229' (uid=0 pid=13734 comm="sudo journalctl -b 0 --grep renderer for")
Oct 08 09:59:23 riccardo-arch sudo[13734]: riccardo : TTY=pts/5 ; PWD=/home/riccardo ; USER=root ; COMMAND=/usr/bin/journalctl -b 0 --grep renderer forSo I had tried to force it by adding the two environment variables indicated by the Wiki:
$ cat /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidiabut when I had rebooted by PC, GDM will not show up (see here for journalctl logs).
How can I use the GBM backend (and thus switch to Wayland) with proprietary NVIDA drivers?
I am currently using the latest kernel & NVIDIA drivers (515.76-4 for NVIDIA and 5.19.13.arch1-1 for the kernel).
Offline