Set GPU P-state within settings. #1254
vidiotgameboss
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
no chance i'd put something like that in the app. but its totally valid for user to have it in custom launcher.
sudo nvidia-smi -pm ENABLED -i 0
sudo nvidia-smi -ac 3004,875 -i 0
./webui.sh
sudo nvidia-smi -rac -i 0 which
btw, i'm going to convert this to discussion as it may be interesting for others, but its not going to be done in the app itself. |
Beta Was this translation helpful? Give feedback.
0 replies
-
huh... this conversation has led me to discover that my GPU has been stuck in P2, which is apparently forced for CUDA and used to only be toggle-able in windows? gonna copy/paste vlad's commands verbatim and watch for flames |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature description
Add options within automatic to control the GPU so that only during generation it increases performance and during idle it cools off more.
This would not be used by many casual users but I believe overclockers/powerusers or just people who care about their PC's thermals would benefit immensely in the way that they would run out their GPU's lifespan less sooner and pay less on electricity bills. The reasoning for it is that while a casual user would already do this by having their GPU dynamically change power states, power users normally lock their GPU clocks very tightly and would force P8/P12 on desktop, with only certain apps allowing higher power states, normally this can be defined within software by having a list of running processes which can set P0, otherwise the GPU goes into its lowest P state.
In SD webui's case, this would mean adding python.exe to the list of software that sets the GPU to P0 which in turn would immediately lock the GPU at P0 and force it to work full time which is not needed until generation happens. If SD could instead change the GPU Pstate on its own at generation that would be good because after generation the GPU would have time to cool off more in P8/P12.
I write this as more of a niche request for all powerusers, overclockers, thermal OCD people. I and some others I know personally do the above to our GPUs on top of undervolting our GPUs and limiting power so that when it goes P0 it can be more efficient.
Version Platform Description
No response
Beta Was this translation helpful? Give feedback.
All reactions