-   Linux - Hardware (
-   -   Nvidia drivers on debian - GeForce4 (

jymden 03-14-2003 06:05 AM

Nvidia drivers on debian - GeForce4
hello all, i have a problem...

i cant get X to start on my recently installed debian 3.0r1 (stable) system, the problem is my GeForce ti4200 card.

i have read alot of the other threads here and i STILL cant get it to work!

When i type "startx" i get :
Fatal server error:
no screens found

so i browsed the forums and found this post :

that basically says to download the new drivers from, so i did... and when i type "make install" as in the example in the other thread :

$ tar xvzf NVIDIA_kernel.tar.gz
$ tar xvzf NVIDIA_GLX.tar.gz
$ cd NVIDIA_kernel
---> $ make
$ make install
$ cd ../NVIDIA_GLX
---> $ make
$ make install

to install them, i get an error message :
Failed CC sanity check

so, again i check the other thread and read about getting the kernel headers and source, so i do that with :
apt-get install kernel-source-2.4.18 and
apt-get install kernel-headers-2.4.18-686

still the same problem =(

then i checked the tutorial at :
and then had a look at my bios, but i cant find anything that resembles "assign IRQ to PCI VGA" and not any "PnP OS" either!

Please help me!


TigerOC 03-14-2003 11:32 AM

Did you use "./configure" before "make" ? The normal is "./configure" then "make" and then "make install" for kernel first then GLX

jymden 03-14-2003 05:16 PM

TigerOC, i dont understand what you want me to do ??
just type "./configure" in the kernel directory ?? that renders me with a "no such file or directory" error message....

Im somewhat of a newbie to linux, but i do have some experiance with dos and at work i use VMS.


TigerOC 03-15-2003 01:36 AM

I am incorrect about using "./configure". I have done a search on the error you are reporting and it has occurred quite frequently. You will find more info on this thread. Basically the problem is that the compiler (gcc) used to compile the kernel has changed and a new complier is in use. I am not sure if you have done an update of gcc since you installed. Also the kernel source must be located in /usr/src/linux/include. The latter may be your problem. I encountered this as Debian places this file in /usr/local/include. I created the directory /usr/src/linux/include/linux and then copied the header files from /usr/local/include/linux to /usr/src/linux/include/linux. It is important that header or source matches the kernel you are using or you will get errors. Hope this helps.

beefcake 03-23-2003 11:16 AM

Have you compiled your own kernel in debian?

If you still have the info from the compile (I dunno really what's needed, beeing a newbie myself) you can compile the nvidia-drivers easily...

(Read here how to compile your kernel "the debian way": )

After this is done, and the new kernel has been installed do this:

apt-get install nvidia-glx-src nvidia-kernel-src

cd /usr/src
tar zxvf nvidia-kernel-src.tar.gz
cd /usr/src/kernel-source-<version#>
make-kpkg modules_image
cd /usr/src
dpkg -i nvidia-kernel-<version-stuff>.deb

cd /usr/src/nvidia-glx-<version#>
dpkg-buildpackage -us -uc
dpkg -i nvidia-glx*.deb

I haven't done this myself without a home-baked kernel, however how to do it is described in the nvidia-kernel-src docs.
Read the docs like this:
zcat /usr/share/doc/nvidia-kernel-src/README.Debian.gz | less

Hope all this mumbo-jumbo gave you some help, perhaps it wasn't so easy to read/follow... :rolleyes:

All times are GMT -5. The time now is 01:41 PM.