RTX 3060 (Ampere) + i7-7700K: world at ~1 fps (1233 ms/frame), 273 shaders do not translate, 14 compute pipelines refused, GPU hang and a null-write crash #886
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#886
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?
@Asenje on GitHub · 2026-11-24 13:29 UTC · original
Setup: Windows 11 build 26300.10075, Intel Core i7-7700K (4C/8T), 32 GB DDR4-2133,
NVIDIA GeForce RTX 3060 12 GB (Ampere, 32-lane waves), driver 32.0.16.2124 (621.24).
Retail title 1.0.2.1 (my own dump), game files and cache on NVMe.
Commit
ffe310eb20, release build and the samecommit as a diag build (VICTORY_LOG=victory_gpu=debug,info). victory.toml default
apart from game_dir.
What works: boot screens, intro video with sound, start screen, profile, loading
into the world, the first mission's intro cutscene.
World performance: window caption "1 fps 1233.1 ms/frame 664 draws/frame".
Compare #748 (Ryzen 7 5800X3D + RX 9070 XT): also ~1 fps there, on hardware 2-3x
faster than mine, so world frame time looks mostly independent of the hardware.
First run with a cold cache was CPU-bound (CPU ~98% on all 8 threads, GPU 4-22%).
Shaders that do not translate: 273 warnings in the run. By stage: 231 compute, 18 mesh, 24 other (vertex/pixel).
(#748 on RX 9070 XT: 282 compute, 14 mesh, 17 vertex/pixel.). Top reasons:
64 a lane mask holding lanes elsewhere read as data is not supported
43 a descriptor read only as data is not supported
33 a select on an untracked mask is not supported
31 an address in an SGPR that is no root parameter is not supported
28 a structured buffer of unknown stride is not supported
21 a scalar memory read as data is not supported
13 an address not from a root parameter is not supported
7 a 64-bit image atomic is not supported
Also seen: "image_gather4_l is not supported" (e.g. compute fc5e66f8f873d3bb,
0452fc2d2e2fc4c3).
NVIDIA-specific (cf. #817): 14 distinct pipelines refused by the driver, e.g.
dropped 24.0/frame without a host pipeline: refused [compute 660814153af43185]
dropped 24.0/frame without a host pipeline: refused [compute f8f50ab85e7b10bb]
dropped 22.0/frame without a host pipeline: refused [compute 0709e8356abd9082]
dropped 22.0/frame without a host pipeline: refused [compute e4576c6eca0f8ce3]
dropped 20.0/frame without a host pipeline: refused [compute a25ed0e3d4d521ba]
Largest non-refused drops in the world:
dropped 28.0/frame: compute 6f6a359d1166bb27, compute f28a33a89eaa2caa,
mesh 89a622617919c92a; 17.0/frame: compute 3b471c122be79b3e, 9f017d9011377efa;
16.0/frame: pixel 8ba01719b71d1d35
Crashes, two runs, both in the first mission's cutscene, two different failures:
victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there),
on a title worker thread:
#0 +0x23cf683 #1 +0x2215c35 #2 +0x2215eca #3 KERNEL32.DLL+0x2dda7
Just before it, the title's Breakpad tried to upload a ~30 MB crash payload to
submit.backtrace.io:443; VIctory blocked it as expected.
breadcrumbs ... (0x887A0006)" - the GPU hang the README warns about, on NVIDIA.
Not yet rerun with VICTORY_D3D12_DEBUG=1 / VICTORY_D3D12_DRED=1.
Note for other Windows testers: piping the diag build through PowerShell
(2>&1 | Tee-Object) slowed loading a lot and wrapped log lines; redirecting
with cmd /c "... > run.log 2>&1" was smooth.
Not covered: VICTORY_SHADER_LOOP_LIMIT, VICTORY_D3D12_DEBUG/DRED runs,
Series S mode, cargo test.
AI use: I ran everything on my machine; Claude (Opus 5.5) helped with setup,
the log queries and wrote this report from my outputs. No game files attached.
@MichaelSmithAI on GitHub · 2026-11-24 13:35 UTC · original
Three of your five named compute pipelines also appear in #817’s 103-hash list:
660814153af43185,f8f50ab85e7b10bb, anda25ed0e3d4d521ba. In that run the D3D12 debug layer identified a required wave size of 64 on a device with a maximum of 32 for every refusal. That gives those three an independently observed explanation on a 32-lane host. The other two examples,0709e8356abd9082ande4576c6eca0f8ce3, have no match in that list. #817 measurements and hashesIf you have the original creation warnings for those two hashes, those would help classify them. On
ffe310e, root-signature creation and compute pipeline creation log different warnings. The diagnostic at 1c0765f also logs the shader’s required wave size and the device maximum when it detects this mismatch. A native RTX A4500 test verified those fields with the debug layer off. This comparison accounts for dropped work; it does not identify the operation behind the later device removal or explain the 1,233 ms frame time. Diagnostic verification@KingKaom on GitHub · 2026-11-24 13:54 UTC · original
Per-command frame-cost attribution on RDNA4 (
VICTORY_GPU_TIMING). Diagnostics build on a stack of the open shader-coverage/lifetime PRs (incl. #180) atop a recent main;VICTORY_D3D12_DRED=1so commands are named. Caveat: the timing knob serializes each submission's lists while measuring, so absolute frame totals differ from uninstrumented frames — the split is the signal. Same stack without the knob: ~0.3 fps, 3.4 s/frame, 2.6–2.9 s of it "on the GPU".Measured across 86 world frames (serialized, median 1.1 s/frame, ~0.4 s GPU-busy), of ~128 s total slow-list time:
ExecuteIndirect= 68% of slow time:8bbcbda6008eaa37(35%) and776d835da5ffa646(33%) — 3–4 indirect dispatches per frame each at 100–250 ms apiece; in the median serialized frame these two take ~0.3 s + ~0.5 s between them. No single compute command anywhere exceeded 250 ms, so the multi-second GPU frame is many repeats of these, not one monolith.mesh 04b9be3756e8f41c+pixel 1af4a50c7fb40c97): single commands timed at 1032 / 508 / 389 / 372 / 3392 ms. The 3.4 s command dominates the worst frame (4.7 s, 4.1 s on the GPU) and recurs in the final frame before device removal.All three hot pipelines translate and execute (they are cost, not drops), and
VICTORY_SKIP_PIPELINEScannot A/B them — it filters direct dispatches while these run insideExecuteIndirect. The equal fps across vendors here, #748 and this thread despite 2–3x hardware spread fits the same picture: the bulk of world frame time is a handful of repeated indirect compute/mesh command families, not geometry throughput.@JFIREonFIRE on GitHub · 2026-11-24 14:14 UTC · original
On crash 1,
0xc0000005at+0x23cf683 (write 0x0): it's the title's own hang watchdog, not a null pointer.+0x23cf683ismov dword [0], 0x4d8bd421, a write to the literal address 0. It comes right after the title hands its fatal-error path the string "GPU Loc Sig".+0x2215a60(frame #1), is a watchdog thread. It sleeps 1 s per tick, compares a table of heartbeat timestamps against a 300 s limit, and after a 30-tick countdown calls that fatal callback.+0x2215c35is its fallbackint3in case the callback returns.The same site is mapped in #630. Open PR #454 adds an opt-in
VICTORY_NO_WATCHDOG, which lets a run continue past it and see what actually stalls. On NVIDIA one stall is the GPU hang in #71/#578: wave64 computeeeed82b877b44b5fhangs 32-lane cards. A rerun withVICTORY_D3D12_DRED=1would show whether that's what you hit.AI-assisted (Claude Code). Static reading of 1.0.2.1.
@Asenje on GitHub · 2026-11-24 15:47 UTC · original
Thanks, that analysis helps a lot.
One correction for anyone planning an A/B: on
ffe310e, VICTORY_SKIP_PIPELINESis already checked for indirect work too. State::execute_indirect
(crates/victory-gpu/src/draw.rs) calls pipeline::is_skipped before the
argument clamp, so 8bbcbda6008eaa37, 776d835da5ffa646 and the
04b9be3756e8f41c / 1af4a50c7fb40c97 pair can be skipped in a diag build.
What I plan to run next on this machine (RTX 3060 12 GB, Series X mode,
ffe310e):VICTORY_D3D12_DRED=1 run to see whether the hang is eeed82b877b44b5f.
ffe310e(it applies cleanly) in Series X mode: does thehang go away on a 12 GB card, and does it reach the 1,000,000 view-heap cap
from #904?
VICTORY_SHADER_LOOP_LIMIT=4096.
black frame.
To avoid repeating work, could you (or anyone who has tried these) post a short
summary?
(even "no change" is useful).
AI use: Claude (Opus 5.5) helped read the code and draft this comment.
@KingKaom on GitHub · 2026-11-24 16:28 UTC · original
Two answers from an RDNA4 host (for the "which of 2–4 have been measured" ask) — plus a note on the earlier
VICTORY_SKIP_PIPELINESclaim in this thread: correction accepted, the indirect check is real on the current head.Item 3 measured as a same-binary A/B (diag build, open shader-coverage/lifetime PR stack,
VICTORY_SKIP_PIPELINES=8bbcbda6008eaa37,776d835da5ffa646,04b9be3756e8f41c,1af4a50c7fb40c97, world steady state):So skipping all four removes ~60% of the measured GPU-side frame work (~100 ms) and moves fps 1.1 → 1.2: on this box the world frame is CPU-prepare-bound (title-copy refresh), not indirect-command-bound. The cold-cache 98%-CPU / 4–22%-GPU observation in the issue body fits the same picture on NVIDIA.
Item 4 (
VICTORY_DUMP_TARGETSon in-world frames, same stack): the world is drawn — two 2560×1440 render targets on the presented frame hold full scene content (terrain, vegetation, structures) — while the presented backbuffer of that same frame is pure black apart from the HUD hint overlay. On RDNA4 the black frame is therefore the final present/post step failing, not world geometry never drawing (and not only untranslated world shaders). No Series X mode and no sub-16 GB card tested here.AI-assisted (Hermes Agent)
@Asenje on GitHub · 2026-11-24 20:28 UTC · original · edited 2026-11-24 20:29 UTC
Follow-up with two more runs. Same setup: RTX 3060 12 GB, i7-7700K, Series X,
integration/testersupdate 9 + the most-draws pick. This time the four instance-culling programs that update 9 translates for the first time were skipped (VICTORY_SKIP_PIPELINES=17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5).0x80000003at+0x5149aec0xc0000005at+0x4fafeae, read0xffffffff00000000, in the prologue lead-out cutsceneSo with those four programs running, INSTANCE_LIST fills and the title kills itself. Without them, the pool stays below 40%. E then faults elsewhere: a deep recursive walk (10 frames inside
+0x4faf6a0…+0x4fafeae) reads a0xffffffffindex as an address. That may be the CPU side reading culling output that is no longer written, but I haven't confirmed it.Unsignaled CrossQueueBarriershowed up in the crash context of B and E.Performance and picture (same runs). With the fallback the window shows the prologue yard in false colour (chairs, poles, power lines, picnic tables, hoops; no ground or buildings). Task Manager: all 8 threads at 100%, GPU at 1–13%, driver 32.0.16.2124. Medians over world frames:
--console series-sgives no speed-up on 4 cores. ~1,200 pipelines were stillbeing madeat the end of each of the first three runs; after D the pipeline library held 917 and E started with only ~100–400 left to build.Two side notes. The process reaches ~48–50 GB of system commit after ~20 min (32 GB RAM), so the default page file is not enough for long runs. XMP on 4×DIMM fails POST here (Dr. Debug
55), so these numbers are at DDR4-2133.AI-assisted (Claude): log analysis and wording. All runs on my machine with my own copy.
@Asenje on GitHub · 2026-11-24 22:02 UTC · original
Closing the loop on this box (RTX 3060 12 GB, i7-7700K 4C/8T, Series X): the lit world now runs here on fxceless/victory-fork (a fork of this repo,
4e17478).ffe310egave 1.9 s per frame on the same box, with ~1.3 s in copies.For upstream, the fork's changes most relevant to this issue are its copy-back and submission path (
VICTORY_LATE_WAIT,VICTORY_CARD_BUFFERS_*) and its meshlet-culling and descriptor fixes. fxceless/victory-fork#126 maps them against upstream's recent commits.AI-assisted (Claude): log analysis and wording. Runs on my machine with my own copy.
@Marvisak on GitHub · 2026-11-25 06:58 UTC · original
Automated triage for the maintainers.
A complete run report (RTX 3060 12 GB, driver 621.24, Windows 11 26300,
ffe310erelease and diag, how far it got, the error texts), with useful follow-ups. The failures it shows are each tracked elsewhere:DEVICE_HUNG(0x887A0006) in the world on NVIDIA and the refused 64-lane compute pipelines: #71, the oldest complete report (refusal reasons in #817).INSTANCE_LISTat 45000/45000: #698.Much of what these runs measured has changed on
mainsinceffe310e; a run on currentmainsaying which of these still happens would be the most useful next data point.Generated by Claude Code