Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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