psensor icon indicating copy to clipboard operation
psensor copied to clipboard

How are RPM GPU fan values retrieved by psensor?

Open ricciolino opened this issue 2 years ago • 0 comments

How are RPM GPU fan values retrieved by psensor?

Screenshot from 2023-03-17 14-09-31

I need a simple way to retrieve it with a command line base utility. Please can you pointing me out which is the piece of code responsible for obtain these values? Which is, under the hood, the nvml call toward the GPU driver to get exactly the live RPM values of the fans?

I already try though a simple python3 script using the following API: py3nvml.nvmlUnitGetFanSpeedInfo

But doesn't work for my RTX 3080 (Driver version 525.85.05). It say: py3nvml.py3nvml.NVMLError_InvalidArgument: Invalid Argument

ricciolino avatar Mar 17 '23 13:03 ricciolino