vurpractice.blogg.se

How to install nvidia drivers on arch
How to install nvidia drivers on arch












how to install nvidia drivers on arch

It will install it using the new gcc compilers. Mark the file as executable(I right click on the file in desktop). I ended up installing the 9.1 run file for Ubuntu 17.04. (I would probably skip this one, but go to it if other stuff is giving issues) sudo apt install nvidia-cuda-toolkit

how to install nvidia drivers on arch

You can try using nvidia-cuda-toolkit, but the paths to the libraries wasn't familiar to me. As of today nvidia driver 396 is available. I use the GUI updater for the most part called Software & Updates, in the Additional Drivers tab.

how to install nvidia drivers on arch

sudo add-apt-repository ppa:graphics-drivers/ppa (I would say this is required before installing, unless you want to risk some login loop of death). There might be added extra stuff that I could have probably not had to do, but I am going to include it anyways.įirst get the ppa repository drivers. The second method has the downside that it's not as easy to upgrade or remove. Make sure you don’t agree to install the new driver.

  • Accept the terms and conditions, say yes to installing with an unsupported configuration, and no to “Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 384.81?”.
  • make the downloaded file executable with sudo chmod +x.
  • After installing the proprietary NVIDIA driver, download CUDA 9 installation from their site (get Ubuntu the 17.04 runfile version).
  • CUDA requires gcc6, use update-alternatives to maintain both gcc7 and gcc6 as explained here.Īlternatively you can follow Taylor's instructions:.
  • sudo apt update & sudo apt install nvidia-cuda-toolkit, or install it from the ubuntu software center.
  • In the Additional Drivers tab in software & updates select the NVIDIA proprietary driver (390 for CUDA 9).
  • In software & updates, select the restricted and multiverse repositories.
  • Enable multiverse repository, install nvidia drivers and nvidia-cuda-toolkit and gcc6 (preferably using update-alternatives to easily switch versions):














    How to install nvidia drivers on arch