Admin

Dell M6800 Manjaro 安装 NVDIA 驱动和CUDA
2020年3月1日 14:05 5 0 0 0

Install CUDA On Manjaro For Dell M6800

Hardware

CPU: i7 4800MQ
GPU: GTX 980M

Install Nvidia Driver

  1. sudo mhwd -a pci nonfree 0300

Choose latest version: 440.59

Reboot

Check Installation Success:

  1. [wood@wood-m6800 ~]$ nvidia-smi
  2. Sun Mar 1 03:35:34 2020
  3. +-----------------------------------------------------------------------------+
  4. | NVIDIA-SMI 440.59 Driver Version: 440.59 CUDA Version: 10.2 |
  5. |-------------------------------+----------------------+----------------------+
  6. | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
  7. | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
  8. |===============================+======================+======================|
  9. | 0 GeForce GTX 980M Off | 00000000:01:00.0 On | N/A |
  10. | N/A 40C P5 14W / N/A | 480MiB / 8118MiB | 2% Default |
  11. +-------------------------------+----------------------+----------------------+
  12. +-----------------------------------------------------------------------------+
  13. | Processes: GPU Memory |
  14. | GPU PID Type Process name Usage |
  15. |=============================================================================|
  16. | 0 779 G /usr/lib/Xorg 55MiB |
  17. | 0 1189 G /usr/lib/Xorg 207MiB |
  18. | 0 1239 G /usr/bin/gnome-shell 147MiB |
  19. | 0 1946 G ...AAAAAAAAAAAAAAgAAAAAAAAA --shared-files 38MiB |
  20. +-----------------------------------------------------------------------------+

Successfully installed version 440.59

Install CUDA

  1. sudo pacman -S cuda cudnn

Choose the same version as nvdia driver installed.

Test CUDA Installation

Build CUDA Samples:

  1. su
  2. cd /opt/cuda/samples
  3. make

If command make failed like nvscibuf.h: No such file or directory, Try update file Makefile about line 41 and run make:

  1. FILTER_OUT := 0_Simple/cudaNvSci/Makefile

Build success, then run test:

  1. cd bin/x86_64/linux/release
  2. ./deviceQuery

Should out put some thing like “PASS”.

Refer

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

发布内容,请遵守相关法律法规。
评论