Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-09-03, 05:50 PM   #1
Arwing
Registered User
 
Join Date: Jun 2003
Posts: 4
Send a message via AIM to Arwing Send a message via Yahoo to Arwing
Unhappy nvidia drivers stoped working with "upgrade" to gcc 3.3 and 2.4.21-rc7

I "upgraded" Slackware 9 with gcc 3.3 and also kernel v 2.4.21-rc7 (so that the kernel would compile). I also built X 4.3 from source (because it seems to look better than the Slackware package). I compiled the nvidia drivers from the source packages (with IGNORE_CC_MISMATCH=1 set, so they would compile), and they don't work. This config....
Attached Files
File Type: txt xf86config.txt (7.2 KB, 110 views)
Arwing is offline   Reply With Quote
Old 06-09-03, 05:53 PM   #2
Arwing
Registered User
 
Join Date: Jun 2003
Posts: 4
Send a message via AIM to Arwing Send a message via Yahoo to Arwing
Default

...produces this log file. The nv driver works, and before i "upgraded" everything worked fine. geforce 4 ti4600 & athlon xp2400+

Please help!
Attached Files
File Type: txt xfree860log.txt (13.8 KB, 127 views)
Arwing is offline   Reply With Quote
Old 06-09-03, 06:37 PM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

First:

Never, ever, ever use IGNORE_CC_MISMATCH. Recompile your kernel with the system compiler instead, and boot into it, so that /proc/version's gcc version matches what cc -v says.

Second:

Your log file is loading about 15 different XFree86 drivers (none of them, incidentally, are the nvidia one). None of them can find any hardware, or something, so you get the "no screens found" error. If this is actually the right config file that you posted, it's only referencing one nvidia driver (nvidia_drv.o), but that driver isn't ever getting loaded.

When you configured X before compiling it, you did select support for dynamic loading of modules, correct? (you need to edit the config/cf/host.def file after you copy config/cf/xf86site.def over it, BTW).

Are you sure this config file (the one you posted) is /etc/X11/XF86Config?

Are you sure this log is from the most recent attempt at running X?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 06-09-03, 10:21 PM   #4
Arwing
Registered User
 
Join Date: Jun 2003
Posts: 4
Send a message via AIM to Arwing Send a message via Yahoo to Arwing
Cool

I fixed the cc mismatch, by fixing some symlinks and kicking myself a few times (not recompiling the kernel). I then recompiled everything for good measure , and it all worked. The compilers wern't acctually mismatched, they just thought they were, which was why i just set the ignore. But i re-symlinked cc to the new gcc, and it worked perfectly.

Thanks for your help.

BTW that was the correct pairing of config and log. I saw how fscked up the log was. That was what made me decide to acctually post.

Thank you much
Arwing is offline   Reply With Quote
Old 06-10-03, 06:17 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

The nVidia Makefile uses cc, not gcc, so even if your gcc command would have resolved to the right version, you could still see problems at runtime (and the Makefile will also complain about the version mismatch) if cc didn't resolve to the right version.

So the driver is working now, then? Or not?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 06-12-03, 05:03 PM   #6
Arwing
Registered User
 
Join Date: Jun 2003
Posts: 4
Send a message via AIM to Arwing Send a message via Yahoo to Arwing
Default

it works wonderfully. I didn't reply for a while because i was playing SOF
Arwing is offline   Reply With Quote
Old 06-12-03, 06:23 PM   #7
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

OK, cool.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.