ububtu 7.04 下的 nvidia 显卡驱动安装

1. 到http://www.nvidia.com/ 下载适合的驱动
97xx 和 96xx 的驱动相关支持参见这里

2. 删除原来的驱动(如果你装过驱动)
sudo apt-get --purge remove nvidia-glx

3. 备份当前的显示设置,这样可以在驱动安装失败时恢复到原来的设置
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

4. 安装驱动程序编译环境
sudo apt-get install build-essential linux-headers-`uname -r`

5. 禁止系统使用默认的驱动
sudo vim /etc/default/linux-restricted-modules-common
在最后的双引号中添加nv,即 "" 改成 "nv"

6. 按Ctrl+Alt+F1,登录,停止gdm或kdm
sudo /etc/init.d/gdm(kdm) stop

7. 进入下载的驱动安装文件 nvidia-linux-x86-1.0-****-pkg1.run所在目录(请确定xorg-dev软件包已经安装,编译过程中可能会用到)
sudo sh nvidia-linux-x86-****.run
如果提示缺少某某模块(modules),询问是否上网下载,选no;

8. 安装完成后,启动gdm
sudo /etc/init.d/gdm start
此时,就会看到NVIDIA的LOGO了,驱动安装成功。

9. 删除 nVidia标志
* 如果您不想在启动界面之前显示 nVidia 标志,您需要手动编辑您的 Xorg 配置文件.
sudo vim /etc/X11/xorg.conf
在Device一节中找到 "nvidia" 所在行,在该行后添加
Option "NoLogo"
保存文件并退出,重启X

其中第5步非常重要,我就是因为它用了接近一下午时间。

Tags: nvidia, ubuntu, 安装

相关日志

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

还没有评论。

发表评论

(必填)

(必填)


*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comment moderation is enabled. Your comment may take some time to appear.