Fedora 31/30/29/28 nVidia Drivers Install Guide - Comment Page: 5

This is guide, howto install nVidia proprietary drivers on Fedora 31/30/29/28/27 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 418.xx, 430.xx, 435.xx and 440.xx nVidia drivers GeForce 600/700/800/900/10 series cards works with 390.xx, 418.xx, 430.xx, 435.xx and 440.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...

2,615 comments on “Fedora 31/30/29/28 nVidia Drivers Install Guide - Comment Page: 5

1 3 4 5 6 7 99
    1. worked perfectly. here’s the output you requested.

      and thanks!

      nvidia-installer: version 352.63 ([email protected]) Sat Nov 7 22:00:30 PST 2015

      Linux aeolus 4.2.5-201.fc22.x86_64 #1 SMP Wed Oct 28 20:00:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 730] (rev a1)

      Reply
    2. After step 2.10 I could not login in graphical mode. Fedora 22 boots (starts in text mode) but at some point it stops and it was impossible to make start with GUI.
      The whole graphical environment was screwed. I tried to uninstall the drivers but was even worse, so I ended up with the famous “Oh no, something went wrong” message from Gnome.
      In summary, reinstall Fedora 22 (thanks that I use partitions).

      Reply
      • Hi Agustin,

        Could you post little bit more information about your nVidia card and nVidia drivers version what you tried to install?

        
        lspci |grep -i VGA
        
        Reply
    3. I followed your instructions and installed the driver but after entering the desktop(I use autologin in System Settings), the whole screen is black, only the mouse, I can use shortcut to launch a GUI program such as Firefox, it functions normally but the whole desktop is gone.

      FYI:
      There is no NVIDIA related in the result of

      : lspci |grep -i VGA

      the result is only:

      00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

      but the result of
      : lspci |grep -i 3D

      01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev ff)

      FYI:

      KDE Plasma Version: 5.4.3
      Qt Version: 5.5.0
      Kernel Version: 4.2.5-300-fc23.x86_x64
      Xorg version: 1.18.0

      Reply
    4. Hey JR,

      I’ve been using your nvidia guides with my Fedora machines for quite a while.

      With this new approach – as opposed to akmod with rpm fusion – what do I need to do when my kernel gets updated?

      Will I need to do anything? Or will it just keep working?

      Really appreciate all the work you put into your tutorials – they are great.

      Reply
      • Hi JR P,

        First, nice to hear that you like my guides. Thanks!

        Then kernel updates. If you use DKMS (step 2.9.4), then new module should be built automatically, when you update kernel. I have seen some rare cases (example upgrades from F21 to F22 to F23), where DKMS fail to build new module and you have to run nVidia installer again.

        If you have some problems in future, then you can just do following:

        1. Press ‘e’ on Grub2 (select right kernel)

        2. Add ‘3’ end of your linux/linuxefi line:

        
        linuxefi /vmlinuz-4.2.5-300.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet rd.driver.blacklist=nouveau LANG=en_US.UTF-8 3
        

        3. Press Ctrl+x to boot runlevel 3

        4. Login as root

        5. Run nvidia-installer again, like:

        
        /path/to/NVIDIA-Linux-x86_64-352.63.run
        

        6. Reboot normally

        Same method works also if you want upgrade your nVidia Drivers.

        Reply
        • Thanks! Great to know.

          Reply
    5. Great guide! Used it today on my fresh Fedora 23 installation. One note: On my Haswell system with a Geforce GTX 760 card my computer failed to boot after step 2.8, because some kernel modules were not loaded.

      Took me a while to realize that this was because the Intel HD Graphics 4600 embedded on the CPU was not switched off in BIOS. Once done, the reboot was successful and the rest worked fine. Maybe put somewhere a hint that switching off the Intel Graphics in BIOS might also be necessary for non-Optimus NVIDIA cards? At least temporary for this one reboot after step 2.8?

      Many thanks for your excellent guide!

      Reply
      • Hello HR,

        Thanks for your feedback! This is a good point. I will update before installation step and add this too.

        Reply
    6. I have successfully installed the nvidia proprietary drivers however I am seeing poor performance on the gnome3 and gnome3 classic desktops. Steam games do seem to work. Very poor compositing on the desktop, seeing better performance with another pc with intel onboard video. Both machines are multi monitor.

      Reply
      • Hi mumblerit,

        Could you post a little bit more information about your nVidia card + drivers and system:

        
        nvidia-installer -v |grep version
        
        uname -a
        
        lspci |grep -i VGA
        
        glxinfo |grep -E "direct render|OpenGL"
        

        And your /etc/X11/xorg.conf and /var/log/Xorg.0.log example to http://pastebin.com

        Reply
    7. I tried to install the nVidia driver on F23 (previously F21 with nVidia drivers). After step “2.8 Reboot to runlevel 3”, the boot stalls with a blank screen. It looks like the system is missing the nouveau driver even in runlevel 3, and cannot proceed without it. My machine is a workstation and has an VGA controller on the mainboard (see below). Not sure if this is an Optimus problem … ?

      Reply
    8. nvidia-installer: version 352.63

      01:01.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 10)
      03:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 580] (rev a1)

      Linux host 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

      Reply
        • JR,

          Thank you! This did the trick.

          /boot/grub2/grub.cfg :

          linux16 /vmlinuz-4.2.5-300.fc23.x86_64 root=/dev/mapper/host-root ro rd.lvm.lv=host/root rd.lvm.lv=host/swap rhgb quiet rd.driver.blacklist=nouveau nomodeset

          Reply
          • Excellent! You are welcome!

            You can add it to your /etc/sysconfig/grub file at the end of GRUB_CMDLINE_LINUX=”” line:

            
            GRUB_CMDLINE_LINUX="... rhgb quiet rd.driver.blacklist=nouveau nomodeset"
            

            Then you can generate new grub.cfg using following command:

            
            grub2-mkconfig -o /boot/grub2/grub.cfg
            

            Then you get it automatically right place now and in future when you update your kernel.

            Reply
    9. Hi! Thanks for the really detailed guide, I guess it is deeply appreciated by lots of users who got stuck with proprietary nVidia drivers. Nice job!
      I got a tiny question if you do not mind… :) What is the exact issue with F23/X.Org 1.18/304xx/Gnome 3.18/GDM Wayland session disabled? You mentioned that it boots but does not work with Gnome. That’s exactly the combination I have :( and unfortunately cannot afford to play with this elderly box… Any hints or workarounds? Thank you very much in advance.

      Reply
      • Hi theswix,

        You are welcome!

        Gnome 3.18 and nVidia 304.xx drivers have issue with mouse clicks. Everything works normally, but you can’t click Gnome elements. I mean top bar, clock, icons, etc. You can’t drag and drop windows, resize windows etc. Problem is not mouse, because it’s working normally, if you open example Firefox you can use it, but still you can’t resize or move window. I tested without Wayland, but still same and I tested newer Gnome version from updates-testing, but still same.

        This is maybe fixed sooner or later, but currently I don’t have fix to this. Some discussion about this https://bbs.archlinux.org/viewtopic.php?id=203628 and looks like problem might be nvidia-304xx-libgl and using mesa-libgl maybe solve this problem before real fix.

        Reply
    10. Awesome. Works perfectly on F23.

      You may mention that the x11 dnf excludes (as given by a former post) can now be safely undone in the /etc/dnf/dnf.conf file.

      Your request:
      * nvidia-installer: version 352.63 ([email protected])
      * Linux lillehammer 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      * 02:00.0 VGA compatible controller: NVIDIA Corporation GM107GL [Quadro K2200] (rev a2)

      Reply
      • Hi Uwe,

        Excellent to hear that you got it working!

        You are totally right, I add some mention about xorg dnf excludes.

        Reply
        • Another small point. Regarding Sec. 2.6.2.
          The file /etc/sysconfig/grub is a softlink to the file /etc/default/grub.
          The latter should be modified (on Fedora/RHEL7/CentOS7).

          Reply
    11. Thank you, this worked perfectly on Fedora 23, 340.96 drivers for the 320M in case anyone’s trying on old hardware.

      Reply
    12. Thanks for the guide. Works fine and output below:

      nvidia-installer: version 352.63 ([email protected])
      Linux localhost.localdomain 4.2.5-300.fc23.x86_64 #1 SMP Tue Oct 27 04:29:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
      03:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)

      Reply
    13. Updating the driver has resolved problems with Firefox crashes when scrolling on certain websites and the Facebook app on F23 after upgrade from F22.

      Reply
      • Firefox and Facebook application crashes related to VDPAU/VAAPI issues and stopped after running:
        sudo dnf erase vdpauinfo libva-vdpau-driver libva-utils

        After log in to GDM on tty1 the screen goes blank and opens Gnome on tty2. Apparently this is to do with Wayland using tty1 and xorg using tty2. More info at https://www.maketecheasier.com/fix-wayland-gdm-issue-fedora/

        CPU usage is =>20% for gnome-shell process after installing Nvidia driver so uninstalled and reverted to Nouveau until kmod-nvidia is available.

        Reply
    14. Hello,
      i installed nvidia driver on fedora 23 and it work well but i have problem to restore plymouth. i also follow all steps to restore plymouth but i can’t restore it and still black screen. i login to fedora there is now prolem in this.

      these the steps i did:

      Restore Plymouth after nVidia drivers installation
      Note: these commands may vary if you use EFI/UEFI. So change commands accordingly.
      3.1 First check which GRUB_GFXMODEs are supported
      Use Grub2 shell, (press ‘c’ on Grub2), then run following commands and “pick” suitable GRUB_GFXMODE.

      set pager=1
      insmod vbe
      vbeinfo

      3.2 Modify /etc/default/grub
      Add / Modify following lines on /etc/default/grub, use your own GRUB_GFXMODE.

      GRUB_GFXPAYLOAD_LINUX=”keep”
      GRUB_VIDEO_BACKEND=”vbe”
      GRUB_TERMINAL_OUTPUT=”gfxterm”
      GRUB_FONT_PATH=”/boot/grub2/fonts/unicode.pf2″
      GRUB_GFXMODE=”1920x1080x32″

      Remember check also that you have /boot/grub2/fonts/unicode.pf2 file, if not then you can generate some Grub2 font using grub2-mkfont command, like:

      grub2-mkfont –output=/boot/grub2/fonts/LiberationMono-Regular.pf2 –size=24 /usr/share/fonts/liberation/LiberationMono-Regular.ttf

      3.3 Backup and Regenerate your grub.cfg

      cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.bak

      grub2-mkconfig -o /boot/grub2/grub.cfg

      3.4 Check available Plymouth themes

      yum search plymouth-theme

      3.5 Install Plymouth and some Plymouth theme, example spinfinity
      Shell

      yum install plymouth-theme-spinfinity

      3.6 Setup spinfinity as default theme

      plymouth-set-default-theme spinfinity

      3.7 Update initrd

      /usr/libexec/plymouth/plymouth-update-initrd

      3.8 Reboot and check, is it working as it should be

      reboot

      Reply
      • Hi amar,

        Do you use UEFI or BIOS?

        These steps are from Fedora 20 nVidia install guide. Please check newer version of Plymouth Restore. Fedora 20 version should work with BIOS, but not directly with UEFI.

        Reply
    15. Hi JR, thank you for your great guides. I previously followed your guide where I disabled the xorg-server 1.18 in Fedora 23 and installed an older NVidia driver. I see the latest NVidia driver now supports xorg-server 1.18. I am new to Linux and Fedora so forgive me if these are basic questions.

      How do I re-enable xorg-server 1.18?

      Also, how do I update my current driver to the latest one? Can I simply override it following the steps of this guide?

      Reply
      • Hi Graham,

        Download new nVidia driver from http://www.nvidia.com/Download/Find.aspx?lang=en-us

        Then you can just remove exclude=xorg-x11* row from your /etc/dnf/dnf.conf, and run:

        
        dnf update
        

        Then continue from step “2.8 Reboot to runlevel 3” -> install new driver -> reboot back to runlevel 5.

        Reply
1 3 4 5 6 7 99

Leave a Reply to No Body Cancel 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