works on mini pci
https://www.jeffgeerling.com/blog/2023/testing-coral-tpu-accelerator-m2-or-pcie-docker
This guide will show you how to download, compile and install the nvidia-legacy-340xx-driver on Debian 12. Some people install the driver directly from sid but this will mix packages from both stable and unstable which may create issues. It's recommended to update and upgrade your system before you start.
Install these packages.
sudo apt install build-essential fakeroot devscripts
You can manually download the source code from debian.org and go to Step 2 or continue with Step 1. Don't worry you won't be able to install packages from sid.
Add 'deb-src http://httpredir.debian.org/debian unstable main non-free contrib'
to '/etc/apt/sources.list'
.
Disable NVIDIA GPU on debian
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
sudo update-initramfs -u
reboot
for file in *.pdf; do | |
filename=$(basename "$file" .pdf) | |
pdf2ps "$file" "$filename.eps" | |
done |
import numpy as np | |
import cv2 | |
import sys | |
cap = cv2.VideoCapture(0) | |
face_cascade = cv2.CascadeClassifier('<PATH_TO_CASCADES_FOLDER>/haarcascade_frontalface_default.xml') | |
while(True): | |
# Capture frame-by-frame |
GPU Manager will overwrite the X configuration at each reboot, so the first step is to disable it.
According to various posts it can be disabled adding nogpumanager
to the boot options e.g. in GRUB.
Edit /etc/default/grub
and add nogpumanager
to the GRUB_CMDLINE_LINUX
option.
For example, if /etc/default/grub
had