Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Everything about latency. Tips, testing methods, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
User avatar
Chief Blur Buster
Site Admin
Posts: 11647
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Chief Blur Buster » 02 Jun 2023, 04:54

Slender wrote:
07 Feb 2023, 21:42
6) Save and open it, reboot to apply changes.
There's very occasional times I may need to peg my GPU to maximum, for some tests. I wonder if this works with ToastyX restart64.exe to avoid the need to reboot the computer.
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

User avatar
Tiberiusmoon
Posts: 147
Joined: 10 Feb 2023, 05:05

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Tiberiusmoon » 02 Jun 2023, 05:41

Chief Blur Buster wrote:
02 Jun 2023, 04:54
Slender wrote:
07 Feb 2023, 21:42
6) Save and open it, reboot to apply changes.
There's very occasional times I may need to peg my GPU to maximum, for some tests. I wonder if this works with ToastyX restart64.exe to avoid the need to reboot the computer.
It does, confirmed it with this terminal command:

Code: Select all

nvidia-smi --query

User avatar
Chief Blur Buster
Site Admin
Posts: 11647
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Chief Blur Buster » 02 Jun 2023, 08:07

Tiberiusmoon wrote:
02 Jun 2023, 05:41
Chief Blur Buster wrote:
02 Jun 2023, 04:54
Slender wrote:
07 Feb 2023, 21:42
6) Save and open it, reboot to apply changes.
There's very occasional times I may need to peg my GPU to maximum, for some tests. I wonder if this works with ToastyX restart64.exe to avoid the need to reboot the computer.
It does, confirmed it with this terminal command:

Code: Select all

nvidia-smi --query
Dandy. Good to know. I can waste power for just a few minutes for some obscure test, without needing to reboot.
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

Slender
Posts: 571
Joined: 25 Jan 2020, 17:55

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Slender » 02 Jun 2023, 10:03

Chief Blur Buster wrote:
02 Jun 2023, 04:54
Slender wrote:
07 Feb 2023, 21:42
6) Save and open it, reboot to apply changes.
There's very occasional times I may need to peg my GPU to maximum, for some tests. I wonder if this works with ToastyX restart64.exe to avoid the need to reboot the computer.
yes, thats work with restart64 or devcon

MatrixQW
Posts: 278
Joined: 07 Jan 2019, 10:01

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by MatrixQW » 02 Jun 2023, 19:25

It's possible to automate this along with the Windows powerplan for games using a batch file.
This way you can save energy and play at maximum performance.
This is what I did when I used to game.

First you need to bypass the uac prompt to add the registry key. Several ways to do it.
Then find the powerplan's strings with powercfg /l.

Create a batch file:
regedit /s or reg import nvidia-max.reg
restart64.exe /q
powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (high performance)
start "" /wait "game path"
powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e (balanced)
regedit /s nvidia-min.reg

Slender
Posts: 571
Joined: 25 Jan 2020, 17:55

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Slender » 03 Jun 2023, 03:02

MatrixQW wrote:
02 Jun 2023, 19:25
It's possible to automate this along with the Windows powerplan for games using a batch file.
This way you can save energy and play at maximum performance.
This is what I did when I used to game.

First you need to bypass the uac prompt to add the registry key. Several ways to do it.
Then find the powerplan's strings with powercfg /l.

Create a batch file:
regedit /s or reg import nvidia-max.reg
restart64.exe /q
powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (high performance)
start "" /wait "game path"
powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e (balanced)
regedit /s nvidia-min.reg
you need to use 2nd restart64 (after apply nvidia-min.reg)
also you can use REGADD in batch file
+ maybe ultimate performance better then high perfomance?

MatrixQW
Posts: 278
Joined: 07 Jan 2019, 10:01

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by MatrixQW » 03 Jun 2023, 05:21

Slender wrote:
03 Jun 2023, 03:02
you need to use 2nd restart64 (after apply nvidia-min.reg)
also you can use REGADD in batch file
+ maybe ultimate performance better then high perfomance?
Yes, forgot to add the 2nd restart64.
Sure, ultimate performance *should* be better.

Just found an issue.
Everytime I do restart64, the monitor's audio bits/Hz setting is changed to an invalid setting.
As a result, there is no sound and VLC crashes trying to play an mkv.
I need to change it everytime.

Also noticed that when Windows boots, the cpu-z timers tool shows the RTC is slower than ACPI and QPC.
But when I run restart64 at least two times, it will be in sync with the rest.
Attachments
cpu-z_timers.jpg
cpu-z_timers.jpg (69.97 KiB) Viewed 2111 times

Slender
Posts: 571
Joined: 25 Jan 2020, 17:55

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Slender » 03 Jun 2023, 05:23

MatrixQW wrote:
03 Jun 2023, 05:21
Slender wrote:
03 Jun 2023, 03:02
you need to use 2nd restart64 (after apply nvidia-min.reg)
also you can use REGADD in batch file
+ maybe ultimate performance better then high perfomance?
Yes, forgot to add the 2nd restart64.
Sure, ultimate performance *should* be better.

Just found an issue.
Everytime I do restart64, the monitor's audio bits/Hz setting is changed to an invalid setting.
As a result, there is no sound and VLC crashes trying to play an mkv.
I need to change it everytime.

Also noticed that when Windows boots, the cpu-z timers tool shows the RTC is slower than ACPI and QPC.
But when I run restart64 at least two times, it will be in sync with the rest.
try to repeat this test without nvidia driver (disable gpu in dev.man.)

Slender
Posts: 571
Joined: 25 Jan 2020, 17:55

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by Slender » 03 Jun 2023, 13:28

MatrixQW wrote:
03 Jun 2023, 05:21
Slender wrote:
03 Jun 2023, 03:02
you need to use 2nd restart64 (after apply nvidia-min.reg)
also you can use REGADD in batch file
+ maybe ultimate performance better then high perfomance?
Yes, forgot to add the 2nd restart64.
Sure, ultimate performance *should* be better.

Just found an issue.
Everytime I do restart64, the monitor's audio bits/Hz setting is changed to an invalid setting.
As a result, there is no sound and VLC crashes trying to play an mkv.
I need to change it everytime.

Also noticed that when Windows boots, the cpu-z timers tool shows the RTC is slower than ACPI and QPC.
But when I run restart64 at least two times, it will be in sync with the rest.
im need more info about RTC, bro
always after 2 reboot or it can be good on startup without reboot, or maybe 1 reboot fix that?

MatrixQW
Posts: 278
Joined: 07 Jan 2019, 10:01

Re: Guide: Permanently lock nvidia gpu on max frequency via regedit (KBOOST)

Post by MatrixQW » 03 Jun 2023, 16:12

At boot, RTC will go out of sync.
Seems that even even when I run restart64 two times it sometimes goes out of sync. It behaves erratically.
I ran restart64 like 3 or 4 times and left cpu-z timers tool running for 5h and it was good.
Windows is using TSC so I think I will just forget about this or I will go crazy trying to find out what causes it.

Post Reply