Skip to content

Commit 0c2ad50

Browse files
committed
FIX RTX 50XX Memory junction temp reading
* Update NvidiaGpu.cs * Enhance 50 series detection logic
1 parent e7d3687 commit 0c2ad50

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

OpenHardwareMonitorLib/Hardware/Gpu/NvidiaGpu.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,17 @@ public override void Update()
475475

476476
if (status == NvApi.NvStatus.OK)
477477
{
478-
_hotSpotTemperature.Value = thermalSensors.Temperatures[1] / 256.0f;
479-
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[9] / 256.0f;
478+
// RTX 50xx series
479+
if (Name.StartsWith("NVIDIA GeForce RTX 50", StringComparison.OrdinalIgnoreCase))
480+
{
481+
_hotSpotTemperature.Value = 0;
482+
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[2] / 256.0f;
483+
}
484+
else
485+
{
486+
_hotSpotTemperature.Value = thermalSensors.Temperatures[1] / 256.0f;
487+
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[9] / 256.0f;
488+
}
480489
}
481490

482491
if (_hotSpotTemperature.Value != 0)

0 commit comments

Comments
 (0)