Syllo / nvtop

GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
Other
7.98k stars 291 forks source link

nvtop and nvidia-settings will disagree about fan speeds < 50% #78

Closed stolk closed 3 years ago

stolk commented 3 years ago

If I use the "coolbits" feature of xorg nvidia driver, then I can manually set the fan speed using nvidia-settings.

So far, so good.

However, as soon as the setting goes below 50%, nvtop and nvidia-settings will report different values. Above 50% they are always in agreement with each other on the fan speed.

nvtop will never show anything lower than 50% for me.

image

Having said this, my current suspicion is that the nvidia-settings reading seems the incorrect one? But that is hard to confirm going by actual fan noise levels.

driver version: 450.51.06-0ubuntu1

nvtop version: 1.0.0

nvidia-settings version: 455.23.05

GPU: GTX 1650

Syllo commented 3 years ago

Hello,

Strange behaviour indeed. Did you crosscheck with the output of the command line nvidia-smi to see if it also differs?

stolk commented 3 years ago

nvidia-smi agrees with nvtop:

$ nvidia-smi 
Mon Sep 28 14:53:05 2020       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.51.06    Driver Version: 450.51.06    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| 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  GeForce GTX 1650    On   | 00000000:17:00.0  On |                  N/A |
| 50%   39C    P5    12W /  75W |    456MiB /  3908MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1047      G   /usr/lib/xorg/Xorg                 59MiB |
|    0   N/A  N/A      1504      G   /usr/lib/xorg/Xorg                222MiB |
|    0   N/A  N/A      1631      G   /usr/bin/gnome-shell              148MiB |
|    0   N/A  N/A      2186      G   /usr/lib/firefox/firefox            2MiB |
|    0   N/A  N/A      3293      G   /usr/lib/firefox/firefox            8MiB |
|    0   N/A  N/A      3397      G   /usr/lib/firefox/firefox            2MiB |
|    0   N/A  N/A      4372      G   nvidia-settings                     0MiB |
+-----------------------------------------------------------------------------+

I think it may just be a limitation of my Zotac brand GTX 1650. One that nvidia-settings is not properly detecting.

Syllo commented 3 years ago

Unfortunately I cannot do anything about it. I only report the values that the driver provides.