Skip to content

Instantly share code, notes, and snippets.

@timsonner
timsonner / fix-nvidia.sh
Last active July 24, 2026 11:47
Installs NVIDIA driver 595+ on Proxmox VE / Debian trixie with kernel 7.0+ because 550 is incompatible. Blacklists Nouveau and NovaCore.
#!/bin/bash
# fix-nvidia.sh
#
# Installs NVIDIA driver 595+ on Proxmox VE / Debian trixie with kernel 7.0+.
#
# Root cause: The Debian/Proxmox nvidia-kernel-dkms package (version 550) cannot
# build against kernel 6.17+ or 7.0+ due to DRM API changes (struct_mutex removal,
# framebuffer signature changes). The official .run installer at 595.71.05+ includes
# the necessary patches.
#