FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Join Date
    Nov 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)(Allows full resolution and quiets down the NVidia fans in Linux)
    ================================================== ===========================================
    Info:
    Fedora 22 version installed: Fedora-Live-Workstation-x86_64-22-3.iso

    NVidia Linux x86_64 driver installed: Current (2015-0619) driver used: NVIDIA-Linux-x86_64-352.21.run
    Download the NVidia "Linux x86_64/AMD64/EM64T" driver listed above here: http://www.nvidia.com/object/unix.html

    Install the pre-requisites:
    ---------------------------
    dnf install dkms gcc kernel-devel kernel-headers

    Blacklist and remove the default nouveau graphics driver:
    ---------------------------------------------------------
    echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
    add "rd.driver.blacklist=nouveau" to middle of "GRUB_CMDLINE_LINUX=" line in /etc/sysconfig/grub
    Example:
    GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rd.driver.blacklist=nouveau rhgb quiet"

    Activate blacklist change:
    --------------------------
    grub2-mkconfig -o /boot/grub2/grub.cfg

    Remove default nouveau driver:
    ------------------------------
    dnf remove xorg-x11-drv-nouveau

    Set computer to boot to run level 3 (non-graphical boot) and reboot:
    --------------------------------------------------------------------
    systemctl set-default multi-user.target
    reboot

    Install the NVidia driver:
    ----------------------------
    chmod +x NVIDIA-Linux-x86_64-352.21.run
    sh ./NVIDIA-Linux-x86_64-352.21.run
    accept license
    allow dkms module updates with new kernel updates
    install 32bit compatibility
    allow it to update your xorg.cfg file

    If successful, then:
    --------------------
    Set computer to boot to run level 5 (graphical boot) and reboot:
    ----------------------------------------------------------------
    systemctl set-default graphical.target
    reboot





    The information at the below web link by "Duke Nukem" was helpful in getting the above to work for Fedora 21 + 22:
    ================================================== =========================
    "Step by step instructions: Fedora 20, NVIDIA GPU"
    http://setiathome.berkeley.edu/forum...d.php?id=74094


    KERNEL UPDATES:
    ===============
    NOTE: When updating kernels, the dkms package should technically re-enable the NVidia driver automatically.
    If not, you can update the driver manually as listed below.

    KERNEL UPDATES & manual NVidia driver update:
    ---------------------------------------------
    If you update your kernel, then the new kernel will not by default have the NVIDIA driver enabled (Note: only if you do not have dkms installed).
    You can reinstall the NVIDIA driver after updating your kernel and rebooting by doing the following:
    Ctrl + Alt + F2 (this will get you a login)
    Login as root
    sh ./NVIDIA-Linux-x86_64-352.21.run
    Accept license
    Continue Installation
    Yes to Install NVIDIA's 32-bit compatibility
    Yes to update your x configuration file (may not be needed if upgrading)
    reboot

    Note: If a recent kernel update removes the blacklist file, you may have to do this again and then reboot and then do the above update section after a kernel update:
    Blacklist and remove the default nouveau graphics driver:
    ---------------------------------------------------------
    echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
    add "rd.driver.blacklist=nouveau" to middle of "GRUB_CMDLINE_LINUX=" line in /etc/sysconfig/grub
    Example:
    GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rd.driver.blacklist=nouveau rhgb quiet"

    Activate blacklist change:
    --------------------------
    grub2-mkconfig -o /boot/grub2/grub.cfg

    Remove default nouveau driver:
    ------------------------------
    dnf remove xorg-x11-drv-nouveau





    2015-0619 Update:
    -----------------
    Current kernel and old NVidia driver would fail to get into X-window session. Upgrading the NVidia driver fixed this for me. This is how I fixed this:

    At failed window, press Ctrl + Alt + F2 and login as root

    Transfer the latest driver to your PC from another PC (I used NVIDIA-Linux-x86_64-352.21.run)

    Note, if you need to enable SSH so you can transfer the new driver over (via scp or sftp) to your PC, run this to enable SSH and scp/sftp transfers:
    systemctl enable sshd.service
    systemctl start sshd.service

    Then use some scp or sftp transfer program to copy the NVidia driver over to your non-working Fedora server. (I use FileZilla client with sftp transfer).

    Set computer to boot to run level 3 (non-graphical boot) and reboot:
    --------------------------------------------------------------------
    systemctl set-default multi-user.target
    reboot

    Install the NVidia driver:
    --------------------------
    chmod +x NVIDIA-Linux-x86_64-352.21.run
    sh ./NVIDIA-Linux-x86_64-352.21.run
    accept license
    allow dkms module updates with new kernel updates
    install 32bit compatibility
    allow it to update your xorg.cfg file

    If successful, then:
    --------------------
    Set computer to boot to run level 5 (graphical boot) and reboot:
    ----------------------------------------------------------------
    systemctl set-default graphical.target
    reboot

    Things should work again.
    Last edited by Jeff72; 20th June 2015 at 12:08 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Bangalore
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    The answer is probably yes from the ISO you're using but just in case, are you using gnome as your desktop environment? I couldn't get the nvidia driver to work with gnome on F21 because the former didn't support wayland.

    (If this matters, my laptop has both a GeForce card and Intel HD graphics)

  3. #3
    Join Date
    Nov 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Quote Originally Posted by Louisda16th
    The answer is probably yes from the ISO you're using but just in case, are you using gnome as your desktop environment? I couldn't get the nvidia driver to work with gnome on F21 because the former didn't support wayland.

    (If this matters, my laptop has both a GeForce card and Intel HD graphics)
    Yes, i'm running the standard default Gnome.

    I'm on a desktop, which actually may have Intel graphics too (I've never used it) but i'm using NVidia GTX 980 output.

    $ echo $DESKTOP_SESSION
    gnome
    Last edited by Jeff72; 30th May 2015 at 08:21 AM.

  4. #4
    Join Date
    Nov 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Quote Originally Posted by Louisda16th
    The answer is probably yes from the ISO you're using but just in case, are you using gnome as your desktop environment? I couldn't get the nvidia driver to work with gnome on F21 because the former didn't support wayland.

    (If this matters, my laptop has both a GeForce card and Intel HD graphics)
    I also logged out and tried to login with "Gnome on Wayland" and my computer locked up, so it doesn't seem to work with Wayland currently.

  5. #5
    Join Date
    Jan 2008
    Location
    Bangalore
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    The procedure didn't work for me (thank you for taking the time for writing the guide though!). I get the following screen instead of my log in screen:



    I must also add that, during the installation, the installer never asked me about updating xorg.conf. Not sure why it didn't work.

  6. #6
    Join Date
    Nov 2008
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Quote Originally Posted by Louisda16th
    The procedure didn't work for me (thank you for taking the time for writing the guide though!). I get the following screen instead of my log in screen:



    I must also add that, during the installation, the installer never asked me about updating xorg.conf. Not sure why it didn't work.
    I'm pretty sure you need to have the xorg.conf updated. You can try running the installer again. It should allow you to reinstall.

    Is your NVidia card chipset listed on the supported products here? http://www.nvidia.com/Download/drive...px/84721/en-us

  7. #7
    Join Date
    May 2015
    Location
    Kentucky
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    I get the same result here with a GTX760 on F22. Have tried disabling Wayland on GDM, manually creating a xorg.conf and still the same screen pops up.

    So far I've just uninstalled them for now to do some research but it seems this post is the only one I've seen that resembles my problem.

    Running nvidia-settings spits out some library errors;

    Code:
    # nvidia-settings 
    
    ERROR: libnvidia-gtk3.so.346.72: cannot open shared object file: No such file or directory
           libnvidia-gtk3.so: cannot open shared object file: No such file or directory
           libnvidia-gtk2.so.346.72: cannot open shared object file: No such file or directory
           libnvidia-gtk2.so: cannot open shared object file: No such file or directory
    
    
    ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may
           need to specify this library when calling nvidia-settings. Please run `nvidia-settings --help` for usage
           information.
    Haven't looked at logs yet, will be digging through them a bit later when I get some more time though.

  8. #8
    Join Date
    Apr 2015
    Location
    South Africa
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Quote Originally Posted by TheDreamingMonk
    I get the same result here with a GTX760 on F22. Have tried disabling Wayland on GDM, manually creating a xorg.conf and still the same screen pops up.

    So far I've just uninstalled them for now to do some research but it seems this post is the only one I've seen that resembles my problem.

    Running nvidia-settings spits out some library errors;

    Code:
    # nvidia-settings 
    
    ERROR: libnvidia-gtk3.so.346.72: cannot open shared object file: No such file or directory
           libnvidia-gtk3.so: cannot open shared object file: No such file or directory
           libnvidia-gtk2.so.346.72: cannot open shared object file: No such file or directory
           libnvidia-gtk2.so: cannot open shared object file: No such file or directory
    
    
    ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may
           need to specify this library when calling nvidia-settings. Please run `nvidia-settings --help` for usage
           information.
    Haven't looked at logs yet, will be digging through them a bit later when I get some more time though.
    I installed the drivers from RPMFusion and after a few reboots were able to login to the system. When trying to run nvidia-settings I get exactly the same error:

    Code:
    [georgelappies@devbox ~]$ nvidia-settings 
    
    ERROR: libnvidia-gtk3.so.346.72: cannot open shared object file: No such file
           or directory
           libnvidia-gtk3.so: cannot open shared object file: No such file or
           directory
           libnvidia-gtk2.so.346.72: cannot open shared object file: No such file
           or directory
           libnvidia-gtk2.so: cannot open shared object file: No such file or
           directory
    
    
    ERROR: A problem occured when loading the GUI library. Please check your
           installation and library path. You may need to specify this library when
           calling nvidia-settings. Please run `nvidia-settings --help` for usage
           information.
    P.S. How do I cleanly uninstall the nvidia drivers from RPMFusion?

  9. #9
    Join Date
    Jan 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    If your MB have secure boot you need to disable it before install RPMFusion nvidia akmod or kmod. You will need to keep it disabled. Don't know if this apply to nvidia original driver from nvidia web site.
    Last edited by oll; 5th June 2015 at 02:13 PM.

  10. #10
    Join Date
    Jul 2014
    Location
    heart
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    i am seeing the same grey screen after the nvidia installer failed during a build process. i haven't been able to get to the log yet since i can now only get to a grub command line and am not familiar with the code/process for getting from the grub command line to something more useful that can navigate files and directories.
    any tips are welcome here, since my machine is currently unusable!

  11. #11
    Join Date
    Jan 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Quote Originally Posted by urasoul
    i am seeing the same grey screen after the nvidia installer failed during a build process. i haven't been able to get to the log yet since i can now only get to a grub command line and am not familiar with the code/process for getting from the grub command line to something more useful that can navigate files and directories.
    any tips are welcome here, since my machine is currently unusable!
    When you get the grey screen then enter ctrl-alt-f2 this will get you to the tty screen. Then login, su and use yum or dnf to uninstall nvidia driver if you installed it from RPM. If you install from nvidia original driver I don't now how to uninstall it but there should be a how to some ware for this. You say the the installer failed so may be you have a bad or partial install, try the rescue option in the grub menu and see if this let you boot.

  12. #12
    Join Date
    Jul 2014
    Location
    heart
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    aha! great, thanks. i have successfully uninstalled the Nvidia driver by running the --uninstall flag on the installer script and then i moved to reverse all my previous changes and get the nouveau driver running again.
    i edited the modprobe and grub files to go back to their original state and re-installed the nouveau driver. unfortunately though, when i rebooted fedora locked up on the coloured 'f' logo screen. in other words nouveau appeared to load and so did fedora, but just before the login screen appeared, the process halted (apparently permanently).. so i am now looking for how to resolve this.
    all tips are welcome!

  13. #13
    Join Date
    Jan 2005
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Try ESC and see were the boot process stop. Some times if you just reset and reboot it will boot ok. If not try the rescue option in grub menu.

  14. #14
    Join Date
    Jul 2014
    Location
    heart
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    hmmm.. ok, i didn't know ESC did that.. thanks.
    i am seeing a BUG listed after the user manager was started:

    'unable to handle kernel paging request at.....'

    followed by a load of hex codes and other CPU level info.

    rescue mode brought me back to the same grey screen with 'oops something went wrong'..

  15. #15
    Join Date
    Sep 2008
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fedora 22 Workstation and NVidia Linux Driver install (GTX 980 card in my case)

    Thanks for this Jeff72. It worked perfectly on my machine with GTX750Ti card.

Page 1 of 2 12 LastLast

Similar Threads

  1. NVidia Linux driver manual install + Fedora 21 = quiet NVidia GTX 980 fans + high res
    By Jeff72 in forum Guides & Solutions (Not For Questions)
    Replies: 6
    Last Post: 2nd April 2015, 12:48 AM
  2. Nvidia Driver install (NVS 5200M card) on Latitude E6430 laptop with F18
    By freddie50 in forum Installation, Upgrades and Live Media
    Replies: 4
    Last Post: 24th March 2013, 11:28 PM
  3. [SOLVED] Trouble with nvidia card driver on fedora 12
    By OatsBelly in forum EOL (End Of Life) Versions
    Replies: 4
    Last Post: 11th February 2012, 03:50 PM
  4. Install nVidia video card driver
    By estebanLinux in forum Installation, Upgrades and Live Media
    Replies: 1
    Last Post: 27th November 2010, 01:08 AM
  5. Fedora 8 driver for Geforce 8 Nvidia card
    By lankan in forum Using Fedora
    Replies: 6
    Last Post: 27th March 2008, 11:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •