falahati/NvAPIWrapper

NVIDIAApiException getting temps and fan speed (GTX 1650)

arnabau opened this issue · 1 comments

Hi there, hope you doing well!

As the title says, I am trying to get the fan speed and temperature values on a GTX 1650 (laptop), I always get NVAPI_NOT_SUPPORTED, I know what this means, but I have to ask, Is there's a way to get those values?

I'm basically doing this:

foreach (var gpu in PhysicalGPU.GetPhysicalGPUs()) { Console.WriteLine(gpu.FullName); Console.WriteLine(gpu.CoolerInformation.CurrentFanSpeedInRPM); Console.WriteLine(gpu.ThermalInformation.CurrentThermalLevel); }

There is only 1 GPU btw, it is the same if I do

var GPUs = PhysicalGPU.GetPhysicalGPUs(); var ThermalInfo= GPUs[0].ThermalInformation.ThermalSensors;

No matter what I do I always get NVIDIAApiException. Is there something that can be done?

Thanks in advance!

Forget about it. I already managed to make it work

foreach (PhysicalGPU gpu in PhysicalGPU.GetPhysicalGPUs())
 {
  foreach (GPUThermalSensor gpuSensor in gpu.ThermalInformation.ThermalSensors)
    Console.WriteLine(gpuSensor.CurrentTemperature + "°C");
}