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?
Every update, Wayland breaks
Would you elaborate? If anything 555 and 560 should be more stable on Wayland
Yes, and thank you for your interest in helping. Appreciated! After an update, I will eventually reboot. When doing so, the options in the gear at the Gnome login will be
- Gnome
- Gnome Classic
Both of these options are X11. I verify this with $ echo $XDG_SESSION_TYPE and see X11. When Wayland is working, the Gnome login will show four session types:
I haven’t been able to locate a log file where something looks relevant to the decision made at boot for XDG, Wayland, or X11 that chooses one over the other. It’s just as though Wayland stops being an option. 3 or 4 updates later, I’ll have Wayland back again - but no idea why it comes and goes. My caveman intuition tells me it happens around nvidia updates, but I haven’t kept strict notes on that.
You could maybe try Bazzite or Aurora/Bluefin.
They are all Fedora Atomic, the “immutable” Fedora variant, and offer baked in Nvidia support.
The cool thing is:
- If the driver/ Wayland breaks on your install, then it will break on thousands of others simultaneously, and the devs can fix it very very quickly, because every installation is identical.
- If it breaks, you can roll back in seconds and keep using the image that still worked yesterday. And in the meantime, the developers are already working on a fix, which takes just hours or a day max.
- You don’t have to install and update anything yourself. Just do your computer stuff and stop worrying.
- There’s also a
GTS
(or whatever it’s called) variant around, which is the last major version of Fedora. You won’t get the newest stuff and will be half a year behind in terms of features, but then there won’t be any surprises. I believe thebluefin:gts
isn’t around yet, but will come with the next major release.
That’s not what OP was asking for though. And I don’t understand why the Linux user community on Lemmy pushes immutable distros so hard.
That’s not what OP was asking for though.
Why not? In my comment I explained exactly what benefits it would have in this case with a Nvidia GPU. I think it makes sense to at least mention the option.
OP tried Bazzite and wasn’t the biggest fan of it, but not because it’s image based, no, just because it uses the same Nvidia driver as upstream Fedora.
They could also have said that they really liked it, who knows?
And I don’t understand why the Linux user community on Lemmy pushes immutable distros so hard.
Because they’re awesome? They’re extremely low maintenance, just work (for me), are very robust, offer a lot of choice, and much much more.
I think they’re very underrated and should be used much more. Sure, some people just don’t like them, but some people would, and those should know this option exists.
I did try Bazzite after this post - defaults to Nvidia 560 driver, which is still not the stable. Also installs extra things that I had to turn off - ended up re-wiping and going back to Fedora 40. I may retry in the future, though - but in general, I’m less interested in immutable at this point.
Thank you for the suggestions!
Also, the Nvidia version comes with X11 set up, iirc, and you can swap compositors in the login screen (should be SDDM).
I personally think X11 shouldn’t be used anymore. Fedora dropped official support for it recently iirc and it will soon be deprecated, so it might be even worse in the future.
Wayland works perfectly fine under Gnome from what I’ve heard, and with Plasma, it should be working great too.
I agree, but I’m not going to force my opinions on someone. They can make their own informed decisions, and if they’re having regular trouble with Wayland, maybe they can have a better experience with another option!
Yeah, I’m ready to be done with X11. Dunno why Fedora with a perfectly working Wayland & Nvidia and updates set to manual will not offer Wayland in the session manager at login about 80% of the time. Must be something I’m doign wrong, but IDK what it is. I wish I had wayland 100% of the time o’er here.
You mean perform a package downgrade?
This might be it.
What’s the method to browse a repo for a specific version?
Linuxcapable.com suggests (over at https://linuxcapable.com/how-to-install-nvidia-drivers-on-fedora-linux/)
sudo dnf module list nvidia-driver
But I can’t seem to find nvidia-driver. Are these profiles it mentions unique to the nvidia-driver package, or is that a feature of rpm’s?
I haven’t used RPM based distros a lot so I can’t remember off the top of my head. But I believe there are commands to play around with the yum cache and browse not only the list of packages but also which versions are available.
Sorry for not replying sooner, life stuff.
I’ve had problems with the 555 driver like KDE’s lock screen would freeze for up to 30 seconds whilst trying to unlock and resuming from suspend resulted in a black screen.
So I went back to the 550 driver - I’ve uploaded the RPMs/SRPMs that I use; https://misc.lapwing.org/rpms/nvidia-550/
Please note this is just a dump of RPMs/SRPMs and not a repo, so it’s just a stop gap until 560 arrives and (hopefully) fixes my issues.
You will probably have to fight
dnf
a bit to get it to actually replace the 555 RPMs, but I’ve not had a recurrence and theakmod
dance works just asjankilywell as before.deleted by creator
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}'\'''