Installing NVIDIA Driver in Fedora

Using rpmfusion’s rpm packages to install NVIDIA driver in Fedora is introduced in this post.

First, check the proper drivers for the card on [1].

1. Add rpmfusion.

Enable RPM Fusion repositories

2. Install the driver

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

The reboot system.

3. Edit /etc/X11/xorg.conf

# nvidia-xconfig

The nouveau module conflicts with the nvidia module. But rpmfusion’s packages has already add it to blacklist.

    $ cat /etc/modprobe.d/blacklist-nouveau.conf
    # RPM Fusion blacklist for nouveau driver - you need to run as root:
    # mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)
    # if nouveau is loaded despite this file.
    blacklist nouveau

And kernel parameter (note: this is for Grub rather than Grub 2):

    # cat /boot/grub/grub.conf
    default=0
    timeout=10
    title Fedora (2.6.35.11-83.fc14.x86_64)
    	root (hd0,4)
    	kernel /vmlinuz-2.6.35.11-83.fc14.x86_64 ro root=UUID=d369a185-6453-43a6-97de-1ef5b10ba4bb nouveau.modeset=0 rdblacklist=nouveau rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us quiet 
        initrd /initramfs-2.6.35.11-83.fc14.x86_64.img

References:

[1] http://www.nvidia.com/object/unix.html

[2] http://fedoraforum.org/forum/showthread.php?t=204752

Eric Zhiqiang Ma

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. Required fields are marked *