【安装方法】在 Ubuntu 11.10上安装NVIDIA CUDA驱动
2012-06-10 22:06
543 查看
我们经常为GPU程序员提供技术支持,经常发现很多人不太会设置NVIDIA驱动。这个帖子就是为了帮助 Ubuntu 用户。
下面是在Ubuntu 桌面上安装NVIDIA驱动。
我们使用11.10版本。但对于其他版本的Ubuntu,步骤是一样。
下面是步骤:
下载最新的驱动版本 NVIDIA driver,确保下载具有执行权限.
chmod u+x NVIDIA-Linux-x86_64-285.05.33.run
Disable the default driver on the next start up. In your favorite editor open /etc/modprobe.d/blacklist.conf. I prefer nano:
sudo nano /etc/modprobe.d/blacklist.conf
Add to the end of this file the following lines:
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
This will make sure that the default NVIDIA driver (nouveau) will not be allowed to run on the next start up.
Reboot now.
Before the driver can be installed the X window server needs to be shutdown. After rebooting go to the terminal. This can be done before or after logging in.
Ctrl + Alt + F3
You will have to login again even if you have already done so.
Now shutdown the X window server.
sudo service lightdm stop
Note: on different distributions such as Kubuntu there will be a different display manager. Look in /etc/init.d/ for which program is installed. It may be kdm or gdm.
Now that the window server is down and the nouveau driver is disabled the NVIDIA driver may now be installed. Navigate back to your download directory and run this command:
sudo ./NVIDIA-Linux-x86_64-285.05.33.run
Navigate through the text interface. Once you are done and the driver is successfully installed you many now reactivate the window manager.
sudo service lightdm start
and if you wish to go back to your desktop
Ctrl + Alt + F7
现在确认NVIDIA驱动开始工作,可以找到你的GPU.
Open up the NVIDIA X server settings GUI either by searching for it or using this command
nvidia-settings
You should see in the list on the left all of your GPU(s) on the computer.
Alternatively you can view the information through the command line
nvidia-settings -q gpus
Success!
下面是在Ubuntu 桌面上安装NVIDIA驱动。
我们使用11.10版本。但对于其他版本的Ubuntu,步骤是一样。
下面是步骤:
下载最新的驱动版本 NVIDIA driver,确保下载具有执行权限.
chmod u+x NVIDIA-Linux-x86_64-285.05.33.run
Disable the default driver on the next start up. In your favorite editor open /etc/modprobe.d/blacklist.conf. I prefer nano:
sudo nano /etc/modprobe.d/blacklist.conf
Add to the end of this file the following lines:
blacklist nouveau
blacklist lbm-nouveau
alias nouveau off
alias lbm-nouveau off
This will make sure that the default NVIDIA driver (nouveau) will not be allowed to run on the next start up.
Reboot now.
Before the driver can be installed the X window server needs to be shutdown. After rebooting go to the terminal. This can be done before or after logging in.
Ctrl + Alt + F3
You will have to login again even if you have already done so.
Now shutdown the X window server.
sudo service lightdm stop
Note: on different distributions such as Kubuntu there will be a different display manager. Look in /etc/init.d/ for which program is installed. It may be kdm or gdm.
Now that the window server is down and the nouveau driver is disabled the NVIDIA driver may now be installed. Navigate back to your download directory and run this command:
sudo ./NVIDIA-Linux-x86_64-285.05.33.run
Navigate through the text interface. Once you are done and the driver is successfully installed you many now reactivate the window manager.
sudo service lightdm start
and if you wish to go back to your desktop
Ctrl + Alt + F7
现在确认NVIDIA驱动开始工作,可以找到你的GPU.
Open up the NVIDIA X server settings GUI either by searching for it or using this command
nvidia-settings
You should see in the list on the left all of your GPU(s) on the computer.
Alternatively you can view the information through the command line
nvidia-settings -q gpus
Success!
相关文章推荐
- Ubuntu 16.04安装NVIDIA显卡驱动 、CUDA-8.0、cuDNN和TensorFlow问题及解决方法
- ubuntu安装nvidia官方驱动(安装CUDA7.5之后,找不到TITAN显卡的解决方法)
- 【ubuntu14.04配置caffe】一——双显卡安装NVIDIA驱动以及cuda和cudnn
- 史上最全的ubuntu16.04安装nvidia驱动+cuda9.0+cuDnn7.0
- ubuntu 安装nvidia驱动后修改分辨率方法
- Ubuntu 8.10没有声音(解决方法小结),及显卡驱动(Nvidia-xsever)安装
- Ubuntu 16.04lts 安装NVIDIA 私有驱动、cuda、cudnn、tensorflow-gpu等问题
- Ubuntu 11.10 Linux 3D桌面完全教程,显卡驱动安装方法,compiz特效介绍,常见问题解答
- Ubuntu 17.10 一步安装NVIDIA驱动 + CUDA8.0 在GTX1070笔记本上配置深度学习环境
- Ubuntu安装NVIDIA驱动,任务栏标题栏消失的解决方法
- Ubuntu 11.10 Linux 3D桌面完全教程,显卡驱动安装方法,compiz特效介绍,常见问题解答
- Ubuntu 16.04 深度学习环境快速安装(NVIDIA驱动+cuda+cuDNN)
- Ubuntu系统安装CUDA或NVIDIA驱动后出现循环登录问题的Solution (附:building kernel modules error)
- Ubuntu 16.04 64位 安装NVIDIA驱动 CUDA9.1和PyTorch
- 华硕笔记本(GTX 1060显卡)安装Ubuntu16.04+Nvidia显卡驱动+Cuda8.0+cudnn6.0+ROS+Opencv3.2+Caffe+Tensorflow
- ubuntu14安装nVidia驱动和CUDA Toolkit的安装和调试
- 【Linux开发】【CUDA开发】Ubuntu上安装NVIDIA显卡驱动
- 总结Ubuntu10.04安装Nvidia驱动(Nvidia-Linux-x86-270.41.06.run)的方法
- 双显卡 ubuntu16.04 安装 NVIDIA驱动 + CUDA + cuDNN + tensorflow-gpu + keras
- Ubuntu下NVIDIA显卡驱动安装教程+cuda8.0+cudnn5.1(极力推荐)