Skip to content

neur0manc/gpu-power-limit-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Power Limit Daemon

This is a background service for Windows that monitors the current power limit setting on NVIDIA graphics cards. It can be configured to maintain a specific setting and will apply the setting if the current readout differs.

I created this program because it seems that the settings applied via the NVIDIA app or nvidia-smi are not retained when the computer restarts or wakes up from standby. When this program is started on Windows boot, it will set a configured power limit and monitor it regularly (interval can be configured).

Disclaimer

Most of this code I didn't write myself; I used a large language model (LLM) to assist in generating it. While the code may not be the most efficient or well-structured, it fulfills the purpose it was designed for.

This project is an independent initiative and is not associated with or endorsed by NVIDIA in any capacity.

Installation

  1. Download the binary from the repository's releases page.
  2. Move the .exe file to a permanent location outside the Downloads folder.
  3. Open a terminal with administrator privileges in the folder where the .exe is located.
  4. Run the following commands to install and start the service:
.\gpu-power-limit-daemon.exe install
sc start GpuPowerLimitDaemon

To uninstall the service, use these commands:

sc stop GpuPowerLimitDaemon
.\gpu-power-limit-daemon.exe uninstall

Configuration

The configuration file is located at C:\ProgramData\gpu-power-limit-daemon\config.toml. It can be used to adjust the check interval and the desired power limit. The default setting is 60 seconds and your graphics card's maximum power limit.

Administrator Requirements

This project uses the NVML.dll (NVIDIA Management Library) that comes with the graphics driver. It requires administrator rights to make adjustments to the GPU configuration, and thus this service also needs those rights.

About

A background service for Windows that maintains the power limit setting on NVIDIA graphics cards.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages