Admin
CPU: i7 4800MQ
GPU: GTX 980M
sudo mhwd -a pci nonfree 0300
Choose latest version: 440.59
Reboot
Check Installation Success:
[wood@wood-m6800 ~]$ nvidia-smiSun Mar 1 03:35:34 2020+-----------------------------------------------------------------------------+| NVIDIA-SMI 440.59 Driver Version: 440.59 CUDA Version: 10.2 ||-------------------------------+----------------------+----------------------+| 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 980M Off | 00000000:01:00.0 On | N/A || N/A 40C P5 14W / N/A | 480MiB / 8118MiB | 2% Default |+-------------------------------+----------------------+----------------------++-----------------------------------------------------------------------------+| Processes: GPU Memory || GPU PID Type Process name Usage ||=============================================================================|| 0 779 G /usr/lib/Xorg 55MiB || 0 1189 G /usr/lib/Xorg 207MiB || 0 1239 G /usr/bin/gnome-shell 147MiB || 0 1946 G ...AAAAAAAAAAAAAAgAAAAAAAAA --shared-files 38MiB |+-----------------------------------------------------------------------------+
Successfully installed version 440.59
sudo pacman -S cuda cudnn
Choose the same version as nvdia driver installed.
Build CUDA Samples:
sucd /opt/cuda/samplesmake
If command make failed like nvscibuf.h: No such file or directory, Try update file Makefile about line 41 and run make:
FILTER_OUT := 0_Simple/cudaNvSci/Makefile
Build success, then run test:
cd bin/x86_64/linux/release./deviceQuery
Should out put some thing like “PASS”.
https://blog.csdn.net/qq_35306993/article/details/89497755
https://blog.csdn.net/becgiggs/article/details/104081264?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task
https://www.jianshu.com/p/77752b2f8149