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 ;-)

nvidia-xconfig

1. Detect your Nvidia card model:

lspci |grep -i VGA

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

su

3. Update your system and reboot after that:

dnf update -y
reboot

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 ;-)

reboot