Created
October 28, 2022 17:15
-
-
Save cloudnull/c17c210f86364ba561b5848bd7d70fe3 to your computer and use it in GitHub Desktop.
Installing Nvidia's proprietary drivers from source
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
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