Adds two independent reproductions of the NV_ERR_NOT_SUPPORTED VOLT_LOAD cap at 5879d3b3:
a Tesla V100-PCIE-32GB (10de:1db6) on kernel 7.0.0-44 and a Tesla V100-SXM2-32GB (10de:1db5)
on kernel 6.8.0-151, both requesting NDIV 183 (1372.5 MHz) at 905 mV and both landing on 1290
MHz with the identical load=0xd6d6d6d6 get=0x56 set=0xffff signature, while HBM reaches
1107.0 MHz on both.
PCIe and SXM2 packages, two kernel series and two target voltages answer the same way, which
supports the existing conclusion that the missing piece is the PMU task stack rather than the
board or the RPC payload.
18 KiB
Field report: single V100-SXM2-32GB, Ubuntu 26.04, kernel 7.0.0-44 — install, tuning, and A/B against stock 580.178.04
Status: installed and working, boot-persistent. Written 2026-12-01 against master
cbaa0fe (v0.2.0 era). Everything below was measured on the machine described; nothing
is extrapolated from another host.
Host identifiers are redacted (hostname, GPU UUID, paths under /home/<user>).
Environment
- GPU: 1× Tesla V100-SXM2-32GB (
10de:1db5), bare metal, on a Supermicro SYS-6028R-T dual-Xeon board. No NVLink peers. Single IOMMU group. - OS: Ubuntu 26.04, kernel
7.0.0-44-generic, gcc 15.2.0, Secure Boot disabled. - nvdriver:
mastercbaa0fe, built with pinnedrustc 1.100.0.make modules+uvm-bridge+modeset-bridge;check_kernel_module.pygreen (largest_stack: 1000, 0 GOT, 0 SIMD, 0 memcpy). - Firmware:
gv100.fwextracted withtools/extract_gv100_firmware.py(85 records, sha256681b0cee…), installed to/lib/firmware/nvidia-rs/580.178.04/. - Userspace: stock
580.178.04(libcuda,libnvidia-ml,nvidia-smi), unmodified. - Workload: Strata engine (
strataCLI, custom CUDA engine) serving a 251B-class MoE (IQ3_S, 84 GiB on NVMe, ~45 GiB of experts streamed), 256k context,--kv k8v4,--spec 4, 4k-token prompt, greedy-ish sampling, fixed seed.
Result: the driver is within noise — the workload's memory strategy is what moves
Two variables turned out to matter far more than the driver: whether the engine pages experts
from disk (--mmap-experts) or keeps them resident, and whether the cache is warm. A first
pass that compared only one arm against one arm credited the driver with a prefill doubling;
the full matrix below shows that most of it was cold-cache and arm asymmetry.
All arms: same card, model, flags, 4k-token prompt, 256k context, two or three runs each.
| Arm | decode tok/s | prefill tok/s |
|---|---|---|
| stock, experts resident (no paging), default clocks | 44.42 | 798.5 |
| stock, resident, SM locked 1290 | 43.59 / 42.36 | 807.5 / 798.5 |
nvidia_rs, resident, HBM 1107 |
43.72 / 41.98 | 815.3 / 818.4 |
nvidia_rs, resident, HBM stock 877 |
40.10 / 40.99 | 800.0 / 788.8 |
| stock, paging, default clocks | 23.74 / 22.68 | 133.3 / 264.7 |
| stock, paging, SM locked 1290 | 22.32 / 23.12 | 268.3 / 271.7 |
nvidia_rs, paging, HBM 1107 |
21.93 / 22.67 / 22.50 | 266.6 / 274.0 / 275.2 |
Attribution
- Paging vs resident is worth ~1.9x decode and ~3x prefill (43 vs 22 tok/s, 800 vs 270). That is Strata's expert paging, not the driver.
- The driver is inside the noise band in both strategies. No arm separates by more than ~5%, and the direction flips with the run.
- The HBM unlock is the only driver-side lever that shows a consistent sign: 1107 MHz beats 877 MHz in the resident arm (42.8 vs 40.5 tok/s averaged), ~5%, at the edge of significance. It does not rescue the paging arm, because that path is not HBM-bound.
- The SM clock is not the binding constraint here. Under load the stock driver holds
1530 MHz at 100% utilisation and
nvidia_rsholds 1290 MHz — stock is 19% higher — and still lands within noise.v100_p0_gpc_ndiv190 and 204 both stay at 1290 on this card (VOLT HS scaling unavailable), so 1290 is this driver's ceiling here, not a tuning choice.
An earlier draft of this report claimed stock "never ramps" from 135 MHz. That reading was sampled at idle; stock ramps to 1530 the moment work arrives. The corrected statement is that the two drivers reach similar throughput by different means, and that the workload's memory strategy dominates both.
The 1290 MHz cap: VOLT_LOAD returns NV_ERR_NOT_SUPPORTED
v100_p0_gpc_ndiv=190/204 are inert here. The divider is only honoured above 172 when
v100_p0_volt_uv is set, which routes through runtime_pmu_volt_init_and_scale; the cap
target_gpc = if req_gpc > 172 && !volt_raised { 172 } then holds 1290 MHz. That is the
conservative branch: above 1290 the silicon needs 950–1015 mV, which is what the VOLT unit
exists to request.
v100_p0_volt_uv is 0444 (load-time only), so this was tested with the override in
/etc/modprobe.d and a reboot. Observed:
nvidia_rs: GV100 PMU VOLT gpu=0x00008100 load=0xd6d6d6d6 get=0x56 set=0xffff
uv=830000->950000 vid0_pwm1=0x00000043->0x00000043
nvidia_rs: GV100 PMU PMGR gpu=0x00008100 load=0x0 poll=0xdead ch0=0 mW ch7=0 mW
0x56 is NV_ERR_NOT_SUPPORTED, and it comes back for all four VOLT RPCs — including
the read-only VOLT_RAIL_GET_VOLTAGE — so it is the unit, not the payload. set_st stays
0xffff because the stepping loop never runs.
Narrowing done so far:
- The transport is fine:
PMGR_LOADon the same path returns0x0, andnvidia-smi -plreachesRM_CONTROL 0x2080a613(which also answers0x56). - Framing is not the difference:
build_volt_load_rpcandbuild_pmgr_load_rpcemit the same header ([0]=0, [1]=unit, [2]=func); the PMGR builder adds apatch_masku32 at0x10and the VOLT RPC is bare per its_nv060702rmrpc_size = 0x10. - Prerequisites are missing. Stock's task stack is
VFE -> THERM -> VOLT -> CLK -> PMGR -> PERF.pmu_task_stackexists but is bookkeeping only — bring-up constructs it and marksVfeloaded without sending anything. Sending bareVFE_LOAD(0x09/0x03) andTHERM_LOAD(0x0d/0x02) before VOLT (added on this branch, noted as5646_00<unit>) returns0x56for both as well, so those loads need their own BOARDOBJGRP payloads. - The PMU init handshake never runs on this path.
pmu_init/pmu_post_initexist and are referenced fromkernel/pci.rs, butpmu_bringup.rsnever invokes them.
Further narrowing (all instrumented, all negative):
- The super-surface writes succeed. The three
BOARDOBJGRPuploads return 0 (5353_0001/2notes) — the payloads land where intended, so it is not a write or offset failure. - The override reaches the driver (
5056_0001 = 0x000e7ef0= 950000 uV) and is clamped correctly, so the parameter path is fine. - Retries do not help. Three attempts with 2–6 ms settling still answer
0x56. - Payload shape is not it either.
PMGR_LOADcarries apatch_masku32 at0x10and succeeds; sendingVOLT_LOADin the same0x14form instead of the documented bare0x10still answers0x56. 0x56means "bad request", not "absent unit". A bare func-3 RPC to every unit id0x00..=0x20returns0x56— includingPMGR(0x18), which works fine with a real payload. So unit presence cannot be read from that probe.
Static analysis of 580.178.04 (objdump + relocations on nv-kernel.o_binary) shows what
the RPCs actually need:
_nv060702rm(VOLT_LOAD) beginscmpq $0x0,0x2120(%rdi)and returns0x3dearly when that pointer is null; the real path passes*(rm+0x2120)+0xf68as the device to the RPC sender._nv012207rm(BOARDOBJ_GRP_CMD) has the same null test and returns0x40.rm+0x2120is the VOLT device object, so both RPCs need it to exist first.- The RPC body is confirmed correct:
_nv060702rmzeroes0x14then0x10bytes, writes0x0e00(unit0x0eat+1) andmovb $0x3,0x2(func 3), then sends exactly0x10bytes — so the bare builder in this tree matches, and the0x14experiment was redundant. - That object is built by a construct chain dispatched through an ops table (no direct call):
_nv060807rm→_nv060808rm→_nv060704rm/_nv060971rm/_nv060941rm(device constructor)._nv060807rmis reached only via a data relocation at0x4dc7850. - Sweeping the
GRP_CMDcommand byte0..4againstVOLT_DEVICEreturns0x56for every value, so the command byte is not the discriminator either.
What is left is the PMU task stack itself: VFE -> THERM -> VOLT -> CLK -> PMGR -> PERF.
pmu_task_stack is bookkeeping only, the VFE_LOAD/THERM_LOAD payloads are not derived, and
the PMU init handshake (pmu_init/pmu_post_init, referenced from kernel/pci.rs) is never
invoked from the bring-up path. Until the stack is driven in order, 1290 MHz is the honest
ceiling here — 19% below the 1530 MHz stock reaches.
Same cap on two more boards (2026-12-04)
The signature is not specific to that machine. Two independent hosts, both at 5879d3b3, asking
for a lower 905 mV (NDIV 183 = 1372.5 MHz), so the payload differs from the 950 mV case above:
| Host | GPU | Kernel | dmesg |
|---|---|---|---|
| 10.1.1.200 | Tesla V100-PCIE-32GB (10de:1db6) |
7.0.0-44-generic |
GV100 PMU VOLT gpu=0x00000200 load=0xd6d6d6d6 get=0x56 set=0xffff uv=830000->905000 vid0_pwm1=0x000 |
| 10.1.1.122 | Tesla V100-SXM2-32GB (10de:1db5) |
6.8.0-151-generic |
GV100 PMU VOLT gpu=0x00000100 load=0xd6d6d6d6 get=0x56 set=0xffff uv=830000->905000 vid0_pwm1=0x000 |
Both then log GV100 P0 boost active: GPC 555.0 -> 1290.0 MHz, XBAR 1380.0 MHz and report
clocks.sm = 1290, while v100_p0_gpc_ndiv=183 and v100_p0_volt_uv=905000 are confirmed loaded
from /etc/modprobe.d/nvdriver.conf. HBM (v100_hbm_ndiv=82) does reach 1107.0 MHz on both, so
what holds is exactly the !volt_raised branch — not the divider, the NAFLL, or the V/F table.
Across PCIe and SXM2 packages, two kernel series, two gpu= ids and two target voltages the answer
is identical, which supports the conclusion above: the missing piece is the PMU task stack, not the
board or the RPC payload.
Installation notes (what the documented path needed here)
install.sh could not complete as shipped, for two reasons:
- Stock modules cannot be unloaded.
rmmod nvidia_drmfails within usewhile nothing holds/dev/nvidia*andlsof/fusershow no holders — the refcount is internal DRM/fbdev registration, and unbinding the vtconsole does not clear it. The installer's unload loop aborted underset -e. Patch: tolerate the failure and unbind the device from stock instead, then let the blacklist keep stock out at the next boot. - The udev rule only published
/dev/nvidiactl. NVML resolves the device through/dev/char/<major>:<minor>, sonvidia-smifailed with "GPU access blocked by the operating system" even though/dev/nvidiactlexisted and pointed at the right node. Patch:SYMLINK+="nvidiactl char/195:255"(andchar/195:%n,char/504:0,char/195:254for the GPU/UVM/modeset nodes).
The live-swap also leaves stale stock device nodes at /dev/nvidia* which shadow the udev
symlinks; delete them and re-trigger udev. A clean boot avoids both problems entirely.
Working configuration (persisted in /etc/modprobe.d/nvdriver.conf):
options nvidia_rs runtime_engines=1 pci_target=* v100_hbm_ndiv=82 \
v100_p0_gpc_ndiv=172 nvlink=0 enable_resizable_bar=0
nvlink=0 and enable_resizable_bar=0 are from the #160 workaround set; on a single GPU
without NVLink peers they are the conservative choice.
Operational behaviour
- Live clock writes work.
echo 78 > /sys/module/nvidia_rs/parameters/v100_hbm_ndivmoved the memory clock to 1053 MHz within a second, no reload. - Do not write clocks while a model is loading. Two consecutive engine starts died
(
native head upload: out of memory) when the divider was changed mid-load. Set clocks while the GPU is idle. - First start after boot is flaky. Twice the engine failed at bring-up
(
cublasCreate: cuBLAS status 3, oncenative head upload: out of memory) with the GPU otherwise idle and 0 MiB in use; the immediate retry succeeded and served normally at 12 GiB VRAM free. ARestart=on-failure/RestartSec=15drop-in papers over it. power.drawisN/Aand the power limit cannot be set (#136). The card enforces 300 W on its own. Do not tune against the power reading.nvidia-smiprocess table is empty while VRAM is demonstrably in use. (An earlier draft also claimedutilization.gpuwas stuck at 0%; that was sampled during model load and is wrong — it tracks load correctly, see the soak below.)- Going back to stock needs a reboot — the module refcount does not reach zero, so
rmmodrefuses after a workload has run.
Verification performed
nvidia-sminative, no namespace launcher:1107 MHzmem,1290 MHzSM,P0, 41–44 °C, 0 volatile ECC errors.- Survived a reboot: udev recreated
/dev/nvidiactland/dev/char/195:255, the module autoloaded with the tuned options, X (VNC) started, engine served, chat completed. - Concurrency: 4 simultaneous CUDA processes at 30.6 / 31.4 / 33.9 / 34.2 tok/s, no
0x65, no back-off. (Not the target workload — single-stream is — but it did not fall over.) - Clean
rmmodafter a single-process run in the VFIO harness:clean_unload: true. - The heaviest paging workload on this box (DeepSeek V4.1 Flash IQ1_M, 112 GiB, 32 GB card, expert streaming) loads in 60 s and serves coherently at 6.9 tok/s decode / 8.4 tok/s prompt — it runs, on a driver whose SM ceiling is 19% below stock's.
Harness changes carried in this branch
tools/vm/run_vfio_guest.py gained two opt-in options for large-model work in the guest,
both off by default so the stock parity-suite guest is unchanged on any host:
--home-mount PATHshares a host directory read-only over 9p at the same path.--extra-blk DEV[:MOUNTPOINT]attaches a raw block device read-only asvirtio-blkand mounts it in the guest (default mountpoints/mnt/extra0,/mnt/extra1, …). The guest loadsvirtio_blkand its dependencies first, staged into the initramfs only when a disk is attached. The device must contain an ext4 filesystem — the guest mount is hardcoded-t ext4 -o ro,noload, so an XFS or btrfs partition attaches but does not mount.
Plus NV_RS_VM_RAM_MB to override the guest RAM size, which the 4 GiB default cannot cover
for a 45 GiB expert set.
The reason the block path exists: 9p is single-threaded, and an 84 GiB model took >20 min
to load over it versus ~90 s over virtio-blk with cache=writeback; cache=none
(O_DIRECT) is ~10% slower again.
Reproduction
git clone https://github.com/nvdriver/nvdriver && cd nvdriver
git checkout cbaa0fe # the revision every number in this report was measured on
PATH=/usr/sbin:$PATH make modules uvm-bridge modeset-bridge
# NB: ./install.sh at cbaa0fe predates the two installer fixes (they landed in 627e607, which is
# newer): it aborts on a pinned stock module and does not publish /dev/char/195:*. Either run the
# install step from 627e607 or later, or apply those two changes by hand before installing.
sudo ./install.sh
# add the tuning options to /etc/modprobe.d/nvdriver.conf, then reboot
Bench (Strata, 256k, 4k prompt, 3 runs, warm cache) — swap --mmap-experts for the
resident arena as the workload dictates:
strata --pack <pack> --tokens-file <4k-ids> --native <shard1.gguf> --ple-gguf <shard1.gguf> \
--expert-profile <profile.bin> --expert-cache auto --mmap-experts \
--prefill 2048 --spec 4 --max-context 262144 --kv k8v4 --max-new 128 --stats
Stability soak
30 minutes of continuous load (llama-bench, 4B BF16, 512/512, 400 repetitions), telemetry
sampled every 30 s. This is the run that decides whether the card is safe to leave on this
driver.
| Metric | Result |
|---|---|
| Sustained utilisation | 94–96% |
| Peak die temperature | 71 °C (the driver steps GPC down at 80 °C) |
| Clocks | 1290 MHz SM / 1107 MHz HBM, no stepping |
| ECC | 0 corrected, 0 uncorrected across the whole run |
| Xid | none |
| Throughput | pp512 5228 ± 59, tg512 136.05 ± 0.06 |
| Cool-down | 41 °C at 0% utilisation afterwards |
The ±0.06 tok/s spread over 400 repetitions is the meaningful part: no drift, no silent throttling, no degradation as the run progressed. Nothing in dmesg.
For contrast, the adapter-board V100-SXM2-16GB in #136 settles at 84 °C at the same 1290 MHz and steps to 1200 MHz at ~80 °C. On a real server chassis (SYS-6028R-T, stock fans) the same silicon holds 71 °C, so that gap is the heatsink and airflow, not the driver.
Operational recovery notes
Two failure modes cost real time on this host and are worth writing down.
A stale BAR reservation blocks every subsequent bind. After a module unload/reload cycle the
device can end up with BAR 0 reserved by a driver instance that no longer exists. Symptoms:
echo <bdf> > /sys/bus/pci/drivers/nvidia_rs/bind fails with I/O error, dmesg shows
BAR 0: can't reserve [mem ...] and probe with driver nvidia_rs failed with error -16, and
reading /sys/bus/pci/devices/<bdf>/resource0 returns EIO even with no driver bound and the
device in D0. Rebinding does not clear it; rmmod nvidia_rs plus a fresh modprobe does,
because the unload releases the reservation.
A device handed to vfio-pci needs its BARs enabled and must be awake. A freshly bound device
comes up with Region 0 ... [disabled] in D3hot; QEMU then reports Failed to mmap BAR 0: Device or resource busy and every vfio_region_read fails, so the guest never probes the GPU.
echo 1 > enable plus echo on > power/control after the bind fixes that. Separately, rmmod
while the device is still bound leaks the BAR for the next guest — unbind first.
Telemetry that does work: utilization.gpu tracks load correctly on this build (94% under a
sustained llama-bench run, 0% idle). An earlier draft of this report claimed it was stuck at 0%;
that was sampled while the engine was still loading the model. power.draw stays N/A and the
process table stays empty — both real gaps, covered above.
Related issues
#58 (default OC), #63 (second process 0x65), #76 (PCIe instability at 82/78, live-write
wedge), #133 (bare metal NVML "blocked by the OS"), #136 (power limit / synthetic power),
#160 (SXM2 0x65, and the workaround set used here).