Hi forum,
Any suggestions here. I ran my computer on the Intel graphics for ages, but went for a new NVIDIA card.
With NVIDIA drivers, I struggled to get Wayland to display on the NVIDA card, it was only outputting to the Intel card, so tried swapping back to Xorg. I did that through GDM, selecting Xorg at the bottom right. Then I could use the NVIDIA control panel, and managed to get it working.
However, Kodi is now flaky and I am blaming Xorg and want to go back to Wayland.
If I log out, I get a black screen, so I can’t select Wayland from the menu. Luckily I have auto log in set up on Gnome, so it just goes straight into the session on X I suppose if I reboot.
How can I force this users login to go back to Wayland not X?
Reading up, I think I also need to pass some kernel arguments to allow me to use Wayland with the NVIDIA drivers?
I found the following searching, but not sure if the info is up to date …
For users experiencing problems with Wayland and NVIDIA, it is recommended to check if the
nvidia_drm.modeset=1
kernel parameter is set, as this can help resolve display issues.2
To switch the primary GPU to NVIDIA in Fedora with Wayland, one approach is to modify the udev rules to enable Wayland sessions. Specifically, you can copy the
/usr/lib/udev/rules.d/61-gdm.rules
file to/etc/udev/rules.d/
and comment out the lines related to checking for suspend/resume services necessary for working Wayland support.
EDIT: That last one must be out of date, as that file 61-gdm.rules isn’t even on the system.