[LBo] runlevel in Debian

Niki Kovacs contact at kikinovak.net
Mon May 7 21:27:03 CEST 2007


Rafi Gabzu a écrit :
> Thanks it works ... now I'm struggling with the driver ...
> 
Basically, installing NVidia driver amounts to this.

Check out your exact card model:

# lspci | grep -i vga

Go to nvidia site, download appropriate driver.

Install the necessary tools for compilation. Debian has a nifty 
metapackage for this:

# apt-get install build-essential

Check out your kernel version:

uname -r

Download the appropriate kernel headers:

# apt-get install linux-headers-<yourkernelversion>

If you want to take a peek at what's on offer:

# apt-cache search --names-only linux-headers

Oncy you've got all that, stop your X server, and as root:

# sh nvidia-installer.sh

You don't even need to chmod +x the script.

Now I know there's a Debian way to do that, but several ways lead to Rome.

Oh, yes. Once you built your module:

# modprobe nvidia (will be done automagically on reboot)

And then edit /etc/X11/xorg.conf, find the line that says:

Driver   "nv"

... and replace it by:

Driver   "nvidia"

Restart X, open a Terminal, type:

$ glxgears

... and appreciate your new X server acceleration.

Cheers,

Niki
-- 
Dyslexics have more fnu.


More information about the QnA mailing list