This site is not affiliated with or endorsed by the Fedora® Project
This is going to be a quick tutorial on how to install the Nvidia drivers for a GeForce 8 series and above GPU on Fedora® 20. This tutorial expects that you have beginning/intermediate knowledge of the Linux desktop.
Let’s get started!
The first thing you have to do is enable the RPM Fusion repository on your system. To do this you enter this command into a terminal. If you are asked for a password, it will be for the root user.
su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
Once you have enabled the RPM Fusion repository, you will then enter these commands into a terminal. These commands must be run as root, so either use “sudo” if you have configured it, or “su -c” if you have not.
yum install akmod-nvidia "kernel-devel-uname-r == $(uname -r)" yum update -y
After you have installed these packages, you may reboot your system.
Let’s enable video acceleration support for players now. This can be done by simply entering this command into a terminal as root.
yum install vdpauinfo libva-vdpau-driver libva-utils
If you are using the 64 bit version of Fedora® and wish to have 3D acceleration in 32 bit applications, then you can install the 32 bit Nvidia driver libraries like so. As usual with yum, you must run this command as root.
yum install xorg-x11-drv-nvidia-libs.i686
Now, you probably noticed during during boot that it was not graphical like you’re used to. Let’s fix that now.
If you have already booted into your system, reboot so that you are back at the GRUB2 selection screen. Now, press the “C” key on your keyboard and enter these commands into the shell.
set pager=1 insmod vbe vbeinfo
You will see a list of various different graphic modes. Write down a suitable one for your system, you will need this later.
Now, once you have that written down; boot up like normal and login to your desktop.
Once you’re logged in, open up a terminal and edit the /etc/default/grub file using your favorite text editor as root. Add and or modify these lines in that file to look like this. Make sure to use your own GRUB_GFXMODE that you wrote down earlier.
GRUB_GFXPAYLOAD_LINUX=”keep” GRUB_VIDEO_BACKEND="vbe" GRUB_TERMINAL_OUTPUT="gfxterm" GRUB_FONT_PATH="/boot/grub2/fonts/unicode.pf2" GRUB_GFXMODE="1280x800x32"
You may also need to add rdblacklist=nouveau to the end of the GRUB_CMDLINE_LINUX line in that file. When you have finished doing this, save the file and close the editor.
Once you have completed the last step, make a backup of your GRUB2 configuration by running this command in a terminal as root.
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bkp
once you have done that, enter this into the terminal; again as root.
grub2-mkconfig -o /boot/grub2/grub.cfg
Now comes the moment we’ve all been waiting for, it’s time to reboot the system. Once you have rebooted your system, you should now be back to having a graphical boot.
That wraps up this tutorial folks. You should now have the Nvidia drivers installed, and have a graphical boot.
If you have any questions, or had any problems while following this tutorial, please leave a comment below and I’ll answer it promptly.
Fedora and the Infinity design logo are trademarks of Red Hat, Inc.