Installing akmod NVIDIA Driver on Fedora

Posted on In Linux

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:

Enable RPM Fusion repositories

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

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published.