[TRACKING] PPD v TLP for AMD Ryzen 7040

That is “Energy” app part of KDE.

Installed the 0.13-2 from AUR; I noticed that the patches were ignored during the building process. Is this the normal behaviour?
Thanks again.

Yeah I had to revert to the old one (luckily I still had it built), there’s something wrong with it with the (presumably) updated PRs. I guess we can’t download the old PR patches?

That’s definitely not normal. Thanks for reporting!
I just changed the patch source to sidestep this issue and after triple-testing the build, everything should be fine now. Sorry for that.

2 Likes

Hi all,

Just to give a running commentary, the merge requests have been merged and now the final step is for an updated release tag of 0.14 for different distro’s to update their own repos with.

Kate did mention that she would create an updated release tag so not far away.

4 Likes

Hm, for me enabling the EPP driver, either manually or using the PPD patches seems to sometimes cause AMD CPU stuck in low-speed state after system resume. I can temporarily get out of that state by toggling the power profile and it also seems to randomly unstick itself, but I do think something isn’t quite right with EPP and as such those patches might cause performance regressions for some users? Anyone else experienced their CPU getting stuck at 544Mhz with those patches after suspend sometimes?

EDIT: Seems to be [Bug 218305] New: Ryzen 7 7840HS gets stuck at 544MHz frequency after a random number of suspend/resume cycles

4 Likes

I can confirm this behavior.

1 Like

Can you please reproduce it while using scripts/amd_s2idle.py · master · drm / amd · GitLab? I would like to see more about what is captured while you reproduce it.

Sure. What exactly should I do with the results?

Any time you would suspend the system do so using the script instead of lid or software.

It will capture a bunch about before the suspend and after into a text file.

2 Likes

Will do. When it’s next slow, what’s the best way to get you the results? Also, I see it runs suspend cycles and then awakens. Can I tell the script to suspend and not immediately wake up?

Hey! A quick update from me: I switched to Fedora 39 with PPD installed from Mario’s COPR. My minimum brightness idle power is now 3.5W and max brightness is 6W. So much better!

I’m not sure what Fedora is doing differently to Debian, maybe it’s something in the kernel to do with the EC communication. I was not able to achieve these results on Debian with PPD or TLP.

4 Likes

Yeah one of the arguments it prompts you is for how long to suspend. Just program it longer than you need it.

Don’t know exactly what happened but going from kernel 6.5.11 to kernel 6.6.11 made my power usage go from 4W to 7.5W idle as if I didn’t install Mario’s COPR. I did try a reinstall of Mario’s COPR but it didn’t do anything. Anyone got a clue what I could check to see what might be goofy? New to fedora.

Leaving this up for others who jump the gun. Make sure you check that you didn’t inadvertently turn off power saver in the settings when testing and forgot to turn it back on lol. Sorry squad

What’s the current recommendation then? There was a lot done, some patches made it to the kernel, is TLP still not recommended with kernel 6.7+ ?

Are there still “major issues” such as the suspend keyboard wake? I’m using TLP currently on Arch with kernel 6.7.3. My usage on fairly high brightness with firefox (as I type this) and a few chat apps (element, 64base-telegram) + oss-code (vscode/electron) is around 5-6W.

Video playback on firefox even with forcing hw accelleration still seems to kill it quickly tho it goes up to 25W+

1 Like

It also gets complicated with F40 dropping PPD as the default.

1 Like

…or rather F41:

I’ll revise the change proposal and target F41.

1 Like

What are they planning to replace PPD with? I’ve stopped using TLP on my current notebook as PPD gives me a more polished system for less effort.

https://tuned-project.org/

2 Likes

Shout-out to @Mario_Limonciello ! With the PPD from his COPR (mariolimonciello/power-profiles-daemon Copr) I get < 3W idle with the following setup:

  • Lowest display brightness
  • Keyboard backlight off
  • Power saver
  • Bluetooth off
  • Wifi on
  • 125% display scaling
  • 2x USB-A, 1x USB-C, 1x HDMI expansion card
  • WD Black SN770 1TB
  • 2x Kingston ValueRAM KVR56S46BS6-8

This is on a pretty much stock Fedora 39 with the following changes:

13 Likes