Skip to content

Instantly share code, notes, and snippets.

View N00BM4573R's full-sized avatar
💭
hacking_in_progress#

N00BM4573R

💭
hacking_in_progress#
View GitHub Profile
@stephematician
stephematician / buildfix_kernel_6.17_stephematician.patch
Last active July 7, 2026 10:55
Patching nvidia-driver-550 for Ubuntu 24.04 and 6.17
diff -u -r a/common/inc/nv-linux.h b/common/inc/nv-linux.h
--- a/common/inc/nv-linux.h 2025-04-08 23:05:21.000000000 +1000
+++ b/common/inc/nv-linux.h 2026-02-14 14:53:46.824504148 +1100
@@ -58,10 +58,8 @@
#include <linux/version.h>
#include <linux/utsname.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
-#error "This driver does not support kernels older than 2.6.32!"
-#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)

Full Setup Guide for NVIDIA 550 on Debian 12

Before You Begin

💡 Every command in this guide must be run in a terminal. Open a terminal by pressing CTRL + ALT + T or accessing the command line in a TTY (CTRL + ALT + F3).


Step 1: Fix sudo and Gain Root Access

By default, Debian 12 doesn’t grant sudo to the first user. Let’s fix that.