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

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

1 69 70 71 72
    1. Fixed by installing group “Fedora Workstation”

      but Opera browser lost its icon and all the speed dial entries and bookmarks are gone.

      Reply
    2. I was able to install the 340.107 Nvidia drivers on my Fedora 28 workstation with latest 4.17 kernel. I found I had to apply the patch as per the 4.16 kernel, otherwise the build would fail.

      I did though found that upon bootup, the GDM would display an error, saying that there was an error in the kernel (otherwise it was fine). I found that I had installed DKMS and that it was referencing the 390 nvidia drivers. I uninstalled the 390 dkms version, then rebooted.

      After a long boot, the dkms driver was rebuilt and GDM didn’t complain of an error in the kernel. However, the dkms driver for some reason still references the 390 version.

      The only thing I can put this down to, is that at one point in time I had 390 version drivers installed. I haven’t made any changes since successfully getting the 340 drivers working. I own an Nvidia GT330 video card.

      Hope this helps someone.

      Reply
      • Hi Tom,

        Thanks for posting. Actually I have patched version also here, but yes it’s still same 4.16 patch. Just tested also nVidis 340.107 patched with latest kernel 4.17.7 on Fedora 28 and everything works normally for me too.

        Reply
    3. Two recommended fixes:

      1. (In intro section) GTX 4xx series cards are NOT supported by 396.xx drivers. The 390.xx drivers must be used.

      2. (In section 2.6.4) Nouveau is mis-spelled.

      Reply
    4. When updating to 4.17.9-200.fc28, kmod-nvidia from rpmfusion stopped working! Tried 3.5 hours with no luck, and finally found this post! You saved my life as I am in the middle of a project due soon. Thank you a million! BTW, my card is Quadro 2000, seems I can only use you patched version 340.107? Can you please advise? Thanks again.

      nvidia-installer: version 340.107 ([email protected]) Thu May 24 22:30:05 PDT 2018

      Linux 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      05:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)

      Reply
      • UPDATE: installed 390.77 with no issues:
        nvidia-installer: version 390.77 ([email protected]) Tue Jul 10 23:19:33 PDT 2018

        Linux 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

        05:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)

        Reply
    5. Thank you for this!
      Questions:
      – Why do you chose to blacklist AND remove the nouveau driver? for me, so far, blacklisting is sufficient.
      – Blacklisting could all be achieved at /etc/default/grub by ammending the “linux” entry with all nvidia blacklist commands. Benefit? easier cleanup/managenent:
      [ nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau ]

      $ nvidia-installer -v |grep version
      nvidia-installer: version 390.67 ([email protected]) Fri Jun 1 04:26:34 PDT 2018
      $ uname -a
      Linux localhost.localdomain 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      $ lspci |grep -E “VGA|3D”
      02:00.0 VGA compatible controller: NVIDIA Corporation GF106GL [Quadro 2000] (rev a1)

      Reply
    6. nvidia-installer: version 340.107 ([email protected]) Thu May 24 22:30:05 PDT 2018

      Linux lola.localdomain 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      1d:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)

      At first instance everything seems to work ok, X starts fine with the driver etc…

      But at second instance none of the hardware accelleration will work… (vdpau etc.) this was the very reason for using this driver instead of nouveau in the first place.

      But vlc // mpv all won’t work, probably because of a conflicting openCL installation

      $ mpv ‘skateboard.mp4’
      mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavutil.so.56)
      mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavutil.so.56)
      mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavfilter.so.7)
      mpv: relocation error: /lib64/libavutil.so.56: symbol clCreateImage version OPENCL_1.2 not defined in file libOpenCL.so.1 with link time reference
      ….

      $ vainfo
      libva info: VA-API version 1.1.0
      libva info: va_getDriverName() returns 0
      libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
      libva info: va_openDriver() returns -1
      vaInitialize failed with error code -1 (unknown libva error),exit
      ….

      .. the VDPAU lib seems ok though…

      $ vdpauinfo
      API version: 1
      Information string: NVIDIA VDPAU Driver Shared Library 340.107 Thu May 24 21:44:57 PDT 2018

      Video surface:

      name width height types
      ——————————————-
      420 4096 4096 NV12 YV12
      422 4096 4096 UYVY YUYV

      Reply
    7. Works! Unfortunately, I cannot get cuda to work with the driver and so ultimately for me it’s useless.
      Anyway, great help, thanks!

      $ nvidia-installer -v |grep version
      nvidia-installer: version 396.18 ([email protected]) Fri Apr 6 00:58:20 PDT 2018
      $
      $ uname -a
      Linux localhost.localdomain 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      $
      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GM206GLM [Quadro M2200 Mobile] (rev a1)

      Reply
    8. I followed these instructions and my system would not boot, even into level 3. I am running fedora 28. I had to do a fresh install. Fortunately I was able to save /home.

      Reply
      • Hi richard,

        Could you tell more about your hardware?

        lspci |grep -E "VGA|3D"
        Reply
    9. Hello,

      I’m running Fedora 28 on a Lenovo P51. I had installed Fedora 28 w/ Gnome and installed KDE Plasma afterward. I just reinstalled with the KDE Spin and followed your directions but my (4) external monitors (which were working before) are no longer being recognized. Can you help?

      nvidia-installer -v |grep version
      nvidia-installer: version 390.77 ([email protected]) Tue Jul 10 23:19:33 PDT 2018

      uname -a
      Linux localhost.localdomain 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”
      00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
      01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2)

      Thank you in advance!

      Reply
      • Hi endymioncalcite,

        Did you read step 1.2 NVIDIA Optimus Technology? Unfortunately this guide won’t work for you, if you can’t disable nVidia Optimus/Intel Graphics?

        Reply
    10. Fedora28, I have 2 NVIDIA video cards.
      $ lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
      02:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
      Each card links 2 screens.
      After I install nvidia-390-77, only 01:00.0 VGA work, only 2 screens work. But at the beginning, nouveau, 4 screens are show well.
      Anyone who can give some advice? Thanks very much.

      Reply
      • Hi Kevin,

        What shows nvidia-settings, could you see both cards and all monitors?

        Reply
    11. Hello and thanks for your great info, helped a lot, including the reverse actions (put the nouveau back again)

      I had to rollback as I did not have any display with the NVIDIA drivers (396.45 or the latest from august, tried both)
      My lspci
      lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1080 Mobile] (rev a1)

      everything is ok until after the login page (no problem during installation following your great guide) but after i type my login / password on the graphical UI, screen goes black and does not lit up again (waited 15 mins just in case, without anything happening).

      Just tell me if you need more info and how to get it :)

      My computer is a ASUS Rogue GL702VI

      Best regards !!

      Reply
      • BTW, my version is
        Linux localhost.localdomain 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

        Reply
        • Hi Olivier,

          Sounds strange, but what display manager and desktop you are using? Default GDM and Gnome?

          Reply
          • Yes, default GDM and gnome 3.28.2 (2018-05-10)

            Reply
    12. Thanks for this guide. Very helpful!

      I am having a problem with Fedora 27 after installing Nvidia drivers — gdm won’t work.

      Installation went fine with your directions, but then gdm gives a generic “Oops! Something went wrong” error popup.

      I had to switch to using lxdm, which does work but now there is no screen lock or switch user any more.

      Versions:
      kernel 4.17.9-100.fc27.x86_64
      Nvidia installer NVIDIA-Linux-x86_64-390.77.run

      It is a new fully updated install of F27.

      Any pointers for what to try?

      Thank you.

      Reply
    13. nvidia-installer: version 390.77 ([email protected]) Tue

      Linux localhost.localdomain 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 GM204M [GeForce GTX 970M] (rev a1)

      I had a few hiccups as im relatively new to using linux, issues with secure boot, because my computer has issues loading my ssds with it disabled. Once secure boot was turned off, then the ‘nvidia-drm’ issue went away, as well as other issues along the way.

      this was an excellent guide

      my only issue now is that i am running three lg tvs as my primary screens with my laptop display disabled. but it wont let me change the resolution of my 2 side displays from 4k, whereas my middle display is in 1080.

      I would personally prefer them all to be in 1080. because the 4k causes them to be quite choppy. But the resolution option doesnt show up in the menu for the other screens

      They are connected to my laptop via:

      1. Straight hdmi cable
      2. hdmi from tv to dvi converter
      3. hdmi from tv to usb-c converter

      keep in mind that if i boot into windows everything runs fine

      Also, i am not really posting this here for a response, more just for anyone elses info if they are curious about how its running and have a similar machine.

      Thanks again for the guide.

      Reply
      • Hi Robert,

        Nice to hear that you liked my guide.

        What shows nvidia-settings? Could you see all monitors correctly?

        Reply
    14. Hi,
      I just followed this article, everything went fine until I reboot at step 2.9.

      On boot, I have only 3 lines now:
      – mmc0:unknown controller version(3): You may experience problems.
      – kvm:disabled by bios.
      – kvm:disabled by bios.

      Boot does not go further.

      I am running a Fedora 28 workstation, I downloaded from the link in the post Nvidia 64bit latest driver: Linux x64 (AMD64/EM64T) Display Driver Version 396.51.
      My kernel is 4.17.12-200

      Thanks in advance for your help.

      Reply
      • Hi Pierre,

        Could you post output of following command:

        lspci |grep -E "VGA|3D"
        
        Reply
1 69 70 71 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