Saturday, 2 March 2013

HOW TO INSTALL NVIDIA DRIVER IN FEDORA 17

http://developer.download.nvidia.com/compute/cuda/4_2/rel/toolkit/docs/online/nvidia_logo.jpg

Looking for NVIDIA driver for Fedora 17 OS?

Here is what can you do to install the correct driver for your Fedora system.

First Step
Before you begin the installation process, it is essential  to check your machine whether have the nVidia Card supported.

lspci |grep -i VGA 

## Example output ## 01:00.0 VGA compatible controller: nVidia Corporation GT315 [GeForce G210] (rev a1)

or

00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09) 
01:00.0 VGA compatible controller: nVidia Corporation GF107 [GeForce GT 650M SDDR3] (rev a1)

Second Step
Change to root user

su -

Third Step
Update to latest kernel (you can skip this step if your system is already in latest kernel)

yum update kernel* selinux-policy*
reboot
 
Fourth Step 
Install RPMFusion Repositories (32-bit/64-bit)
 
yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
 
Fifth Step
Install nvidia driver
 

yum install kmod-nvidia xorg-x11-drv-nvidia-libs

Sixth Step
Disable nouveau drivers from kernel.
 
## Backup old initramfs nouveau image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
 
## Create new initramfs image ##
dracut /boot/initramfs-$(uname -r).img $(uname -r) 
 

Last Step
If all done. Then
 

reboot