Been running Fedora 40 for a few months, and having a hard time keeping Wayland as the desktop environment. Just did a fresh install, and the Nvidia driver updates to 555.58.02. I really want to stick with the Recommended branch, not the New Feature branch. Every update, Wayland breaks. How do I rollback to 550, and switch to the Recommended Branch for updates?
Wayland support wasn’t working with NVIDIA and commenting out the suspend / resume checks (that can disable Wayland) fixed it. This was early - possibly F40 beta so it may not be necessary anymore but everything still works.
cp /usr/lib/udev/rules.d/61-gdm.rules /etc/udev/rules.d/61-gdm.rules
Comment out the suspend / resume tests in /etc/udev/rules.d/61-gdm.rules. Any issues delete /etc/udev/rules.d/61-gdm.rules.
Create alias to check if current session is Wayland:
alias iswayland='loginctl show-session 2 -p Type | awk -F= '\''{print $2}'\'''