Skip to content

Instantly share code, notes, and snippets.

@cloudnull
Created October 28, 2022 17:15
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 cloudnull/c17c210f86364ba561b5848bd7d70fe3 to your computer and use it in GitHub Desktop.
Save cloudnull/c17c210f86364ba561b5848bd7d70fe3 to your computer and use it in GitHub Desktop.
Installing Nvidia's proprietary drivers from source
cat > /etc/modprobe.d/blacklist-nouveau.conf <<EOF
blacklist nouveau
options nouveau modeset=0
EOF
apt update
apt install -y wget linux-headers-$(uname -r) build-essential libglvnd-dev pkg-config dkms
DOWNLOAD_URL="https://us.download.nvidia.com/XFree86/Linux-x86_64/515.76/NVIDIA-Linux-x86_64-515.76.run"
wget ${DOWNLOAD_URL}
chmod +x $(basename ${DOWNLOAD_URL})
update-initramfs -u
update-grub2
./$(basename ${DOWNLOAD_URL}) --dkms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment