TDP resets itself when increased beyond 15W on Steam Deck #163
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected Behaviour
Having increased the maximum TDP from default 15W to 20W via BIOS and set up limits_override.ron accordingly, when starting a game and setting TDP beyond 15W, the increased TDP should be applied until the game is closed.
Actual Behaviour
After successfully setting TDP to for example 18W while in-game, it will seemingly random reset down to 15W again without the user doing anything.
Steps To Reproduce
Anything else?
This seems to happen mainly with demanding games where increased TDP usually comes in handy. I've experienced this in Witcher 3, WRC 10 and Titanfall 2 on Steam Deck LCD running Steam OS 3.5.x stable and after switching over to Bazzite.
Writing this I realize that this is not really a bug report, but possibly a feature request...
Nothing in powertools.log suggests that the TDP was reset, yet shortly after setting it to 20W, the game's performance decreased and cat /sys/class/hwmon/hwmon4/power1_cap returned 15000000 instead of 20000000.
I'm not sure what keeps changing the power cap, but would it be possible for powertools to make sure that the set TDP is reapplied in case it's changed by another process somehow?
Version
2.0.3-rls
Platform
SteamDeck
OS
SteamOS 3 (Stable)
Sounds related to #159 and #144
I'd guess everyone is only reporting the part that they notice and not testing out the full extent of the reset.
I did some further testing and it appears Steam keeps reverting the TDP back to 15W mid-game.
There are some lines in
/usr/bin/steamos-polkit-helpers/steamos-priv-write
which allow Steam to control power1_cap and power2_cap, they might look slightly different on SteamOS compared to Bazzite:By commenting out this whole block, Steam no longer randomly messes around with the TDP if I go beyond 15W with Powertools. This renders SteamOS' own TDP slider useless though.
While I've been having trouble with Powertools occasionally not loading profiles myself, I'm not sure if #144 and #159 are related to this.
If I set the CPU to run at a locked 3000 MhZ and TDP to 18W for example, it's only the TDP that is reset by Steam after some time, while CPU clocks remain unaffected.
I'm not sure if Powertools could really do anything about Steam changing the TDP, except for listening if the
power*_cap
files keep getting modified. It's probably up to the user to just editsteamos-priv-write
if they want to consistently achieve a higher TDP.