Jan 16, 2010

debian lenny 安装显卡驱动

1. 查看显卡硬件信息
ox0spy@debian:/code$ sudo lshw
*-display UNCLAIMED
description: VGA compatible controller
product: Quadro NVS 140M
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller
bus_master cap_list
configuration: latency=0
看到 product: Quadro NVS 140M ; vendor: nVidia Corporation

2. 下载显卡驱动
http://www.nvidia.com/object/unix.html 找最新的显卡驱动,然后看看
REDEME 中是否支持自己的显卡
发现: 190.53 支持 Quadro NVS 140M
ox0spy@debian:/code$ wget
http://us.download.nvidia.com/XFree86/Linux-x86/190.53/NVIDIA-Linux-x86-190.53-pkg1.run

3. 安装需要的包 (由于系统已经安装过,所以确定下就行)
ox0spy@debian:/code$ dpkg -l linux-headers-$(uname -r) build-essential gcc
ii build-essential 11.4 Informational list of
build-essential packages
ii gcc 4:4.3.2-2 The GNU C compiler
ii linux-headers-2.6.26-2 2.6.26-21 Header files for Linux
2.6.26-2-686
都已经安装好了

4. 安装驱动
ox0spy@debian:/code$ sudo sh ./NVIDIA-Linux-x86-190.53-pkg1.run
提示必须到字符界面安装,并且要关闭所有X程序
ox0spy@debian:/code$ sudo /etc/init.d/gmd stop

进入字符界面,重新开始安装
ox0spy@debian:/code$ sudo sh ./NVIDIA-Linux-x86-190.53-pkg1.run
提示需要 gcc-4.1 而我的是 gcc-4.1,忽略继续安装就行,最后会提示xorg.conf
已经更新并且安装成功

5. 确定驱动安装成功 (lspci 会显示硬件及其驱动信息)
ox0spy@debian:/code$ lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M
(rev a1)

哈哈,看MTV爽多了。。。

No comments:

Post a Comment

您的评论将使我blog更有动力~