LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Nvidia Driver (https://www.linuxquestions.org/questions/fedora-35/nvidia-driver-113254/)

Bobmeister 11-06-2003 09:16 PM

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

lupin_the_3rd 11-06-2003 10:05 PM

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.

FXRS 11-07-2003 02:23 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.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

Thanks for the help ahead of time

FX

mishmash 11-07-2003 07:51 AM

Hi,

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...

Regards,

mishmash

manny0 11-09-2003 04:30 AM

Thank you mishmash and Bobmeister.
Working just great! :)

amir_h 11-09-2003 04:48 AM

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.

fmfnavydoc 11-09-2003 08:50 AM

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!

lupin_the_3rd 11-09-2003 12:59 PM

http://moongroup.com/nvidia-fedora.html

This works well and has rpms of the driver... I couldn't get wget to work with it but you can just download them in a browser

gibbylinks 11-09-2003 03:29 PM

Thank you Mishmash your instructions worked a treat.

Driver installed and working.

amir_h 11-11-2003 06:19 AM

Well, driver installs successfully
but it seems bugly :-(
Has anyone tried quake3 on it

ronss 11-11-2003 07:39 AM

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

manny0 11-11-2003 02:47 PM

This is a great link also, most people should know it already. http://fedora.artoo.net/faq/

manny0 11-11-2003 02:55 PM

Quote:

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)

capgadget 11-17-2003 03:19 PM

gcc 3.3
 
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.

amir_h 11-18-2003 01:42 AM

Thanks manny0,
q3 works using rpm -e but it seems bugly.
some strannge noises apear on my monitor
does anyone have soloution for it :D


All times are GMT -5. The time now is 11:58 PM.