Skip to content

Commit bd2fcf7

Browse files
committed
Record RTX 50XX gpu core temp with decimal precision
1 parent a0f2484 commit bd2fcf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OpenHardwareMonitorLib/Hardware/Gpu/NvidiaGpu.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ public override void Update()
479479
if (Name.StartsWith("NVIDIA GeForce RTX 50", StringComparison.OrdinalIgnoreCase))
480480
{
481481
_hotSpotTemperature.Value = 0;
482+
_temperatures[0].Value = thermalSensors.Temperatures[1] / 256.0f;
482483
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[2] / 256.0f;
483484
}
484485
// RTX 40xx series
@@ -1005,7 +1006,7 @@ private NvApi.NvThermalSettings GetThermalSettings(out NvApi.NvStatus status)
10051006

10061007
NvApi.NvThermalSettings settings = new()
10071008
{
1008-
Version = (uint)NvApi.MAKE_NVAPI_VERSION<NvApi.NvThermalSettings>(1),
1009+
Version = (uint)NvApi.MAKE_NVAPI_VERSION<NvApi.NvThermalSettings>(2),
10091010
Count = NvApi.MAX_THERMAL_SENSORS_PER_GPU
10101011
};
10111012

0 commit comments

Comments
 (0)