Skip to content

Instantly share code, notes, and snippets.

Last active July 19, 2017 15:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ampvchen/a671897dcb28b93742b566092a87fe07 to your computer and use it in GitHub Desktop.
Install Nvidia drivers
# 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_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" # Change
## 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