pmav99 / nvsmi

A (user-)friendly wrapper to nvdia-smi
MIT License
28 stars 8 forks source link

Support for fan readings #2

Open CodedSakura opened 3 years ago

CodedSakura commented 3 years ago

The nvidia-smi command can report a GPUs fan speed percentage and the nvidia-settings app can even report the exact RPM of the fans..
Could fan readings be added to nvsmi?

pmav99 commented 3 years ago

Could you paste the exact commands to retrieve them?

CodedSakura commented 3 years ago

Dunno about the exact RPM, but the percentage can be gotten with nvidia-smi --query-gpu=fan.speed --format=csv,noheader,nounits

pmav99 commented 3 years ago

I am afraid that on my laptop it doesn't report this:

$ nvidia-smi --query-gpu=fan.speed --format=csv,noheader,nounits
[N/A]
CodedSakura commented 3 years ago

it does on my PC, with a 1050ti

$ nvidia-smi --query-gpu=fan.speed --format=csv,noheader,nounits
39

so i guess not every GPU can report it

pmav99 commented 3 years ago

Different laptop with a 1650ti and the fan speed is not reported. Driver Version: 470.57.02