You are not logged in.

#1 2024-08-09 09:43:06

Monapp
Member
Registered: 2024-04-28
Posts: 13

[SOLVED] Can't make Wayland work with NVIDIA

Hello,

I just did a fresh install of arch on my PC. I had arch before and Wayland worked fine.

I have two GPUs, the integrated (AMD Radeon) and discrete (NVIDIA GeForce RTX 3070 Mobile).
I tried to follow the Wayland and the proprietary NVIDIA driver wiki help without success.
I activated both nvidia_drm.modeset and nvidia_drm.fbdev (sys/module/nvidia_drm/parameters/modeset and sys/module/nvidia_drm/parameters/fbdev are both at Y).

Here's my mkinitcpio.conf file:

MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base udev plymouth autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck)

The wayland config doesn't seems right, as I'm using Mutter (GNOME 46.4) but journalctl -b 0 --grep "renderer for" send back -- No entries -- hmm

I tried to add

GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

to my /etc/environment without any change in it...

I also tried to remove kms from the HOOKS and add nomodset to my cmdline but it didn't change anything.

Can you please help me?

EDIT: I've seen in multiple other issues that journalctl -b | curl -F 'file=@-' 0x0.st could help debug, here's mine https://0x0.st/XWrC.txt

Last edited by Monapp (2024-08-11 09:24:53)

Offline

#2 2024-08-11 09:24:36

Monapp
Member
Registered: 2024-04-28
Posts: 13

Re: [SOLVED] Can't make Wayland work with NVIDIA

Using the udev rules for older versions of GDM/NVIDIA drivers worked... I can start GDM with Wayland now, my NVIDIA card is however absent of GNOME's parameters but that's not really an issue and journalctl -b 0 --grep "renderer for" do return something as well smile

Last edited by Monapp (2024-08-11 09:25:26)

Offline

Board footer

Powered by FluxBB