ubuntu16.04 安装GeForce1080驱动+CUDA8.0
来源:互联网 发布:2017最新拼图软件 编辑:程序博客网 时间:2024/05/19 13:26
1.首先安装驱动:
sudo add-apt-repository ppa:graphics-drivers/ppa
第一次运行出现如下的警告:
第一次运行出现如下的警告:
Fresh drivers from upstream, currently shipping Nvidia.
Current Status
We currently recommend: nvidia−361 nvidia-361 , Nvidia’s current long lived branch.
For GeForce 8 and 9 series GPUs use nvidia−340nvidia-340
For GeForce 6 and 7 series GPUs use nvidia−304nvidia-304
What we’re working on right now:
– Normal driver updates– Investigating how to bring this goodness to distro on a cadence.
WARNINGS:
This PPA is currently in testing, you should be experienced with packaging before you dive in here. Give us a few days to sort out the kinks.
Volunteers welcome! See also: https://github.com/mamarley/nvidia-graphics-drivers/
http://www.ubuntu.com/download/desktop/contribute
更多信息: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
按回车继续或者 Ctrl+c 取消添加
sudo apt-get updatesudo apt-get install nvidia-367sudo apt-get install mesa-common-devsudo apt-get install freeglut3-dev
2.CUDA8.0
官网下载对应版本的run文件
sudo sh cuda_8.0.27_linux.run
一直回车直到出现接下来的场景选择:
Do you accept the previously read EULA?accept/decline/quit: accept
Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 361.62?(y)es/(n)o/(q)uit: n
Install the CUDA 8.0 Toolkit?(y)es/(n)o/(q)uit: y
Enter Toolkit Location[ default is /usr/local/cuda-8.0 ]:
Do you want to install a symbolic link at /usr/local/cuda?(y)es/(n)o/(q)uit: y
Install the CUDA 8.0 Samples?(y)es/(n)o/(q)uit: y
Enter CUDA Samples Location[ default is /home/textminer ]:
Installing the CUDA Toolkit in /usr/local/cuda-8.0 …
Installing the CUDA Samples in /home/textminer …
Copying samples to /home/textminer/NVIDIA_CUDA-8.0_Samples now…
Finished copying samples.
===========
= Summary =
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-8.0
Samples: Installed in /home/textminer
Please make sure that
– PATH includes /usr/local/cuda-8.0/bin
– LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 361.00 is required for CUDA 8.0 functionality to work.
To install the driver using this installer, run the following command, replacing with the name of this run file:
sudo .run -silent -driver
Logfile is /opt/temp//cuda_install_6583.log
安装完毕后,再声明一下环境变量,并将其写入到 ~/.bashrc 的尾部:
export PATH=/usr/local/cuda-8.0/bin
最后再来测试一下CUDA,运行:
nvidia-smi
- ubuntu16.04 安装GeForce1080驱动+CUDA8.0
- ubuntu16.04安装nvidia驱动+cuda8.0+cuDnn5.0
- caffe安装(1)ubuntu16.04+显卡驱动+cuda8.0
- ubuntu16.04 安装cuda8.0 遇到的显卡驱动问题
- ubuntu16.04+NVIDIA GTX1050ti 显卡驱动PPA安装 +CUDA8.0
- ubuntu16.04安装cuda8.0
- 安装Ubuntu16.04+cuda8.0
- ubuntu16.04安装cuda8.0
- ubuntu16.04+cuda8.0安装
- ubuntu16.04 安装cuda8.0 cudnn7.0
- ubuntu16.04+ cuda8.0: 安装 opencv 3.0
- Ubuntu16.04+cuda8.0+caffe安装教程
- Ubuntu16.04+cuda8.0+caffe安装教程
- ubuntu16.04+cuda8.0+caffe安装
- ubuntu16.04 + cuda8.0安装配置
- Ubuntu16.04+cuda8.0+caffe安装教程
- ubuntu16.04下安装cuda8.0
- Ubuntu16.04 + cuda8.0 + GTX1080安装教程
- Atitit.团队文化建设------影响组织的的一些原理 法则 定理 效应 p826.v4
- 通信数据分析平台(一)
- C
- bzoj 3990: [SDOI2015]排序 dfs
- Html / CSS常见问题 解决方案
- ubuntu16.04 安装GeForce1080驱动+CUDA8.0
- ubuntu1604常用快捷键
- 上传多图发布 微信小程序
- matlab问题:输出结果出现分数,且分子分母都是很长数字
- java获得url的端口号
- 【EasyUI】——页面加载闪屏问题
- iOS UIApplicationMain
- 五 iOS之 绘制文字和图片
- 幂等