-
-
Save avoidwork/6047edbf3badd4cc7619a23f502d1359 to your computer and use it in GitHub Desktop.
debian nvidia
This file contains hidden or 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
$ vi /etc/apt/sources.list | |
# add [contrib], [non-free] to [main] line | |
deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free | |
$ LINUX_HEADERS=$(uname -r) | |
$ apt update | |
$ apt -y install nvidia-driver firmware-misc-nonfree linux-headers-$LINUX_HEADERS dkms | |
# default [nouveau] driver is disabled | |
$ cat /etc/modprobe.d/nvidia-blacklists-nouveau.conf | |
# You need to run "update-initramfs -u" after editing this file. | |
# see #580894 | |
blacklist nouveau | |
$ reboot | |
# verify installation to show Graphic cards status | |
$ nvidia-smi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment