Fedora 28/27/26 nVidia Drivers Install Guide - Comment Page: 2

This is guide, howto install nVidia proprietary drivers on Fedora 28/27/26/25/24/23/22/21 and disable Nouveau driver. This guide works with GeForce 6/7/8/9/200/300/400/500/600/700/800/900/10 series cards. GeForce 400/500/600/700/800/900/10 series cards works with 390.xx and 396.xx nVidia drivers GeForce 8/9/200/300 series cards works with 340.xx nVidia drivers GeForce 6/7 series cards works with 304.xx nVidia drivers This is totally different guide than my earlier guides, like Fedora 20 nVidia driver install. This guide uses nVidia drivers directly from nVidia site and dkms to help on kernel updates. Have to say that I have had and heard strange problems with different repos...

1,809 comments on “Fedora 28/27/26 nVidia Drivers Install Guide - Comment Page: 2

1 2 3 4 69
    1. Hi, my lspci |grep -i VGA return
      00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

      and i’ve a NVIDIA GeForce 820M. Can I use this guide?
      Thanks!!

      Reply
    2. Very nice, thanks
      nvidia-installer: version 340.93 ([email protected]) Wed Aug 19 17:11:11 PDT 2015
      Linux localhost.localdomain 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)

      Reply
    3. Thanks very much for your excellent guides. I love Fedora, and your guides make it so much easier to tweak!

      nvidia-installer: version 340.93 ([email protected])

      05:00.0 VGA compatible controller: NVIDIA Corporation GF119 [NVS 315] (rev a1)

      Reply
    4. Thank you so much for this tutorial. I have an older Quadro FX 4500 card and your explanation of the install w/ the 304 driver worked perfectly.

      Reply
    5. Do not know what is up, but before and after installing the nvidia drivers I get massive window lag, like moving a window from one side to another makes it lag and not a smooth animation. Also minimizing takes a couple of seconds.

      I have Core i7-3770k, Nvidia 770, 3 screens, 16gb and its installed on an SSD. Any ideas? Thanks!

      Reply
      • Hi Sean,

        Could you post output of following commands:

        
        uname -a
        
        nvidia-installer -v |grep version
        
        lspci |grep -i VGA
        
        glxinfo |grep -i -e "direct render" -e opengl
        
        glxgears # let this run example 30 seconds, then Ctrl+C
        
        Reply
        • Here you go JR.
          Linux Beast-Fedora 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

          nvidia-installer: version 355.11 ([email protected]) Wed Aug 26 17:16:01 PDT 2015

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

          direct rendering: Yes
          OpenGL vendor string: NVIDIA Corporation
          OpenGL renderer string: GeForce GTX 770/PCIe/SSE2
          OpenGL core profile version string: 4.4.0 NVIDIA 355.11
          OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
          OpenGL core profile context flags: (none)
          OpenGL core profile profile mask: core profile
          OpenGL core profile extensions:
          OpenGL version string: 4.5.0 NVIDIA 355.11
          OpenGL shading language version string: 4.50 NVIDIA
          OpenGL context flags: (none)
          OpenGL profile mask: (none)
          OpenGL extensions:
          OpenGL ES profile version string: OpenGL ES 3.1 NVIDIA 355.11
          OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
          OpenGL ES profile extensions:

          Running synchronized to the vertical refresh. The framerate should be
          approximately the same as the monitor refresh rate.
          296 frames in 5.0 seconds = 59.025 FPS
          297 frames in 5.0 seconds = 59.201 FPS
          301 frames in 5.0 seconds = 60.001 FPS
          301 frames in 5.0 seconds = 60.003 FPS
          282 frames in 5.0 seconds = 56.396 FPS
          288 frames in 5.0 seconds = 57.414 FPS
          297 frames in 5.0 seconds = 59.397 FPS
          300 frames in 5.0 seconds = 59.800 FPS

          Reply
          • Thanks, this looks good!

            Reply
        • The other thing is, after I setup my displays with the correct resolution and refresh rate and hit save to xorg config file, it saves but after rebooting it does not keep the settings. Any idea on why this would happen?

          Reply
          • Could you post your /etc/X11/xorg.conf when you do your changes and after boot:

            
            cat /etc/X11/xorg.conf
            
            Reply
            • Here you go JR,

              Okay here we go
              Before Adjusting Nvidia Settings
              # nvidia-xconfig: X configuration file generated by nvidia-xconfig
              # nvidia-xconfig: version 355.11 ([email protected]) Wed Aug 26 17:15:49 PDT 2015

              Section "ServerLayout"
              Identifier "Layout0"
              Screen 0 "Screen0"
              InputDevice "Keyboard0" "CoreKeyboard"
              InputDevice "Mouse0" "CorePointer"
              EndSection

              Section "Files"
              FontPath "/usr/share/fonts/default/Type1"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Mouse0"
              Driver "mouse"
              Option "Protocol" "auto"
              Option "Device" "/dev/input/mice"
              Option "Emulate3Buttons" "no"
              Option "ZAxisMapping" "4 5"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Keyboard0"
              Driver "kbd"
              EndSection

              Section "Monitor"
              Identifier "Monitor0"
              VendorName "Unknown"
              ModelName "Unknown"
              HorizSync 28.0 - 33.0
              VertRefresh 43.0 - 72.0
              Option "DPMS"
              EndSection

              Section "Device"
              Identifier "Device0"
              Driver "nvidia"
              VendorName "NVIDIA Corporation"
              EndSection

              Section "Screen"
              Identifier "Screen0"
              Device "Device0"
              Monitor "Monitor0"
              DefaultDepth 24
              SubSection "Display"
              Depth 24
              EndSubSection
              EndSection


              Adjusting Nvidia Settings

              # nvidia-settings: X configuration file generated by nvidia-settings
              # nvidia-settings: version 355.11 ([email protected]) Wed Aug 26 17:14:39 PDT 2015

              Section "ServerLayout"
              Identifier "Layout0"
              Screen 0 "Screen0" 0 0
              InputDevice "Keyboard0" "CoreKeyboard"
              InputDevice "Mouse0" "CorePointer"
              Option "Xinerama" "0"
              EndSection

              Section "Files"
              FontPath "/usr/share/fonts/default/Type1"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Mouse0"
              Driver "mouse"
              Option "Protocol" "auto"
              Option "Device" "/dev/input/mice"
              Option "Emulate3Buttons" "no"
              Option "ZAxisMapping" "4 5"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Keyboard0"
              Driver "keyboard"
              EndSection

              Section "Monitor"
              # HorizSync source: edid, VertRefresh source: edid
              Identifier "Monitor0"
              VendorName "Unknown"
              ModelName "BenQ XL2430T"
              HorizSync 30.0 - 160.0
              VertRefresh 56.0 - 144.0
              Option "DPMS"
              EndSection

              Section "Device"
              Identifier "Device0"
              Driver "nvidia"
              VendorName "NVIDIA Corporation"
              BoardName "GeForce GTX 770"
              EndSection

              Section "Screen"
              Identifier "Screen0"
              Device "Device0"
              Monitor "Monitor0"
              DefaultDepth 24
              Option "Stereo" "0"
              Option "nvidiaXineramaInfoOrder" "DFP-4"
              Option "metamodes" "DP-1: 1920x1080_144 +1920+0, DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +3840+0"
              Option "SLI" "Off"
              Option "MultiGPU" "Off"
              Option "BaseMosaic" "off"
              SubSection "Display"
              Depth 24
              EndSubSection
              EndSection

              After boot

              # nvidia-settings: X configuration file generated by nvidia-settings
              # nvidia-settings: version 355.11 ([email protected]) Wed Aug 26 17:14:39 PDT 2015

              Section "ServerLayout"
              Identifier "Layout0"
              Screen 0 "Screen0" 0 0
              InputDevice "Keyboard0" "CoreKeyboard"
              InputDevice "Mouse0" "CorePointer"
              Option "Xinerama" "0"
              EndSection

              Section "Files"
              FontPath "/usr/share/fonts/default/Type1"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Mouse0"
              Driver "mouse"
              Option "Protocol" "auto"
              Option "Device" "/dev/input/mice"
              Option "Emulate3Buttons" "no"
              Option "ZAxisMapping" "4 5"
              EndSection

              Section "InputDevice"
              # generated from default
              Identifier "Keyboard0"
              Driver "keyboard"
              EndSection

              Section "Monitor"
              # HorizSync source: edid, VertRefresh source: edid
              Identifier "Monitor0"
              VendorName "Unknown"
              ModelName "BenQ XL2430T"
              HorizSync 30.0 - 160.0
              VertRefresh 56.0 - 144.0
              Option "DPMS"
              EndSection

              Section "Device"
              Identifier "Device0"
              Driver "nvidia"
              VendorName "NVIDIA Corporation"
              BoardName "GeForce GTX 770"
              EndSection

              Section "Screen"
              Identifier "Screen0"
              Device "Device0"
              Monitor "Monitor0"
              DefaultDepth 24
              Option "Stereo" "0"
              Option "nvidiaXineramaInfoOrder" "DFP-4"
              Option "metamodes" "DP-1: 1920x1080_144 +1920+0, DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +3840+0"
              Option "SLI" "Off"
              Option "MultiGPU" "Off"
              Option "BaseMosaic" "off"
              SubSection "Display"
              Depth 24
              EndSubSection
              EndSection

              Reply
              • Hi Sean,

                Actually this before boot and after boot is exactly same.

                Could you post content of your /var/log/Xorg.0.log or alternatively output of following command (when you have changed settings and after reboot):

                
                journalctl -b _COMM=gdm-x-session
                
                Reply
                • Well got the layout fix, ~/.config/monitors.xml edited that file, put in the refresh rate and layout and its sticking. Only place it is not is in the GDM login window.

                  Reply
                  • Ok, nice to hear that you got it fixed at least partially.

                    Reply
    6. I have followed step by step to the T on fedora 22 with a geforce 980 and when it gets to installing the actual driver, it fails everytime it just says nouveau is still installed. I’m lost come find me in the woods please!

      Reply
      • Hi Jeremy,

        Do you use UEFI?

        Reply
          • Sorry, this is my mistake I have forgot to add command to refresh EFI grub.cfg. So run:

            
            grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
            

            And:

            
            systemctl set-default multi-user.target
             
            reboot
            

            Then you can check is nouvuea still loaded:

            
            lsmod |grep nouv
            

            Should be just empty output and run installer again.

            Reply
            • I didn’t end up having nouveau problems my installer keeps crapping out at DKMS install.

              Reply
            • Failed to run /sbin/dkms build -m nvidia -v 358.09 -k 4.0.4-301.fc22.x86_64 error! Echo your kernel headers for kernel 4.0.4-301.fc22.x86_64 can’t be found at /lib/modules/4.0.4-301.fc22.x86_64/build or /lib/modules/4.0.4-301.fc22.x86_64/source

              Reply
              • Hi again Jeremy,

                Could you post output of following commands:

                
                uname -a
                
                rpm -qa kernel\* |sort -V
                
                Reply
                  • You have to update your kernel to 4.2.3-200 version too.

                    So simply run:

                    
                    dnf update
                    
                    ## OR ##
                    dnf update kernel\*
                    

                    Then reboot and select 4.2.3 kernel and try again.

                    Reply
                    • worked like a charm both monitors now running and nvidia driver installed … thanks a ton for your help

                      Reply
                      • Excellent! You are welcome!

                      • I did the last step the one that goes: dnf install vdpauinfo libva-vdpau-driver libva-utils and totally borked my system gotta reinstall and do it all over again !!! lol oh well such is life isnt the first time i’ve had to reinstall wont be the last. least now i know where the problems are maybe since 23 is live now i’ll try it and see where it goes see what happens.

                        Thanks tons for being so helpful and doing your due diligence to the fedora community keep up the awesome work!

                      • Fedora 23 Worked like a charm again. Thanks a ton.

                      • Really nice to hear that you got it working on F23 too. Did you tried VDPAU/VAAPI too on F23?

    7. Thank you very much for the very excellent guide! Much appreciated.

      nvidia-installer: version 352.55 ([email protected])

      Linux localhost.localdomain 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      05:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX TITAN Z] (rev a1)

      Reply
    8. Excellent post, works perfect for me using fedora 22 and a geforce GTS 250. Is there a way to not broke the fedora’s logo when loading the os?

      thnks btw

      Reply
      • Hi Martin,

        I just tested, is it possible to restore Plymouth working normally with nVidia drivers on F23/F22/F21 and it seems that it is. I add my method to this guide soon.

        Reply
    9. Hi, my lspci |grep -i VGA return

      00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
      01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

      Can I use this guide?

      Thank you very much…

      Reply
      • Hi GUS,

        This guide should work, because you don’t have Optimus technology. Do you have monitor(s) connected to your nVidia card and motherboard?

        Reply
    10. Solved the Xorg problem for me when I’d upgraded to Fedora 23 on my old Macbook Pro. Thanks a lot for an excellent guide!

      nvidia-installer: version 340.93 ([email protected])

      4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      03:00.0 VGA compatible controller: NVIDIA Corporation C79 [GeForce 9400M] (rev b1)

      Reply
      • You are welcome and nice to see Fedora 23 users here!

        Reply
    11. Thank you for great post.
      One little correction though – at least in Fedora23 you have to uninstall nouveau THEN exclude xorg-x11 in dnf.conf. Otherwise dnf will not find it.
      Though if you have blacklisted it, it should not matter.

      Reply
      • Hi Martin and thanks!

        I updated guide. Changed Fedora 23 nouveau uninstall command to:

        
        dnf --disableexcludes=all remove xorg-x11-drv-nouveau
        

        Then it should work normally even xorg-x11 packages are excluded on step 2.5.

        Hopefully this is just a temporary solution and nVidia drivers are updated soon to work with xorg 1.18.

        And yes, blacklisting should be enough, but removing it just make sure that it won’t be loaded even if something will change in the future.

        Reply
        • As owner of older NVS3100 card i don’t think I can expect new drivers with support to 1.18. So maybe Fedora 23 is last one i can use with nvidia drivers, not sure we can expect downgrade possibility in future.

          To be honest I would be fine with nouveau, if that thing actualy worked with my card. Never managed to get it work since Fedora 21 :(

          Reply
    12. Thanks so much for your work — Have not used the card for over two years – was just too much trouble….

      nvidia-installer: version 340.93 ([email protected]) Wed Aug 19 17:11:11 PDT 2015

      Linux fox1-northtech-net 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation G92 [GeForce 8800 GTS 512] (rev a2)

      Reply
    13. I’m getting this after lspci

      00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
      03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev ff)
      

      WHat does it means? Thank you

      Reply
        • Thanks. Yesterday I installed bumblebee with closed nvidia drivers using that guide. Seems to work but weird things happens… nvidia-settings are not working and steam games have lower fps when launched with primusrun.

          Anyway… testing with glxgears seems to work fine… confused!

          I can’t disable optimu from BIOS.

          Thanks dude! love this site for years.

          Reply
          • I haven’t tried bumblebee on any system, but I have one laptop where I have nVidia Optimus. So maybe I should try it when I have more time.

            Reply
    14. That works great! Thank you very much!

      nvidia-installer: version 352.55 ([email protected])

      Linux JN-VAIO 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      VGA compatible controller: NVIDIA Corporation GF119M [GeForce 410M] (rev a1)

      Reply
    15. Here is a fix for the incompatible xorg 1.18 and nvidia drivers:

      dnf –releasever=22 downgrade xorg-x11-server-Xorg –allowerasing

      This is downgrade xorg to 1.17 which will work.

      Enjoy :)

      Reply
      • Hi Jason,

        This will work too. This guide uses original F23 beta packages. Your method works if F22 Xorg packages are not upgraded to 1.18 too. Hopefully we get nVidia drivers update soon.

        Reply
1 2 3 4 69

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