Last active
January 9, 2019 23:10
-
-
Save HenryNguyen5/3de6436d4c8840f64704a9f1477fb689 to your computer and use it in GitHub Desktop.
NVIDIA Grin Install
This file contains hidden or 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
# If using kittyterm with ssh, make sure to use kitty +kitten ssh to allow for proper tui later on | |
# You can stuff the below stanza into a bash file and run it all at once | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
sudo add-apt-repository -y ppa:graphics-drivers | |
sudo apt-get update -y | |
sudo apt-get install -y nvidia-driver-410 | |
sudo apt install -y --no-install-recommends xorg lightdm | |
sudo systemctl disable lightdm | |
byobu-enable | |
sudo reboot | |
# Make xorg config file | |
sudo nvidia-xconfig --enable-all-gpus --cool-bits=28 --allow-empty-initial-configuration | |
Place the following in a service file to allow gpus to be controlled | |
sudo nvidia-smi -pm ENABLED | |
sudo X :0 & | |
export DISPLAY=:0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment