Although I’ve been using Linux for a very long while, including Silverblue, sometimes I feel like a newbie.
I recently did rpm-ostree upgrade on my laptop with no problems, but on my desktop hell is breaking lose. After doing plenty of research online, including checking on bug trackers, I’ve learned there is an issue with Wayland on Radeon graphics. It started earlier this month with the Mesa 24.1.2 release (I’m currently on 24.0.8). While a solution is still underway, is there a way to upgrade my system, but keeping Mesa the same?
Consider excluding/masking the Mesa update. That will keep you on the version you have until you change it. I’m not on Silverblue, but if you got it from the RPMFusion repos, you could do :
That should work anyways. The rpmfusion changes are done locally and the RPMs added to the ostree deployment.
So if rpm respects that setting it should work.
Before doing that you first need to rollback to the previous deployment
rpm-ostree rollback
And there
sudo ostree admin pin 0
To keep that version. From that origin you can then block mesa updates and update normally. I dont know how well that works and it for sure should be a temporary fix.
Be sure to add useful data to that issue report if it may be missing.
If you are on Fedora 40 you can also rebase to the older F39, which may have older packages.
I’m sorry, but the solution to this problem is getting more complex than the problem itself, so I’d rather wait until a permanent solution is presented. Thank y’all!
Wait @hamrheadcorvette who said this is about rpmfusion? This is an issue with upstream mesa.
So if the current deployment works, the best solution is to just not update until it is fixed.
Or try the same exclude=mesa-dri-drivers line but in the normal Fedora repo file.
But make sure you have that deployment pinned, as all that is unsupported.
But wait, you dont actually pull mesa from the repos but from the ostree remote. So @vgaetera 's solution of building a COPR with the current outdated mesa .spec file and then layering that package would be the correct way…
That’s exactly what I’ve been doing on my desktop: NOTHING!
I can agree, but I have no idea where to start, so I’ll continue doing nothing. I thought it would be as simple as running commands 1 through n, but I was mistaken. I’ll leaving it all as is. Thanks again!
And so I did! As it turns out, after following your instructions, I was able to upgrade my system while keeping the older Mesa drivers. Please see some sample commands: