FC4 - Fail to install nVidia driver
hi all,
i've installed Fedora Core 4 on my box which has a Geforce2 MMX 400 card. now i have nVidia 7664 driver also. i invoke this command: ./NVIDIA-7664-pkg1.run --add-this-kernel and no error occurs. then i run ./NVIDIA-7664-pkg1-custom.run and it gives error which is detailed in /var/log/nvidia-install.log it seems that the installer cannot insmod nVidia's driver module, and that the error relates to gcc-4.0 and 4K stack, but i don't know what to do. plz help me... thx Code:
nvidia-installer log file '/var/log/nvidia-installer.log' |
Install the kernel-devel package (via yum or up2date), and run the nvidia installer with no options. You'll be given the choice to try to download a matching module - say no. The driver installer will then compile a kernel module on your machine, which should load and run fine.
|
thx for you kind reply, but it seems that i've got that installed
Code:
[mcarthor@McArthor ~]$ rpm -qa | grep kernel |
What happens when you run the installer and it attempts to compile the kernel module instead of downloading it?
|
Aren't you supposed to run command:
sh NVIDIA-Linux-x86-1.0-7664-pkg1.run and I think you have to run command 'setenforce 0' before you install the driver. It has something to do with SElinux. |
to macemoneta:
when i run ./NVIDIA-7664-pkg1.run and select "no" for ftp download, it can then compile the driver but seems to fail to insmod the nvidia driver module - a red block appears on the screen and says "... (too long to post here, but same as the red "ERROR" in my first post)". =============== to greg108: do u mean to modify /etc/sysconfig/selinux, and change the last line to 0 or diabled or something like this? |
I mean as a shell command.
I am not an expert on this one though. You can find more on that in this thread: http://www.linuxquestions.org/questi...hreadid=333111 |
i'll be looking to it
thx |
Head on over to this thread for FC3. It should be very similar for FC4. I am not sure if you will still need to remove the xorg-x11-Mesa library.
http://www.linuxquestions.org/questi...hreadid=259917. Have a go and see what happens. I would suggest commenting out the lines in the xorg.conf file rather than deleting. That way if it doesn't work you can always uncomment them and restore the file and still get back to graphical login. Alternative, make a copy of your xorg.conf file! |
dear all:
i follow all your kind suggestions, but none works plz give more help ~~~ |
Well I am curious, does anyone know how much extra performance macarthor would get by installing the offical nVidia drivers as opposed to just using the built in Geforce MX (generic) driver??
macarthor, do you need that extra performance?? |
Hi there, I am not a linux WIZ or anything ,but I have installed my nvidia driver "nvidia glx" etc through yum or apt ,on multiple occasions , and havn't had to change or modify a thing after apt or yum have installed Nvidia and then rebooted to find the nvidia screen popup everytime , Maybe some times a person might have to do it manually on Fedora ,but since Fedora3 came out I think it is, that I havnt had to ,but have had it installed AutoMatically through Yum or Apt. AnyWay maybe you have a reason to do it manually?
|
yum list nvidia
it gives nothing would u plz give your detailed procedure? thx |
Hey ....
i was just installing NVIDIA on my little brother's machine and I am coming up with the same problems and I am a RHCT! Its too late for me to want to look at anything to exhaustively or to try to re-compile the kernel itself, but if you comment out the Load "glx" with a # it will get X working for ya but without the OpenGL stuff. I read a Red Hat thread that said that if you appended "selinux=0" to the end of the kernel line in /etc/grub.conf that you could then uncomment the Load "glx" line .... but it hasnt worked for me. I'll give a better try tomorrow. |
Here is an interesting thread to read:
http://www.nvnews.net/vbulletin/showthread.php?t=51972 the guy from NVIDIA at the very bottom seems to imply that this is that 7667 is a crappy driver and you should use the previous version. |
NVIDIA Driver
Man...I wouldn't being saying that your a RHCT too loudly then. Perhaps they should take away your 'DRIVER" license. This is a VERY simple fix and the driver works great (OpenGL and all!!).
Don't shoot me NVIDIA if I get some part of this wrong. For some time now, NVIDIA has been using a simplified driver installation. In so much as they don't have to keep making up new packages for each Linux distribution that comes along. Therefore in order to compile this driver for your version of Linux the kernel drivers (found in the development packages) are necessary. You can use your favorite method of getting the package (apt, yum, up2date etc) but you need to make sure you get the one (and only one) for the kernel you are running. Verify your kernel with uname -a and your package should be similar. Output: uname -a Linux [machinename] 2.6.11-1.1369_FC4 ......... you would then get kerenel-devel-2.6.11-1.1369_FC4.ix86.rpm for example. -Good Luck |
Look at 6/19/2005 ..... macarthor did a rpm -qa | grep kernel and found that the package is already installed. Building the package is not the problem. Please refer to the thread i posted earlier.
|
Hi. Not sure if this will help but I've got SElinux set to 'warn' (did it in the install to see what would happen) and the nvidia driver installs and works fine for me so maybe the post about disabling it is on the right track.
I'm only mentioning it because this is the 2nd time I've installed FC4 and the 1st time I tried SElinux was enabled and all I got was an nvidia splash screen followed by the FC boot screen and nothing but a blank screen after that. |
Nvidia
OK, here is my 2 cents,
remove the current exisiting nvidia.ko install the (3) Nvidia packages from livna reboot all should be well. If you cant find livna Google <Livna rpm> Keep us posted, also, if anything for DVD support and NVIDIA driver support it may be a good idea to add an entry to you yum RPMs for livna. If it works dont forget to say thanks. |
G,Day there Mcarthor, im sorry 4 my late reply as I forgot my post I posted inregards to installing Automatically using "yum" or even Synaptic & Smart Package Manager, My favourite is Smart, which still isnt fully commited to Fedora4 just yet but is perfect for Fedora3,but you can modify Repos with the Fedora4 version, .as it also has a big load of repos that are already installed along with it when Smart is installed which saves having to search for the repos. AnyWay my advice is to just use yum for moment & use the "search" function on this forum using the term "repositories" or "yum repositories" & add the ones you can find for Fedora4 to your /etc/yum/sources.list .make sure you can find the livna repo & then maybe Dries,Dag etc to add and then look for the "livna glx" package and install it along with whatever dependencies it wants automatically without having to search for them . I give this example as I am now mainly using Smart Package Manager & Synaptic instead of yum, so I cant show you my Sources.list. If you have already done all this somehow before I wrote this then maybe it will be usefull for other Newbies, AnyWay my point is if you can add the right repos "Livna" etc & then install "nvidia glx" etc using YUM then all should be well , it takes al;ot of hassles out when done using YUM etc I found anyway. You could also just google using the term " yum repositories " or " Fedora4 yum repositories" ect.
|
Re: FC4 - Fail to install nVidia driver
Quote:
0) Check on the Nvidia website if there is a newer run package than the one you may have downloaded. If there is, download it and use it as the run file in section 3 instead. 1) As root, modify the /boot/grub/grub.conf such that the timeout is 10 to give you time to modify the command line 2) restart the computer. When the timeout for the kernel selection starts, hit any key to stop the timer, then "a" and add a " 3 selinux=0" (this tells the computer to disable the X server). Hit return. 3) Login as root and type "./NVIDIA-Linux-x86_64-*.run" 4) Hit "Yes" or "Ok" for everything 5) Modify /etc/X11/xorg.conf as follows (only the "dri", "nvidia" and "GeForce 2" lines are changed): ___________________________________________________________________________ Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "record" Load "freetype" Load "type1" # Load "dri" Load "glx" EndSection Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "Videocard vendor" BoardName "NVIDIA GeForce 2 MX (generic)" EndSection _____________________________________________________________ 6) Change /boot/grub/grub.conf so that the timeout is 0 (I hate waiting :) ). 7) type "reboot". YOU MAY HAVE TO REBOOT TWICE BECAUSE OF SELINUX WEIRDNESS 8) You're done. I have a Best Data Arcade FX GeForce 2 MX 400 and runs at 4x on the AGP port. Good luck! |
Nvidia Help
after all my own headaches,i found the best Nvidia help to be in the Nvidia read me file.i had nothing but headaches to install my 3d drivers,and then followed Nvidia's instructions and had it working fine.it seems to me,the help here was over complicated(just like linux) and un necessary.
follow Nvidia's explicit instructions,and see how that goes.if I can do it,anyone can!!!*** wanted to add,i had to fix libs issues i did not know about--ie which libs i neded,so i installed EVERYTHING so when the installer re complied it had everything it needed. if i knew more about the libs,and how to determine what i do and dont need,i would have only installed exactly what i needed.**** good luck !!! scott |
All times are GMT -5. The time now is 01:23 PM. |