Ruslan Bondar Site: docs/DEBIAN/HOWTOinstallNvidiadriversonDebianTesting ...

Ruslan Bondar | Page Index | Recently Commented | Users | Registration | Вход:  Пароль:  

Original : http://saraf.web.cse.unsw.edu.au/nvidia-driver-howto.html


HOWTO install Nvidia drivers on Debian Testing
(in 10 easy steps):


This guide assumes you can't be bothered/don't want to customise your kernel, and are happy with the stock kernel images in debian. You will need to do all this as root.


1. Get the latest kernel image using apt. For me this was 2.6.7–1-k7, so
apt-get install kernel-image-2.6.7–1-k7


To check what the latest kernel-image is, do apt-cache search kernel-image and look for the latest one for your architechture (for me it was k7 (AMD Athlon), a Pentium 4? would be 686)


This will also prompt you to install the new kernel in LILO (or grub). Do so.

2. Get the kernel headers for the kernel you just downloaded:

apt-get install kernel-headers-2.6.7–1-k7
these will be put in /usr/src


3. Reboot your computer. When you start again, uname -a should tell give you the version number of the kernel you just installed.

4. Install the nvidia kernel source package

apt-get install nvidia-kernel-source


5. Set a few environment variables:

export KSRC=/usr/src/kernel-headers-2.6.7–1-k7
export KVERS=2.6.7–1-k7
(replace 2.6.7–1-k7 with the version of the kernel you just installed)


6. Make an Nvidia-kernel package:

cd /usr/scr/modules/nvidia-kernel
debian/rules binary_modules


7. Install nvidia-kernel-common (if not already installed)

apt-get install nvidia-kernel-common


8. Install the nvidia kernel package:

cd /usr/src/modules
dpkg -i nvidia-kernel-2.6.7–1-k7_1.0.6111–1_i386.deb
(or similar filename)


9. Install nvidia-glx

apt-get install nvidia-glx

  1. Edit your /etc/X11/XF86Config-4 file:
          • comment out the following lines (put a # in front of them):
            Load “GLcore”
            Load “dri”
          • make sure the following line is there (and NOT commented out)
            Load “glx”
          • look for the line that says:
            Driver “nv”
            and change it to:
            Driver “nvidia”

..save and exit your editor. You should be done, now press ctrl+alt+backspace to restart X. Pray, and hopefully this should work. :-)
Комментариев нет. [Показать комментарии/форму]