Fedora and Nvidia Drivers
Hi all,
Has anyone had any luck with fedora core 1 and the latest Nvidia drivers. In run level 3 I type sh NVIDIA* the installer starts ok, then tells me there is an error with my kernel headers, and that installation has failed. Do I need to recompile the kernel?? (Never recompilied before....) Graphics card is a Geforce 4 MX-440 Any help would be appreciated. Lucas |
Hi,
Please read entirely the thread named "Nvidia Driver", I have provided the steps to install the driver. If you have installed Fedora Core 1 and did no specific modifications to it, the NVIDIA driver should install correctly. This is the link to the thread: http://www.linuxquestions.org/questi...hreadid=113254 Regards, mishmash |
Hi,
I have tried the method you described and get this error every time: nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Nov 12 15:15:48 2003 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel include path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. ERROR: Unable to find the kernel header files for the currently running kernel. Please make sure you have installed the kernel header files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel header files are installed, you may specify the kernel include path with the '--kernel-include-path' commandline option. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. Any ideas? Thanks Lucas |
In case anybody is wondering, I am having the EXACT same issue - "no precomiled kernel..." etc error comes up when I try this. I did do the "export CC=gcc32" command beforehand.
|
I think I have progressed but still not able to install the driver...
I installed KERNEL-SOURCE*.RPM, install went fine. But when I tried to install the NVIDIA drivers with the kernel.h location as '/usr/src/linux-2.4.20-20.9/include/linux/kernel.h I get the followimg error; nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Wed Nov 12 17:13:33 2003 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel include path : /usr/src/linux-2.4.20-20.9/include kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Using the kernel include path '/usr/src/linux-2.4.20-20.9/include' as specified by the '--kernel-include-dir' commandline option. -> Kernel include path: '/usr/src/linux-2.4.20-20.9/include' -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h * .d NVdriver nvidia.o -> Building kernel module: executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/linux-2.4.20- 20.9/include'... You appear to be compiling the NVIDIA kernel module with a compiler different from the one that was used to compile the running kernel. This may be perfectly fine, but there are cases where this can lead to unexpected behaviour and system crashes. 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. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. |
go to mishmash,s thread, its very good. also , go to http://www.nvidia.com. and look at the read me files. follow it with mishmash,s tread. the only thing you different with the fedora core vs red hat 9 is typing in the exporting gcc that stated in the other thread.
|
|
After a week of frustration, this is beginning to get really annoying.
I have tried everything suggested everywhere on this forum... Just getting errors. After many attempts at mismatches method, I tried the one with the link above. Downloaded the rpm files, had to install rpm-builder. Built the rpm files, installed them, everything seemed ok. Change the XF86Config to nvidia instead of nv, then type startx... ERROR nvidia module cannot be found! Those of you who havent wasted days trying to install the nvidia drivers, what sort of base install did you do, personal desktop, workstation??? Thanks Lucas |
hi lucastic
ok i think you ran into 2 different problems : one with kernel headers and one with gcc version the first one you solve by installing rpm-source packages but it seems that you did nothing about the second one. the installer tells you : " If you know what you are doing and want to override this check, you can do so by setting IGNORE_CC_MISMATCH." if i remember ok, you must run the NVDIA* archive with the option to decompress itself only, then edit the makefile to set the IGNORE_CC_MISMATCH variable, and then run the installer by hand i will checked this again in my Fedora 0.95 install and i will try to be more specific. |
here is what I did with Fedora 0.95 to compile the nvidia graphic module :
1. Uncompress the NVIDIA* archive you found on nvidia website : sh NVIDIA* --extract-only 2. edit the Makefile located in the NVIDIA*/usr/src/nv directory 3. add IGNORE_CC_MISMATCH=1 at the beginning of the Makefile 4. run the installer again : ./nvidia-installer It worked for me. (you still need to modify you XF86Config file, this is another question) |
Thanks, I will try and let you know how I go.
|
All I did was install the kernel-sources from the CD. Actually, what I did was click the box during the installation for the Kernel Development packages to be installed. This takes care of everything concerning the kernel.
I edited XF86Config and changed nv to nvidia, commented out glxcore and dri and rebooted. This is easier than editing initab to change the runlevel. It will try to start X upon reboot and fail, taking you back to the command line prompt. Then, as root, I typed: env IGNORE_CC_MISMATCH=1 sh /path/to/NVIDIA-Linux-x86-1.0-4496-pkg2.run The installer runs and installs the driver. Type X on the command line when its done to see if X will start. alt-ctrl-backspace will kill X take you back to the command line. Reboot and you should see the Nvidia logo shortly. This method takes about 2 minutes including reboots and never fails for me YMMV. Edited |
thanks HKCTR,
I finally managed to get the drivers installed, heres how; 1-Reinstalled Fedora with a full install including almost everything, kernel utils etc... (before I was doing a personal desktop install which may have caused most of my problems) 2- boot computer, login, download NVIDIA-Linux* (i386) from Nvidia website, put the NVIDIA driver file in /root 3- from gnome or kde or whatever find the /etc/innitab file and change from 5 to run level 3 as default. (As I prefer to start with text login I do this anyway, HKCTR's method is equally as good if you want to return to graphical login after nvidia setup) 4- reboot 5- type the following after text login: env IGNORE_CC_MISMATCH=1 sh /path/to/NVIDIA-Linux-x86-1.0-4496-pkg2.run or env IGNORE_CC_MISMATCH=1 sh /root/NVIDIA-Linux* follow the nvidia prompts to accept license etc... it may say no precompilied Kernel found... just continue on and the driver will install correctly. 6- vi /etc/X11/XF86Config to change the "nv" to "nvidia", altenatively you can type startx again and change the XF86Config file from the GUI. Then logout if in Gnome or KDE. 7 - Type startx, and you should shortly see the nvidia startup screen. YAY!!! Thankyou to everyone for their help. Long live the Penguin!! |
Err.. in Penguin world, if you don't touch the kernel, you do not need to reboot your PC! :)
|
I know you dont have to reboot, but on initial running of Fedora when you log out of gnome it takes you back to graphic login, not text.... Just seemed easier to reboot, to get to text login after changing intittab> command line, seeing as it only takes all of about 30 seconds to reboot.
The method is merely supposed to work not be perfect.... |
All times are GMT -5. The time now is 02:10 AM. |