falahati/NvAPIWrapper

SetThermalPoliciesStatus does not accept reduced values

androidodesk opened this issue · 0 comments

SetThermalPoliciesStatus does not accept reduced values for targetTemperature. I can set values greater than 70, but it is not possible to set values smaller than 70. In that case a "NVAPI_ERROR" appears. However, I would like to set my targetTemperature preferably to 50

Example:

                    PrivateThermalPoliciesStatusV2 ThermalPoliciesStatus = NvAPIWrapper.Native.GPUApi.GetThermalPoliciesStatus(gpu.Handle);
                    ThermalPoliciesStatusEntry[] ThermalPoliciesStatusEntries = new ThermalPoliciesStatusEntry[ThermalPoliciesStatus.ThermalPoliciesStatusEntries.Length];
                    ThermalPoliciesStatusEntries[0] = new ThermalPoliciesStatusEntry(ThermalPoliciesStatus.ThermalPoliciesStatusEntries[0].Controller, 50);
                    PrivateThermalPoliciesStatusV2 ThermalPoliciesStatusNew = new PrivateThermalPoliciesStatusV2(ThermalPoliciesStatusEntries);
                    NvAPIWrapper.Native.GPUApi.SetThermalPoliciesStatus(gpu.Handle, ThermalPoliciesStatusNew);