
我的電腦上有 2 張顯示卡。一個是 GTX Titan Xp,另一個是 ASUS TUF RTX 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'
重新啟動後,如果我執行 command 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 驅動程序,但沒有解決問題。有辦法解決這個問題嗎?