Ivan Tomica

Fedora 22 and Nvidia proprietary drivers

This blog post will talk about how to set up Nvidia proprietary drivers on your Fedora 22 Workstation, or at least how I did it ;-)


1. Detect your Nvidia card model:

lspci |grep -i VGA

2. Switch to root (or execute rest of the commands with sudo priviledges:


3. Update your system and reboot after that:

dnf update -y

4. Enable RPM Fusion repositories:

dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-22.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-22.noarch.rpm

5. Install Nvidia drivers (8 + series of cards are supported):

dnf install -y akmod-nvidia xorg-x11-drv-nvidia-libs kernel-devel acpid

6. Backup old initramfs image:

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-old.img

7. And generate new one:

dracut /boot/initramfs-$(uname -r).img $(uname -r)

8. Reboot and enjoy ;-)

Sysadmin on the everlasting journey of learning. Always in search for an opportunity to prove myself and to learn something new. My addiction is learning and my main goal is to excel in every aspect of Linux/Unix system administration.


  1. Luke

    2015-08-03 - 20:27

    Didn’t worked for me…. :s
    F22 kernel 4.1.3-200.fc22.x86_64 KDE 5.11

    Plasma started to show errors when I tryed to login. Couldn’t reach the desktop. So….

    dnf remove *nvidia*

    and restored initramfs-* backup files!

    • Ivan Tomica

      2015-08-03 - 20:35

      Are you using dedicated Nvidia card or you have some sort of hybrid graphics like optimus?

      Only thing I can suggest to you now is to install official nvidia drivers:

      1. Download them from their website https://www.nvidia.com/Download/index.aspx?lang=en-us
      2. Boot into single user mode
      3. Log in and run their program with “sh /path/to/NVIDIA-xxxxxx.RUN
      4. Follow their install wizard.

      Hopefully that works for you.

    • xpuj

      2015-08-14 - 15:26

      Same for me.

  2. Sam

    2015-08-10 - 21:26

    I started to have nvidia driver problem since kernel 4.0.8 update; the kernel 4.0.7 works fine. I have had both RPM Fusion repositories enabled, and the driver simply does not work in 4.0.8 and 4.1.3. My graphics card is Nvidia GT 8800.

    • Ivan Tomica

      2015-08-10 - 21:49

      In the meantime I had some problems with them too so I decided to just go with an option of installing their official drivers (see comment above for instructions). After I installed their driver I haven’t had any problems with drivers anymore, downside is that you need to update them manually. :-/

  3. Sergio

    2015-08-25 - 05:15

    It worked with a Gigabyte GeForce 970GTX G1 Gaming. Diferent from other tutorials, you’re very objetive. Congrats! Installed Fedora 22 today. I’ll keep an eye on your blog. Thanks a lot!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *