mikaku / Monitorix

Monitorix is a free, open source, lightweight system monitoring tool.
https://www.monitorix.org
GNU General Public License v2.0
1.12k stars 167 forks source link

nVidia GTX 780 Ti showing -nan% for everything #446

Closed jemail99 closed 2 years ago

jemail99 commented 2 years ago

Monitorix: Latest OS: openSUSE Tumbleweed

Error shown on command line: Mon Nov 28 16:20:00 2022 - ERROR: while updating /var/lib/monitorix/nvidiagpu.rrd: /var/lib/monitorix/nvidiagpu.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '[N/A]' to float

Output of nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.141.03   Driver Version: 470.141.03   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 N/A |                  N/A |
| 19%   42C    P5    N/A /  N/A |    705MiB /  3019MiB |     N/A      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
mikaku commented 2 years ago

Yes, this was fixed in #415.

You can either apply the patch for yourself, or wait to the release of the next Monitorix version (expected early next month).