FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora Core 2, SuSE 9.1 Professional
Posts: 189
Rep:
Nvidia Driver
Information: Just did it with no problems. If anyone is trying to install the
nvidia drivers and it error's out due to a GCC mismatch, that's because there
is one. The Kernel was compiled with GCC 3.2 and the provided GCC is 3.3, but
3.2 is still there also and must be used when building the module for the
kernel.
As root, just before running the shell command for the install, do
export CC=gcc32
and the install should go great. Don't forget to edit your XF86config file appropriately.
The driver is working great, as it did for RH9 for me...good luck
My driver works but I have to disable the rhgb or it freezes when trying to bring up GDM after the graphical boot... nothing responds at all... not sure what's up but it runs fine with the standard nv driver...
To clarify, my nvidia driver works as long as I'm noy using rhgb... otherwise it freezes at gdm.
Last edited by lupin_the_3rd; 11-07-2003 at 07:37 AM.
I had my driver working, but when I went to play E.T. all I had was a black screen. One of the guys in #fedora told me to do this........
uninstall the driver, which I did and it went fine.
then rpm -e --nodeps XFree86-Mesa-libGL
exportCC= gcc32 ( I did this again just for good measure)
When I went to install the driver again I made it all the way up unitl it started compiling then it would crash and I would get the "read the log" screen.
Well here is what is in the log, its the last part.
If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.
In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.
[1;31m*** Failed cc sanity check. Bailing out! ***
[0mmake: *** [gcc-check] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
I had the same problem as Bobmeister and did what he suggested and it is working fine now.
Thanks Bobmeister!
Please note that the error messages I had found in the log file are the same as the ones described by FXRS.
The following procedure is the one I used for installing the NVIDIA driver and the one that NVIDIA recommends (except of course for the CC export in order to correct the CC mismatch error...).
1. Modify the /etc/inittab file to force booting in console mode (i.e. text mode, not Xserver). You only have to change the line
id:5:initdefault:
to this
id:3:initdefault:
2. Restart the computer. It will boot in text mode.
3. Login as root.
4. Move to the directory where the NVIDIA .run file was downloaded.
5. Run the following command to set the CC variable and thus avoid the CC mismatch error.
export CC=gcc32
6. Install the NVIDIA driver by running the following command. It should install correctly.
sh ./NVIDIA-Linux-x86-1.0-4496-pkg2.run
7. Move to the directory where the XF86Config file is located, i.e. the /etc/X11 directory.
8. Modify the XF86Config file by changing the line
Driver "nv"
for
Driver "nvidia"
in the "Device" section.
9. Modify the XF86Config file to remove or comment out (by adding the # at the beginning of each line) the lines
Load "GLcore" (did not found this line though...)
Load "dri"
in the "Module" section.
10. Make sure that the XF86Config file has the line
Load "glx"
in the "Module" section.
11. Modify the /etc/inittab file back to what it was, i.e. with the line
id:5:initdefault:
12. Reboot the computer by pressing Ctrl+Alt+Del.
Everything should be OK after this. For newbies, just run the game TUX racer, itf the NVIDIA driver was installed correctly, the game should display "very" smoothly...
Nice mishmash thanks for your comment
but you don't need to modify inittab nor reboot your system
you can do it with "telinit 3" or "init 3" then install and "init 5" or "telinit 5" to brign your gdm on.
mishmash and Bobmeister are DA MAN!...I upgraded from RH8 to Fedora, and was having a bad time getting NVIDIA up and running - even looked as some of the other sites that talked abut recompiling the kernal...but, I came back here and found the answer! Thanks - the card is tearing it up now!
just got nvidia driver installed, and now i can watch my euporia sreensaver, got to be one of the coolest screensavers around. thanks to bobmeister and others here for the help. did install -export gcc=bcc32-during runlevel 3 as root, and then did the usual nvidia install. it did state mismatched kernel, and did a recompile. after installing the nvidia driver, opened kedit as root, and configured the xf86file as per instructions. got a lot done tonight-yum upgrade-new skins for xmms-nvidia driver. see ya
Originally posted by amir_h Well, driver installs successfully
but it seems bugly :-(
Has anyone tried quake3 on it
I have quake3 and rtcw, both gave me funny colors and black screens sometimes, so i had to bring down the console and type /quit. I copied my previous .cfg on them and problem was solved. Not sure why, i'd have to go over them and compare them. You may check here also: http://fedora.artoo.net/faq/ (yup, i just posted this link before, sorry)
I've been using GCC 3.3 since April that I buld myself. Currently using gcc-3.3.2-1.src.rpm from Rawhide, but just downloaded the gcc-3.3.2-2.src.rpm from the Fedora updates. No problems with the nvidia-installer compiling.
No problems building the RH ntpl kernels or the kernel.org 2.4.22-bkX, 2.4.23-rc1, 2.6.0-test9-bkX (Except for bk7 would not compile with the -O3 flag)
I basically have Rh 8.0 but have been doing the majority of my updates from the Rawhide srpms with every Pentium3 tweak I can find.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.