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

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

1 66 67 68 69 70 72
    1. totally forgot to say: Many Thanks! :-)
      Before I tried a couple of time the rpm-fusion packages (that worked on F26) and failed.

      Reply
    2. nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
      Linux localhost.localdomain 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      0a:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

      It just works! I used to find this guide intimidating but after updating to kernel 4.16 the drivers from negativo17.org and rpmfusion just stopped working no matter how. Surprisingly, following this guide is quite easy and now the machine works quite nicely. Thanks for the post!

      Reply
    3. On Fedora 27, I have a big X crash after reboot following driver installation (step 2.9).
      Startup screen freezes at “Started Accounts Service”, and startx fails in segfault. X error is “No screens found”.

      Reply
      • Hi Manu,

        Could you first post output of following commands:

        nvidia-installer -v |grep version
        
        uname -a
        
        lspci |grep -E "VGA|3D
        Reply
        • Here we go:
          $ nvidia-installer -v | grep version
          nvidia-installer: version 390.59 ([email protected]) Wed May 9 23:09:50 PDT 2010

          $ uname -a
          Linux localhost.localdomain 4.16.12-200.fc27.x86_64 #1 SMP Fri May 25 21:10:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

          $ lspci | grep -E “VGA|3D”
          00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
          01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 980M] (rev A1)

          More informations:
          $ startx
          xauth: file /root/.serverauth.1661 does not exist

          X.Org X Server 1.19.6

          Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.12-200.fc27.x86_64 root=UUID=[a UUID] to rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau

          Fatal error server:
          (EE) no screen found(EE)

          I’m very confused as I don’t know what could be wrong in my config.

          Note that boot always freezes at “[ OK ] Started Login Service” step.

          Reply
    4. Thanks a lot, every freaking nvidia update I hva to look up what version could be compatible ;)

      but since fedora 28 there the nvidia drivers should be in the official repos? A Migration guide would be great! ;)

      Reply
      • Hi Zarathustra,

        Unfortunately nVidia won’t be maybe never in Fedora’s official repos. Fedora contains only software distributed under free and open-source licenses, so until nVidia is closed source/proprietary software it won’t be in official repos.

        You probably mean rpmfusion third-party repos? You can of course use their packages, but you are at very similar situation when you get updates, if something is broken, then it is, they use exactly same drivers. Their akmod package is same than, use dkms and nVidia’s original installer. Reason why this guide exists is my personal problems with third-party repos. You can’t currently install nVidia 340.xx or 396.xx drivers, just only 390.59 from rpmfusion repo.

        Reply
    5. My HP XW9400 system with nVidia Quadro FX-3500 would be considered “older” hardware. Just because it seems that with every new version of (Fedora) linux it becomes harder to get the nVidia driver installed, I stuck to Fedora 15. Until last week (jun, 2018), when your site made it clear to me that my previous attempts were doomed, because the nVidia installers were broken. Thanks for that! Because all my most recent attempts at upgrading were with Fedora 25, I decided that would be my target. The nVidia site led me to download the 334 installer, which I kinda knew wasn’t right. Indeed when I ran it, it told me I needed the 304 “legacy” installer that can be found through http://www.nvidia.com/object/unix.html From there I downloaded the 304.137 installer that could be patched with your “newer kernel” patch. From there I only needed to follow your step-by-step guide. Thanks.

      I find it a pity that nVidia driver installation isn’t more gracefully supported by Linux. Yes, I know they are proprietary. 3D OpenGL graphics are very important to my work, though. nVidia was there in the early days of 2000 with good drivers that got the most out of their (also) proprietary gfx hardware. In those early days, I have thrown away more than one ATI card, because I just couldn’t get them to work with Linux. Have stuck with nVidia gfx ever since. Today, of course, everybody supports Linux. But it would be good for the “young folks” to remember and appreciate who were there early on. – crashulater

      Reply
    6. Thanks a lot!
      All things work as expected.

      # nvidia-installer -v |grep version
      nvidia-installer: version 390.67 ([email protected]) Fri Jun 1 04:26:34 PDT 2018
      # uname -a
      Linux iliya-desk 4.16.13-300.fc28.x86_64 #1 SMP Wed May 30 14:31:00 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      # lspci |grep -E “VGA|3D”
      09:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

      Reply
    7. I followed everything exact and now my boot hangs at “starting switch root”

      Hitting ctrl-alt-f2 can cause the screen to flash between graphical and command not sure what went wrong.

      Reply
    8. I actually was unable to get this working for me…..
      All of the ‘if you succeed’ commands work, but I can’t actually start the Nvidia X Server part. It says no displays are available.
      If anybody has a solution, please tell me.

      Reply
      • Hello Daniel,

        Could you tell more about your system, nVidia installer version and output of following commands:

        uname -a
        
        lspci |grep -E "VGA|3D"
        Reply
        • uname -a
          Linux localhost.localdomain 4.16.14-200.fc27.x86_64 #1 SMP Tue Jun 5 16:30:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

          03:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
          04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV620 LE [Radeon HD 3450]

          Thank you very much.

          Not sure what you mean by system. I’m installing version 390.67

          Reply
          • Hi Daniel,

            Sorry for the late reply, but next thing to check is your Xorg.0.log after boot, do you see any errors? Btw. is your ATI device integrated graphic card?

            Reply
            • I’m using wayland by default, not Xorg I believe.

              Thanks for the help anyway, no worries about the late reply.

              I checked the Xorg log…. the file isn’t in use.

              Reply
            • Also the ATI card is NOT builtin. I’d be fine removing it, but I’m scared that ill have no displays if I do

              Reply
              • Do you have both card connected to monitor(s)?

                If you are using nVidia drivers then you use Xorg too.

                Could you post output of following commands:

                lsmod |grep nvidia
                
                modprobe nvidia
                Reply
                • lsmod | grep radeon
                  radeon 1642496 31
                  i2c_algo_bit 16384 1 radeon
                  drm_kms_helper 196608 2 radeon,nvidia_drm
                  ttm 126976 1 radeon
                  drm 454656 27 radeon,ttm,nvidia_drm,drm_kms_helper

                  lsmod | grep nvidia
                  nvidia_drm 49152 0
                  nvidia_modeset 1110016 1 nvidia_drm
                  nvidia 14385152 7 nvidia_modeset
                  ipmi_msghandler 57344 2 nvidia,ipmi_devintf
                  drm_kms_helper 196608 2 radeon,nvidia_drm
                  drm 454656 27 radeon,ttm,nvidia_drm,drm_kms_helper

                  modprobe nvidia comes back wiiiiiiiiith literally nothing.

                  It should also be noted that during startup, I have an error… selinux denying nvidia-modprobe. I found this while going through the journalctl.

                  Once again, I really appreciate the help.

                  And yes, all cards are connected to monitors. If I were to hazard a guess, there’s no output from the NVIDIA card…

                  Reply
                  • Hey, hoping that you have some advice here….

                    Cheers.

                    Reply
                    • Hi Daniel,

                      I guess that your Radeon card cause some problem with this, maybe you should just remove it without any changes and test boot your system. If it fails, then put your Radeon card back. Looks like nVidia drivers are loaded correctly.

                      If you still see SELinux errors, then you can do simple allow rule for nvidia-modprobe, but should not be needed currently. Alternatively you can disable SELinux and reboot your system.

                      Reply
    9. Whenever I try to boot into runlevel 3, it just throws me into a blank screen. No terminal, no nothing.

      Reply
      • Hi djwolf,

        Could you try to change another virtual console using Ctrl+Alt+F2 to Ctrl+Alt+F7?

        Do you see GRUB2 normally? Then you can edit your boot parameters and try to add nomodeset parameter. You can use this guide to modify kernel boot parameters.

        Reply
    10. Hello. Thanks for the guide. However, it’s not exactly working for me….

      I followed all of the steps.
      During the NVIDIA installation of the driver itself, I get a strange EAC error….
      Which doesn’t stop it from being able to install, apparently.

      However, while I can run those 3 commands you listed… I can’t get the X Server to run. If I run ‘nvidia-settings’ from the command line, I get a ‘no displays’ error.

      I’m on Fedora 27.

      Let me know if there’s something else I should do..

      Reply
    11. Everything ok!

      nvidia-installer: version 390.67 ([email protected]) Fri Jun 1 04:26:34 PDT 2018

      Linux darkstar 4.16.14-300.fc28.x86_64 #1 SMP Tue Jun 5 16:23:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

      Reply
    12. Regretfully it doesn’t work for me, tried legacy and uefi, the same result.I’m stuck at starting switch root. One thing that was different form the screenshots, I didn’t get prompted for the xconfig, so I ran nvidia-xconfig, after the first failed attempt, it didn’t help

      nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
      Linux localhost.localdomain 4.16.15-300.fc28.x86_64 #1 SMP Tue Jun 12 00:42:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
      01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)

      Appreciate any help that can be provided,

      Wim

      Reply
    13. After finished on step 2.9, and reboot.
      It just stuck at loading log.
      And it cannot get in the GUI desktop.
      What should I do? It stuck at iTCOT_wdt

      Image here:
      https://pasteboard.co/HpXQpCD.jpg

      Reply
      • Installing 396.24 with GTX1070 max-q laptop
        Fedora 28

        Reply
        • During the installation, no error complain and also tried on command line with”nvidia-smi” it is able to show my video card

          Reply
          • Hi chan1600,

            Could you post output of following command:

            lspci |grep -E "VGA|3D"
            Reply
    14. nvidia-installer: version 390.67 ([email protected])

      Linux localhost.localdomain 4.16.15-300.fc28.x86_64 #1 SMP Tue Jun 12 00:42:35 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)

      Reply
    15. Pretty good overall guide- I had to do a number of things not mentioned here, however- due to mismatched headers and compiler issues- to get this to work on F28 with the 340.107 version. Unfortunately, it keeps crashing, going to revert to nouveau for now- using my Gentoo installation for the time being, as it has no graphic card issues.

      Reply
      • Thanks Clay,

        Did you tried patched version of 340.107 installer?

        Reply
1 66 67 68 69 70 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