FIX RTX 50XX Memory junction temp reading (#1878)
* Update NvidiaGpu.cs * Enhance 50 series detection logic * Remove unused namespace import in NvidiaGpu.cs Removed unused 'System.Xml.Linq' namespace import. --------- Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
This commit is contained in:
co-authored by
PhyxionNL
parent
3c402a59ef
commit
2f595d76c2
@@ -481,8 +481,17 @@ internal sealed class NvidiaGpu : GenericGpu
|
||||
|
||||
if (status == NvApi.NvStatus.OK)
|
||||
{
|
||||
_hotSpotTemperature.Value = thermalSensors.Temperatures[1] / 256.0f;
|
||||
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[9] / 256.0f;
|
||||
// RTX 50xx series
|
||||
if (Name.StartsWith("NVIDIA GeForce RTX 50", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
_hotSpotTemperature.Value = 0;
|
||||
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[2] / 256.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
_hotSpotTemperature.Value = thermalSensors.Temperatures[1] / 256.0f;
|
||||
_memoryJunctionTemperature.Value = thermalSensors.Temperatures[9] / 256.0f;
|
||||
}
|
||||
}
|
||||
|
||||
if (_hotSpotTemperature.Value != 0)
|
||||
|
||||
Reference in New Issue
Block a user