NVIDIA Display driver install for Debian

Prepare intsall some softwares:
apt-get install gcc-4.1
apt-get install emacs

1.check the linux version ( In my  case )
#cat /proc/version
Linux versoin 2.6.26-2-amd64 (Debian 2.6.26-24)(dannf@debian.org)(gcc

version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25) #1 SMP Sun Jun 20

20:16:30 UTC 2010


2.Download the NVIDIA_Driver for my case,and place /root

3.install the source files for my kernel
#apt-cache search linux-source*
#apt-get install install linux-source-2.6.26
#apt-cache search linux-headers*
#apt-get install install linux-headers-2.6.26-2-amd64

4.untar and make link (if don't link step,when install driver will specify

the kernel path)
#tar xjvf /usr/src/linux-source-2.6.26.tar.bz2
#ln -s /usr/src/linux-source-2.6.26 /usr/src/linux
#ln -s /usr/src/linux-headers-2.6.26-2-amd64 /usr/src/headers

5.Set the environment variable CC to the gcc version of that one used to

compile the kernel
#export CC="gcc-4.1"

6.install NVIDIA driver
#/etc/init.d/gdm stop
#sh devdriver_3.0_linux_64_195.36.15.run
in some web , i see a article , choose update NO,other choose YES.I don't

why
#shutdown -r now(reboot)

END....

7.but my xwindow appear error....
#emacs /etc/X11/xorg.conf
in Screen section part
add
Option "NoPowerConnectorCheck"
save and leave

8.restart X
#/etc/init.d/gdm restart

9.if see Mark "NVIDAI",when start Xwindow
success!

TURE END.........

破英文,用力笑吧= =

備註:
此文章參考 NVIDIA forums
作者為:Lucas
版塊:CUDA in linux

沒有留言:

張貼留言