Skip to content

Instantly share code, notes, and snippets.

View marques576's full-sized avatar
🎯
Focusing

Marques576 marques576

🎯
Focusing
View GitHub Profile

How to install nvidia-legacy-340xx-driver on Debian 12 Bookworm

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.

It was reported to work with nvidia-legacy-390xx-driver just replace the appropriate package names.

Step 1. Download the source code.

Install these packages.

sudo apt install build-essential fakeroot devscripts
@dahoba
dahoba / rk68-manual-text.md
Last active March 14, 2025 14:10
RK68 manual in text

RK68 user manual ⌨️

conections

  • BT 5.1
  • USB-A 2.4GHz
  • Wired

BT connection wind

@yinguobing
yinguobing / video_threaded.py
Last active May 8, 2022 01:38
OpenCV minimal example showing multithreaded video processing.
# Original code here:
# https://github.com/opencv/opencv/blob/master/samples/python/video_threaded.py
#!/usr/bin/env python3
'''
Multithreaded video processing minimal sample.
Usage:
python3 video_threaded.py
Shows how python threading capabilities can be used
@DaneGardner
DaneGardner / ubuntu_18.04_cuda.md
Last active February 25, 2025 14:22
Installing CUDA 9.1 on Ubuntu 18.04 (circ. 5/18)

Install CUDA 9.1 on Ubuntu 18.04

Prep system

sudo apt install build-essential gcc-6 g++-6

sudo update-alternatives --remove-all gcc
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 10
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 20
sudo update-alternatives --set gcc /usr/bin/gcc-6