Post date: Jan 04, 2018 4:30:24 AM
To find out if your GPU is installed properly and working run the following command:
munim@dnn:~$ sudo lspci -nnk | grep -i nvidia
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c81] (rev a1)
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_375
01:00.1 Audio device [0403]: NVIDIA Corporation Device [10de:0fb9] (rev a1)
To confirm that the driver was installed correctly and that your GPU is being recognized, run nvidia-smi. This command is also useful if you want to check performance metrics of the GPU.
munim@dnn:~$ sudo nvidia-smi
Thu Jan 4 19:23:37 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| 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 1050 Off | 0000:01:00.0 On | N/A |
| 0% 46C P8 35W / 70W | 399MiB / 1998MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1213 G /usr/lib/xorg/Xorg 207MiB |
| 0 3181 G compiz 135MiB |
| 0 6461 G ...el-token=D58F2E98F72FF8E38A4F40A622AEE0C3 54MiB |
+-----------------------------------------------------------------------------+