Fedora 37/36/35 NVIDIA Drivers Install Guide [530.30.02 / 525.89.02 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 122

This is guide, howto install NVIDIA proprietary drivers (manually using .run installer) on Fedora 37/36/35/34/33/32 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30/40 series cards. GeForce RTX 40 series cards works with 530.xx, 525.xx, 520.xx NVIDIA drivers, (RTX 4090) GeForce RTX 30 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers, (RTX 3090, RTX 3080 and RTX 3070, RTX 3060, RTX 3060 Ti) GeForce RTX 20 series cards works with 530.xx, 525.xx, 520.xx, 515.xx, 510.xx and 470.xx NVIDIA drivers (RTX 2080 Ti, RTX 2080, RTX 2070 Ti, RTX 2070, RTX 2060) GeForce GT/GTX 600/700/800/900/10 series...

3,232 comments on “Fedora 37/36/35 NVIDIA Drivers Install Guide [530.30.02 / 525.89.02 / 520.56.06 / 515.86.01 / 510.108.03 / 470.161.03 / 390.157 / 340.108] - Comment Page: 122

1 120 121 122 123 124 127
    1. Hello my Friend, excellent your tutorial, very complete and after seeing several tutorials this is the best and with which you manage to install the driver. A hug. Best regards.

      Reply
    2. Worked like a charm with a fresh install of Fedora 35, Nvidia’s 510.54 driver. The step-by-step was comprehensive.

      Reply
    3. Thanks much :D

      nvidia-installer: version 510.54

      Linux colinquek 5.16.14-200.fc35.x86_64 #1 SMP PREEMPT Fri Mar 11 20:31:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

      Reply
    4. [[email protected] ~]# nvidia-installer -v |grep version
      nvidia-installer: version 510.47.03

      [[email protected] ~]# uname -a
      Linux hawking 5.16.14-200.fc35.x86_64 #1 SMP PREEMPT Fri Mar 11 20:31:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

      [[email protected] ~]# lspci |grep -E “VGA|3D”
      08:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3080] (rev a1)

      Reply
    5. I installed Gnome 42 on Fedora 36 with Nvidia drivers on my laptop and this guide helped me fix my multi-touch gestures not working.
      Cheers,

      Reply
    6. $ nvidia-installer -v | grep version
      nvidia-installer -v | grep version

      $ uname -a
      Linux KARAN-PC 5.16.18-200.fc35.x86_64 #1 SMP PREEMPT Mon Mar 28 14:10:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

      $ lspci | grep -E “VGA|3D”
      07:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

      Reply
      • $ nvidia-installer -v | grep version
        nvidia-installer: version 510.60.02

        Reply
    7. Thanks for help!
      Your rtfm saved much time.

      Reply
    8. For Linux 32 bits the latest supported NVIDIA x86 drivers are v340.108 or v390.147. After that x86 support was dropped and just x64 are available for download.
      For anyone that needs to update a x86 Linux I updated the script to download the 32 bit versions of these two drivers:

      “`
      #!/bin/bash

      function usage {
      echo “— inttf NVIDIA patcher (x86) —”
      echo “script usage: $(basename $0) [-h] [-v 340.108 or 390.147]” >&2
      }

      function get_opts {
      local OPTIND
      while getopts “hv:” opt; do
      case $opt in
      v)
      nvidia_version=$OPTARG
      ;;
      h)
      usage
      exit 0
      ;;
      *)
      usage
      exit 1
      ;;
      \?)
      usage
      exit 1
      ;;
      esac
      done
      if [ $OPTIND -eq 1 ]; then
      usage
      exit 1;
      fi
      }

      function check_version {
      local e match=”$1″
      shift
      for e; do [[ “$e” == “$match” ]] && return 0; done
      usage
      exit 1;
      }

      function check_file {
      if [ ! -f ./$1 ]; then
      echo Downloading… $2
      wget -O $1 $2
      else
      echo $1 found.
      fi
      if [ “$(b2sum < ./$1)" = "$3 -" ]; then
      echo $1 [OK]
      else
      echo $1 [Fail]
      echo Deleting… $1
      rm ./$1
      echo Downloading… $2
      wget -O $1 $2
      if [ "$(b2sum < ./$1)" = "$3 -" ]; then
      echo $1 [OK]
      else
      echo $1 [Fail]
      exit 1
      fi
      fi
      }

      get_opts "[email protected]"

      nvidia_versions=( '340.108' '390.147')

      check_version $nvidia_version "${nvidia_versions[@]}"

      nvidia_short_ver=${nvidia_version%%.*}
      nvidia_directory="NVIDIA-Linux-x86-${nvidia_version}"
      nvidia_file="NVIDIA-Linux-x86-${nvidia_version}.run"
      nvidia_url="https://us.download.nvidia.com/XFree86/Linux-x86/${nvidia_version}/${nvidia_file}"
      nvidia_340xx_b2sum="67e3c336a1f3e953e0fbccf96177bef7e0674c32243856660e9203e7c5fd4ada12a5fa784cebc2150d2133bdb16c19109f9fc5c04d4a138bd519def80c43164c"
      nvidia_390xx_b2sum="5a3a02b88af1ee8699b0c6c3fa222d9176338f10437a88c874126c7bacf64ddc44d03d8a44542cba989129af6336e46cae775713458a16d78ea75e4e004dfffb"
      nvar=nvidia_${nvidia_short_ver}xx_b2sum
      nvidia_b2sum=${!nvar}

      patch_url="https://nvidia.if-not-true-then-false.com/patcher/NVIDIA-${nvidia_short_ver}xx/"

      case "${nvidia_short_ver}" in
      340)
      patch_file_names=(
      'kernel-5.7.patch'
      'kernel-5.8.patch'
      'kernel-5.9.patch'
      'kernel-5.10.patch'
      'kernel-5.11.patch'
      'kernel-5.14.patch'
      'kernel-5.15.patch'
      'kernel-5.16.patch'
      'kernel-5.17.patch' )
      patch_file_b2sums=(
      '7150233df867a55f57aa5e798b9c7618329d98459fecc35c4acfad2e9772236cb229703c4fa072381c509279d0588173d65f46297231f4d3bfc65a1ef52e65b1'
      'b436095b89d6e294995651a3680ff18b5af5e91582c3f1ec9b7b63be9282497f54f9bf9be3997a5af30eec9b8548f25ec5235d969ac00a667a9cddece63d8896'
      '947cb1f149b2db9c3c4f973f285d389790f73fc8c8a6865fc5b78d6a782f49513aa565de5c82a81c07515f1164e0e222d26c8212a14cf016e387bcc523e3fcb1'
      '665bf0e1fa22119592e7c75ff40f265e919955f228a3e3e3ebd76e9dffa5226bece5eb032922eb2c009572b31b28e80cd89656f5d0a4ad592277edd98967e68f'
      '344cd3a9888a9a61941906c198d3a480ce230119c96c72c72a74b711d23face2a7b1e53b9b4639465809b84762cdc53f38210e740318866705241bc4216e4f35'
      '31a4047ab84d13e32fd7fdbf9f69c696d3fab6666c541d2acf0a189c1d17c876970985167fd389a4adc0f786021172bdec1aa6d690736e3cf9fcd8ceabe5fd32'
      'a26426488f6e105f546e091ce4d2e9587cc41a0fb05b0dffeb1c523d8d06782bda3004352655c9c019224091f7bc7903939e53ede73f64553f14be8e8a47793a'
      'caedc5651bfd14c02fb677f9c5e87adef298d871c6281b78ce184108310e4243ded82210873014be7fedee0dd6251305fa9bbce0c872b76438e0895ef76109d9'
      '0266e1baaac9ffbb94d9e916a693b1663d8686b15e970bfc30f7c51f051a0af9267aa5f6a12b68586c69d2e9796a1124488b3997ba4b26db1a5ac10a892f0df2' )
      output_file_name=( 'patched-kernel-5.17' 'patched for kernel 5.17+' )
      ;;
      390)
      patch_file_names=(
      'kernel-5.17.patch' )
      patch_file_b2sums=(
      '308c4e770500dc63031a5736bf9578982c022b91c4ef081545821322c1712a8fc3ceab70d507b329378eee053671e8a89c59d9787821f25e92aadf4161f761a6' )
      output_file_name=( 'patched-kernel-5.17' 'patched for kernel 5.17+' )
      ;;
      esac

      check_file $nvidia_file $nvidia_url $nvidia_b2sum

      mkdir -p NVIDIA-${nvidia_short_ver}xx

      for i in "${!patch_file_names[@]}"; do
      #echo ${patch_file_names[$i]} $patch_url ${patch_file_b2sums[$i]}
      check_file "NVIDIA-${nvidia_short_ver}xx/${patch_file_names[$i]}" "$patch_url${patch_file_names[$i]}" ${patch_file_b2sums[$i]}
      done

      chmod +x ./$nvidia_file

      if [ -d ./$nvidia_directory ]; then
      rm -rf ./$nvidia_directory
      fi

      ./$nvidia_file –extract-only

      cd ./$nvidia_directory

      for f in "${patch_file_names[@]}"; do
      patch -Np1 -i ../NVIDIA-${nvidia_short_ver}xx/$f
      done

      cd ..

      ./$nvidia_directory/makeself.sh –target-os Linux –target-arch x86 $nvidia_directory $nvidia_directory-${output_file_name[0]}.run "NVIDIA driver $nvidia_version ${output_file_name[1]}" ./nvidia-installer

      exit 0

      “`

      Reply
    9. In the drivers uninstall guide you’ve forgot to delete “blacklist nouveau” line in /etc/modprobe.d/blacklist.conf. In your website seems that the uninstall guide comments goes to install guide replies.

      Reply
      • Thanks, I will check this.

        Reply
    10. Thanks
      everything is working just fine !
      but i faced a tiny problem
      the grub menu is now appearing on boot even after i run
      sudo grub2-editenv – set menu_auto_hide=1
      and regenerating grub configuration file
      can someone help?

      Reply
    11. Great guide!
      Been a while since i’ve used linux but getting this old laptop make into use has been fun.

      spci |grep -E “VGA|3D”
      nvidia-installer: version 340.108 ([email protected])
      Linux Mattfedtop 5.17.5-200.fc35.x86_64 #1 SMP PREEMPT Thu Apr 28 15:41:41 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation G96GLM [Quadro FX 1700M] (rev a1)

      Reply
    12. Your process worked perfectly well on Fedora 35; but after updating Fedora 36, the Nvidia driver had problems.

      I tried the four most recent drivers.

      I reinstalled F36 on a fresh disk, and the problems still occur with NVIDIA-Linux-x86_64-510.68.02.

      Firefox, software, and the Settings GUI all produce garbled windows; other apps (Terminal, Emacs, System Monitor, Files, LibreOffice) perform as expected.

      I haven’t tested all possible apps.

      lspci says that the nvidia driver is in use.

      The uninstall instructions worked, and I was able to boot into initramfs-5.17.6-300.fc36.x86-64.img and run nouveau without difficulty.

      I then tried installing the Nvidia drivers from rpmfusion; that produced the same results.

      If this piques your interest, just let me know what other information you need.

      Thanks for all your work!

      Reply
    13. nvidia-installer: version 510.73.05
      Linux PC-Fixe 5.17.9-602.inttf.fc36.x86_64 #1 SMP PREEMPT Tue May 24 06:29:29 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX 980 Ti] (rev a1)

      I have a problem now under X11: wine applications are not working as they are seeking for nouveau driver and are not using nvidia driver. How can I enable nvidia driver in Xorg?
      So far my experience in Wayland is not too good as I have 2 monitors with different DPI and it causes problem in KDE. Also many applications are not behaving as expected. So I need to X11 for the time being but now my wine apps are crashing…

      Reply
      • Hi zedidous,

        Just remove “nvidia-drm.modeset=1” from kernel parameters, then you should see X11 instead of wayland.

        Reply
    14. Hi inttf, I have been using your method to install nvidia drivers for a long time. F36 (and kernel 5.17.11 on F34) breaks the driver due to simpledrm. On F36 you can now add a kernel parm “nvidia-drm.modeset=1” which should revert back to the old way if nvidia driver installed. I could not make that work on F34 and needed to upgrade to F36 for compliance reasons, so I fell back to nouveau, which has been suprisingly friendly so far (no hard locks as before). Ideal would be Nvidia driver to support simpledrm, so no issues in that sense.

      Reply
      • Hi Marc,

        I actually saw that change on F36 kernel, this is still something that is not unfortunately working for NVIDIA LEGACY users (< 470xx) and users who really need/want run X11, not Wayland. Nouveau is excellent choice if you don't need Cuda or anything from NVIDIA drivers.

        Reply
        • Hi JR,

          Sharing my experience so far. I am running fedora 36 with kernel 5.17.12, nvidia 510.73.05 and X11 with nvidia-drm.modeset=1. Everything seems to be working for me. I was running 5.17.11 successfully too. Did I misread your comment that X11 is not working with the new kernel and 510.73.05 driver? Rr not working with the new kernel and 470xx drivers. Thanks for the awesome guide.

          Reply
          • Hello Shaf,

            Nice to hear that it’s working. You might be totally right that Fedora kernel is working currently for all. Still their revert is bit different than original change for F36 kernel. I have to test this more when I have more time to do this.

            Reply
      • Hi, I a newbie to Fedora and Linux in general. While following instructions I got stuck in 2.4.3 Enable inttf repo.

        When I enter the “dnf update” command in the terminal, I get the following back

        “Last metadata expiration check: 0:03:58 ago on Wed 08 Jun 2022 05:07:22 PM NDT. Dependencies resolved. Nothing to do. Complete!”

        After that when I restart, I don’t get the option to boot fedora with inttf kernel. Any ideas of what am I missing? Thank you

        Reply
        • Hello Ender,

          Try following now:

          dnf clean all
          
          dnf update
          Reply
    15. First of all it did not work in my Lenovo Legion Y540. And then I tried the rpmfusion version and it worked smoothly. But now when I am updating the system with the new kernels the laptop cannot power on. Please I want my default settings back so that I can upgrade to new kernel given by fedora. How do I do that?

      Reply
      • Hello Raunak,

        Just boot older kernel, remove inttf repo and those exclude rows. Then update your system.

        Reply
1 120 121 122 123 124 127

Leave a Reply to JR Cancel 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