我正在尝试让 Nvidia 驱动程序工作,但是当我打开 Nvidia 设置时,只会打开一个小的空白窗口(如屏幕截图所示,还有nvidia-smi
命令的输出)。
我已经通过运行以下命令安装了驱动程序:
ubuntu-drivers devices
sudo apt-get install nvidia-driver-430
sudo reboot
我尝试过多次清除并重新安装驱动程序,但没有任何改变。
如果您能就如何使 Nvidia 设置正常工作提出任何建议,我们将不胜感激。
系统:采用Ubuntu 18.04的远程服务器,通过KDE Plasma + Microsoft Remote Desktop进行可视化输出。
输出nvidia-smi
:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.40 Driver Version: 430.40 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1080 Off | 00000000:01:00.0 Off | N/A |
| 33% 37C P8 7W / 200W | 54MiB / 8119MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1273 G /usr/lib/xorg/Xorg 9MiB |
| 0 1339 G /usr/bin/sddm-greeter 42MiB |
+-----------------------------------------------------------------------------+
运行时出现错误消息nvidia-settings
或sudo nvidia-settings
:
ERROR: Unable to load info from any available system
(nvidia-settings:2278): GLib-GObject-CRITICAL **: 13:28:34.205: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 13:28:34.206: PRIME: No offloading required. Abort
** Message: 13:28:34.206: PRIME: is it supported? no