Guest User

Untitled

a guest
Nov 20th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-ubuntu1404-8-0-local-ga2_8.0.61-1_amd64-deb
  2.  
  3. sudo dpkg -i cuda-repo-ubuntu1604-8-0-local_8.0.44-1_amd64-deb
  4. sudo apt-get update
  5. sudo apt-get install -y cuda
  6.  
  7. nvidia-smi
  8.  
  9. NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running
  10.  
  11. sudo ./NVIDIA-Linux-x86_64-331.62.run
  12.  
  13. ERROR: Unable to load the 'nvidia-drm' kernel module.
  14.  
  15. Linux 2017-02-21-josh-gpu 4.4.0-64-generic #85~14.04.1-Ubuntu SMP Mon Feb 20 12:10:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
  16.  
  17. Module Size Used by
  18. drm_kms_helper 151552 0
  19. drm 360448 1 drm_kms_helper
  20. syscopyarea 16384 1 drm_kms_helper
  21. sysfillrect 16384 1 drm_kms_helper
  22. sysimgblt 16384 1 drm_kms_helper
  23. fb_sys_fops 16384 1 drm_kms_helper
  24. udf 90112 0
  25. crc_itu_t 16384 1 udf
  26. dm_crypt 28672 0
  27. joydev 20480 0
  28. hid_generic 16384 0
  29. hid_hyperv 16384 0
  30. hid 118784 2 hid_hyperv,hid_generic
  31. hyperv_keyboard 16384 0
  32. hv_balloon 24576 0
  33. input_leds 16384 0
  34. serio_raw 16384 0
  35. hv_netvsc 40960 0
  36. hv_storvsc 20480 2
  37. hv_utils 28672 2
  38. scsi_transport_fc 65536 1 hv_storvsc
  39. crct10dif_pclmul 16384 0
  40. crc32_pclmul 16384 0
  41. ghash_clmulni_intel 16384 0
  42. hyperv_fb 20480 1
  43. aesni_intel 167936 0
  44. aes_x86_64 20480 1 aesni_intel
  45. lrw 16384 1 aesni_intel
  46. gf128mul 16384 1 lrw
  47. glue_helper 16384 1 aesni_intel
  48. ablk_helper 16384 1 aesni_intel
  49. cryptd 20480 3 ghash_clmulni_intel,aesni_intel,ablk_helper
  50. psmouse 126976 0
  51. hv_vmbus 90112 7 hv_balloon,hyperv_keyboard,hv_netvsc,hid_hyperv,hv_utils,hyperv_fb,hv_storvsc
  52. floppy 73728 0
  53.  
  54. sudo nano /etc/modprobe.d/blacklist.conf
  55.  
  56. amd76x_edac #this might not be required for x86 32 bit users.
  57. blacklist vga16fb
  58. blacklist nouveau
  59. blacklist rivafb
  60. blacklist nvidiafb
  61. blacklist rivatv
  62.  
  63. wget -O NVIDIA-Linux-x86_64-384.73-grid.run https://go.microsoft.com/fwlink/?linkid=849941
  64.  
  65. chmod +x NVIDIA-Linux-x86_64-384.73-grid.run
  66.  
  67. sudo ./NVIDIA-Linux-x86_64-384.73-grid.run
  68.  
  69. CUDA_REPO_PKG=cuda-repo-ubuntu1604_8.0.44-1_amd64.deb
  70.  
  71. wget -O /tmp/${CUDA_REPO_PKG} http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/${CUDA_REPO_PKG}
  72.  
  73. sudo dpkg -i /tmp/${CUDA_REPO_PKG}
  74.  
  75. rm -f /tmp/${CUDA_REPO_PKG}
  76.  
  77. sudo apt-get update
  78.  
  79. sudo apt-get install cuda-drivers
Add Comment
Please, Sign In to add comment