Manual / P2P
nvdriver P2P, Resizable BAR and NVENC options explained
nvdriver P2P support enables PCIe and Dynamic BAR1 peer-to-peer by default, along with Resizable BAR1 and several other features the project says NVIDIA’s closed driver restricts. This page lists each module parameter, what is on by default, what is opt-in, and what to weigh before using them.
Features you want
The “stock” column repeats the nvdriver project’s own description of NVIDIA’s closed driver. We have not verified those claims independently.
What nvdriver p2p support means
Peer-to-peer lets one PCIe device read and write another’s memory directly, without bouncing data through host RAM. For multi-GPU inference and training without NVLink, that is the difference between GPUs exchanging tensors at bus speed and copying everything twice. The nvdriver project says NVIDIA’s closed driver gates this by product tier and chipset, and that nvdriver p2p support simply leaves those gates out.
That framing is the project’s. Its README uses the phrase “artificial software locks” and backs it with reverse-engineering notes in the repository; we repeat the claims here as claims. What can be stated as fact is what the module parameters do.
Default parameters
| Parameter | Default | Effect |
|---|---|---|
dyn_bar1_p2p | 1 | Dynamic BAR1 P2P: sets RMDynBar1P2PEnable=1, RMDisableFeatureDisablement=1 and RMForceP2PType=2 in the GSP-RM registry |
force_p2p | 0x11 | PCIe P2P read and write. 0x211 adds PCIe P2P atomics |
enable_resizable_bar | 1 | Expands BAR1 to the largest Resizable BAR aperture the card supports |
unpriv_profiling | 1 | Non-root hardware counters for ncu, nsys and CUPTI |
unlock_ada_tensor | 0 | Opt-in Ada (RTX 40-series) SM speed-select tensor unlock |
disable_ecc | 0 | Opt-in ECC disable without a reboot or InfoROM flash |
# /etc/modprobe.d/nvdriver.conf: the defaults, written out options nvidia_rs pci_target=* runtime_engines=1 dyn_bar1_p2p=1 force_p2p=0x11 enable_resizable_bar=1 unpriv_profiling=1 # opt-ins, add only what you need # force_p2p=0x211 PCIe P2P atomics # unlock_ada_tensor=1 RTX 40-series tensor unlock # disable_ecc=1 ECC off without a reboot
Resizable BAR1
BAR1 is the window through which the host, and other devices, map GPU memory. A small BAR1 limits how much of the card a peer can address at once. With enable_resizable_bar=1, nvdriver asks for the largest aperture the hardware advertises. This needs platform support: the motherboard firmware must allow large BARs (often labelled “Above 4G decoding”), and the slot topology has to leave address space for it. If your system fails to boot or enumerate the card after enabling large BARs in firmware, that is a platform limit, not a driver bug.
GPUDirect RDMA and dma-buf
For networking and storage, nvdriver ships nvidia_rs_peermem.ko, a standalone peer-memory module, and exports GPU memory through the kernel’s native dma-buf and P2PDMA interfaces. The intent is that an RDMA NIC or NVMe device can target GPU memory using mainline kernel mechanisms. The README lists this as implemented; it publishes no RDMA throughput numbers, so treat it as untested until someone does.
NVENC sessions and CMP mining cards
Two more items need no parameter. The README says NVENC sessions and telemetry are unrestricted, and reports H.264 and HEVC encode and decode working on the V100 test system with NVIDIA’s unmodified libnvidia-encode.so and libnvcuvid.so.
It also lists a “full compute unlock” for CMP mining cards: CMP 100-210, 170HX, 90HX, 70HX, 50HX, 40HX and 30HX. The CMP 100-210 is GV100 silicon and sits in the one family with live verification, though the published runs are on V100-SXM2-32GB rather than on a CMP card. The HX cards fall under the GSP-RM runtime, where validation is community reports at best.
Profiling, ECC and the Ada tensor unlock
- Unprivileged profiling is on by default. It is convenient on a single-user workstation. On a shared machine, hardware counters visible to every user are an information leak between tenants; set
unpriv_profiling=0there. - ECC toggle (
disable_ecc=1) turns error correction off across RMAPI, UVM and GSP-RM without a reboot. ECC exists to catch memory errors. Disabling it trades correctness protection for a little capacity and speed. - Ada tensor unlock (
unlock_ada_tensor=1) changes SM speed-select registers on AD10x cards to enable an FP32-accumulate tensor path. The README credits external research for it and guards it behind an opt-in.
vGPU and SR-IOV
The README states that vGPU and SR-IOV work “without CPUID or GRID licensing timers” and that there are no vGPU, hypervisor or cloud-provider allowlists. No verification on physical hardware is published for this path. It is also the feature most directly tied to a paid NVIDIA licence, which leads to the next section.
Licence, warranty and support caution
nvdriver is open source under MIT, and running your own kernel module on your own hardware is ordinary Linux practice. But several of these options exist specifically to bypass limits that NVIDIA applies by product tier. Using them may conflict with NVIDIA’s software licence terms, void vendor support for the system, or breach a cloud or enterprise agreement. This page describes what the parameters do; it is not legal advice, and it is not a recommendation to enable them on machines you do not fully control.
If you need supported, licensed P2P, vGPU or RDMA in production, use NVIDIA’s own drivers, including the official open GPU kernel modules. For experiments, pair this page with the safe-testing and rollback guide, and see the nvdriver overview for which GPU families have been exercised at all.
Questions people ask
Does nvdriver enable P2P on GeForce cards?
According to the project, yes: nvdriver p2p support enables PCIe and Dynamic BAR1 peer-to-peer on consumer and datacenter GPUs by default, through dyn_bar1_p2p=1 and force_p2p=0x11. Validation outside Tesla V100 is still thin.
What does force_p2p=0x211 do?
The default force_p2p=0x11 enables PCIe P2P read and write. Setting 0x211 additionally opts into PCIe P2P atomics.
Does nvdriver remove the NVENC session limit?
The README says nvdriver provides unrestricted NVENC sessions and telemetry, with no parameter needed. H.264 and HEVC encode and decode were exercised on the Tesla V100 test system.
Can nvdriver unlock CMP mining cards for compute?
The README lists a full compute unlock for CMP 100-210, 170HX, 90HX, 70HX, 50HX, 40HX and 30HX. Only the GV100 family has published live verification.
Is using these unlocks allowed?
nvdriver itself is MIT-licensed open source. Whether bypassing a product limit breaches NVIDIA's licence terms, your support contract or your warranty is a separate question that depends on your agreements and jurisdiction.
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.