无法在 Ubuntu 22.04 上调整第二个 GPU 风扇速度

无法在 Ubuntu 22.04 上调整第二个 GPU 风扇速度

我的电脑上有 2 个显卡。一个是 GTX Titan Xp,另一个是 ASUS TUF RTX 4090。我想调整 4090 的风扇速度,但出现了一些错误。操作系统是 Ubuntu 22.04。以下是详细信息。

这是我运行后得到的结果nvidia-smi

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.10              Driver Version: 535.86.10    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| 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 TITAN Xp                On  | 00000000:21:00.0  On |                  N/A |
| 23%   33C    P5              21W / 250W |    337MiB / 12288MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA GeForce RTX 4090        On  | 00000000:49:00.0 Off |                  Off |
|ERR!   54C    P0              45W / 450W |     16MiB / 24564MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      2590      G   /usr/lib/xorg/Xorg                           95MiB |
|    0   N/A  N/A      2853      G   /usr/bin/gnome-shell                         91MiB |
|    0   N/A  N/A      4694      G   ...irefox/3026/usr/lib/firefox/firefox      147MiB |
|    1   N/A  N/A      2590      G   /usr/lib/xorg/Xorg                            6MiB |
+---------------------------------------------------------------------------------------+

我们可以看到系统可以读取 Titan Xp 风扇速度,但报告 4090 错误。这是命令的输出sudo nvidia-xconfig --cool-bits=4

Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

重新启动后,如果我运行命令sudo nvidia-settings -a "[gpu:1]/GPUFanControlState=1" -a "[fan:1]/GPUTargetFanSpeed=55",它会报告错误:

ERROR: An internal driver error occurred

  Attribute 'GPUFanControlState' (RyzenTR:0[gpu:1]) assigned value 1.


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: An internal driver error occurred


ERROR: Error assigning value 55 to attribute 'GPUTargetFanSpeed' (RyzenTR:0[fan:1]) as specified in assignment '[fan:1]/GPUTargetFanSpeed=55' (Unknown
       Error).

我尝试在终端中重新安装 nvidia 驱动程序,但问题并未解决。有办法解决这个问题吗?

相关内容