Last active
September 7, 2017 14:09
-
-
Save SpotLabsNET/fc2b0121d7c1d600c12c0e67a99b50e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# kill the x server | |
sudo systemctl stop lightdm.service | |
# install the drivers | |
wget -O NVIDIA-Linux-x86_64-367.106-grid.run https://go.microsoft.com/fwlink/?linkid=849941 | |
chmod +x NVIDIA-Linux-x86_64-367.106-grid.run | |
sudo ./NVIDIA-Linux-x86_64-367.106-grid.run -a --update --dkms -X -Z -s | |
# copy default config | |
sudo cp /etc/nvidia/gridd.conf.template /etc/nvidia/gridd.conf | |
# append some settings | |
sudo powershell { Add-Content -Path '/etc/nvidia/gridd.conf' -Content 'IgnoreSP=TRUE' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment