How to roll back to previous image?
The most recent version of
bazzite-nvidia:39 has the nvidia 545 drivers, which have introduced a pretty awful stutter/flicker in games that makes it pretty difficult to play, and so I'd like to roll back to the most recent version with the 535 drivers. Unfortunately, when I ran rpm-ostree status, both my current and previous images are the current 39.20231201.0 version because I decided to remove a package I had layered previously. I tried searching around but I'm still not sure what version I should be rolling back to.Solution
I managed to figure it out. For anyone in the future who has this issue:
- Figure out the timestamp for the version you want to roll back to. Since mine was recent, I just went backwards until a date worked.
- Run
sudo rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/<bazzite image>:<version>-<timestamp>. In my case it wasbazzite-nvidia:39-20231129. - Let it do its thing and reboot.
- Once rebooted, pin the current version using
sudo ostree admin pin 0.