open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

RTX 5090: a finite memory-clock maximum silently constrains XBAR/SYS and changes performance by up to 32%

Open Loong0x00 opened this issue 4 months ago • 5 comments

NVIDIA Open GPU Kernel Modules Version

610.43.03 (nvidia-open-dkms 610.43.03-3)

Proprietary-driver comparison

Not applicable on this hardware: the tested GPU is Blackwell and the installed R610 stack uses the open kernel modules. The same GPU cannot be tested with the legacy proprietary kernel module.

Operating System and Version

Arch Linux

Kernel Release

7.1.4-arch1-1 (stable release)

Hardware: GPU

  • NVIDIA GeForce RTX 5090 (GB202)
  • PCI device ID: 10de:2b85
  • PCI subsystem ID: 1043:89e3
  • VBIOS: 98.02.2E.40.E0
  • GSP-RM: enabled
  • Board power limit during the controlled runs: 600 W

Describe the bug

On this RTX 5090, installing any finite maximum in NVIDIA's memory locked-clock range changes unrelated XBAR/SYS/shared-rail state even when the maximum is above the memory clock actually reached by the GPU.

The public symptom is a large, repeatable performance regression after nvmlDeviceSetMemoryLockedClocks() / nvidia-smi -lmc. Resetting the memory locked clocks restores normal behavior.

The decisive isolation is the maximum half of the range:

  • a 15000 MHz minimum alone does not reproduce the regression;
  • a 15000 MHz maximum alone does;
  • a non-binding 16000 MHz maximum also does, while actual MCLK remains approximately 15001 MHz;
  • XBAR collapses from approximately 2356 MHz to approximately 1493 MHz and SYS from approximately 2332 MHz to approximately 1500 MHz;
  • no Xid, thermal slowdown, hardware slowdown, power-brake slowdown or software-thermal slowdown occurs.

This is not simply a conventional power-sharing effect. In the path-traced workload, board power falls by about 146 W and remains far below the unchanged 600 W limit while performance falls by about 15.5%. In FurMark, the same low-XBAR state makes the reported core clock rise, while measured rendered throughput falls by about 32%. It can therefore also produce false overclock-stability conclusions if only reported GPU clock is observed.

Public reproduction

  1. Reset memory locked clocks:

    sudo nvidia-smi --reset-memory-clocks
    
  2. Run a repeatable GPU benchmark and record benchmark throughput plus GPU, memory, XBAR/SYS (if available), voltage and board-power telemetry.

  3. Install a memory locked-clock range whose maximum is above the MCLK actually reached by the workload. On this card with a +2000 MHz memory offset, actual MCLK is approximately 15001 MHz, so the following maximum is non-binding:

    sudo nvidia-smi --lock-memory-clocks=15000,16000
    
  4. Run the identical benchmark again.

  5. Reset the range:

    sudo nvidia-smi --reset-memory-clocks
    

The independent report linked below used nvidia-smi -lmc 810,16001 on another RTX 5090 and observed the same approximately 2500-2600 MHz core ceiling; nvidia-smi -rmc restored the normal state.

The controlled measurements below used the exported NVML control directly so that the minimum and maximum records could also be isolated independently. LACT was used for the ordinary paired-range A/B; it submits the same NVIDIA NVML API and is not suspected to be the source of the behavior.

Controlled Cyberpunk 2077 result

All runs used Cyberpunk 2077 2.31, its built-in benchmark, 6144x3456, Path Tracing, the same 127-point GPU V/F curve, the same +2000 MHz memory offset, and the same 600 W board limit.

Request Avg FPS GPU MHz 1 s board W Actual MCLK MHz XBAR MHz SYS MHz Observed shared branch voltage Normalized branch workload Estimated branch power
MIN only, 15000 11.7864 2893.7 560.6 15001 2356.0 2332.4 967.2 mV 257.3 188.2 W
MAX only, 14000 9.6948 2778.8 406.7 15001 1440.0 1238.7 870.0 mV 372.3 281.1 W
MAX only, 15000 9.9580 2774.7 414.2 15001 1493.6 1501.0 870.0 mV 369.2 275.1 W
MAX only, 16000 9.8533 2787.1 413.7 15001 1492.7 1500.0 870.0 mV 356.5 278.4 W

MAX-only 15000 versus MIN-only 15000 changes:

  • average FPS: -15.51%;
  • average GPU clock: -4.11%;
  • one-second average board power: -26.11%;
  • XBAR: -36.60%;
  • observed shared-branch voltage: -10.05%;
  • normalized branch workload: +43.49%;
  • estimated branch power: +46.17%.

The 16000 MHz result is the important counterexample to an ordinary frequency cap: physical MCLK remains approximately 15001 MHz, but merely having a finite, non-binding maximum produces almost the same XBAR/SYS, voltage, performance and power state.

An ordinary paired-range A/B, with the V/F curve and memory offset byte-identical between states, produced:

State Average FPS Minimum FPS Maximum FPS GPU clock min/avg/max GPU voltage min/avg/max 1 s board power min/avg/max
Custom V/F, +2000, no memory lock 11.8993 10.3161 13.9809 2827 / 2888.1 / 2932 MHz 945 / 970.6 / 990 mV 505.8 / 556.7 / 590.8 W
Same settings, memory locked at 15000/15000 9.9443 8.9323 11.3875 2715 / 2770.0 / 2827 MHz 905 / 916.8 / 935 mV 396.7 / 414.6 / 438.3 W

Adding only the paired memory lock reduced average FPS by 16.43% and average board power by 142.1 W. Independent 50 ms telemetry showed 97.6% average GPU utilization unlocked and 99.2% locked, so this was not caused by the workload becoming CPU-bound.

FurMark Vulkan throughput counterexample

A separate 3840x2160 Vulkan FurMark A/B tested whether the low-XBAR state itself is causal. The benchmark settings, MCLK (15001 MHz) and GPU configuration were unchanged.

State Score FPS min/avg/max Loaded GPU MHz Instant board W
No temporary clock limit 2548 250 / 256 / 263 approximately 2588 approximately 601
XBAR maximum 1493 MHz 1725 171 / 173 / 177 approximately 2952 approximately 566

The low-XBAR state reduced average rendered FPS by 32.42% even though the reported GPU clock increased by roughly 364 MHz. This is why the issue is more serious than a simple lower boost clock: reported clock can move in the opposite direction from actual useful work.

Under the same FurMark load, a non-binding MCLK maximum and a direct XBAR maximum entered the same downstream controller state to measurement precision:

State Observed shared-branch MHz Voltage Normalized workload Estimated branch power DG0 target
MCLK MAX 16000 1498.2 870.0 mV 526.2 234.1 W 3018.9 MHz
XBAR MAX 1493 1492.3 870.0 mV 522.4 233.8 W 3021.8 MHz

This establishes that the MCLK maximum is sufficient to impose the low-XBAR/shared-rail state, and that the low-XBAR state is sufficient to reproduce the abnormal estimator/throughput behavior.

Observed controller chain

Read-only power-policy and clock-topology telemetry is consistent with the following sequence:

finite MCLK maximum
  -> XBAR/SYS/shared-rail range constraint
  -> observed shared branch falls to about 870 mV and 1.44-1.49 GHz
  -> workload normalization rises because it is normalized against that low state
  -> the candidate evaluator applies the larger normalized workload at a much
     higher candidate frequency/voltage
  -> estimated branch power rises despite actual board power falling
  -> WORKLOAD_COMBINED_2X changes the GPC target

For MAX-only 15000 in Cyberpunk:

observed shared branch:  1493.6 MHz / 870.0 mV
candidate branch state: 2553.3 MHz / 1091.2 mV

The active clock topology remains unchanged and contains bidirectional shared-voltage-rail relationships between MCLK and XBAR and between MCLK and SYS. This looks like unintended cross-domain coupling or incorrect handling of a non-binding finite endpoint, rather than a user-requested XBAR cap.

Expected behavior

A finite memory maximum that is above the memory clock actually reached by the GPU should not silently impose a much lower XBAR/SYS/shared-rail state, change an unrelated performance model, leave substantial board-power headroom unused, or make reported GPU clock diverge from rendered throughput.

If this behavior is intentional, the NVML and nvidia-smi documentation should state that a memory locked-clock range can constrain XBAR/SYS and globally alter Blackwell's performance estimator even when the maximum is non-binding.

Independent reports and related measurements

  • Independent RTX 5090 reproduction using nvidia-smi -lmc 810,16001; core boost falls to approximately 2500-2600 MHz and nvidia-smi -rmc restores it: https://www.reddit.com/r/techsupport/comments/1ml5pz1/im_looking_for_a_way_to_increase_the_5090s/
  • RTX 5090 VRAM-OC/latency report; the author later found a reproducible 1% low correlation and noted the effect below the board power limit: https://www.reddit.com/r/overclocking/comments/1kxt2mj/vram_overclocking_and_latency_problems_on_rtx_5090/
  • RTX 5090 core-versus-memory OC discussion with multiple users observing core-clock/power interaction: https://www.reddit.com/r/overclocking/comments/1jyjmqo/5090_uvoc_memory_or_core_which_to_prioritize/
  • RTX 5090 XBAR measurements across VBIOSes and core-frequency ranges: https://www.hardwareluxx.de/community/threads/offizieller-nvidia-rtx-5090-overclocking-und-modding-thread.1363289/page-142
  • LACT-side controlled A/B and raw-artifact inventory: https://github.com/ilya-zlobintsev/LACT/issues/1128

These community links are corroboration only. The causal minimum/maximum isolation, non-binding-maximum test and direct XBAR equivalence above were measured on the system described in this report.

Additional information

A fresh nvidia-bug-report.sh --safe-mode archive was collected on driver 610.43.03. Complete benchmark summaries, per-sample telemetry, read-only power-policy captures and the exact configurations are available if NVIDIA wants the raw artifacts.

Loong0x00 avatar Jul 28 '26 15:07 Loong0x00

Hi @Loong0x00 I attempted to reproduce the issue on a CachyOS system using driver 610.43.02 and GPUs RTX 5090 / 5070 Ti and tested below workload but could not observe perf degradation. Cyberpunk 2077 built-in benchmark FurMark benchmark

Test procedure:

Reset memory clocks using: sudo nvidia-smi --reset-memory-clocks

Ran the benchmark and captured the baseline FPS and GPU telemetry.

Applied the customer-reported memory clock range using: sudo nvidia-smi --lock-memory-clocks=15000,16000

Re-ran the same benchmark and captured FPS, memory clock, graphics clock, GPU utilization, power draw and P-state.

Reset the memory clocks again and repeated the benchmark to check recovery.

Enabled persistence mode during additional testing to keep the clock configuration active between runs. Could you please confirm repro frequency and share nvidia bug report so that I can match exact config internally .

amrit1711 avatar Aug 03 '26 06:08 amrit1711

Hi @Loong0x00 Could you please help to confirm repro frequency and share nvidia bug report so that I can match exact config internally.

amrit1711 avatar Aug 10 '26 08:08 amrit1711

@amrit1711 I reran the public repro and can reproduce it deterministically. I also enabled persistence mode for the test, as in your additional runs.

Fresh environment:

  • Arch Linux, kernel 7.1.6-arch1-1
  • NVIDIA Open kernel module / GSP-RM 610.57.04
  • RTX 5090, current VBIOS 98.02.2E.C0.0F, subsystem 1462:530B
  • identical 127-point V/F curve, +2000 MHz memory offset and 600 W power limit in every state
  • unlocked state: sudo nvidia-smi --reset-memory-clocks
  • locked state: sudo nvidia-smi --lock-memory-clocks=15000,16000
  • test order alternated U1/L1/U2/L2 for Cyberpunk and U1/L1/U2/L2/U3/L3 for FurMark

The custom V/F curve is part of the reproducer. The adapted LACT configuration used in all fresh runs has SHA-256:

f44bd358f5df03a971d969c41c5a538bbd8d626fe4236a7f25f53dcb0dbc3e09

Cyberpunk 2077 2.31, 6144x3456, path tracing enabled, no frame generation:

Pair State avg FPS min/max FPS physical MCLK XBAR avg SYS avg reported GPU avg voltage avg 1 s board power avg GPU util
1 unlocked 11.7215 10.2244 / 13.6559 15001 MHz 2429.9 MHz 2269.4 MHz 2832.8 MHz 972.2 mV 600.0 W 96.6%
1 15000-16000 10.3288 9.4683 / 11.7779 15001 MHz 1628.8 MHz 1486.0 MHz 2956.8 MHz 1018.2 mV 571.2 W 98.6%
2 unlocked 11.6946 10.1917 / 13.7253 15001 MHz 2423.2 MHz 2266.1 MHz 2830.6 MHz 971.4 mV 599.7 W 97.2%
2 15000-16000 10.3784 9.4928 / 11.8559 15001 MHz 1628.8 MHz 1486.0 MHz 2956.9 MHz 1017.4 mV 572.6 W 97.0%

Cyberpunk reproduction frequency is 2/2 pairs. Mean unlocked/locked FPS is 11.7080 / 10.3536, a 11.57% loss. The physical memory clock remains approximately 15001 MHz, so the requested maximum is non-binding. The finite range nevertheless moves XBAR/SYS to the lower state. In this fresh run the reported GPU clock increases while rendered performance decreases.

I also repeated the original FurMark control using FurMark 2.10.2 Vulkan at 3840x2160, with its fixed warm-up followed by a 10-second scored interval:

Pair State Score min/avg/max FPS physical MCLK XBAR avg SYS avg reported GPU avg
1 unlocked 2412 236 / 242 / 248 15001 MHz 2300.3 MHz 2138.5 MHz 2411.4 MHz
1 15000-16000 1911 186 / 190 / 194 15001 MHz 1628.6 MHz 1486.1 MHz 2918.7 MHz
2 unlocked 2404 236 / 241 / 244 15001 MHz 2303.0 MHz 2144.1 MHz 2417.3 MHz
2 15000-16000 1915 155 / 189 / 194 15001 MHz 1628.4 MHz 1485.8 MHz 2915.5 MHz
3 unlocked 2404 231 / 240 / 244 15001 MHz 2302.5 MHz 2143.4 MHz 2401.6 MHz
3 15000-16000 1916 174 / 190 / 197 15001 MHz 1628.1 MHz 1485.6 MHz 2919.5 MHz

FurMark reproduction frequency is 3/3 pairs. Mean unlocked/locked FPS is 241.00 / 189.67, a 21.30% loss. Again, MCLK does not change, XBAR/SYS collapse, and the reported GPU clock rises by about 500 MHz while useful throughput falls.

Across all five formal A/B pairs:

  • there was no thermal slowdown, hardware slowdown, power-brake slowdown or software thermal slowdown;
  • the private RM PERF-limit query reported zero active limits;
  • no new NVIDIA Xid appeared in the kernel log;
  • the exact pre-test LACT configuration was restored byte-for-byte afterward, and the public MCLK range was reset.

The original report was captured on the exact issue configuration (610.43.03, kernel 7.1.4, VBIOS 98.02.2E.40.E0, subsystem 1043:89e3). The attached bundle contains that original full nvidia-bug-report plus fresh full unlocked, locked and recovered reports from 610.57.04. It retains all 836 files from the local raw archive (885 archive entries): per-run native benchmark output, 30-50 ms telemetry, XBAR/SYS measurements, PMU policy data, PMGR channels, every pre/post state capture, kernel logs, configurations, scripts and SHA-256 manifests. It also contains the generated report, CSV/JSON aggregates and an independent verifier that recomputes the claims from the raw files.

For public disclosure, only non-diagnostic identity values were replaced: username/home path, hostname, MAC addresses, machine/filesystem/GPU UUIDs, DMI/PCIe/USB/storage serial numbers and credential-like desktop environment values. No diagnostic section was removed. The included privacy audit reports zero findings, and the included independent evidence verifier reports PASS.

Attached public evidence bundle SHA-256:

19390dac72556647e524119a5bd6759e4ed9f669e95bf44fed894e6ad0f80d78  issue1266-public-evidence-20260810.zip

issue1266-public-evidence-20260810.zip

Loong0x00 avatar Aug 10 '26 14:08 Loong0x00

Hi @Loong0x00 I am to duplicate performance drop issue on my test system, shall share further feedback once engineering update is available.

State Score Avg FPS (min/max) Graphics Memory Power GPU util
A unlocked (--reset-memory-clocks) 23036 384.0 (372 / 394) ~2422–2445 MHz 14001 MHz ~575 W ~95%
B locked (14001,16000) 20646 343.9 (325 / 351) ~2550–2557 MHz 14001 MHz ~516–540 W ~96%
C recovered (--reset-memory-clocks) 23104 385.2 (372 / 395) ~2422–2460 MHz 14001 MHz ~575 W ~95%

amrit1711 avatar Sep 15 '26 13:09 amrit1711

This also reproduces on driver 615.71.09 with ~38% loss in memory bandwidth.

System: RTX 5090 FE, VBIOS 98.02.2E.00.03, open kernel modules / GSP 615.71.09, Ubuntu 26.04.1, kernel 7.0.0-38-generic, 400 W power limit.

Memory clock state Read GB/s Copy GB/s Reported SM / MCLK, MHz Board W, read / copy P-state Clock event reasons
unlocked (-rmc) 1706 1536 2895–2910 / 14001 315–329 / 330–339 P0 Reliability (0x400)
-lmc 14001,14001 1058–1060 1285–1289 2895–2910 / 14001 251–258 / 285–293 P0 SW Power Cap (0x4), Reliability
-lmc 7001,14001 1061 1285 2895–2910 / 14001 253–257 / 287–292 P0 SW Power Cap, Reliability
NVML min 7001, max NVML_CLOCK_LIMIT_ID_UNLIMITED 1060–1061 1285 2895–2910 / 14001 255–256 / 289–290 P0 SW Power Cap, Reliability
  • Same loss under every lock.
  • The reported clocks don't show it: SM and memory clocks read the same.
  • Lower power with SW Power Cap.
  • NVML_CLOCK_LIMIT_ID_UNLIMITED behave the same way: Attempted nvmlDeviceSetMemoryLockedClocks(7001, NVML_CLOCK_LIMIT_ID_UNLIMITED) returns NVML_SUCCESS, and the 7001 MHz floor takes effect (idle at P3). NVML documents the symbolic IDs only for GPU locked clocks, so the driver may also store the maximum as a finite value, which would fit the finding.

intel00000 avatar Oct 17 '26 10:10 intel00000