Last active
July 19, 2017 15:37
-
-
Save ampvchen/a671897dcb28b93742b566092a87fe07 to your computer and use it in GitHub Desktop.
Install Nvidia drivers
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
# Set blacklist | |
# /etc/modprobe.d/blacklist.conf | |
blacklist nouveau | |
blacklist lbm-nouveau | |
options nouveau modeset=0 | |
alias nouveau off | |
alias lbm-nouveau off | |
# Edit Grub | |
# /etc/default/grub | |
GRUB_DEFAULT=0 | |
# GRUB_HIDDEN_TIMEOUT=0 | |
GRUB_HIDDEN_TIMEOUT_QUIET=true | |
GRUB_TIMEOUT=10 | |
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" # Change | |
GRUB_CMDLINE_LINUX="" | |
## Boot flags | |
remove "quiet splash --" | |
add nomodeset | |
# Run | |
sudo update-grub | |
sudo apt-get --purge remove xserver-xorg-video-nouveau nvidia-* libcuda-* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment