Playnite Forums
Script to Change TDP for Intel based CPU/IGU - Printable Version

+- Playnite Forums (https://playnite.link/forum)
+-- Forum: Extension Database (https://playnite.link/forum/forum-3.html)
+--- Forum: Generic Extensions (https://playnite.link/forum/forum-6.html)
+--- Thread: Script to Change TDP for Intel based CPU/IGU (/thread-21.html)



Script to Change TDP for Intel based CPU/IGU - kristheb - 11-24-2019

Using Playnite as the Frontend of my  Gpd Win 2 it's quite common to change the default Powersettings to get more performance or to save battery.



Steps
  • You need the Intel Xtreme Tuning Utility installed.
  • Search for powershell, shift-right click, run as administrator and run: Set-ExecutionPolicy RemoteSigned
  • Create File with Script below

start-sleep -s 3
& 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 34 -v -50
& 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 100 -v -50

& 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 48 -v 12
& 'C:\Program Files (x86)\Intel\Intel(R) Extreme Tuning Utility\Client\XTUCli.exe' -t -id 47 -v 15
& start-sleep -s 3
  • Open the Edit Game Details (With F3 or right click+Edit...) and go to the Scripts tab


Short ID Explanation, for more pls search for Undervolting and XTU.



34-> Core Voltage Offset
100 -> Processor Graphics Media Voltage Offset
47 -> Turbo Boost Short Power Max
48 -> Turbo Boost Power Max

XTUCli.exe -i all puts out all explanation for the ID setting.


RE: Script to Change TDP for Intel based CPU/IGU - Crow - 11-24-2019

I think running "Set-ExecutionPolicy RemoteSigned" shouldn't be needed because we run PowerShell scripts in our own runtime that already has unrestricted execution policy set.


RE: Script to Change TDP for Intel based CPU/IGU - stuntaneous - 11-25-2019

Similarly, it may be useful to have a script to set processor affinity on game start.

Also, I'm envious of the GPD Win 2.


RE: Script to Change TDP for Intel based CPU/IGU - dennisjjunk - 11-25-2019

Actually, setting processor affinity is even more useful, since there are plenty of older games that predate multicore CPUs, and don't work if they get ran on 2 or more cores.