Fedora 37/36/35/34 NVIDIA FAQ

6.1 NVIDIA + DKMS Kernel Upgrade on Fedora

Watch More Videos and Subscribe to
if-not-true-then-false.com Youtube Channel
 

6.2 NVIDIA Drivers Update/Downgrade/Reinstall on Fedora

Watch More Videos and Subscribe to
if-not-true-then-false.com Youtube Channel
 

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 libglvnd-devel pkgconfig

Then run installer again. Thanks to Phil K.

 
 

Get and use inttf NVIDIA patcher

To patch NVIDIA installer use a new inttf NVIDIA Patcher BASH Script.

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.

3,232 comments on “Fedora 37/36/35/34 NVIDIA FAQ

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close