Fedora 36/35/34 NVIDIA [515.43.04 / 510.73.05 / 470.129.06 / 390.151 / 340.108] Drivers Install Guide - Comment Page: 122

This is guide, howto install NVIDIA proprietary drivers (manually using .run installer) on Fedora 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 series cards. GeForce RTX 30 series cards works with 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 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 cards works with 510.xx, 470.xx, and 390.xx NVIDIA drivers (GTX 1080 Ti, GTX 1080, GTX 1070, GTX 1060, GTX 1660 ...) GeForce GT/GTX 400/500 series cards...

3,126 comments on “Fedora 36/35/34 NVIDIA [515.43.04 / 510.73.05 / 470.129.06 / 390.151 / 340.108] Drivers Install Guide - Comment Page: 122

1 120 121 122
    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. 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
    11. 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
1 120 121 122

Leave a Reply

Your email address will not be published.

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

Close