8 GB Turing: SM active ~54 % with ~870 full-card waits per frame; cause not established #2640
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Jesper-Andersson on 2026-11-29T15:22:48Z.
(Searched first: open PRs #1776 QUIET_WAITS, #1851 WAIT_SHARE, #1852 UAV_FOLD, #1890 JOIN_BARRIERS, #2360 scoped clamp barriers, #2359; issue #2098 (RTX 3090 Ti profiling notes) reports the same shape on another card and is linked below. This issue is a measurement for them, not a competing fix.)
What you see
About 17 fps (PresentMon, last 180 s of the run), median frame 55 ms, p95 77-87 ms. Open world, Series S profile, DLSS Performance, frame generation off. Warm shader cache from earlier runs.
Two of our measurements show the same shape. We have not established what causes it.
waits for every earlier shader write):VICTORY_INDIRECT_MERGE=1, which was off.)New: the title-side wait switches have little to remove on this scene. We ran
VICTORY_BARRIER_STATS=2(barstat.rs in upstream main) with our ports of QUIET_WAITS (#1776), UAV_FOLD (#1852) and WAIT_SHARE (#1851) on. In that run JOIN_BARRIERS=1, INDIRECT_BATCH=3 and ALIAS_DIRECT=1 were also on.VICTORY_THIN=1). We have not found out why it never acts here.We have not measured how many milliseconds the waits cost. The only on/off pair for the three switches together was −0.38 fps and p95 +4.7 ms, from separate launches with GPU timing on. That is n=1 and inside our noise, so it is not a result.
GPU and driver
RTX 2070 SUPER 8 GB (Turing, wave32), driver 621.40, Resizable BAR off, GPU clock locked at 1890 MHz.
CPU, RAM and Windows version
Ryzen 7 5800X (8 cores / 16 threads), 32 GB, Windows 11 Pro 10.0.26320.
VIctory release or commit
Not a release. A diagnostics build of our branch, based on upstream main
568c5e5d(2026-11-28), which is older than current main829188e9. Our ports are on top of it, and their new behaviour is off unless the log header lists it. The QUIET_WAITS, WAIT_SHARE, UAV_FOLD and JOIN_BARRIERS code is our port of the open PRs above. The BARRIER_STATS run used our earlier round-4 tree on the same base.Settings
Series S, 1440p output, DLSS Performance, frame generation off, no frame cap, ray tracing off,
VICTORY_SKIP_BINK=1. Our launch set includesVICTORY_INDIRECT_BATCH=2 VICTORY_INDIRECT_WINDOW=1 VICTORY_THIN=1 VICTORY_CARD_STEPS=2 VICTORY_JOIN_PARTS=8 VICTORY_RELAY=2 VICTORY_SLOT_EVICT=1 VICTORY_SPANS_QUICK=1 VICTORY_TEXTURE_STAGE_MS=32 VICTORY_WATER_LIGHT=0(full list on request). Diagnostics build for the counts.Logs
No crash occurred, so there is no crash log. The full play logs are not attached because they name the title. Excerpt from the BARRIER_STATS=2 run (title-specific lines removed, paths removed, long lines shortened with
...):Lines are from one log and not in time order. This excerpt is the BARRIER_STATS=2 run with the skip switches on; the counts in the text above (~870 waits, 198 clamp-bracketed indirect commands, ~250 after nothing that writes) are from the two 18-minute windows with those switches off, so the excerpt's counts (146-149 bounded plus 42 batched, 201 after nothing that writes) differ. The UAV_FOLD line shown is the most common one in that run (76 of 93 periodic lines). The log with the bundle switches off, and the full switch list, are available on request.
Are you working on a fix?
No. No fix claimed, we are not working on one, and there is no
/claim.Related
Spec dependence
What would settle it (asks only, no fix claimed)
Sources
Causes (hypotheses, not measured)
Not tested
Per-wait GPU cost; #2360 on this card with fps scored; frame generation on; ray tracing; other cards.
Drafted with AI assistance (Claude Code); measurements are ours.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-29T15:22:58Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by gioeleBrancaleoni on 2026-11-29T18:58:21Z.
Same shape here, with numbers for your two asks and one thing that may explain the "GR active high, SM low" part.
Ampere (RTX 3090 Ti, Ryzen 7 9800X3D, Series S profile, opening of a new game, spinner off): Nsight GPU Trace: graphics engine active ~99 %, SM throughput 15.6 % (10-20 % across traces), front end stalled in wait-for-idle ~29 %, ~650 go-idles a frame of which ~560 fall at a barrier call. So yes: SM well under half on Ampere too, and lower than your Turing figure.
What the frame actually waits for (measured since #2098's first post, details in the comment there):
monitorx/mwaitxloop on the value at a fence's GPU address (fence vtable slot0x60, ourfence::gpu_address). The title's job threads are 80-95 % idle. The title is waiting for our fence signals, not working.Signalto our fenceset: 27-35 ms mean (peaks 50-140), ~450 a second on the busiest fence. 19-25 ms of it is the signal queued behind the submitting thread's serial preparation of the submissions ahead of it; ~8 ms is the card plus the copy-back.VICTORY_SUBMIT_FRAMES=1(the default) the title's present waits for our line to be one present deep, 20-39 ms a frame here.VICTORY_SUBMIT_FRAMES=2brings that to 0 ms, but then the line's thread works 27-30 ms per 25.6 ms frame and fps stays the same (39.1 / 40.7 vs 39.0). We are now measuring both together.Our reading, which ties to your hypothesis 2: the frame is a CPU-GPU loop (the title waits for GPU work N through our fence, records N+1, we prepare it, the card runs it, the copy-back lands, the fence is set). Each leg idles part of the frame, which gives a card that is "active" for long stretches while its SMs wait. In the trace the GPU work of a frame took 16-16.7 ms against a ~25 ms present interval. We have not checked either whether GR active counts the time the card waits for the next submission.
Barrier waits: same conclusion as you so far. Dropping all global UAV barriers (unsafe, measuring only) took go-idles from 850 to 770 with no fps change. We have no per-wait GPU cost on Ampere either.
(If useful:
VICTORY_PROFILE=<from>,<to>,<ms>,<file>in a diagnostics build plus dbghelp on the diag PDB is how we found themwaitxloop; the diag timeline counts that memory polling as the title's own work, so it hides this.)