F41 and power-profiles-daemon

So I have an amd framework laptop. The upstream developer strongly recommends power-profiles-daemon for power management. F41 replaced it with tuned. I assumed power-profiles-daemon was still being maintained, but it seems like we just force folks to use tuned anyway.

$ sudo dnf remove tuned tuned-ppd
Package                                              Arch          Version                                               Repository                        Size
Removing:
 tuned                                               noarch        2.24.0-5.fc41                                         updates                        1.5 MiB
 tuned-ppd                                           noarch        2.24.0-5.fc41                                         updates                        6.3 KiB
Removing unused dependencies:
 kernel-tools                                        x86_64        6.11.5-300.fc41                                       updates                      895.9 KiB
 kernel-tools-libs                                   x86_64        6.11.5-300.fc41                                       updates                       34.3 KiB
 libtraceevent                                       x86_64        1.8.2-4.fc41                                          anaconda                       1.5 MiB
 python3-linux-procfs                                noarch        0.7.3-6.fc41                                          anaconda                      91.7 KiB
 python3-perf                                        x86_64        6.11.5-300.fc41                                       updates                        8.6 MiB
 virt-what                                           x86_64        1.27-1.fc41                                           anaconda                      76.1 KiB

Transaction Summary:
 Removing:           8 packages

Is this ok [y/N]: y

Running transaction
[1/9] Prepare transaction                                                                                              100% |  48.0   B/s |   8.0   B |  00m00s
[2/9] Erasing kernel-tools-0:6.11.5-300.fc41.x86_64                                                                    100% |   1.0 KiB/s |  39.0   B |  00m00s
[3/9] Erasing tuned-ppd-0:2.24.0-5.fc41.noarch                                                                         100% | 333.0   B/s |   9.0   B |  00m00s
[4/9] Erasing tuned-0:2.24.0-5.fc41.noarch                                                                             100% |  11.9 KiB/s | 462.0   B |  00m00s
[5/9] Erasing python3-perf-0:6.11.5-300.fc41.x86_64                                                                    100% |   1.2 KiB/s |   6.0   B |  00m00s
[6/9] Erasing python3-linux-procfs-0:0.7.3-6.fc41.noarch                                                               100% |   4.9 KiB/s |  20.0   B |  00m00s
[7/9] Erasing libtraceevent-0:1.8.2-4.fc41.x86_64                                                                      100% |  19.4 KiB/s | 218.0   B |  00m00s
[8/9] Erasing virt-what-0:1.27-1.fc41.x86_64                                                                           100% |   4.2 KiB/s |  13.0   B |  00m00s
[9/9] Erasing kernel-tools-libs-0:6.11.5-300.fc41.x86_64                                          100% [==================] |  85.0   B/s |   2.0   B | -00m00s
>>> Running trigger-post-uninstall scriptlet: glibc-common-0:2.40-3.fc41.x86_64warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
[9/9] Erasing kernel-tools-libs-0:6.11.5-300.fc41.x86_64                                                               100% |   2.0   B/s |   2.0   B |  00m01s
Complete!



$ sudo dnf install -y power-profiles-daemon
Updating and loading repositories:
Repositories loaded.
Package                                              Arch          Version                                               Repository                        Size
Installing:
 tuned-ppd                                           noarch        2.24.0-5.fc41                                         updates                        6.3 KiB
Installing dependencies:
 kernel-tools-libs                                   x86_64        6.11.5-300.fc41                                       updates                       34.3 KiB
 libtraceevent                                       x86_64        1.8.2-4.fc41                                          fedora                         1.5 MiB
 python3-linux-procfs                                noarch        0.7.3-6.fc41                                          fedora                        91.7 KiB
 python3-perf                                        x86_64        6.11.5-300.fc41                                       updates                        8.6 MiB
 tuned                                               noarch        2.24.0-5.fc41                                         updates                        1.5 MiB
 virt-what                                           x86_64        1.27-1.fc41                                           fedora                        76.1 KiB
Installing weak dependencies:
 kernel-tools                                        x86_64        6.11.5-300.fc41                                       updates                      895.9 KiB

Transaction Summary:
 Installing:         8 packages

Total size of inbound packages is 3 MiB. Need to download 3 MiB.
After this operation, 13 MiB extra will be used (install 13 MiB, remove 0 B).
[1/8] python3-linux-procfs-0:0.7.3-6.fc41.noarch                                                                       100% | 149.6 KiB/s |  36.8 KiB |  00m00s
[2/8] tuned-ppd-0:2.24.0-5.fc41.noarch                                                                                 100% |  73.0 KiB/s |  18.8 KiB |  00m00s
[3/8] virt-what-0:1.27-1.fc41.x86_64                                                                                   100% |   2.1 MiB/s |  40.1 KiB |  00m00s
[4/8] libtraceevent-0:1.8.2-4.fc41.x86_64                                                                              100% |   3.4 MiB/s | 277.7 KiB |  00m00s
[5/8] tuned-0:2.24.0-5.fc41.noarch                                                                                     100% | 905.3 KiB/s | 513.3 KiB |  00m01s
[6/8] kernel-tools-libs-0:6.11.5-300.fc41.x86_64                                                                       100% |   1.7 MiB/s | 195.6 KiB |  00m00s
[7/8] kernel-tools-0:6.11.5-300.fc41.x86_64                                                                            100% | 974.6 KiB/s | 458.1 KiB |  00m00s
[8/8] python3-perf-0:6.11.5-300.fc41.x86_64                                                                            100% |   1.7 MiB/s |   1.6 MiB |  00m01s
---------------------------------------------------------------------------------------------------------------------------------------------------------------
[8/8] Total                                                                                                            100% |   1.8 MiB/s |   3.1 MiB |  00m02s
Running transaction
[ 1/10] Verify package files                                                                                           100% | 800.0   B/s |   8.0   B |  00m00s
[ 2/10] Prepare transaction                                                                                            100% |  35.0   B/s |   8.0   B |  00m00s
[ 3/10] Installing kernel-tools-libs-0:6.11.5-300.fc41.x86_64                                                          100% | 578.7 KiB/s |  34.7 KiB |  00m00s
[ 4/10] Installing libtraceevent-0:1.8.2-4.fc41.x86_64                                                                 100% |  23.2 MiB/s |   1.5 MiB |  00m00s
[ 5/10] Installing python3-perf-0:6.11.5-300.fc41.x86_64                                                               100% | 128.9 MiB/s |   8.6 MiB |  00m00s
[ 6/10] Installing virt-what-0:1.27-1.fc41.x86_64                                                                      100% |  15.2 MiB/s |  78.1 KiB |  00m00s
[ 7/10] Installing python3-linux-procfs-0:0.7.3-6.fc41.noarch                                                          100% |  13.3 MiB/s |  95.3 KiB |  00m00s
[ 8/10] Installing tuned-0:2.24.0-5.fc41.noarch                                                                        100% |  11.1 MiB/s |   1.6 MiB |  00m00s
[ 9/10] Installing tuned-ppd-0:2.24.0-5.fc41.noarch                                                                    100% | 327.0 KiB/s |   7.8 KiB |  00m00s
[10/10] Installing kernel-tools-0:6.11.5-300.fc41.x86_64                                          100% [==================] |  36.7 MiB/s | 901.6 KiB | -00m00s
>>> Running trigger-install scriptlet: glibc-common-0:2.40-3.fc41.x86_64warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
[10/10] Installing kernel-tools-0:6.11.5-300.fc41.x86_64                                                               100% |   1.1 MiB/s | 901.6 KiB |  00m01s
Complete!

Is there no way to get power-profiles-daemon back on F41? Packages says it exists: power-profiles-daemon-0.23-1.fc41 - Fedora Packages

I believe tuned-ppd is the replacement for power-profiles-daemon. I’ve been using it on my FW16 without issues thus far with F41. The only thing I had to do was to create a new power profile to change the default AMD GPU display panel power behavior when I’m in power save mode.

Added tuned

Added power-profiles-daemon

I am in a similar situation. I have read that power-profiles-daemon has more specific optimizations for amd.

I wonder if using the default profiles in tuned includes the amd optimizations. I was also unable to get power-profiles-daemon set as default since the upgrade to F41.

It seems like my laptop is running a bit hotter than before, but that could be placebo.

Power-profiles-daemon is in the process of being replaced / subsumed by the tuned project. Use tuned-ppd.

1 Like

It sounds like upstream developers and fedora package maintainers might disagree that it is being replaced or subsumed. See 2323331 – Unable to install power-profiles-daemon anymore.

This also solves my problem.

I believe it acceptable to default to tuned, but it is still beneficial to give users the option to select one or the other, similar to pipewire vs pulseaudio, or gnome vs kde. Lets not forget wayland vs X11….

To clarify, power-profiles-daemon is not being replaced by Tuned.

Tuned is a different unrelated project. In Fedora 41, Tuned has replaced power-profiles-daemon as the default power management daemon. This does not mean that PPD will be removed or that it can’t be used anymore. I for one will keep using PPD as I don’t need the features of Tuned, and PPD has a much smaller footprint.

At the moment there is a packaging bug which prevents PPD from being installed. This update fixes that, so please upvote it, so it can be pushed to stable: FEDORA-2024-a54b5427a8 — bugfix update for fedora-release and power-profiles-daemon — Fedora Updates System

2 Likes

Hello, whats wrong with fedora 41 my laptop charging speed is limited while using it after I power off laptop everthing back to normal? its bug or feature thanks