Table of Contents

1. Before nVidia drivers installation (Fedora 27/26/25/24/23/22/21)

2. Install nVidia proprietary drivers on Fedora 27/26/25/24/23/22/21 and disable the nouveau driver

3. Some Screenshots Using Different nVidia Cards and Drivers

4. Restore/Change/Update Plymouth After nVidia Drivers Installation (BIOS/UEFI Users)

5. Fedora 27/26/25/24/23/22/21 Uninstall nVidia drivers and Enable Nouveau

6. Fedora 27/26/25/24/23/22/21 nVidia FAQ

How to fix NVIDIA installation libglvnd error

nVidia libglvnd error

Try following commands:


ls -la /usr/lib64/libGL.so.1*
lrwxrwxrwx. 1 root root     14 Jul  6 11:12 /usr/lib64/libGL.so.1 -> libGL.so.1.0.0
-rwxr-xr-x. 1 root root 581840 Jul  6 11:12 /usr/lib64/libGL.so.1.0.0

rm -rf /usr/lib64/libGL.so.1.0.0

dnf reinstall libglvnd-glx

## Should be installed already on step 2.5 Install needed dependencies ##
dnf install libglvnd-opengl libgl-devel pkgconfig

Then run installer again. Thanks to Phil K.

Download nVidia Patched Installer

1. Download nVidia 340.104 installer with Kernel 4.12+ and 4.13+ patch


wget http://rpms.if-not-true-then-false.com/nvidia/NVIDIA-Linux-x86_64-340.104-patched-fedora-26-kernel-4.13.run

2. Download nVidia 304.135 installer with Kernel 4.12/4.11/4.10/4.9/4.8/4.7/4.6/4.5/4.4/4.3 patch


wget http://rpms.if-not-true-then-false.com/nvidia/NVIDIA-Linux-x86_64-304.135-kernel-4.12-patched.run

How to Patch nVidia Installer

This is example how to patch nVidia 304.134 drivers with latest kernels, like 4.12/4.11/4.10/4.9/4.8/4.7/4.6/4.5/4.4/4.3. You can create any directory and run following commands under it.

1. Extract nVidia Driver Package


## 64-bit ##
./NVIDIA-Linux-x86_64-304.135.run --extract-only

## 32-bit ##
./NVIDIA-Linux-x86-304.135.run --extract-only

2. Download Patch


wget https://media.if-not-true-then-false.com/files/nvidia_mtrr_k4_3.patch

This patch is originally from here.

3. Apply Patch to nVidia Installer


## 64-bit ##
patch NVIDIA-Linux-x86_64-304.135/kernel/nv-linux.h < nvidia_mtrr_k4_3.patch

## 32-bit ##
patch NVIDIA-Linux-x86-304.135/kernel/nv-linux.h < nvidia_mtrr_k4_3.patch

Note: you need patch "dnf install patch"

4. Create nVidia Installer with Patch


## 64-bit ##
./NVIDIA-Linux-x86_64-304.135/makeself.sh --target-os Linux --target-arch x86_64 NVIDIA-Linux-x86_64-304.135 NVIDIA-Linux-x86_64-304.135-patched.run "NVIDIA driver 304.135 patched for kernel 4.3+" ./nvidia-installer

## 32-bit ##
./NVIDIA-Linux-x86-304.135/makeself.sh --target-os Linux --target-arch x86 NVIDIA-Linux-x86-304.135 NVIDIA-Linux-x86-304.135-patched.run "NVIDIA driver 304.135 patched for kernel 4.3+" ./nvidia-installer

5. nVidia Patched Installer

Now you should have NVIDIA-Linux-x86_64-304.134-patched.run or NVIDIA-Linux-x86-304.134-patched.run. Then install nVidia drivers using your patched installer.

Table of Contents

1. Before nVidia drivers installation (Fedora 27/26/25/24/23/22/21)

2. Install nVidia proprietary drivers on Fedora 27/26/25/24/23/22/21 and disable the nouveau driver

3. Some Screenshots Using Different nVidia Cards and Drivers

4. Restore/Change/Update Plymouth After nVidia Drivers Installation (BIOS/UEFI Users)

5. Fedora 27/26/25/24/23/22/21 Uninstall nVidia drivers and Enable Nouveau

6. Fedora 27/26/25/24/23/22/21 nVidia FAQ