Home » Linux

Installing Nvidia Driver on Fedora

By: Zhiqiang Ma On: Mar 31, 2010 Views: 17 No Comment Print Email
Tags: , , , ,

Installing akmod NVIDIA driver from rpmfusion on Fedora 12.

First make sure your nvidia card is in “Supported NVIDIA GPU Products List”: Click here for the list

1. Add rpmfusion repository:

$ su
# rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
 http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

2. Install akmod nvidia driver

akmod builds the required kmod on bootup

# yum install akmod-nvidia xorg-x11-drv-nvidia-libs.i686

3. Add nouveau to blacklist in grub.conf

Add rdblacklist=nouveau option to /boot/grub/grub.conf

# sed -i '/root=/s|$| rdblacklist=nouveau|' /boot/grub/grub.conf
# mv /boot/initramfs-$(uname -r).img \
/boot/initramfs-$(uname -r)-nouveau.img
# dracut /boot/initramfs-$(uname -r).img $(uname -r)

4. Enable allow_execstack in SELinux

Make sure SElinux doesn’t prevent the driver from being loaded.

# setsebool -P allow_execstack on

5. Reboot

# reboot

Read more:

Digg del.icio.us Stumble Techorati Facebook Newsvine Reddit Twitter
Mixx LinkedIn Google Bookmark Yahoo Bookmark MySpace LiveJournal Blogger RSS feed

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.