Ubuntu: How to install a GTX 1060? [duplicate]



Question:

This question already has an answer here:

Got Ubuntu 16.04, bought a MSI GTX 1060 Gaming X, connected it to PCI, lights on, but actually I dont know how to install and use it.

Last time I installed the Cuda package, I ended up in a login loop and had to reinstall Ubuntu.

The CD that came with the GPU seems to contain only Win-Drivers. Has anyone the same or pretty similar GPU and can tell me how to install or where is a tutorial for this?

Thank you.


Solution:1

  1. Add the Official Graphic Cards PPA

    sudo add-apt-repository ppa:graphics-drivers/ppa  sudo apt-get update  
  2. Check which Nvidia Driver Version is the latest

    Go into this link and pick your GPU, check which one is the non-beta. Today the version is 390.

  3. Leave the x-server

    Click Alt-F1 it should give you a black screen asking you to log in. After logging in, shutdown the x-server with

    sudo service lightdm stop  
  4. Install your Nvidia Driver

    sudo apt-get install nvidia-390  
  5. Reboot your PC

    sudo reboot  


Solution:2

After I ran

sudo apt-get install nvidia-390   

before

sudo service lightdm stop  

in the UNIX-terminal, I ended up in some kind of messy loop. So I purged nvidia-390 with

apt-get remove --purge nvidia-390  

Then I opened tty1 (Ctrl+Alt+F1), ran the 2 commands again and rebooted.

Any more adjustments to make?


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »