Ubuntu 18.04 + Nvidia Geforce 1060 6G 显卡驱动安装
1、BIOS中禁用Secure Boot 设置为 Disable
2、查看显卡设备~$ ubuntu-drivers devices
~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C03sv00001043sd000085A4bc03sc00i00
vendor : NVIDIA Corporation
model : GP106 [GeForce GTX 1060 6GB]
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
3、安装显卡驱动 ~$ sudo ubuntu-drivers autoinstall
4、重启 reboot
5、右上角-About-详细
6、应用中心有 NVIDAI X Server Settings
7、~$ nvidia-smi
Mon Mar 11 19:28:54 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| 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 106... Off | 00000000:01:00.0 On | N/A |
| 0% 36C P0 35W / 120W | 270MiB / 6077MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 4921 G /usr/lib/xorg/Xorg 18MiB |
| 0 5622 G /usr/bin/gnome-shell 48MiB |
| 0 5945 G /usr/lib/xorg/Xorg 107MiB |
| 0 6061 G /usr/bin/gnome-shell 90MiB |
| 0 6408 G gnome-control-center 1MiB |
| 0 7000 G /usr/bin/nvidia-settings 0MiB |
+-----------------------------------------------------------------------------+