TDP Optimization
Let us discuss TDP optimization on battery, with settings which should not affect desktop use much
The hhd plugin for TDP now works properly for all ryzen processors and is tuned specifically for the go and ally,
It also offers a large bunch of generic options for all AMD APUs that should be fun to tune.
With the TDP part now out of the way, lets discuss governors, pstate, epp, GPU clocks etc that should be helpful for energy optimization as well.
37 Replies
Not the steam deck APU yet, thats too old
I was told the best right now is using AMD pstate EPP with power or balanced power, with the governor powersave
then, to adjust CPU/GPU bias, the GPU clock can be used to smother either the CPU or GPU in case a game has a preference to either of those
Default tuned behavior
what does tuned do
It's a replacement for Power Profiles Daemon
It's balanced setting will use power save and epp params on any pstate compatible cpu
either of those things dont seem like they would help with games
Which is the default
over just hardcoding the settings
It can, EPP will boost single core speed as needed
Very cool stuff
yeah but is that tuned or epp
Powersave behaves completely differently under pstate
Tuned is just configuring epp
Once it's done it does nothing
CPU's job
im trying to add cpu options to help with battery use
what do i do
I would only focus on TDP
Let tuned handle further power saving with sysctl stuff
what about on non tuned systems
That's driven through GNOME & KDE
They all are
yeah bazzite is
Oh you just mean in general
whats driven through ?
if you want i can add an env variable for you so it gets nuked
but you should know that simple decky tdp does this tuning as well right now so its a big mess out there
Hold on, I'll get to a more complete answer here shortly
I am using pstate guided and ondemand governor and prefcore the ondemand governor has been tweaked, it default is to wait till a cpu core is 95% loaded before it engages more threads or cores, this is set now to 66. The ally hates sharp increases in cpu usage and tends to tank gpu as a result frame times suffer, by setting this to 66% the cpu is more evenly loaded and makes the frame times so much smoother 🙂 hope this helps
im getting more confused
find the swear word in this picture
Me too it’s a rats nest
I do t think there is going to be a magical setting it’s just trial and error on what works best for the user, some of us play plugged in all the time and want max performance others want to extend battery as long as possible
the whole tuned ppd thing is hurting my brain https://gitlab.freedesktop.org/upower/power-profiles-daemon
i still dont understand what all those daemons do
PPD just sets 3 profiles
Power save, balanced, and performance
It's purely sysctl stuff
Tuned does the same sort of thing and more
And tuned-ppd is a replacement for PPD that offers the same dbus api
But powered by tuned instead
PPD is built into both KDE and GNOME
That's all it does
Sure, will try to work with it
Hopefully they let me set governors in-game because they told me management requires some weird stuff
ppd/tuned will do that
Like power save on full power
so all you'd need to do is fire off pdd dbus calls
if you want a simple 3-profile selector
there's a call to get the current profile too
I don't and that will cause problems on the ally
Because I have to set the platform profile to adjust the tdp parameters
Because it got merged into the kernel and I'm using that
So every time I set the tdp ppd will mess with the governors
I need to install it and see what it does
I don't know about PPD, but TuneD has this built in
again, driven by PPD dbus
Yes that's it
I'm using that through sysfs directly
since ppd provides basic desktop functionality it will need to be supported
I was wondering where those energy dials that were on ubuntu went
🤔
now who will switch off my wifi when i undock
its true it does do that
Power profile is only supported by the ally right now, so this setting is just confusing. I actually dont know why my system has a platform profile without a driver yet