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

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/20 series cards. GeForce 20 series cards works with 410.xx nVidia drivers GeForce 600/700/800/900/10 series cards works with 390.xx, 396.xx and 410.xx nVidia drivers GeForce 400/500 series cards works with 390.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 [inttf_post_ad1] This is totally different guide than my earlier guides, like Fedora 20 nVidia driver install. This guide uses nVidia...

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

1 70 71 72 73 74 76
    1. I tried to ask this question before but trying again as it did not post after some days.

      Thank you for the guide. I succeeded in installing the Nvidia drivers on a clean Fedora 27 install but when I reboot, I get an error when it tries to start gdm. Just says: Oops! Something went wrong! Please log out and try again.

      But every time, the same thing happens.

      I stopped gdm and used lxdm instead, and that works for starting graphical environment, but now there is no lock screen or switch users.

      Any idea why gdm doesn’t work (but lxdm does)? And why no lock / switch user? What can I look into?

      $ uname -r
      4.17.9-100.fc27.x86_64
      $ ls Downloads/
      NVIDIA-Linux-x86_64-390.77.run
      $ lspci | grep ‘VGA’
      01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)

      Thank you!
      Leek

      Reply
        • I can try this.

          Today, I logged in and got this error:

          Unexpected system error
          The system has encountered a problem and recovered.

          Name: kernel-core
          Version: 4.17.9-100.fc27.x86_64
          First Detected: 52 seconds ago
          Reported: cannot be reported

          Your problem seems to be caused by NVIDIA graphics driver

          The NVIDIA graphics drivers are proprietary, and many kernel developers consider this driver to violate the GPL license of the kernel. Fedora does not include proprietary software.

          Fedora Suggests: Consider using the free and Nouveau driver instead or use a graphics adapter from Intel or AMD or any other manufacturer that provides full specifications and/or source code.

          So I will try to upgrade and report back what happens. Hoping this error goes away.

          Reply
          • I got some time to work on this today and successfully upgraded and then switched display manager back to gdm.

            When I first logged into the graphical environment, there was no switch user in the menu, but it appeared after I locked the screen the first time. Strange.

            But all appears to be working now under F28.

            Thank you.

            Reply
            • Excellent! Nice to hear, that you got everything working!

              Reply
              • Bad news. :-(

                gdm and X works fine, but now the graphics performance is in the basement. Unigine Heaven benchmark gives FPS of 1-4 on initial run even with Nvidia settings set to Max Performance.

                I think I will try the rpmfusion drivers and see if they work any better.

                Reply
                • Hi Leek,

                  Sounds strange, you can of course try rpmfusion drivers, but they use exactly same nVidia drivers (actually older drivers 396.45). If you just run installer, then you can choose version (390.77, 396.45 or 396.54 etc). This install method is different, but both drivers are nVidia proprietary drivers.

                  Reply
                  • rpmfusion drivers work just fine. No idea why the difference but now graphics benchmarks are great. Thanks for your help.

                    Reply
                    • Hi Leek,

                      Ok, nice to hear that you got it working. Hard to say what is difference, because drivers are of course same.

                      Reply
    2. $ nvidia-installer -v |grep version
      nvidia-installer: version 396.51 ([email protected])

      $ uname -a
      Linux snafu-fedora.donthurt.us 4.17.12-200.fc28.x86_64 #1 SMP Fri Aug 3 15:01:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      $ lspci | egrep ‘VGA|3D’
      23:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

      Reply
    3. I can see 4 monitors in nvidia-seetings. 2 are OK, but 2 which link to second Card show “Disable”. Even I change them to Non-Disable, and modify some items in Xorg.conf. the 2 screen still cannot work.
      And funny thing is if I change the default Card to No.2 card in xorg.conf, the sistuation is just oppisit. 2 still can not work. Thanks.

      Reply
    4. Everything correct! Thanks

      nvidia-installer: version 396.51 ([email protected])
      Linux FEDORAFujitsuWD4 4.17.12-200.fc28.x86_64 #1 SMP Fri Aug 3 15:01:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)

      Reply
    5. Hi, sadly the installation just gave me a black screen on graphical.target, however following the uninstall guide present there i got the gui back with nouveau.

      [[email protected] ~]$ uname -a
      Linux ramza 4.17.11-200.fc28.x86_64 #1 SMP Mon Jul 30 15:21:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      [[email protected] ~]$
      [[email protected] ~]$ lspci |grep -E “VGA|3D”
      00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
      01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 920MX] (rev a2)
      [[email protected] ~]$

      Reply
    6. Thank you! The driver works perfectly. With nouveau, I had to set the graphics quality in SuperTuxKart to 3, but now I can play with the max setting in glorious 60 frames a second.

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

      Linux fedora 4.17.14-202.fc28.x86_64 #1 SMP Wed Aug 15 12:29:25 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

      Reply
    7. Thanks! Here’s screenshot of my output:
      [[email protected] ~]$ nvidia-installer -v | grep version
      nvidia-installer: version 390.77 ([email protected]) Tue Jul 10 23:19:33 PDT
      [[email protected] ~]$ uname -a
      Linux localhost.localdomain 4.17.14-202.fc28.x86_64 #1 SMP Wed Aug 15 12:29:25 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      [[email protected] ~]$ lspci | grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP104GLM [Quadro P3000 Mobile] (rev a1)
      [[email protected] ~]$

      Reply
    8. Thanks! It worked like a charm.

      $ nvidia-installer -v |grep version && uname -a && lspci |grep -E “VGA|3D”
      nvidia-installer: version 396.51 ([email protected]) Tue Jul 31 16:05:07 PDT 2018
      Linux salmon.localdomain 4.17.14-202.fc28.x86_64 #1 SMP Wed Aug 15 12:29:25 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)

      Reply
    9. # KERNEL
      $ uname -a
      Linux crunch 4.17.14-102.fc27.x86_64 #1 SMP Wed Aug 15 12:26:40 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      # GRAPHICS CARD
      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M1000M] (rev a2)

      # FEDORA 27
      $ cat /etc/redhat-release
      Fedora release 27 (Twenty Seven)

      # NVIDIA DRIVER FILE USED
      NVIDIA-Linux-x86_64-390.77.run

      I am experiencing issues when attempting to follow your guide on a Fedora 27 machine. See above for the specific details of my machine and what I’m using.

      Basically I get to the point where I’m in multi-user mode and initiate the installation of the NVIDIA .run file. Per your guide, during installation I choose “Yes” when it prompts if I want to register the kernel module sources with DKMS. Next I also choose “Yes” when prompted to install NVIDIA’s 32-bit libraries. At this point the installation continues as if there are no issues. However once it gets to the DKMS section, an error is generated:

      Failed to run `/usr/sbin/dkms build -m nvidia -v 390.77 -k 4.17.14-102.fc27.x86_64`: Error! echo
      Your kernel headers for kernel 4.17.14-102.fc27.x86_64 cannot be found at
      /lib/modules/4.17.14-102.fc27.x86_64/build or
      /lib/modules/4.17.14-102.fc27.x86_64/source.

      Do you have any idea on what the issue could be?

      Thanks!

      Reply
      • Hi crunch,

        Looks like you don’t have kernel-headers installed, should be installed after step 2.5 Install needed dependencies.

        Reply
    10. Sadly…
      install: boots to blank screen
      uninstall: panics during boot
      Fedora 27, GeForce 770

      Reply
      • Hello GB,

        Could you post more information about your nVidia graphics card:

        lspci |grep -E "VGA|3D"
        Reply
    11. As much as i hate to run proprietary software, this is a system i care little about therefore i didn’t mind as much.
      Installation seems to have gone well and working smoother than the nouveau drivers.

      [[email protected] ~]$ nvidia-installer -v | grep version
      µnvidia-installer: version 396.54 ([email protected]) Wed Aug 15 00:22:39 PDT 2018

      [[email protected] ~]$ lspci | grep -E “VGA|3D”
      09:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

      Reply
    12. nvidia-installer: version 396.54 ([email protected]) Wed Aug 15 00:22:39 PDT 2018
      Linux asgarth 4.17.17-200.fc28.x86_64 #1 SMP Mon Aug 20 15:56:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 770] (rev a1)

      Reply
    13. Thank you so much. Worked as depicted

      Reply
    14. Hello (JR?),

      Thank you kindly for maintaining this post over the years. Every time I do a fresh fedora install (about once a year, depending on CUDA support xD), I literally just search “install nvidida driver if not true then false” because it’s never failed me for the past five years. So again, thank you <3

      Today was the first "unsuccessful" version _ever_, but it doesn't actually seem to be related to any false instructions in the blog. However, it took a couple of hours for me to figure out, so if it is relevant and you think it is worth including, it will likely help future readers of this article — it is doubtful this problem will actually go away.

      Notes:

      – Fedora 27
      – Driver: 390.87

      I don't think those actually matter though. After following the mantra, runlevel 3 install finishes, reboot and 'Oops! Something went wrong'.

      (1) The first thing I found was talking about not having GDM be Wayland. You un-comment the second line saying `WaylandEnable=false` in the file `/etc/gdm/custom.conf`.
      – This seems like a good thing to do in general, since it is defaulting to `true`, and my understanding is NVIDIA and Wayland do not get along. (no evidence though…)

      (2) The thing that seemed to actually be the problem was SELinux. The commands that fixed it for me (as root):

      – `ausearch -c 'gnome-session-c' –raw | audit2allow -M mygnomesession.c`
      – `semodule -X 300 -i mygnomesession.c.pp `

      There is more discussion about the SELinux stuff here: https://forums.fedoraforum.org/showthread.php?315654-F27-nvidia-driver-gnome

      Of course, if you include this in the article you probably have better advice as to what to name these files / where they should be created. I know basically nothing about SELinux other than it exists, and I had to tinker with it for nginx once …

      Thank you again for this article, it's been a god-send to me for literally years at this point! I hope the two points above make sense, and if you feel they belong in the main article / note at the end, please do not attribute me because I didn't solve any of it lol. I just trolled the internet long enough and got lucky enough to find things that seemed reasonable xD

      P.S. This may have been a thing in fc26? CUDA release schedule means I hop one, so before fc27 today I installed fc25, previously 23, 21 … and it may also not be a thing in fc28?

      Reply
    15. Thank you so much! This post has continuously proven to be a life-saver for many years!

      Your tutorial has worked like a charm for the following configuration:

      $ nvidia-installer -v | grep version
      nvidia-installer: version 390.87 ([email protected]) Tue Aug 21 17:33:51 PDT 2018
      $ uname -a
      Linux localhost.localdomain 4.17.19-200.fc28.x86_64 #1 SMP Fri Aug 24 15:47:41 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)

      Reply
1 70 71 72 73 74 76

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