Custom Fedora OCI images for Framework laptops

Yes! I’m glad people are finding the power of the fork! I’m on an Intel Framework so I can’t take lead on this, but if we figure it out and get the fixes in then we can just slipstream them in. If you wanna take lead we could set up a testing branch in the repo so we could stage things like this and then just land them when they’re ready.

I am hesistant to carry a patched g-p-p but if someone’s also talking to Fedora/GNOME and there’s communication effort to bring that upstream then it could be a great idea. I’m sure Matt and Fedora talk regularly so perhaps a testing branch might do some good here?

I think if we had a handful of people in the repo then the launch of the 16 could be smooth(er) if we set up branches for the models. My hope is that more Framework owners just dive in, we do shared ownership of the repos so all we need to figure out is a structure in the git repo to sort this and start to think about how to support future models.

EDIT: I’m addressing @Aman_Chhabra too!

1 Like

Happy Holidays! There’s been an ongoing discussion in Fedora about using tuned in F40 and beyond:

This discussion lead to this patch by Mario Limonciello:

We’ve added this patched GNOME power-profiles-daemon to our bazzite and bluefin images so we can try them out, so far the feedback from people trying it appears to be positive so I’m hoping to give it a try this week but thought I’d let you all know!

Note that the framework images are using TLP, so you’ll need to be on a non-framework GNOME image of bluefin or bazzite to try this. I’m hoping to just ship a toggle so end users don’t have to deal with this, so if you’re interested in working on that let me know!

2 Likes

Quick update, we are experimenting with tuned in our :testing images:

I just finished a trip with mine and I prefer it to the TLP setup on my Intel Framework 13. Battery lasts just as long but it doesn’t feel so crippled performance-wise on battery. I have not done hard science on this.

We now have and updated PPD and tuned in images so switching back and forth is a clan reboot. What I don’t have is the time to test them thoroughly, so if any of you have any time to investigate performance between the two (on AMD and Intel) then that’d be awesome. Thanks!

1 Like

I had the opposite experience. Tuned is simply another profile style power optimizer that attempts to figure out what the user wants. You probaly turned turbo off on battery in TLP and well tuned wants to use turbo “where needed” to enhance user experience. Probably why in your instance you are finding it more responsive, just wait until you hit the wrong workload on battery and it keeps kicking turbo in to give you the wanted experience. One of my big issues with tuned is that 1) at the time I tested it there was no easy way to turn turbo off (or I could not find the documentation), and 2) difficult to make it event driven. I don’t want to have to remember to change my profile, it should do it automatically. Primarily plugged in vs battery, docked vs not.

t has potential, but I will wait until it is actually ready.

I’m just using the built in GNOME widget (which drives tuned) to match what I want and it seems to be working fine.

1 Like

Plans for Fedora 40!

Hey ya’ll, we’ve been reorganizing and cleaning up all the Universal Blue images and I thought I’d give everyone a quick update for the Fedora 40 release.

Just about everything you need for the Framework 13 and 16 is in Fedora, there’s really no need to have a full image just for Framework hardware as it’s just passing a karg and a few minor tweaks. Therefore we have decided to sunset the dedicated Framework images and instead have Bazzite and Bluefin support the necessary tweaks to have those images working ootb on the 13 and 16.

The biggest change is we’re switching to tuned for power management. Fedora has plans to switch to this at some point. We switched to this about half way through the F39 cycle and it’s been excellent and allows for having tons of profiles and tweaks. All the desktop GUI stuff is ported over to use it so you shouldn’t notice a UX difference in the power selector thing:

image

  • Bluefin and Aurora(WIP) are more suitable for generic desktop use and work great on the 13 and 16.
  • Bazzite will be the go to image if you want to game on a Framework 16
  • Both include ROCm out of the box so things like ollama and pytorch should work out of the box, still investigating these.

If you’re looking for a more vanilla Fedora experience, you can use a base image - these will not include tuned. The GNOME ones come with the latest power-profiles-daemon and that has all the right AMD patches, they work great.

Rebasing to a new image

We will stop publishing the framework images sometime at the end of the month when Fedora 40 is released. If you’re on an existing framework image do an rpm-ostree status and look for this line with framework in it:

ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-framework:latest - this tells you the current image that you are on.

Whatever image you are on you will need to rebase to the non-framework version.

rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/silverblue-main:latest

Note that :latest will put you on F39 and will put you on F40 when it comes out, so if you want to control when to do the major update you can use :39 or :40 if you prefer to do it manually.

Note that we’re in the process of enabling F40 builds, so depending on the image a rebase to F40 now might not work, so just putting this up now in preparation for release. Thanks and if you have any questions feel free to ask!

3 Likes

Tuned doesn’t have support for amdgpu like PPD does. For whatever reason upstream hasn’t merged it. Please don’t switch until this is merged.

5 Likes

Gotcha, we can slipstream the patch in now and then drop it when it’s merged, thanks!

3 Likes

@Jorge_Castro Bazzite website down ?

1 Like

Misspelled the URL, fixed, thanks!

1 Like

Just wanted to say I’ve been on Fedora Atomic/Silverblue since I got my 1st gen Framework, and switching to Bluefin made both video playback and battery-life/heat a lot better. Thank you very much for the build!

1 Like

PPD again is ahead of tuned. PPD 0.21 now handles battery for AMD pstate differently than on AC for more efficiency.

Here are all the pull requests tracking everything.

My honest opinion is you are “jumping the gun” moving over ahead of regular Fedora. I intend to push back on regular Fedora’s move too until these are merged. Otherwise you will be asking for battery life regressions.

2 Likes

Understood, I’ll look at switching back before release.

3 Likes

Ok all switched, we should be good to go for F40!

2 Likes

Im reading already for a certain time what youre doing with Bluefin and Ublue…
but when i got my F13 AMD a few weeks ago i just installed Fedora Atomic Gnome 39, aka Silverblue.
Im very happy with the experience. Maybe the battery could be a little better, but from reviews and such, the battery life is not the greatest on the market…

What pros and cons it would have when i would switch to Bluefin when it comes out with F40?
And is there a way of switching withiut needing to completely reinstall?

Just rebase is my understanding

1 Like

Quick update, we’ve released everything today, however, the magical “out of the box” Framework bits will be landing later this week (hardware shipping delay) and I’ll update then. Thanks!

5 Likes

W00t! Thanks @Jorge_Castro

Answer is (if I am not mistaken @Jorge_Castro)

1 Like

Really, really amazing work @Jorge_Castro ! I am also new one stumbling upon Bluefin (well, Aurora-DX will be my way to go) and I am truly impressed by the speed and maturity of things in such a short span (at least from what I can read - will get my FW16 next week and will be finally able to play).

Just want to make sure: Does it mean that possibly next week I will be able to go to getaurora.dev, pick Framework / AMD / Developer-Yes and I will get aurora-dx-framework.iso? Or should I get it under Bluefin Github packages or elsewhere?

Also please advise what is the preferred way to give feedback/contribute - is it via Github issues?