F41 Change Proposal: Make Tuned the Default Power Profile Management Daemon (System-Wide)

Hi,

I’m trying to resolve this.

Ok, now. I found some time make some tests. Its seems that RHEL’s 9.5 python3.9 does not provide a StrEnum class. So, the package tuned-ppd-2.24.0-1.el9 is installed but

systemd[1]: Starting PPD-to-TuneD API Translation Daemon...
tuned-ppd[4521]: Traceback (most recent call last):
tuned-ppd[4521]:   File "/usr/sbin/tuned-ppd", line 10, in <module>
tuned-ppd[4521]:     from tuned.ppd import controller
tuned-ppd[4521]:   File "/usr/lib/python3.9/site-packages/tuned/ppd/controller.py", line 5, in <module>
tuned-ppd[4521]:     from enum import StrEnum
tuned-ppd[4521]: ImportError: cannot import name 'StrEnum' from 'enum' (/usr/lib64/python3.9/enum.py)
systemd[1]: tuned-ppd.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: tuned-ppd.service: Failed with result 'exit-code'.
systemd[1]: Failed to start PPD-to-TuneD API Translation Daemon.

I assume that also a preset for the tuned-ppd.service is missing. Further more some dependencies still needs to be solved → https://issues.redhat.com/browse/RHEL-68152

Further tests still need to be done …

In my tests, tuned and the presets in KDE Plasma work great.

I use i2pd flatpak and qbittorrent flatpak and often keep my laptop on.

With the “power” profile (throughput performance), the fan goes off a lot. On the medium profile it is normal. On the low one it is fully (?) silent and I can leave it on over night.

Intel i7-11th gen Laptop, the power states work just great.

I swapped the packages manually on Kinoite 40, then did a reset and on Kinoite 41 tuned was already there and working as if nothing had happened.