Skip to content

Instantly share code, notes, and snippets.

@ampvchen
Last active July 19, 2017 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ampvchen/a671897dcb28b93742b566092a87fe07 to your computer and use it in GitHub Desktop.
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_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