How to install NVIDIA drivers in laptops and desktops.
This will help you install nvidia drivers for laptops and desktops.
I did ti for Compaq R3000 with nvidia geforce 2 (32MB) with fedora core 4. If you are a newbie I strongly suggest to create a backup of your /etc/X11/xorg.conf file. TIP: Everytime there is a new fedora kernel the nvidia drivers need to be re-installed. 1. Make sure you have gcc installed. If not you can install it from System Settings >Add/Remove Apps. >Development Tools...install everything if you want. 2. You will need the kernel source code AKA kernel-devel you can install using the livna repo. Code:
yum install kernel-devel Now that were are readay we need to exit X enviroment. 4. Open terminal, become root (su + password) and run: Code:
/sbin/telinit 3 5. Run installation command and NOTE you may be using a different linux version or latets: Code:
sh NVIDIA-Linux-x86-1.0-7664-pkg1.run 6. Accept agreement, in second window select NO, next window select OK, next window OK...and it that should do it. You will get a message that installation is complete. 7. Probe nvidia drivers: Code:
/sbin/modprobe nvidia Code:
/sbin/telinit 5 Code:
gedit /etc/X11/xorg.conf Quote:
change from: Driver "nv" to: Driver "nvidia" 10. Reboot your laptop. You should be able to see and nvidia logo...... 11. Once logged in lets make sure every is OK, open terminal and run: Code:
glxgears Quote:
Code:
glxinfo | grep direct Quote:
Code:
nvidia-settings If you dont want to see the Nvidia Logo during bootup just add this line to your xorg.conf. Like this: Quote:
|
The latest version is NVIDIA-Linux-x86-1.0-8178-pkg1.run and it now modifies xorg.conf for you automagically. ;) So you could really go from step #6 straight to step #10 by issuing the reboot at a command prompt with:
Code:
shutdown -r now |
Install of NVIDIA-Linux-x86-1.0-8178-pkg1.run fails
Hi, I'm trying to install the latest NVIDIA driver NVIDIA-Linux-x86-1.0-8178-pkg1.run and it fails telling me that the compiler has the wrong version number (gcc 4). When I try to install the livna kernel-module-nidia and nvidia-glx that goes ok but when I start it (init 5) it does nothing and the log tells me that no usable screens were found, but it loads everything and there are no erros listed in the log.
The glx module is loaded. Should I comment it out. |
Or just add the Livna repository, that's alot simpler....
|
The problem was that my yum had not updated my gcc to 4.02 and with my 4.01 I could not get either livna or NVIDIA native drivers to work. Trying NVIDIA it would complain about not having the right gcc and with livna it installed ok but then it would not load and there was no message in the Xorg log except that there were no usuable screens.
|
All times are GMT -5. The time now is 01:03 AM. |