Installing NVIDIA Driver in Fedora

Posted on In Linux, Tutorial

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
    title Fedora (
        root (hd0,4)
        kernel /vmlinuz- 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-




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.