HowTo: Install NVIDIA/AMD Driver in ElementaryOS, the official way

Discussion in 'Tutorials' started by LKX7, Jun 2, 2015.

  1. LKX7

    LKX7 Thread Starter
    Expand Collapse
    Member

    Joined:
    Jun 1, 2015
    Messages:
    19
    Likes Received:
    8
    this is the official elementary os way, how to install the NVIDIA or AMD graphic driver.

    it's pretty easy, first open "Additional Drivers" in elementary os (you won't find this in system settings, don't ask my why..)

    Additional_Driver_ElementaryOS.jpg

    and choose any prefered driver displayed. Example:

    elementaryos_install_additional_driver_nvidia_amd.jpg

    and reboot.
    that's it. have fun :)

    Edit by elysium:
    @ElementaryOS 0.4 Loki the GUI is not pre-installed anymore. You need to install the Additional Drivers GUI first:

    sudo apt install software-properties-gtk software-properties-common
     
    #1 LKX7, Jun 2, 2015
    Last edited by a moderator: Sep 11, 2016
    jojofreddy and 53ri41 like this.
  2. Andreas

    Andreas
    Expand Collapse
    New Member

    Joined:
    Oct 2, 2015
    Messages:
    1
    Likes Received:
    0
    How do you get to this screen if you can't even install it?
     
  3. LKX7

    LKX7 Thread Starter
    Expand Collapse
    Member

    Joined:
    Jun 1, 2015
    Messages:
    19
    Likes Received:
    8
    I have had installed the driver manually (Nvidia*.run) before taking this screenshot. thats why it is greyed out. for everybody else than me it is able to install
     
    #3 LKX7, Oct 5, 2015
    Last edited: Oct 5, 2015
    CyberGhosT likes this.
  4. user957

    user957
    Expand Collapse
    Member

    Joined:
    Oct 10, 2015
    Messages:
    8
    Likes Received:
    0
    I do this and then select Use this display for my external monitor in Displays settings. I drag the button but it jumps back automatically. This happens no matter which drivers I select. I have 3 options.

    Nvidia 340
    Nvidia 340 updates
    X Org

    What do I do?
     
  5. Shogun

    Shogun
    Expand Collapse
    Member

    Joined:
    Jul 31, 2015
    Messages:
    9
    Likes Received:
    4
    I would say 340-updates. But all of them (340/340-updates) are out of date. with this PPA here, you will get the new nvidia: ppa:graphics-drivers/ppa
     
  6. user957

    user957
    Expand Collapse
    Member

    Joined:
    Oct 10, 2015
    Messages:
    8
    Likes Received:
    0
    Ok, thanks. Installed the recommended nvidia-352.
    The 352 option was not added to "additional drivers" though, but maybe that is supposed to be so? Don't know if I am running 352 or not... Now the options are:

    Nvidia 340.96
    Nvidia 340.96 updates
    X Org

    Chose 340.96 updates as suggested. Hope it works. I had noticed a difference between X Org and the old prop drivers when running a Steam game (better performance on prop.). Do the X Org drivers get updated via the software updater?

    Thanks.

    Edit: Hmm seems something is wrong. Steam does not launch. Nothing happens when clicking the steam icon... Trying via command line:

    user@machine:~$ steam
    Running Steam on elementary os 0.3.2 64-bit
    STEAM_RUNTIME is enabled automatically
    Installing breakpad exception handler for appid(steam)/version(1451690000)
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast

    [My highlights] I have no idea what this means or what I am to do.
     
    #6 user957, Jan 9, 2016
    Last edited: Jan 9, 2016
  7. timo

    timo
    Expand Collapse
    New Member

    Joined:
    May 2, 2016
    Messages:
    1
    Likes Received:
    0
    mine doesnt show that!
     
  8. freewind

    freewind
    Expand Collapse
    New Member

    Joined:
    May 22, 2016
    Messages:
    4
    Likes Received:
    1
    My System is an old AMD Athlon XP 1900+ on a ASUS A7V600-X MoBo with NVIDIA GeForce3 Ti200

    elementaryos-0.3.2-stable-i386.20151209 is installed and up. Starting with "nouveau-driver" give bad luck with black screen. From nvidia-home i got

    NVIDIA-Linux-x86-96.43.19-pkg1.run & NVIDIA-Linux-x86-96.43.23-pkg1.run

    Both packages won't install. In both cases the same failure message appear:

    From: nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue May 24 11:23:02 2016 installer version: 1.0.7

    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false precompiled interfaces : true no ncurses color : false query latest version : false OpenGL header files : true no questions : false silent : false no recursion : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false no kernel module : false force SELinux : default no X server check : false no cc version check : false run distro scripts : true no nouveau check : false run nvidia-xconfig : false sigwinch work around : true force tls : (not specified) X install prefix : (not specified) X library install path : (not specified) X module install path : (not specified) OpenGL install prefix : (not specified) OpenGL install libdir : (not specified) utility install prefix : (not specified) utility install libdir : (not specified) installer prefix : (not specified) doc install prefix : (not specified) kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) kernel output path : (not specified) kernel install path : (not specified) precompiled kernel interfaces path : (not specified) precompiled kernel interfaces url : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) selinux chcon type : (not specified)

    Using: nvidia-installer ncurses user interface -> License accepted. -> Installing NVIDIA driver version 96.43.23. -> Running distribution scripts executing: '/usr/lib/nvidia/pre-install'... -> done. -> The distribution-provided pre-install script failed! Continue installation anyway? (Answer: Yes) -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". ERROR: The kernel header file '/lib/modules/3.19.0-59-generic/build/include/linux/version.h' does not exist. The most likely reason for this is that the kernel source files in '/lib/modules/3.19.0-59-generic/build' have not been configured. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

    A sudo apt-get install linux-generic did not fix the problem.

    Any clue?

    Thanks
    Freewind
     
  9. paradise

    paradise
    Expand Collapse
    Elementary Supporter

    Joined:
    Dec 3, 2014
    Messages:
    122
    Likes Received:
    33
    Have you installed all of the following packages:

    linux-image-generic-lts-vivid install
    linux-generic-lts-vivid install
    (not only linux-generic)

    linux-headers-3.19.0-59 install
    linux-headers-3.19.0-59-generic install
     
    CyberGhosT and elysium like this.
  10. freewind

    freewind
    Expand Collapse
    New Member

    Joined:
    May 22, 2016
    Messages:
    4
    Likes Received:
    1
    THX
     
    elysium likes this.
  11. Ali Basharaf

    Ali Basharaf
    Expand Collapse
    New Member

    Joined:
    Jul 29, 2016
    Messages:
    2
    Likes Received:
    0
    Hi boys
    I Cant install elementary Os becuse After Installation elementary Os Or Ubuntu Os My Screen Jump And After 5-40 Min SYSTEM Hanged! And I Just Must Hard Reboot SYSTEM !
    This Hang Meybe In InsTall Time Or After Installing!
    Who Can Fix That!
    Sorry Boys My ENG No Good :D
     
  12. xeronik

    xeronik
    Expand Collapse
    New Member

    Joined:
    Sep 10, 2016
    Messages:
    1
    Likes Received:
    1
    "Additional Drivers" is missing in loki, where can i find it/how can I get the nvidia driver?
     
    paradise likes this.
  13. paradise

    paradise
    Expand Collapse
    Elementary Supporter

    Joined:
    Dec 3, 2014
    Messages:
    122
    Likes Received:
    33
    It is so incomprehensible, that the developers removed this GUI.... I really do not understand this too. You can download the Application Software & Updates again with this line in your terminal:

    Code (Text):
    sudo apt-get install software-properties-gtk software-properties-common
    Now go to "Applications" > type in "Software & Updates" > open the GUI and install the driver :)
     
    CyberGhosT likes this.
  14. tSrH

    tSrH
    Expand Collapse
    New Member

    Joined:
    Sep 29, 2016
    Messages:
    1
    Likes Received:
    1
    Hi,
    after installing a fresh Loki to my hdd i installed sudo apt-get install software-properties-gtk software-properties-common[
    and my nvidia-340 drivers.. but after a restart my plymouth screen is broken! not showing up or wrong resolution!!
    this is the same ***t on Freya.. what can i do to get my elementary plymoouth screen back like fresh loki?!
    Do you have any idea?
    thx

    Problem solved with Link ;)
     
    #14 tSrH, Sep 29, 2016
    Last edited: Sep 29, 2016
    CyberGhosT likes this.
  15. CyberGhosT

    CyberGhosT
    Expand Collapse
    New Member

    Joined:
    Oct 11, 2016
    Messages:
    1
    Likes Received:
    0
    Thanks guys, I am new to Elementary and this thread helped a lot.
     
  16. Ali Basharaf

    Ali Basharaf
    Expand Collapse
    New Member

    Joined:
    Jul 29, 2016
    Messages:
    2
    Likes Received:
    0
    Hi Boys
    I Cant Install Additional Drivers by code!!!!!
    [​IMG]

    I Install OS Whit Windows 10
    Who Can Fix it !!!!!!!
     
    #16 Ali Basharaf, Nov 12, 2016
    Last edited: Nov 12, 2016
  17. Kelaun

    Kelaun
    Expand Collapse
    New Member

    Joined:
    Nov 13, 2016
    Messages:
    1
    Likes Received:
    0
    Try running the following before.
    Code (Text):
    sudo apt update
     
  18. Jay.J

    Jay.J
    Expand Collapse
    New Member

    Joined:
    Nov 15, 2016
    Messages:
    3
    Likes Received:
    0
    In the "Additional divers" says "Unknown: Unknown"
    What am I doing wrong?
     

    Attached Files:

  19. paradise

    paradise
    Expand Collapse
    Elementary Supporter

    Joined:
    Dec 3, 2014
    Messages:
    122
    Likes Received:
    33
    I am not sure what is wrong, but as i know, you can download the proprietary driver from amd.com > Driver > Choose your Graphic Card > Choose latest Ubuntu Version > Download > Install. Amd drivers are much easier to install this way than nvidia.

    Another question is, do you really need the proprietary drivers? AMD is going more and more open source, their default Kernel driver is often already good enough. i am not sure how good it is for your specific (old) graphoc card, sorry.
     
  20. Shock

    Shock
    Expand Collapse
    New Member

    Joined:
    Nov 20, 2016
    Messages:
    1
    Likes Received:
    0
    I installed this for a nvidia gt520m but when I restart, black screen appear, this is a fresh elementary os loki; yesterday I installed manually the driver via terminal, but the black screen appear too; what I need to do? I can do CTRL + ALT + F1 but lightdm have some problem, so that restarted every 5 seconds, so I need to stop this via terminal with
    sudo /etc/init.d/lightdm stop; what is the problem? If I dont install the nvidia drivers, I can manage all in the graphical system, but when I reboot with the nvidia drivers, black screen!
     

Share This Page

Loading...