Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#378
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?
@enzornd19 on GitHub · 2026-11-25 00:10 UTC · original
Thanks for the fork, it gets much further than upstream main on this machine. Report from a 16 GB box, in case the RAM side is useful.
Setup
b99f876b74d4a77f…), Series X profile2119b0e(main) plus upstream Marvisak/VIctory#454 (VICTORY_NO_WATCHDOG), applied as a diff; it merges cleanly (3 files) and loggedtitle watchdog hooks (VICTORY_NO_WATCHDOG) applied=2cargo build --release -p victory --locked);cargo test --workspace --lockedon2119b0e: 496 passed, 0 failed, GPU tests on hardwareVICTORY_NO_WATCHDOG=1,VICTORY_TEXTURE_GUARD=0,VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_CARD_BUFFERS_MB=1024(the #148 set, no relay)Offline translation on this card (
VICTORY_HOST_MAX_WAVE=32 victory translate --pipelines)E_INVALIDARG, 1 out of memory)Without
VICTORY_HOST_MAX_WAVE=32, 392 compute pipelines are refused (the offline tool translates for any wave size), so that variable matters when comparing offline numbers on NVIDIA.Runs (same day, consecutive, warm caches carried over)
0xc0000005at+0x23cf683(write 0x0) during world load, i.e. the title's watchdog0x80000003at+0x5149aec, game time 7m150x80000003at+0x5149aec, game time 7m000x80000003at+0x5149aec, game time 6m48The pipeline library grew 66 MB → 237 MB over these runs; on run 6 every pipeline was loaded or made within the first minute in the world.
Since the fixed 48 GB page file, free commit never dropped below ~8 GB (mostly 20+ GB), and with #454 the watchdog stop is gone. What remains is the pool stop.
Run 6 in numbers (world frames once all pipelines existed, 49 samples)
262.9 ms/frame (135.3 preparing: copies 53.8 ms 74.9 MB, textures 47.7 ms 114.9 MB; 61.0 on the GPU; 26.3 copying back 23.4 MB), 3323 draws/frame, dropped 436 without a host pipeline (0 being made)The title's own crash report at the stop (run 6)
Stack, identical on all three
0x80000003runs (several threads at once):+0x5149aec,+0xa5db22,+0x5453ac7,+0x23d0f9a,+0x23d1211,+0x257035e,+0x221c29c,+0x2215eca. This matches Marvisak/VIctory#698 (stop at ~6.5–7 min, pool full, still in the intro prestream). Streaming requests at the stop went 1,803 (run 5) → 379 (run 6), so the prestream gets closer but does not finish before the pool fills.What is still dropped (run 6)
Untranslated in the run:
2fd01fca169930016b6db9f1a526daeb38bf0814e721a1b3f133e35efed2a48aceb5eb68cd99cb07a929109552ce1e84v_permlanex16_b326f225b641c5b0708,5dc3b25986622949v_cvt_f32_f64Host pipelines refused (
E_INVALIDARG): compute02384a60fda6f2d0,2cc4c197ee29e291,2da4beb386509b77,369cbe906ea72764,6b82bc7d22016cb5.With nothing left to build, the ~700 dropped draws per frame should come from these, mostly the two pixel programs on "descriptor read only as data" (as in #279). Per #698, dropped draws/dispatches leave instance lists unretired, which would explain the pool filling at the same point every run.
What it looks like
VICTORY_TEXTURE_GUARD=0removes it completely here too (confirms #269 on a second RTX 5060 Ti).Possibly useful
@alexodee on GitHub · 2026-11-25 11:09 UTC · original
A second 16 GB machine with the same stop on
2119b0e, and three later runs without it.Setup: RTX 3070 Ti Laptop 8 GB (driver 596.36), i7-12700H, 15.7 GB RAM, Windows 11, diagnostics build, Series X profile,
VICTORY_SHADER_LOOP_LIMIT=16384, every run from the same save at the beginning of the game.2119b0e2119b0e+ 7 open PRsVICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1, card buffers 1 / 512 MBTimes are from the first log line. In the four stopped runs the title's own report shows the same full pool as here. The frame time differed by almost a factor of two and the time of the stop hardly did, which fits a fixed point of the cutscene (the conclusion on Marvisak/VIctory#698).
The handler is opt-in: on an
int3followed by an instruction that zeroes a register, the exception handler goes on at that instruction, so the allocator returns null. It does not patch the title and needs no list of places. It is the same idea as theVICTORY_POOL_NO_ASSERThook posted on Marvisak/VIctory#698, so I am not proposing it as a PR. A caller that does not expect null could still fault later. None did in that one run.Newer bases: with the handler still on, it was never hit in one run on
8dd30aband two ona26859f(22, 25 and 25 minutes, complete cutscene, same save). So the pool did not run dry there. I cannot say why: these runs also have other PRs (#51, and #610 withVICTORY_TEXTURE_DROP_MIPS=1) and other switches. A run on currentmainwithout any hook on your machine would be a useful check.For #222: on this machine, skipping the four programs on
2119b0edid not avoid the stop (one run).Limits: one machine, one run per row.
AI-assisted (Claude Code). No game data.
@slauko on GitHub · 2026-11-25 14:02 UTC · original
Same stop on a third kind of machine — RTX 3080 Ti under Wine (Proton Experimental, vkd3d-proton master), on
uiliannn/VItoriaBr 2b3c339ewith fxceless#823, #845, #91 — and the skip of the four programs of the VIctory#698 lead did not prevent it here either (6m05, frame 1458,INSTANCE_LIST 45000/45000).I compared five of the title's crash reports from this machine.
Game PhysicalandPoolread the same in all of them (so they are not what runs out);INSTANCE_LIST,BUILDING,OBJECTandGRASS_INSTANCE_LISTgrow together while the intro prestreams, andUnsignaled CrossQueueBarrieris in every report that stopped. The disassembly of the trap (title+0x5149aec: oneint3on the pool's NULL return) is in a comment in VIctory#698.@slauko on GitHub · 2026-11-25 14:54 UTC · original
Stepping over the
int3goes on into gameplay — the "local handler" as a switch, measured.A breakpoint at
title+0x5149aecis continued by the loader's vectored handler, the way it steps over the console's instructions (VICTORY_STEP_OVER=<offset>, off unless set). With it, a run onuiliannn/VItoriaBr 2b3c339eunder Wine (RTX 3080 Ti) reached the trap at 6:00 as always and went on for 30 minutes to my time limit with no fault and no device loss: the opening of the prologue, the title's prompts to move and to turn the camera, both answering the keys; 521 ms a world frame (median of 317), 3,516 draws a frame.The pool stays full, though: the handler was taken more than 512 times in those 30 minutes, so every list asked for after 6:00 is NULL. It is a way around the stop, not a fix. The numbers and the handler's code are in my comment in Marvisak/VIctory#698.
@slauko on GitHub · 2026-11-25 17:08 UTC · original
A follow-up from the run that got past the trap: once the title has written a save, later starts do not reach
+0x5149aecat all.With the breakpoint stepped over, the run went into gameplay and under seven minutes in wrote its first save. Every run since starts from it: no intro, a black load of five and a half minutes with the prompt on screen, the cell at 8:10 — and no trap in 24 minutes (the step counter at 0, in four runs). With that one save container moved aside, the same binary played the intro and reached the trap at 366 s again.
I had taken it for a regression of a merge first; three builds said otherwise. Details in Marvisak/VIctory#698 (my comment there).