Sunday 1 May 2016

Installing the official NVIDIA driver on Fedora 23

We should firstly install some dependencies:

sudo dnf install gcc kernel-devel

** Note: Ensure that all of your packages are upto date! As I have had issues where my kernel version is different than that of my kernel-headers version and hence the installer has complained that no headers are available! **

sudo dnf update

We will then need to blacklist the generic 'nouveau' driver - so it will not be loaded up with the kernel on boot:

sudo echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf

and then regenerate the initramfs:

dracut -f /boot/your-fedora-initramfs.img

And reboot into run level 3 / networking.target and run the NVIDEA installer.

Download the official installer and make it bootable:

chmod +x NVIDIA-Linux-x86_64-361.42.run
./NVIDIA-Linux-x86_64-361.42.run


0 comments:

Post a Comment