Install nvidia GTX980 driver in Fedora 23/22/21

I found a good and working tutorial unter http://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/.

Here my notes for Fedora 23 and my GTX980:

# all commands have to be run as root

# remove nouceau driver
dnf clean all
dnf update
dnf install kernel-devel kernel-headers gcc dkms acpid
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
# append rd.driver.blacklist=nouveau to GRUB_CMDLINE_LINUX in /etc/sysconfig/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
dnf remove xorg-x11-drv-nouveau
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)

# reboot to command line
systemctl set-default multi-user.target
reboot

# install driver
bash NVIDIA-Linux-x86_64-358.16.run
# follow instructions and choose yes if aksed questions

# reboot to gui
systemctl set-default graphical.target
reboot

# install some extra packages
dnf install vdpauinfo libva-vdpau-driver libva-utils

 

Leave a Reply