QuixiAI/nvdriver ? reverse-engineered prompt

Reverse engineered prompt

Build me a clean room open source Rust Linux kernel driver for NVIDIA GPUs that can work as a drop in replacement for the proprietary one.

It should load as a kernel module, work with the normal NVIDIA user space tools like CUDA, PyTorch, nvidia smi, NVENC, NVDEC, and still play nicely with the usual companion modules. I want it to support both x86 64 and arm64 Linux systems, and expose useful GPU telemetry through sysfs and hwmon so tools like lm sensors and monitoring dashboards can read temperatures, power, clocks, and utilization.

Please also include sensible defaults for things like Resizable BAR, multi GPU communication, and memory management, plus documentation and an install path that makes it easy to build and test on a real machine. If you need current kernel or NVIDIA docs while doing it, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab