I recently upgraded to Fedora 41 on my desktop. I have an NVIDIA Card in my system, and when I attempt to login into a wayland session (GNOME), I am booted back to the login screen. However, when I attempt to log into an X11 session, I am able to login without issue.
I tried uninstalling and reinstalling my drivers, and realized that my wayland session doesn’t work, regardless if I have NVIDIA drivers installed or not.
Another thing to note (somewhat off topic) is that I also have a Framework 13 laptop with an AMD Ryzen 7 7840U CPU, and I also upgraded that to Fedora 41 along side my desktop with the NVIDIA GPU, and the wayland sessions work without any issues on my Framework 13.
Any ideas on what I could try?
Any help will be greatly appreciated.
I tried rebooting, as well as logging out and still kicks me back to the login screen when trying to log into a wayland session.
I would like to add that the splash screen for the inital bootup also doesn’t show, showing background terminal processes instead. Not sure if this would help, but worth mentioning.
FYI, I don’t know if this would relate to the specific issue you’re seeing, but there are steps to get Nvidia drivers working with Secure Boot enabled that are far, far less manually involved than what’s listed on that page:
That’s actually how I imported my keys for secure boot to be used for my NVIDIA drivers. Was just trying to find the method from the top of my head. Never knew they had that on their website. My bad!
In case you haven’t fixed your issue yet, maybe setting the GSK_RENDERER env. variable to gl (instead of the new default vulkan renderer) might be a fix for you too (reboot needed)?
echo export GSK_RENDERER=gl | sudo tee /etc/profile.d/gtk_renderer.sh > /dev/null
Wanted to add my experience here as well. I have the same issue happening but it’s on my Framework 13 AMD Ryzen™ 5 7640U. When trying to sign in using Wayland, it just goes right back to the log in screen.
For my 3 options when logging in, GNOME xorg works just fine, GNOME Classic and GNOME (Wayland) both have the issue of jumping right back to the login screen with no other information as far as I can see.
Interesting. As mentioned, I myself, also have a Framework 13, but I have a Ryzen 7 7840U. I wonder if it may have something to do with the upgrade process or something.
That is a rubbish guide which is written by a clueless person, you need to sign all the nvidia modules, not just nvidia.ko which for the record doesn’t exist!
Some have reported that wayland works properly by adding GSK_RENDERER=ngl to the /etc/environment file then either logout and back in or reboot. Some have used the value gl or vulkan in place of ngl with success.
I tried setting the GSK_RENDERER to either gl or vulkan, and sadly, neither of them seem to work; it still kicks me back to the login screen when trying to login a wayland session.