for intense use prevent computer from sleeping
xedit /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 12.1.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20230722-10:49]/ bookworm main non-free-firmware
deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
apt-get install gedit
apt update
apt install nvidia-detect
nvidia-detect
apt-get -y install dkms
apt-get update
apt-get -y install pciutils
lspci | grep VGA
apt-get install build-essential
apt-get upgrade
apt-get install manpages-dev
gcc --version
apt install git
apt install linux-headers-$(uname -r)
ls -l /usr/src/linux-headers-$(uname -r)
#--- checked if kernel headers where on drive
apt-get update
apt install build-essential<
apt-get install manpages-dev
sudo apt-get -y install dkms
apt-get upgrade
dkms add
apt -y install linux-headers-$(uname -r) build-essential libglvnd-dev pkg-config
apt update
apt-get install software-properties-gtk
apt update
apt-get install software-properties-qt
apt-get install synaptic
apt update
apt-get install software-properties-qt
# deb cdrom:[Debian GNU/Linux 12.1.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20230722-10:49]/ bookworm main non-free-firmware
deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free<
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware contrib non-free
deb http://deb.debian.org/debian/ buster main contrib non-free<
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
______________________________________________________________________________________
apt update
apt install nvidia-detect
apt update
nvidia-detect
sudo apt install nvidia-tesla-470-driver
systemCtl reboot
apt-get install nvidia-config<
nvidia-config
# Option "ConnectToAcpid" "0" and save
apt-get install gdm3
run clinfo to check if nvidia is working the right way
might be missing the vendor /etc/OpenCL/vendors
apt-get install clinfo
apt-get update
clinfo
apt-get install -y nvidia-tesla-470-opencl-icd
apt-get install update