ublue-os / framework

OCI Images derived of ublue-os main images for Framework hardware
https://universal-blue.org/images/framework
Apache License 2.0
13 stars 2 forks source link

Ship both tlp and power-profiles-daemon on the image #64

Open castrojo opened 4 months ago

castrojo commented 4 months ago

We've packaged up this patch from power-profiles-daemon: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127

We've turned it on on the bazzite/bluefin builds. I don't think we should do -intel and -amd images, that will get messy. Since it's 2023 and these machines are new I don't think it's totally unreasonable to just ship both tlp and power-profiles-daemon on the image.

Then we can do a "If it's an intel machine turn tlp on and turn off g-p-p, if it's AMD, flip it the other way around". Anyone interested in busting this out?

fiftydinar commented 4 months ago

We've packaged up this patch from power-profiles-daemon: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127

We've turned it on on the bazzite/bluefin builds. I don't think we should do -intel and -amd images, that will get messy. Since it's 2023 and these machines are new I don't think it's totally unreasonable to just ship both tlp and power-profiles-daemon on the image.

Then we can do a "If it's an intel machine turn tlp on and turn off g-p-p, if it's AMD, flip it the other way around". Anyone interested in busting this out?

Just a note that Framework power saving guide might be dated with Intel when this PPD change is implemented.

F.e. SCHED_POWERSAVE is depreciated & not supported since Linux 3.5, but they enable it for Intel when on battery.