LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Sarge and Nvidia problem (https://www.linuxquestions.org/questions/debian-26/sarge-and-nvidia-problem-152373/)

Zaskar 03-01-2004 06:20 PM

Sarge and Nvidia problem
 
heya guys, i am trying to get Nvidia drivers to work on Sarge and i keep getting problems :/

i have a tnt2 generic card in my IBM machine.

i have easily and sucsusfully installed the drivers on woodie many times on the same machine (bf24 install and apt-get bf24 headers)

problem is after dist upgradding to sarge on a fresh woodie install and installing x windows server after the fact and upgradding to the newest gcc and g++ through aptget from the sarge/testing sources (the new xwindows server from testing has many more options which i left blank like card hex bus value, and left the card identifier as generic)

i dl the headers to bf24 (kernel im using from the bf24 woodie base install) and "--add-this-kernel" in the nvidia installer and then run the custom nvidia driver, it installs fine. but then after properly exiting XF86Config-4 (commenting out dri, glconfig and adding "nvidia" and commenting out "nv" as the driver)
i get many errors starting xwindows and it crashes to command again. something about a problem with modules. (ill get something more exact in a bit when i get back home to test it again)
think it said something about unregistered or unasined.

would it have something to do with the gcc version? and kernel version(though i did not get an error apon instalation)

(i even tried with a normal fresh sarge install with the sarge default kernel and i got an error just trying to compile it)

worst come to worst im gonna reinstall woodie, compile and install nvidia then upgrade to sarge. if that still doesnt work then i know it has something to do with the new xwindows options :/

any help would be greatly appreaciated guys :)

-Zaskar

kingka 06-27-2004 07:30 AM

The gcc version that was used to compile the kernel should also be used to compile the nvidia-module you want to put into it. So if you want to use sarge you should first install nvidia before doing a dist-upgrade. Or you should compile a new kernel yourself (then it will be compiled with gcc version of your current Sarge installation).
I had this problem once, but I already got an error on trying to install the nvidia drivers. So maybe your problem is different. This is only a suggestion... Good luck! (ps: try to search the nvidia linux forum, I don't know the url anymore though)

zero79 06-27-2004 10:38 AM

if you want to attempt to install the driver with an older version of gcc, just do the following

Code:

CC=gcc32 ./nvidia-installer
where 32 should be replaced with 33 or 34 or whatever depending on the version of gcc you want to compile with (3.2, 3.3, 3.4 etc)...just leave out the decimal point.


All times are GMT -5. The time now is 05:18 AM.