博主最近刚从win10换到ubuntun15.10,ubuntun下的驱动安装不像windows下的那样容易,网络上的教程有很多,但是还是让我等小白们无从下手
那今天我们就详细的说一下ubuntun下通过ppa的方式来安装Nvidia显卡。
博主自己的电脑为联想Y430P 显卡型号为Nvidia GTX850M,
1 在终端输入以下代码
<span style="font-size:14px;">sudo add-apt-repository ppa:xorg-edgers/ppa</span><pre name="code" class="plain">sudo apt-get update
然后我们就可以根据自己的显卡型号来安装了,比如我的显卡驱动就可以通过以下命令来安装
sudo apt-get install nvidia-352 nvidia-settings
这样显卡驱动就安装好了,安装前童鞋们一定要查好自己驱动所对应的型号
有些朋友可能遇到过装完重启后黑屏的情况,我们可以尝试以下的方式解决
<span style="font-size:14px;">1 sudo gedit /etc/x11/xorg.conf</span>
2 find the line that says: Section "Screen"
insert a new line that says Option "UseDisplayDevice" "DFP"
3 save the file use reboot to restart you computer
网络上还有好多教程是先在官网下载好驱动的.run文件,然后关闭图形界面进行安装,不过这种方法不怎么适合像我们这样的新手