Fedora 29/28/27 nVidia Drivers Install Guide - Comment Page: 70

This is guide, howto install nVidia proprietary drivers on Fedora 29/28/27/26/25/24/23/22 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, 415.xx nVidia drivers GeForce 600/700/800/900/10 series cards works with 390.xx, 410.xx and 415.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...

2,074 comments on “Fedora 29/28/27 nVidia Drivers Install Guide - Comment Page: 70

1 68 69 70 71 72 78
    1. diana_3 : nvidia-installer -v |grep version
      nvidia-installer: version 390.67 ([email protected])

      diana_4 : uname -a
      Linux diana 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      diana_5 : lspci |grep -E “VGA|3D”
      83:00.0 VGA compatible controller: NVIDIA Corporation GK107 [NVS 510] (rev a1)

      diana_6 : date
      Fri Jul 6 15:22:27 PDT 2018

      Reply
    2. All worked. Here’s my outputs:

      nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
      Linux localhost.localdomain 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
      01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)
      02:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)

      Reply
    3. Apparently the recent kernel update to 4.17.x broke my Fedora 27 install. There also seems to be an issue with DKMS when trying to re-install drivers from shell in multi-user.target mode. Bypassing DKMS installs, but nothing but flashing or black. I guess I’ll have to wait until nVidia puts something out to fix it before I get graphical.target back up.

      Reply
      • I should have added more information. Here’s what I have installed:

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

        Linux franks-laptop 4.17.3-100.fc27.x86_64 #1 SMP Tue Jun 26 14:19:03 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

        01:00.0 VGA compatible controller: NVIDIA Corporation GM204M [GeForce GTX 970M] (rev a1)

        Tried a few things getting around the “DKMS module already in tree, cannot be added twice” issue (not an exact quote). The “dkms remove nvidia/396.24” seems to not fail, but still cannot install into DKMS due to same duplication error.

        Reply
        • Hi Frank,

          Could you post output of following commands:

          dkms status
          
          rpm -qa kernel\* |sort -V

          You can also try first uninstall nvidia drivers using following command:

          nvidia-installer --uninstall

          And then reinstall.

          Reply
          • Trying with kernel 4.17 and same problem with Blicking

            Reply
            • Hi Joe,

              You didn’t tell anything about your system?

              Reply
          • Hi again, Sorry for not replying sooner. It’s all sort of moot now. I tried a lot of things,.and got various status outputs from dkms ranging from it’s added, to it’s not there. However, the nvidia installer always thought it was already in dkms and said it can’t be added twice. I finally gave up. I backed up all my stuff onto a USB stick using non-graphical bash shell, downloaded F28, installed it and now, I have everything working smoothly.

            Here’s my output:

            [[email protected] ~]$ nvidia-installer -v |grep version
            nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018

            [[email protected] ~]$ uname -a
            Linux localhost.localdomain 4.17.7-200.fc28.x86_64 #1 SMP Tue Jul 17 16:28:31 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 GM204M [GeForce GTX 970M] (rev a1)

            By the way, you’ve probably noticed that NVIDIA has newer drivers available for download (both short and long lived branches). I’m not using those though until you bless them first.

            Frank

            Reply
            • Hi Frank,

              Nice to hear that everything is working smoothly. You can safely use latest nVidia versions, I just tested all 396.45, 390.77 and 340.107 patched with Fedora 28 kernel 4.17.7. Latest version(s) should work almost always, and if not then you can switch back to older version.

              Reply
    4. I installed 390.67 with kernel 4.17 and all went well but after the reboot i got a black screen.

      uname -a
      Linux firefly 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

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

      lspci | grep -E “VGA|3D”
      03:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

      nvidia-smi
      Sat Jul 7 15:49:48 2018
      +—————————————————————————–+
      | NVIDIA-SMI 390.67 Driver Version: 390.67 |
      |——————————-+———————-+———————-+
      | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
      | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
      |===============================+======================+======================|
      | 0 GeForce GTX 106… Off | 00000000:03:00.0 Off | N/A |
      | 0% 36C P0 29W / 120W | 0MiB / 6077MiB | 0% Default |
      +——————————-+———————-+———————-+

      +—————————————————————————–+
      | Processes: GPU Memory |
      | GPU PID Type Process name Usage |
      |=============================================================================|
      | No running processes found |
      +—————————————————————————–+

      Reply
    5. I installed 396.24 on the kernel 4.17 and now i have a blackscreen, i tried to install different versions of drivers:
      – NVIDIA-Linux-x86_64-390.59.run
      – NVIDIA-Linux-x86_64-390.67.run
      – NVIDIA-Linux-x86_64-396.24.run

      but still failed. Right now this is my config:

      nvidia-installer -v | grep version
      nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT

      uname -a
      Linux firefly 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”
      03:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

      Reply
      • Hi KillLo,

        What is your nVidia card exactly? Is it a PNY/Palit 1060 card?

        Reply
    6. [[email protected] ~]$ nvidia-installer -v | grep version
      nvidia-installer: version 396.24 ([email protected]) Thu Apr 26 01:14:04 PDT 2018
      [[email protected] ~]$ uname -a
      Linux trashbin.crapco.lab 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      Glad to have it working on shiny new fedora 28 install (2018 07 10) with kernel 4.17

      Didn’t work using the rpmfusion non-free method as advertised. This hower did work though I feared the 4.17 kernel would be the issue.

      Reply
    7. nvidia-installer -v |grep version:
      nvidia-installer: version 390.67 ([email protected])

      uname -a:
      Linux martinlaptop.mydomain 4.17.3-200.fc28.x86_64 #1 SMP Tue Jun 26 14:17:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”:
      01:00.0 VGA compatible controller: NVIDIA Corporation GF106GLM [Quadro 2000M] (rev a1)

      Reply
    8. Hi, sorry but once again I have my gdm crash at startup, this time after update to kernel 4.17.

      I installed driver 340.107 patched, but still got the crash. Maybe it is not the correct one for kernel 4.17? In the guide I read “Note 340.107 users: 340.107 on Fedora 28/27/26/25 Kernel 4.16/4.15/4.14/4.13/4.12/4.11 needs a patched version (Download NVIDIA-Linux-x86_64-340.107 + Kernel 4.16/4.15/4.14/4.13/4.12/4.11 patched version).”, so I assume that this mean that Fedora 27 Kernel 4.17 does not need the patched version (am I wrong?), so:

      I tried to install the 340.107 from nvidia site, but it doesn’t succeed: it returns “Error! Bad return status for module build on kernel: 4.17.5-100.fc27.x86_64 (x86_64)”. The error output mentions /var/lib/dkms/nvidia/340.107/build/make.log, which contains:
      ERROR: Kernel configuration is invalid.”; \
      echo >&2 ” include/generated/autoconf.h or include/config/auto.conf are missing.”;\
      echo >&2 ” Run ‘make oldconfig && make prepare’ on kernel src to fix it.”; \
      but running the suggested commands results in another error:
      make[1]: *** no rule to generate “lib/sha256.c”, needed for “arch/x86/purgatory/sha256.o”.
      make: *** [arch/x86/Makefile:263: archprepare] Error 2
      here I decided to stop trying as I am not sure this is the right way to go.

      I also tried to install the 340.107 from nvidia site without dkms support (answered “no” to the question to use it), the installer succeeded but I still get the gdm crash.

      I also tried to uninstall the driver before installing it again, but no luck.

      Can you please help me?
      BTW, in the meantime is there a way to have my graphic login back, even if not the most updated version? (I may try the recovery mode at startup but I would not mess up something else, as I am not an expert)

      I currently have the patched driver installed.

      dkms status
      nvidia, 340.107, 4.17.5-100.fc27.x86_64, x86_64: installed

      rpm -qa kernel\* |sort -V
      kernel-4.17.2-100.fc27.x86_64
      kernel-4.17.3-100.fc27.x86_64
      kernel-4.17.5-100.fc27.x86_64
      kernel-core-4.17.2-100.fc27.x86_64
      kernel-core-4.17.3-100.fc27.x86_64
      kernel-core-4.17.5-100.fc27.x86_64
      kernel-devel-4.17.2-100.fc27.x86_64
      kernel-devel-4.17.3-100.fc27.x86_64
      kernel-devel-4.17.5-100.fc27.x86_64
      kernel-headers-4.17.5-100.fc27.x86_64
      kernel-modules-4.17.2-100.fc27.x86_64
      kernel-modules-4.17.3-100.fc27.x86_64
      kernel-modules-4.17.5-100.fc27.x86_64

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

      uname -a
      Linux 4.17.5-100.fc27.x86_64 #1 SMP Mon Jul 9 19:04:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

      lspci |grep -E “VGA|3D”
      01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8500 GT] (rev a1)

      Thank you very much!
      Andrea

      Reply
      • Hi Andrea,

        You need patched version with kernel 4.17. I have to retest 340.107 installer with the latest kernel versions, if problem still exists.

        Reply
        • Thanks JR,
          I have tried again and still does not work.

          Recap:

          $ nvidia-installer -v |grep version
          nvidia-installer: version 340.107 ([email protected])
          $ uname -a
          Linux angus.unipv.it 4.17.7-100.fc27.x86_64 #1 SMP Tue Jul 17 16:29:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
          $ lspci |grep -E “VGA|3D”
          01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8500 GT] (rev a1)

          Let me know if I should try something other at this site.

          Thank you very much,
          Andrea

          PS By the way, disabling gdm and using “startx” currently works as a workaround. Does it mean anything useful?

          Reply
          • Hi Andrea,

            You can try some other display manager, example lxdm, run following commands:

            dnf -y install lxdm
            
            systemctl disable gdm
            
            systemctl enable lxdm
            
            reboot

            On Fedora 28 also gdm works normally for me.

            Reply
            • Update on this:

              Thank you JR, your workaround through lxdm worked and let me have sort of a usable system.
              Now I have upgraded to F28, and I confirm that gdm works now normally also for me.
              But, unfortunately, I obtain an error running mpv:

              $ mpv
              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

              I assume this error is somewhat dependent on the NVIDIA driver because I have found it reported exactly the same way on this website at comment 329662 ( https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/comment-page-71/#comment-329662 ).

              Please let me know if I’m wrong, or please can I have some advice ?

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

              $ uname -a
              Linux angus.unipv.it 4.17.18-200.fc28.x86_64 #1 SMP Wed Aug 22 19:08:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

              $ lspci |grep -E “VGA|3D”
              01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8500 GT] (rev a1)

              Thank you very much,
              Andrea

              Reply
              • Is there any answer or hint on this?

                Reply
    9. All good

      [[email protected] ~]$ nvidia-installer -v |grep version
      nvidia-installer: version 390.77 ([email protected])
      [[email protected] ~]$ uname -a
      Linux mldr.maksimov 4.17.6-200.fc28.x86_64 #1 SMP Wed Jul 11 20:29:01 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 GK208B [GeForce GT 730] (rev a1)

      Reply
    10. Dear Experts,
      I followed your guide up to the step 2.8.5 without not relevant troubles.
      But the installation script, instead of installing automatically Xorg configuration file (as shows in the step 2.8.6), it finished off, without any error.
      Then, I ran nvidia-xconfig utility manually and it created the xorg configuration file, as expected.
      Finally, I moved back to the runlevel 5 and rebooted my system, but X has not been started.
      The last message I can see in the log is the following:
      Started GNOME Display Manager…. finishes up…. wn.
      Do you have any idea about how can i settle down this trouble?

      Here some more information about my system:

      # uname -a
      Linux 4.17.6-200.fc28-x86_64

      # nvidia-installer -v
      version 390.77

      # lspci |grep -E “VGA|3D”
      VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
      3D Controller: NVIDIA Corporation GM100M [GeForce 920MX] (rev 02)

      I hope you can give me some advice.

      Thanks a lot

      Luigi

      Reply
    11. Like many other guys here, Fedora 27 / nvidia victim.

      Currently 4.17.7-100 kernel installed, but various nvidia drivers that worked until recently all compile fine but don’t work. X server starts and immediately shuts down with no error. Nothing visible from Xorg.0.log

      In dmesg:

      ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch – Found [Buffer], ACPI requires [Package] (20180313/nsarguments-66)

      May have made a mistake, I have to type this in because my Fedora system is now severely borked after

      dnf update –best –allow-erasing

      for soundtouch

      nvidia installers 396.24 and .45 both compile and install fine, but I cannot start X

      Reply
      • Hi Outraged Fedora Victim,

        Could you tell more about your card? Output of following command:

        lspci |grep -E "VGA|3D"
        Reply
        • Hi JR,

          This was working for almost a year already. Only the kernel update or a bad set of dnf update broke it.

          01:00.0 VGA compatible controller: NVIDIA Corporation GM204GLM [Quadro M3000M] (rav a1)

          Thanks

          Reply
    12. I upgraded to f28, it is also running 4.17.7-200 kernel and I cannot start X

      Reply
    13. It keeps getting better. I decided to follow your instructions to backout the nvidia drivers and use nouveau.

      Exactly the same thing happens. startx cause X to start and it immediately ends without errors as if it was directed to shut down.

      I’m totally screwed, no email access for 3 days.

      Reply
    14. Hi All,

      sorry for hijacking your how-to. I’m looking for the patched installer: https://nvidia.if-not-true-then-false.com/NVIDIA-Linux-x86_64-304.137-patched-kernel-4.14.run

      I’ve an old Laptop with Geforce 7900 running Ubuntu 16.04 LTS. The nvidia-304.135 (and also nvidia-304.137) fail, caused by the last Kernel update from 4.13 to 4.15.0-29. So screening the internet for any solution, I end up here reading about patched installer versions. And now I just want give it a try. Maybe it also work for Ubuntu with Kernel 4.15.

      But why it is deleted? Can someone give me the patched installer for 304.135 or 304.137?

      Thanks in advance
      afi

      Reply
1 68 69 70 71 72 78

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