Before suspend: using the gnome shell top-right menu to set the power mode to “Power Saver”, which under the hood uses TuneD. The change in the energy preference after the resume is NOT reflected in the gnome shell top-right menu (still says “Power Saver”). However, the actual mode can be seen via the cpupower command (part of kernel-tools).
Before suspend:
$ sudo cpupower frequency-info
analyzing CPU 0:
driver: amd-pstate-epp
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
energy performance preference: power
After resuming from suspend:
$ sudo cpupower frequency-info
analyzing CPU 6:
driver: amd-pstate-epp
CPUs which run at the same hardware frequency: 6
CPUs which need to have their frequency coordinated by software: 6
energy performance preference: performance
@Mario_Limonciello I don’t have the skills/knowledge nor the bandwidth to do a kernel bisect. However, I can test kernel 6.16.3 (as currently available in Fedora 41 updates-testing channel) to see if this regression is present there.
I can also test any pre-made kernel rpm, if that’s an option.
@Mario_Limonciello Thanks for the patch, though it’s beyond my current ability+bandwidth to create a new kernel with it. Happy to test it via fedora-updates in say kernel 6.16.4+, even if that’s not the fastest way to do it.
Maybe someone else on this forum can compile a new kernel with the patch?
Hi, I can confirm the patch works. I didn’t measure power consumption or anything complex, I just suspended, woke up and checked using the same sudo cpupower frequency-info OP used. Tested on Fedora KDE 42, AMD 7840U, Tuned-2.25.1.
Will it be backported to 6.15 and 6.16? Do you want me to send an email in the kernel mailing list too?
@Mario_Limonciello Good news. I can confirm that the 6.16.3 kernel with your amd-pstate patch works correctly and fixes the issue. Thanks for looking into this.
I recommend pushing this patch to the next stable kernel update.
The patched 6.13.3 kernel was built by jforbes/fedora, and was obtained from:
@Mario_Limonciello Replied to the post on linux-pm mailing list. Let me know if anything else needs to be done to get this patch into mainline (6.16 stable and 6.17 RC).