[ ok ] nvidia_rs.ko · v0.2.0 · MIT · facts checked December 3, 2026[warn] unofficial · experimental driver · no files hosted
nv_rsNVDRIVER Wiki unofficial manual

Manual / Troubleshooting

nvdriver Linux troubleshooting, safe testing and rollback

Running nvdriver on Linux means loading a days-old kernel module in place of NVIDIA’s. This page covers the supported kernels, the common failures and their fixes, how to test inside a disposable VFIO virtual machine, and how to return to the stock driver.

Advertisement

nvdriver Linux troubleshooter

Pick a symptom.

Causes and fixes come from the README and the v0.2.0 release notes. For anything else, search the project’s issue tracker.

Kernel and platform requirements

nvdriver Linux support, as stated in the README, covers kernels 5.15 through 7.0 and later on x86_64 and arm64. The module is built to pass the kernel’s hardening requirements rather than to work around them: it supports CONFIG_MITIGATION_RETHUNK, CONFIG_MITIGATION_SLS, CONFIG_X86_KERNEL_IBT and CONFIG_CALL_PADDING, uses no SIMD or x87 in kernel context, and keeps every stack frame within 1,024 bytes (the largest measured is 1,000).

RequirementDetail
Kernel5.15 to 7.0+, with headers for the running kernel installed
Architecturex86_64, or arm64 on discrete-PCIe hosts. Tegra / Jetson is not supported
UserspaceNVIDIA’s own libraries, already installed. The README baseline is 580.178.04
FirmwarePre-GSP cards: extracted from the stock package. GSP cards: blobs copied by the installer
AccessA second way in (SSH or serial console), in case the display or the machine hangs

Conflicts with stock nvidia.ko

The most common nvdriver Linux problem is the stock module loading anyway. NVIDIA’s userspace calls nvidia-modprobe, which runs an explicit modprobe nvidia, and an ordinary blacklist line does not stop explicit loads. The README’s answer is an install override:

# /etc/modprobe.d/nvidia-blacklist.conf
install nvidia /bin/false
install nvidia_uvm /bin/false

The v0.2.0 installer writes the equivalent into /etc/modprobe.d/nvdriver.conf together with an alias from char-major-195-* to nvidia_rs. If the stock module has already touched the GPU in this boot, reboot before loading nvidia_rs: the README asks for a clean boot so the card is not left in a state the Rust driver did not create.

nvidia-smi does not see the GPU

NVML decides whether a driver is present by looking at /sys/module/nvidia and the device nodes. With the installer default BIND_DEV_NODES=1 this works directly. If you loaded the module by hand without binding nodes, use the launcher, which bind-mounts /sys/module/nvidia_rs over /sys/module/nvidia inside a namespace:

# Wraps nvidia-smi and CUDA commands in a namespace that maps
# /sys/module/nvidia_rs to /sys/module/nvidia. See the script for its arguments.
python3 tools/rmapi_namespace_launcher.py

Also confirm the module was loaded with pci_target=* and runtime_engines=1. Those are the installer defaults and the values the README uses for live workloads.

Secure Boot

A self-built module is unsigned. With Secure Boot on, the kernel rejects it. install.sh can sign with a Machine Owner Key; the key must then be enrolled at the firmware prompt on the next reboot. The GitHub build and install guide covers the installer in full.

V100: NaN results or hangs

On Tesla V100, nvdriver raises the HBM2 clock to 1107 MHz by default. If you see NaNs, hangs or results that differ from a known-good run, drop to stock clocks first and only then look for other causes:

echo 0 | sudo tee /sys/module/nvidia_rs/parameters/v100_hbm_ndiv

This matches the field report in issue #76, where a V100-PCIe-32GB failed at 1107 and 1053 MHz and worked at stock. The V100 clock reference explains each divider value.

Fixed in v0.2.0: RTX 4060, IOMMU faults, GPFs, CUDA Graphs

If you are on v0.1.0 or an early commit, several crashes are already fixed. The v0.2.0 release notes list them:

SymptomCauseReference
FWSEC-FRTS error 0xbf on RTX 4060Ada AD107 boot fault in the firmware security stageIssue #145
IO_PAGE_FAULT with strict IOMMUAda AD107 strict-IOMMU faultIssue #145
Cold-boot failure on AD107Cold-boot SEC2 scrubber fixIssue #145
General protection fault, LIST_POISONDouble unlink; eliminated by Rust lifecycle ledgersIssues #118, #126
CUDA Graphs crashPartial unmap handlingIssue #134
nvidia-smi -pl power limitSupport added in v0.2.0v0.2.0 notes

The release verification was a single V100 in a VFIO virtual machine: the full CUDA suite passed in 25.1 seconds with a clean unload. That is one card and one configuration, so a fix being listed does not mean it was re-tested on your hardware.

CUDA 13 on Volta

NVIDIA’s CUDA 13 userspace no longer accepts Volta cards. On GV100 the installer adds a pinned copy of the third-party volta-forever shim to keep CUDA 13 usable. If CUDA 13 rejects your V100, check whether you installed with SKIP_VOLTA_FOREVER=1. That shim is a separate project with its own code; read it before trusting it.

Test safely in a VFIO virtual machine

The lowest-risk way to try nvdriver is to never load it on the host. Bind the GPU to vfio-pci, pass it to a throwaway guest, and let the driver crash the guest instead of your machine. The repository ships a harness for this:

# Single-GPU CUDA parity suite on a VFIO-bound card; replace the BDF with yours
sudo python3 tools/vm/run_vfio_guest.py --bdf 0000:b3:00.0 --driver rust
  1. Use a GPU that is not driving your display.
  2. Snapshot or script the guest so it can be rebuilt in minutes.
  3. Run a workload with known outputs and compare the results, not just the speed.
  4. Unload the module and confirm it exits cleanly before you consider bare metal.

Roll back to the stock driver

sudo modprobe -r nvidia_rs
sudo rm /etc/modprobe.d/nvdriver.conf \
        /etc/modules-load.d/nvdriver.conf \
        /etc/udev/rules.d/70-nvdriver.rules
sudo reboot        # stock nvidia.ko can load again after this

The README does not document an uninstall command, so look for one in install.sh before removing files by hand. If you used DKMS, remove the module there too, and if your distribution copies /etc/modprobe.d into the initramfs, regenerate it. Clocks return to stock when the module unloads. If the machine will not boot far enough to do any of this, boot with the module blacklisted on the kernel command line (module_blacklist=nvidia_rs) and clean up from there.

Keep expectations in line with the project’s age: the repository had about 200 open issues when this page was checked. For what the driver is and which GPUs it targets, see the nvdriver overview.

Sponsored

Questions people ask

Which Linux kernels does nvdriver support?

The README states support across Linux 5.15 to 7.0 and later, including kernels built with return thunks, straight-line speculation mitigation, kernel IBT and call padding. It builds for x86_64 and arm64.

Why does nvidia-smi not see my GPU under nvdriver?

Usually because device nodes were not bound or the module loaded without live engines. Reinstall with the defaults pci_target=* and runtime_engines=1, or run nvidia-smi through tools/rmapi_namespace_launcher.py.

Can nvdriver and the stock NVIDIA driver be loaded together?

No. Both claim the same device. The nvdriver Linux installer writes install nvidia /bin/false so the stock module cannot load on top of nvidia_rs.

How do I test nvdriver without risking my system?

Pass the GPU to a disposable virtual machine with VFIO and run the repository's harness: tools/vm/run_vfio_guest.py with the card's PCI address and --driver rust.

How do I go back to the stock NVIDIA driver?

Unload nvidia_rs, delete the three configuration files the installer wrote under /etc, and reboot. The stock nvidia module can then load again.

Checked against the nvdriver repository, its README and its release notes on December 3, 2026. When this page and those sources disagree, the sources are right.