Opening mission: title writes to 0x0 at victory-image-b99f876b74d4a77f.dll+0x23cf683 7.5-12 min in, with its physical pool at 95-96%, on any settings or profile (RTX 3070 8 GB, 16 GB RAM) #76
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#76
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?
@lorenzopincinato on GitHub · 2026-11-26 02:06 UTC · original
The title crashes at the same instruction in 6 of 8 runs, 7.5-12 minutes after start, in the opening mission. It does not depend on the
play.ps1settings or the console profile.Machine and build
0a43566,cargo build --locked --profile diag -p victory --features diagnostics, shaders translated ahead withvictory shadersThe crash
(That one is from the Series S run; the Series X runs fault at the same
+0x23cf683, write to 0x0.)crashes.logstays empty; the title's own crash handler runs, writes its crash log toT:, and tries to upload a minidump to its crash service (blocked by the HLE network module, as it should be). The+0x2215ecaframe also appears at the bottom of the stack in #40, so it may just be a common thread entry.From the title's own crash logs:
-Safe-Safe, cutscene skippedMission hash in the logs:
0x62131f35.Two runs did not crash: the first
-Safesession (fresh pipeline cache, ran 40+ min) and one-Saferun with the cutscene skipped (stopped by me in the cell, shortly after the window).What it is not
-Safeset, and with all of it.Lead
In both crash logs I read, the title's physical pool was 95-96% full, scaled to the profile. A write to 0x0 fits a failed allocation whose result is used without a check. If memory the title allocates through the HLE (xmem or the like) is not given back or is double counted, the pool would fill in about this time. Not verified; I have not traced the allocations.
Happy to rerun with a diagnostics switch if that helps (
VICTORY_MEMORY_MAP=1output is available from one of the runs).@endangeredd on GitHub · 2026-11-26 02:28 UTC · original
<html>The title's pool is over the card's budget, and the runtime's copies are on top of it
Different hardware, same ceiling. Win10 22H2, RX 6800 XT (16 GB), 1080p, title build
1.0.2.1, reached the prison scene.Before any tuning, the frame line said:
18670 MB on a 15350 MB budget. The card's own memory is full, so the overflow lives in system RAM and every texture access crosses PCIe. The tell is that nothing is saturated: GPU ~55 %, CPU ~20 %, disk idle, while the frame takes ~1 s. It is not compute — it is waiting on paging.
Turning off the runtime's own texture pool and capping the per-frame staging brings it back inside the budget:
The pool's own log line is
memory in blocks (VICTORY_TEXTURE_POOL=0 turns them off): 4096 MB of textures, 512 MB of their staging buffers— about 4.5 GB, which is roughly the size of the overflow.What is left afterwards is ~190 ms of CPU-side copying per frame (≈140 MB out, ≈55 MB back at 5780 draws), which stays serial, so 3-4 fps is where this lands on a 16 GB card at 1080p. A 24 GB card never hits the ceiling in the first place, which is probably why this does not show up in the author's numbers.
Suggestion: make the pool opt-in, or size it from the DXGI budget reported at device creation rather than a fixed 4 GB — a card that is already over budget should not reserve another 4.5 GB.
Related: #65 looks like the same class of failure at the same scene boundary.
</html>@lorenzopincinato on GitHub · 2026-11-26 03:00 UTC · original
Thanks, tried it on the 8 GB card. Here the card was not over budget to begin with, and turning the pool off does not change this crash.
Same machine as above,
0a43566,-SafeplusVICTORY_RELAY=1 VICTORY_CARD_STEPS=0(from #13), cutscene skipped:VICTORY_TEXTURE_POOL=0 VICTORY_TEXTURE_STAGE_MB=64+0x23cf683So on this card the pool costs about 1-1.5 GB of video memory and is worth turning off on 8 GB, but the card stays inside its budget either way, and the crash happens with the pool off and the card ~2 GB under budget. The pool that fills before the crash is the title's own physical memory, not video memory, so I think #76 is a separate problem from the overflow you measured. #65 may still be yours.