Open funkemunky opened 2 months ago
Hi, thanks for reporting the issue. I'd prefer having a switch somewhere on the GPU page to toggle automatic halting of monitoring. That switch could also say that enabling that could save battery life, otherwise it might be confusing for users as to why Resources seemingly randomly stops monitoring the GPU. But I'll definitely take this into consideration. :)
Hi, thanks for reporting the issue. I'd prefer having a switch somewhere on the GPU page to toggle automatic halting of monitoring. That switch could also say that enabling that could save battery life, otherwise it might be confusing for users as to why Resources seemingly randomly stops monitoring the GPU. But I'll definitely take this into consideration. :)
You can also make it check "cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status" consistently and show zero usage if the gpu is in d3.
Is there an existing issue for this?
Current Behavior
When I am opening Resources app, the nvidia GPU wakes up from suspension when it is not in use by any application. The nvidia gpu status stays active when in use.
Resources is not being rendered using the nvidia gpu, but its monitoring of the dedicated gpu results in it keeping it awake indefinitely.
Expected Behavior
The nvidia gpu should ideally not be awoken when not in use. I know that there might be a limitation with the nvidia driver preventing it from being monitored even though it is in use. However, a workaround could be implemented by hooking into the nvidia driver and checking to see if it is
1) Already awake 2) The reason it is awake 3) If the reason it is awake being Resources, stop monitoring.
Steps To Reproduce
Environment
Anything else?
I would be happy to contribute any potential fixes and provide a test environment if you don't have an equivalent available.