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

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,889 comments on “Fedora 28/27/26 nVidia Drivers Install Guide - Comment Page: 1

1 2 3 72
    1. I’ve tried this guide using Fedora 22 Workstation and both 352.41 and 340.76 failed to run on my notebook Lenovo T420 with NVS 4200M. So can anyone help me to configure my laptop with Nvidia drivers ?

      Reply
      • Hi magnitudo9,

        Could you post output of following command:

        
        lspci |grep -i VGA
        
        Reply
      • Smooth like silk. Thank you.

        Reply
    2. 00:02.0 VGA compatible controller: Intel Corporation 2n Generation Core Processor Family Integrated Graphics Controller (rev 09)
      01:00.0 VGA compatible controller: nVidia Corporation GF119M [Quadro NVS 4200M] (rev a1)

      Reply
      • Okay, you have NVIDIA Optimus card. If you check step 1.2, nVidia proprietary drivers have only partial Optimus support.

        What options you have:
        1. You could check your bios if you can disable Intel card and use only nVidia card then this guide should work
        2. If you can’t disable Intel card, then you could try http://bumblebee-project.org/

        Reply
    3. Tks a lot to JR and Yaroslav, the bumblebee wiki works very well on my laptop but I prefer the ubuntu approach with prime select to switch between graphic cards.

      Reply
    4. Like a charm.
      Situation: Macbook pro 5.5 (middle 2009),nvidia 9400m,
      combo disc: ssd Crucial with Fedora 22 (Gnome),HD 500GB
      on the optical bay (OWC Data Doubler) with OS X Yosemite
      10.10.5.
      Finally have a decent power management and hardware
      acceleration.
      Thank you.

      Reply
      • You are welcome! Nice to hear that this worked with your card.

        Reply
    5. Thank you! I have a Dell R420 server that didn’t seem to like the nouveau drivers and this finally worked. Here is the output of uname and lspci:

      Linux localhost.localdomain 4.1.6-100.fc21.x86_64 #1 SMP Mon Aug 17 22:20:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

      Reply
    6. Oops…the uname/lspci output from my last comment are from the wrong system (obviously since it has a Radeon gpu). Here is the correct output

      Linux Schloop-Kali3.WORKGROUP 4.1.6-201.fc22.x86_64 #1 SMP Fri Sep 4 17:49:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      08:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1)

      Reply
    7. Smooth sailing instructions for me, until Section 2.8. Once I reboot, I am greeted with a completely black screen after GRUB. I’ve tried adding “3” to the end of the line to force a console login, and still black screen.

      Only when I remove “rd.driver.blacklist=nouveau” can I actually get to the console login. But of course, installer fails because Nouveua has loaded.

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

      There has to be something I’m missing… I’m really tired of having to reinstall fresh after every time.

      Reply
      • Hi nirbhab,

        I can disable SELinux without any problems on Fedora 22.

        This bug is very old and closed (2011-04-08 22:11:43 EDT), but could you try one this bug workaround, add “selinux=0” to boot parameters?

        Reply
    8. If you have Fedora installed on UEFI, then you will get
      ERROR: The kernel module failed to load.

      Solution: manually sign the drivers and before restart import keys:
      mokutil –import /usr/share/nvidia/nvidia-modsign-crt-XXXXXXXX.der
      enter the temporary password, then reboot. You bios will popup new menu, select to sign activate key, enter temporary password. And done :)

      https://ask.fedoraproject.org/en/question/60949/nvidia-driver-and-bumblebee-not-working-in-fedora-21/

      Reply
      • Hi Kowach,

        Nice tip!

        Actually UEFI is not problem, but UEFI with Secure Boot on/enabled.

        Reply
    9. Worked like a charm, thanks!

      01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)

      Linux hostname 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      Reply
    10. 02:00.0 VGA compatible controller: NVIDIA Corporation G92GL [Quadro FX 3700] (rev a2)

      I was able to get to step 2.9.6 until it ran into an error, nvidia error: bad return status for module build on kernel. I have a screenshot of the full error message here: http://imgur.com/myPgrqu. I tried to install without using DKMS, but that also did not work. At this point, I’m pretty lost on what to do, so any help would be greatly appreciated.

      Reply
      • Hello rooseal,

        Could you post content of /var/lib/dkms/nvidia/340.76/build/make.log example to pastebin.com?

        Reply
          • Thanks!

            Could you also post output of following commands:

            
            uname -a
             
            rpm -qa kernel\* gcc dkms acpid |sort -V
            
            Reply
            • Hi JR,
              Here is the outputs that you requested:

              Linux hostname 4.1.7-200.fc22.x86_64 #1 SMP Mon Sep 14 20:19:24 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

              acpid-2.0.23-4.fc22.x86_64
              dkms-2.2.0.3-30.git.7c3e7c5.fc22.noarch
              gcc-5.1.1-4.fc22.x86_64
              kernel-4.1.6-200.fc22.x86_64
              kernel-4.1.6-201.fc22.x86_64
              kernel-4.1.7-200.fc22.x86_64
              kernel-core-4.1.6-200.fc22.x86_64
              kernel-core-4.1.6-201.fc22.x86_64
              kernel-core-4.1.7-200.fc22.x86_64
              kernel-devel-3.19.4-100.fc20.x86_64
              kernel-devel-3.19.5-100.fc20.x86_64
              kernel-devel-3.19.8-100.fc20.x86_64
              kernel-devel-4.1.6-200.fc22.x86_64
              kernel-devel-4.1.6-201.fc22.x86_64
              kernel-devel-4.1.7-200.fc22.x86_64
              kernel-headers-4.1.7-200.fc22.x86_64
              kernel-modules-4.1.6-200.fc22.x86_64
              kernel-modules-4.1.6-201.fc22.x86_64
              kernel-modules-4.1.7-200.fc22.x86_64
              kernel-modules-extra-4.1.6-200.fc22.x86_64
              kernel-modules-extra-4.1.6-201.fc22.x86_64
              kernel-modules-extra-4.1.7-200.fc22.x86_64

              Reply
              • For those of us having an optimus enabled laptop and no bios switch for video card, this will not work. Had a hard time rolling back the operations this tutorial does, so basically you have to reinstall the xorg and mesa packages after uninstalling and reverting the changes this tuto makes you do on fedora 22.

                NVIDIA-Linux-x86_64-355.11.run –uninstall
                dnf reinstall xorg-*
                dnf reinstall mesa*

                Now X opens when I use startx command. But it will not on boot with gdm. I dont know why.

                It seems nvidia driver replaces some files provided by xorg and mesa packages.

                Reply
              • @rooseal

                Could you post output of following command:

                
                lspci |grep -i VGA
                
                Reply
                • Hi JR,
                  The output is:
                  02:00.0 VGA compatible controller: NVIDIA Corporation G92GL[Quadro FX 3700] (rec a2)

                  Reply
                  • Thanks.

                    Try to update all your system packages (kernel 4.1.10) and download latest nVidia 340.93 drivers and try to install it.

                    I just tested 340.93 drivers on Fedora 22 and everything build normally with dkms and 4.1.10 kernel.

                    Reply
                    • After updating the kernels and updating the dnf repository, the installation went through to completion! Thanks for all the help!

                      Reply
                      • Excellent and you’re welcome!

    11. Worked great thanks so much!

      If you are trying to install drivers for steam you should do this after installing steam from rpmfusion or just reinstall the driver.

      Linux localhost.localdomain 4.1.8-200.fc22.x86_64 #1 SMP Tue Sep 22 12:13:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

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

      Reply
    12. Installed it well on Lenovo ThinkPad w530 with NVidia Quadro K1000M using Fedora 4.0.4, but failed to install it after kernel update to 4.1.8. The screen just blinks once in several seconds in a command line regime with the last line something like “Starting GNOME ….”

      Reply
      • Hi Sergey,

        Could you post content of your /var/log/Xorg.0.log or alternatively output of following command:

        
        ## Fedora 22+ ##
        journalctl -b _COMM=gdm-x-session
        
        ## Fedora 21 ##
        journalctl -b _COMM=Xorg.bin
        

        And output of following commands:

        
        uname -a
        
        rpm -qa kernel\* |sort -V
        
        Reply
        • Hi JR,

          Thank you for help.

          Here is the uname output:

          Linux localhost.localdomain 4.1.8-200.fc22.x86_64 #1 SMP Tue Sep 22 12:13:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

          Here is the list of kernels:

          kernel-4.0.4-301.fc22.x86_64
          kernel-4.1.8-200.fc22.x86_64
          kernel-core-4.0.4-301.fc22.x86_64
          kernel-core-4.1.8-200.fc22.x86_64
          kernel-devel-4.1.8-200.fc22.x86_64
          kernel-headers-4.1.8-200.fc22.x86_64
          kernel-modules-4.0.4-301.fc22.x86_64
          kernel-modules-4.1.8-200.fc22.x86_64

          When the NVidia drivers (352.41) are installed and I am trying to launch Fedora, the Xorg.0.log file does not even appear. The output of “journalctl” is also empty. When I uninstall drivers, I am able to launch Fedora in a graphical regime. Then I can get some “journalctl” output, but it is too large to be posted here, I am getting blocked when I try to do it. I can send it on your email.

          Could you also please describe the steps required to reinstall the nouveau drivers? I am afraid I can do something wrong.

          Regards,
          Sergey.

          Reply
          • Hi Sergey,

            Could you also post output of following command:

            
            lspci |grep -i VGA
            
            Reply
            • Hi JR,

              Sure. It is the following:

              01:00.0 VGA compatible controller: NVIDIA Corporation GK107GLM [Quadro K1000M] (rev a1)

              I disabled the internal graphics card in BIOS (‘discrete’ option), so only the NVidia card is visible.

              Reply
              • Thanks.

                Could you try to install drivers normally, but add also nox2apic to GRUB_CMDLINE_LINUX options, like:

                
                GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau nox2apic"
                
                grub2-mkconfig -o /boot/grub2/grub.cfg
                

                It looks like your laptop Lenovo ThinkPad w530 may suffer this bug (redhat bugzilla bug).

                Reply
    13. worked great for me, I am using Fedora 22 / GTX 550Ti / 352.41 driver. Thank you so much!

      Reply
      • Update: After some recent Fedora 22 OS updates were installed, I started to have this problem: couldn’t log into gnome, instead got a screen that said “Oh no, something has gone wrong”. Examining /var/log/Xorg.0.log, I saw some errors associated w/ GLX… I think the OS update upgraded some xorg packages, which broke things (?)

        The following steps seemed to have fixed things for me:

        1. CTRL+ALT+F2 to exit “Oh no, something has gone wrong” and login via command line
        2. Repeat step 2.8 (reboot to runlevel 3)
        3. Login, run “nvidia-installer –update” as superuser, answer the prompts as you would have in step 2.9. This upgraded my driver from 352.41 to 352.55.
        4. Repeat step 2.10 (reboot to runlevel 5)

        I hope that helps!

        Reply
        • Thank you so much !

          I was stuck with the exact same error message and couldn’t figure out what it meant.

          You saved my day ! :)

          Reply
        • Hi,
          thanks for this guide. However, I am stuck with the “Oh no …” screen :( I tried the update you described, but with no success.

          I am using Fedora 23.

          nvidia-installer version is 352.63, kernel version 4.2.6-301, graphic card – NVIDIA Corporation GF117M.

          Any help is appriciated.

          Reply
    14. Hello, could you write a guide to install nvidia optimus?

      Reply
      • Hello Jack,

        In theory yes. I have one nVidia Optimus laptop, but without nVidia proprietary drivers. Maybe I should try to install nVidia drivers or install nVidia drivers using http://bumblebee-project.org/ and write guide.

        Reply
1 2 3 72

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