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: 8

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,233 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: 8

1 6 7 8 9 10 127
    1. ~ % nvidia-installer -v |grep version
      nvidia-installer: version 340.96 ([email protected])
      ~ % uname -a
      Linux localhost.localdomain 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      ~ % lspci |grep -i VGA
      01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 240] (rev a2)

      Reply
      • ~$ nvidia-installer -v |grep version
        nvidia-installer: version 358.16 ([email protected]) Mon Nov 16 19:59:22 PST 2015

        ~$ uname -a
        Linux home-desktop 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

        ~$ lspci |grep -i VGA
        01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

        Reply
    2. Hey, thank you for this guide. I’ve a problem. I’m working with analogic cable and the system doesn’t recognize the monitor. How I can set the resolution now? With nouveu I had the same problem. So I know I can set the resolution from the nVidia panel, but I can’t because the resolution now is 640×480 and is impossible to sets it to 1920×1080. Any ideas?

      Reply
      • Hi Primax,

        Could you post your current /etc/X11/xorg.conf and /var/log/Xorg.0.log example to http://pastebin.com ?

        Then could you also tell more specific what cable, monitor and graphics card you are using?

        Reply
          • Hi Primax,

            Thanks, yes problem is this:
            [ 25.123] (WW) NVIDIA(0): CRT-0 does not have an EDID, or its EDID does not contain a
            [ 25.123] (WW) NVIDIA(0): maximum image size; cannot compute DPI from CRT-0’s EDID.

            Could you also post your xrandr command output:

            
            xrandr
            

            This should be fixable with xorg configuration, but good to see xrandr output before.

            Reply
            • Sorry I forgot…there is an adapter between video card(DVI-port) and VGA cable.

              [[email protected] ~]$ xrandr
              Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
              DVI-I-0 connected primary 640×480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
              640×480 59.94*+
              320×240 60.05
              DVI-I-1 disconnected (normal left inverted right x axis y axis)
              HDMI-0 disconnected (normal left inverted right x axis y axis)
              DP-0 disconnected (normal left inverted right x axis y axis)
              DVI-D-0 disconnected (normal left inverted right x axis y axis)
              DP-1 disconnected (normal left inverted right x axis y axis)

              Reply
              • Okay, try following.

                1. Create modeline

                
                cvt 1920 1080 60
                

                Output:

                
                # 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
                Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
                

                2. Create new mode using xrandr

                
                xrandr --newmode "1920x1080_60.00"   173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
                

                3. Add mode using xrandr

                
                xrandr --addmode DVI-I-0 1920x1080_60.00
                

                4. Change mode

                
                xrandr --output DVI-I-0 --mode 1920x1080_60.00
                

                If this works, then you could add it to xorg.conf, like:

                
                ...
                 
                Section "Monitor"
                    Identifier     "Monitor0"
                    VendorName     "Samsung"
                    ModelName      "LS24D300HS"
                    Modeline      "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
                    Option      "PreferredMode" "1920x1080_60.00"
                    Option         "DPMS"
                EndSection
                 
                ...
                 
                Section "Screen"
                    Identifier     "Screen0"
                    Device         "Device0"
                    Monitor        "Monitor0"
                    DefaultDepth    24
                    SubSection     "Display"
                        Depth       24
                        Modes      "1920x1080_60.00" "640x480"
                    EndSubSection
                EndSection
                
                Reply
                • Hey, I got this error (the last command):

                  [[email protected] ~]$ cvt 1920 1080 60
                  # 1920×1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
                  Modeline “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
                  [[email protected] ~]$ xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
                  [[email protected] ~]$ xrandr –addmode DVI-I-0 1920x1080_60.00
                  X Error of failed request: BadMatch (invalid parameter attributes)
                  Major opcode of failed request: 139 (RANDR)
                  Minor opcode of failed request: 18 (RRAddOutputMode)
                  Serial number of failed request: 39
                  Current serial number in output stream: 40

                  Sorry but I don’t know how to write this code like a background terminal. Please tell me how to.

                  Reply
                  • Hi Primax,

                    Could you then try following, first install monitor-edid:

                    
                    dnf install monitor-edid
                    

                    Then post output of following command:

                    
                    monitor-get-edid |monitor-parse-edid
                    
                    Reply
                    • hey JR, this is the output:

                      [[email protected] ~]# monitor-get-edid |monitor-parse-edid
                      Unescaped left brace in regex is deprecated, passed through in regex; marked by <– HERE in m/.*? = { <– HERE / at /bin/monitor-parse-edid line 735.
                      mmap /dev/mem: Permission denied
                      bad edid

                      Reply
                      • Hi primax,

                        I found your monitor manual and looks like your monitor Horizontal Frequency is 30 ~ 81 kHz and Vertical Frequency is 56 ~ 75 Hz, so modify following lines on your xorg.conf:

                        
                        ...
                            HorizSync       30.0 - 81.0
                            VertRefresh     56.0 - 75.0
                        ...
                        

                        And reboot your system. If 640×480 is still only option, then try to run xrandr commands again, is it working then?

    3. Thanks :)

      nvidia-installer: version 352.63 ([email protected]).

      Linux kisin 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1)

      Reply
    4. Thanks for the tutorial!

      nvidia-installer: version 352.63 ([email protected]) Sat Nov 7 22:00:30 PST 2015

      Linux localhost.fedorasobremesa 4.2.6-201.fc22.x86_64 #1 SMP Tue Nov 24 18:42:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)

      Reply
    5. Can you please tell us which shell you use or how to set up the bash prompt like the one you have in Fedora 23?

      Regards,
      Bilal

      Reply
      • Hi Bilal,

        Do you mean Screenshot 3.1?

        It’s just a Gnome-Terminal with default settings. Or do you mean something else?

        Reply
        • I have recently started using Linux and have settled on Fedora after trying MINT, UBUNTU, KUBUNTU, OPENSUSE etc. And your article on installing the nvidia driver worked flawlessly the three times I have had to install the driver. Many thanks for that.

          But the bash prompt in Fedora is just plain white unlike what you find in MINT. This seemed to be a very simple task which required some simple code storing the value of the PS1 to be appended to the ~/.bash_profile as mentioned in all the following sites:

          https://wiki.archlinux.org/index.php/Color_Bash_Prompt
          https://www.digitalocean.com/community/tutorials/how-to-customize-your-bash-prompt-on-a-linux-vps
          http://blog.bigsmoke.us/2008/12/05/my-new-bash-prompt
          http://www.askapache.com/linux/bash-power-prompt.html
          http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt
          http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html

          But it never changed any color for me. Finally, I put some code in ~/.bashrc as I discovered that the system-wide bash is located in /etc/bashrc in my installation [don’t know if that is universal in Fedora 23].

          Having new PS1 value stored in ~/.bashrc gives a nice and colored prompt after su but for the normal user it does not change any color unless i source ~/.bash_profile after every login. Don’t know how to set the value permanently.

          Hope I have been able to explain my problem, although, it may not be remotely related to your area of interest. And I was hoping that you might be able to write a guide for it if it is a big enough issue.

          Thanks,
          Regards

          Reply
          • Sorry, now I understand what you meant.

            Add your PS1=’…’ to normal user ~/.bashrc or ~/.profile. System wide /etc/profile or /etc/bashrc.

            ~/.bash_profile is only sourced by bash when started in interactive login mode. TTY, SSH etc.

            ~/.bashrc should be sourced when you open terminal emulator (non interactive login mode). Gnome-Terminal, Konsole etc.

            ~/.profile should be sourced when you log in graphically. Gnome session etc.

            Reply
            • Many thanks, you made it super easy! Shows the significance of knowledge.

              Since you have been so kind, can you please make a guide on installing google earth in fedora, it installs without a glitch on MINT but does not install on fedora 23.

              Another comment regarding the skype installation guide.
              First time I installed the nVIDIA driver first and then isntalled skype and skype did not work. But the second time, I installed skype first and then installed the nVIDIA drivers and although, I was expecting that skype would stop working now but it did not :)

              Thanks and regards,
              Bilal

              Reply
              • Hi Bilal,

                You are welcome!

                Looks like that the Google Earth RPM package won’t install on Fedora 23. It conflicts with file from filesystem package.

                This is quick workaround to get Google Earth working on Fedora 23. First install following packages:

                
                dnf install freeimage openssl-libs wget xdg-utils redhat-lsb
                

                Then Download Google Earth RPM package and extract files from package:

                
                ## As root or normal user ##
                mkdir /tmp/google-earth
                
                cd /tmp/google-earth
                
                rpm2cpio /path/to/google-earth-stable_current_x86_64.rpm | cpio -idmv
                
                ## Following commands as root ##
                mkdir -p /opt/google
                cp -a /tmp/google-earth/opt/google/earth /opt/google/
                

                Then run Google Earth (as normal user):

                
                /opt/google/earth/free/googleearth
                

                Check following to solve problems with Skype and NVIDIA drivers.

                Reply
    6. ~% nvidia-installer -v |grep version
      nvidia-installer: version 358.16 ([email protected])

      ~% uname -a
      Linux localhost.localdomain 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      ~% lspci | grep -i VGA
      01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570 Rev. 2] (rev a1)

      With thanks for a very good tutorial.

      Reply
    7. Best manual about NVIDIA driver installation under Linux Fedora. I am giving you a “Quality certificate”.

      Reply
    8. I’ve got a nVidia GeForce GT 240 on Fedora 23. I followed this guide and it worked perfectly.

      Thank you very much for your help.

      Take a look to my terminal output:

      $ lspci -k | grep -A 2 VGA
      01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 240] (rev a2)
      Subsystem: XFX Pine Group Inc. Device 3002
      Kernel driver in use: nvidia

      Reply
    9. Thanks for the good tutorial.

      nvidia-installer -v |grep version
      nvidia-installer: version 352.63 ([email protected])
      $ uname -a
      Linux lemur 4.1.13-100.fc21.x86_64 #1 SMP Tue Nov 10 13:13:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci |grep -i VGA
      01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)

      Reply
    10. Thanks for this great guide!

      > nvidia-installer -v | grep version && uname -a && lspci | grep -i VGA
      2:nvidia-installer: version 358.16 ([email protected]) Mon Nov 16 19:59:22 PST 2015
      Linux 4.2.6-201.fc22.x86_64 #1 SMP Tue Nov 24 18:42:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      14:01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

      Reply
    11. nvidia-installer: version 340.96 ([email protected]) Sun Nov 8 22:50:33 PST 2015

      Linux winch 4.2.6-201.fc22.x86_64 #1 SMP Tue Nov 24 18:42:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation G86M [Quadro NVS 140M] (rev a1)

      Thanks so much for this guide. I had tried going the RPM Fusion route that had worked in the past for me up through Fedora 21. All kinds of strange behavior and I could not boot my machine into run level 5 at all. I uninstalled the akmod-nvidia-34xx from RPM fusion and installed via your instructions above and everything is working perfectly. Something is drastically wrong with the RPM Fusion drivers/Install process.

      Reply
    12. It worked for me ¡Gracias!
      nvidia-installer: version 340.96 ([email protected])
      Linux nostromo 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      03:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GTS] (rev a1)

      Reply
    13. [[email protected] ~] # nvidia-installer -v |grep version
      nvidia-installer: version 352.63 ([email protected]) Sat Nov 7 22:00:30 PST 2015
      [[email protected] ~] # uname -a
      Linux minuz71.localdomain 4.2.6-201.fc22.x86_64 #1 SMP Tue Nov 24 18:42:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      [[email protected] ~] # lspci |grep -i VGA
      01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [NVS 5400M] (rev a1)

      Reply
    14. Hey JR, I’m writing here because I can’t reply your last answer. I did everthing, but now in the right side of the login screen there is a vertical black bar. When I login, the bar dissappear but the resolution is not correct. So, I went in settings and I set 1920×1080 but the aspect ratio is incorrect (4:3) and it is unchangeble. Any ideas? Thank you for your time.

      Reply
    15. nvidia-installer: version 340.96 ([email protected])
      Linux prozorec 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      1:00.0 VGA compatible controller: NVIDIA Corporation G84M [GeForce 8600M GT] (rev a1)

      Reply
1 6 7 8 9 10 127

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