Wednesday, October 15, 2008

How to install NVIDIA drivers in FC3.

1. This has been the easiest thing I have done in fedora core 3.
2. In fc3 I have all my repos setup. Livna, freshrpm, atrmp, dag and here is how I did my repos.
3. I installed my nvidia drivers via yum by issuing this yum command (as root) and this command will also install the kernel-sourcecode:
 
Code:
yum install nvidia-glx kernel-module-nvidia-`(uname -r)`
It took care of everything for me and here is the proof:
Quote:
[imdeemvp@myfc3 ~]$ glxinfo | grep direct
direct rendering: Yes
[imdeemvp@myfc3 ~]$ glxgears
16146 frames in 5.0 seconds = 3229.200 FPS <<-before i minimized the window
35250 frames in 5.0 seconds = 7050.000 FPS
35444 frames in 5.0 seconds = 7088.800 FPS
35290 frames in 5.0 seconds = 7058.000 FPS
35372 frames in 5.0 seconds = 7074.400 FPS
35315 frames in 5.0 seconds = 7063.000 FPS
34565 frames in 5.0 seconds = 6913.000 FPS
35340 frames in 5.0 seconds = 7068.000 FPS
35359 frames in 5.0 seconds = 7071.800 FPS
35324 frames in 5.0 seconds = 7064.800 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
This was the easiest way for me to install nvidia drivers in long time. I check my xorg.conf and did not have to edit anything. Dont ask me why.

NOTE if you udpate your kernel you need to reinstall the drivers again:
 
Code:
yum install kernel-module-nvidia-`(rpm -q --queryformat="%{version}-%{release}\n" kernel | tail -n 1)`
You can also do it the the nvidia way. and for extra help check the nvidia linux forums.
 

No comments: