4

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.

PortWein
  • 175
  • 2
  • 4
  • 16
  • this tutorial seems pretty old... the official nvidia installation guide seems too complicated for me unfortunately – PortWein Apr 18 '18 at 18:39
  • 1
    That tutorial still works fine. Just open a terminal window and copy and paste each of the lines from the first answer. You will probably want to change the line about the actual installation of the driver to `sudo apt install nvidia-396` – Terrance Apr 18 '18 at 18:58
  • You mean instead of "sudo apt-get install nvidia-370"? So I dont have to take all these hundreds of terminal commands from the nvidia guide? – PortWein Apr 18 '18 at 20:10
  • I am sorry, I was talking about the steps in the link above of How do I install the Nvidia drivers. – Terrance Apr 18 '18 at 22:57
  • I dont understand what I have to do, even if I read this blog you forwarded me to... it's still not working. :( – PortWein Apr 23 '18 at 20:30

2 Answers2

4
  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 to https://www.geforce.com/drivers and pick your GPU, check which one is the non-beta. Today the version is 390.

  3. Leave the X server: Press Ctrl+Alt+F1 it should give you a black screen asking you to log in. After logging in, shut down the x-server with

     sudo service lightdm stop
    
  4. Install your Nvidia Driver

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

     sudo reboot
    
Tashows
  • 103
  • 4
Seraf
  • 301
  • 5
  • 9
0

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?

PortWein
  • 175
  • 2
  • 4
  • 16