How to install GPU cards on Linux
GTX 1080, Ubuntu 16.04
Reference: [1] Kill your current X server session
sudo bash service lightdm stop
Blacklist the "nouveau" driver
echo -e "blacklist nouveau\nblacklist lbm-nouveau\noptions nouveau modeset=0\nalias nouveau off\nalias lbm-nouveau off\n" | tee /etc/modprobe.d/blacklist-nouveau.conf echo options nouveau modeset=0 | tee -a /etc/modprobe.d/nouveau-kms.conf update-initramfs -u shutdown -r now
Download and run the runfile
./NVIDIA-Linux-x86_64-390.48.run
Install the CUDA toolkit (sample is optional, driver should NOT be installed)
./cuda_8.0.61_375.26_linux.run --override --no-opengl-lib