valleyofdoom / limit-nvpstate

Limit P-States on NVIDIA GPUs when a user-defined list of processes are not in the foreground to reduce power consumption
GNU General Public License v3.0
9 stars 2 forks source link

Running process functionality #2

Open NicholasBly opened 2 months ago

NicholasBly commented 2 months ago

The older version of limit-nvpstate was able to unlimit pstate when specific processes were running. Is it possible to add this functionality back in the form of a checkbox for each process (or similar)? For example, if I am using Handbrake to re-encode video using NVENC (uses GPU), I have to have Handbrake as the active window for the entire encode rather than being able to minimize it and have it run. So, there are some processes like this where I want pstate to be unlimited when certain programs are running and not in the foreground. Thanks!

valleyofdoom commented 2 months ago

I'm short of time at the moment but I will implement it soon. I wanted to find a better method of listening to process start/end events without relying on WMI. I may implement a polling based solution for the time being.