我的测试环境:Debian Testing
测试硬件:P4 3.0(HT) 512M内存 160G Sata硬盘 Nvidia 6200 TC显卡
1、安装NVIDIA显卡驱动前的准备工作
$ su
$ apt-get install build-essential pkg-config xserver-xorg-dev
$ uname -r
$ apt-get install linux-headers-你 执行uname -r的结果(要是自己编译内核,安装编译内核成功时的Deb包就行了)
2、安装NVIDIA显卡驱动
到http://www.nvidia.com/object/unix.html页面下载相应的驱动
注意:Latest Version、Latest Legacy GPU version (1.0-71xx series)和Latest Legacy GPU version (1.0-96xx series)是不同的,特别是老显卡,请注意选择版本!
详细请看:
What is a Legacy GPU?
The following GPUs are no longer supported in the regular NVIDIA Unified UNIX Graphics Driver. Instead, these GPUs will continue to be supported through special “Legacy GPU” drivers that will be updated periodically to add support for new versions of Linux system components (e.g., new Linux kernels, new versions of the X server, etc).
There are presently two Legacy GPU driver series. The 1.0-71xx series supports TNT, TNT2, GeForce 256, and GeForce2 GPUs. The 1.0-96xx series supports GeForce2 MX, GeForce3, GeForce4, and Quadro4 GPUs. For a complete list of the GPUs supported in each of the Legacy GPU driver series, see the lists below.
The 1.0-96xx driver supports the following set of GPUs:
NVIDIA chip name Device PCI ID
GeForce2 MX/MX 400 0x0110
GeForce2 MX 100/200 0x0111
GeForce2 Go 0x0112
Quadro2 MXR/EX/Go 0x0113
GeForce4 MX 460 0x0170
GeForce4 MX 440 0x0171
GeForce4 MX 420 0x0172
GeForce4 MX 440-SE 0x0173
GeForce4 440 Go 0x0174
GeForce4 420 Go 0x0175
GeForce4 420 Go 32M 0x0176
GeForce4 460 Go 0x0177
Quadro4 550 XGL 0x0178
GeForce4 440 Go 64M 0x0179
Quadro NVS 0x017A
Quadro4 500 GoGL 0x017C
GeForce4 410 Go 16M 0x017D
GeForce4 MX 440 with AGP8X 0x0181
GeForce4 MX 440SE with AGP8X 0x0182
GeForce4 MX 420 with AGP8X 0x0183
GeForce4 MX 4000 0x0185
Quadro4 580 XGL 0x0188
Quadro NVS 280 SD 0x018A
Quadro4 380 XGL 0x018B
Quadro NVS 50 PCI 0x018C
GeForce2 Integrated GPU 0x01A0
GeForce4 MX Integrated GPU 0x01F0
GeForce3 0x0200
GeForce3 Ti 200 0x0201
GeForce3 Ti 500 0x0202
Quadro DCC 0x0203
GeForce4 Ti 4600 0x0250
GeForce4 Ti 4400 0x0251
GeForce4 Ti 4200 0x0253
Quadro4 900 XGL 0x0258
Quadro4 750 XGL 0x0259
Quadro4 700 XGL 0x025B
GeForce4 Ti 4800 0x0280
GeForce4 Ti 4200 with AGP8X 0x0281
GeForce4 Ti 4800 SE 0x0282
GeForce4 4200 Go 0x0286
Quadro4 980 XGL 0x0288
Quadro4 780 XGL 0x0289
Quadro4 700 GoGL 0x028C
The 1.0-71xx driver supports the following set of GPUs:
NVIDIA chip name Device PCI ID
RIVA TNT 0x0020
RIVA TNT2/TNT2 Pro 0x0028
RIVA TNT2 Ultra 0x0029
Vanta/Vanta LT 0x002C
RIVA TNT2 Model 64/Model 64 Pro 0x002D
Aladdin TNT2 0x00A0
GeForce 256 0x0100
GeForce DDR 0x0101
Quadro 0x0103
GeForce2 GTS/GeForce2 Pro 0x0150
GeForce2 Ti 0x0151
GeForce2 Ultra 0x0152
Quadro2 Pro 0x0153
下载下来以后
$ /etc/init.d/gdm stop
cd到驱动所在目录
$ sh 驱动的名字 –x-module-path=/usr/lib/xorg/modules/
$ nano /etc/X11/xorg.conf
加入
Option “glx”
安装NVIDIA显卡驱动完毕。