Added NVML memory controller load percentage.

This commit is contained in:
2025-02-07 08:23:46 -08:00
parent 442a524243
commit c4e7f7e8b9
5 changed files with 59 additions and 31 deletions
+18 -17
View File
@@ -29,7 +29,7 @@ Access to the `/dev/i2c` device files, which means either:
## Optional features
### NVML support
Add the make flag `USE_NVML=1` and the it will also display the main GPU temperature ("GPU1") as reported by the NVIDIA driver. It will also display the performance cap/clock reason. This requires the NVIDIA management library (NVML) to be installed.
Add the make flag `USE_NVML=1` and the it will also display the main GPU temperature ("GPU1") as reported by the NVIDIA driver. It will also display the performance cap/clock reason and memory controller utilization. This requires the NVIDIA management library (NVML) to be installed.
### VRAM and Hotspot temperature
Add the make flag `USE_LIBPCI=1` and you can also read the VRAM and "hotspot" temperatures. These require direct memory access to the PCI device so you must run as root and also enable the kernel parameter `iomem=relaxed`. These sensors are **extremely** undocumented so I can't say anything about their accuracy.
@@ -59,29 +59,30 @@ Read sensors:
```text
$ ./evga-icx
#0: EVGA GeForce RTX 3090 FTW3 Ultra v2 (/dev/i2c-3) @ c:00.0
Fan 0: 2133 RPM (71/0%, Auto)
Fan 1: 2123 RPM (70/0%, Auto)
Fan 2: 2122 RPM (70/0%, Offset)
Fan 0: 1751 RPM (58/0%, Auto)
Fan 1: 1730 RPM (57/0%, Auto)
Fan 2: 1712 RPM (57/0%, Offset)
Ext. fan: 0 RPM (0/0%, Offset)
GPU1: +73°C
GPU2: +70.6°C
VRAM: +86°C
MEM1: +68.9°C
MEM2: +65.1°C
MEM3: +70.2°C
PWR1: +60.9°C
PWR2: +66.4°C
PWR3: +73.0°C
PWR4: +71.5°C
PWR5: +65.6°C
HotSpot: +84°C
GPU1: +65°C
GPU2: +57.8°C
VRAM: +74°C
MEM1: +56.1°C
MEM2: +53.5°C
MEM3: +55.5°C
PWR1: +48.2°C
PWR2: +53.2°C
PWR3: +59.6°C
PWR4: +58.0°C
PWR5: +51.1°C
HotSpot: +75°C
Mem util: 43%
Clock reasons: Power cap (0x4)
```
Compact one-line mode:
```text
$ ./evga-icx --compact
#0 FAN 72 72 72 0% GPU 76 73 MEM 90 72 67 72 PWR 63 69 76 74 68 HOT 86°C CLK Pwr
#0 FAN 59 59 58 0% GPU 66 60 MEM 74 58 55 58 PWR 49 55 61 60 53 HOT 77°C MEM 42% CLK Pwr
```
Set external fan to follow Nvidia driver controlled speed with a -500 RPM offset: