World renders on an 8 GB NVIDIA card, then the process exits with 0x80000003 (STATUS_BREAKPOINT) #1065
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#1065
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?
@geerf on GitHub · 2026-11-25 18:14 UTC · original
Built and ran your fork (fxceless/victory-fork, main, commit dated 2026-11-25) on the
same machine and the same GTA VI Series X dump that draws nothing on upstream
Marvisak/VIctory. Your descriptor-heap fix does work: the world renders. The
problem left is that the process exits by itself with 0x80000003.
Environment
Windows 11 Pro 10.0.26300
AMD Ryzen 5 7500F, 6 cores / 12 threads
31.7 GB RAM visible, commit limit 33.7 GB, ~18 GB free at run time
NVIDIA GeForce RTX 3070 Ti, driver 32.0.16.2114, 8 GB VRAM
Only display: GameViewer Virtual Display Adapter, 1280x800
Title: GTA VI Xbox Series X dump, version 1.0.2.1
(b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93)
Imports: 88 hle / 427 host / 72 title / 0 missing
Build: cargo build --profile diag -p victory --features diagnostics
rustc 1.98.1, MSVC 14.44.35207, Windows SDK 10.0.26100.0
What happens
run <title.exe> --execute --console series-x
call ShowWindow(SW_SHOW) or the user sees nothing while it is already
rendering.
"host view heap capped at 1000000; views past it read a null slot count"
and the earlier ~1M "title slot past the host heap index" lines are gone.
entry, no Application Error event in the Windows log.
With --unimplemented zero the run lasts longer and reaches the world:
1-2 fps, 560-1732 ms/frame, 500-3524 draws/frame, then the same 0x80000003.
With VICTORY_D3D12_WARP=1 it also exits 0x80000003 in under 80 s.
Stack for the exit (VICTORY_STACKS=1, logs attached):
#0 victory-image-b99f876b74d4a77f.dll+0x1e1d4e0
#1 victory-image-b99f876b74d4a77f.dll+0x1e0a375
#2 victory-image-b99f876b74d4a77f.dll+0x5c1b689
#3 ucrtbase.dll+0x707d6
#4 victory-image-b99f876b74d4a77f.dll+0x56a1dd0
#5 victory.exe+0x14bce7
#6 victory.exe+0x15906a
#7 victory.exe+0x6ee313
#8 KERNEL32.DLL+0x2dda7
#9 ntdll.dll+0xc9c5c
Note: the offline vendor/ directory shipped with the upstream checkout has no
zlib-rs, which your Cargo.lock requires, so building offline fails at
resolution; a registry mirror was used to fetch it.
Question
Is 0x80000003 on an 8 GB NVIDIA card the expected out-of-VRAM behaviour, or a
bug you want a full dump for? It fires identically with the default trap,
--unimplemented zero, hardware D3D12 and WARP, and always on the ucrtbase
abort path.
Fork-Report-Bundle.zip
@Tanju42 on GitHub · 2026-11-26 00:15 UTC · original
Same image (
b99f876b…confirmed identical here too), same console (series-x), 8 GB class — reporting from an RTX 5060 Laptop 8 GB / Core Ultra 7 356H / 31 GB machine in case the comparison helps:0x80000003exit. Once the first-boot profile list is passed, the run holds for 25+ minutes in the world (frame log shows 130+ frames) — so the early self-exit may not be an inevitable 8 GB path.26628 uploaded so far (9331 MB), 20519 waitingwith5803 ms on the GPUat 4667 draws — the card is past its pool and every frame pays eviction.VICTORY_TEXTURE_BUDGET_MB(present sincec36971b,resource.rscapsKINDS[1] + tiles) is the one knob I found that's aimed exactly at that; my run using 4096 died before I could read the result (machine lost networking mid-run), so I can't report numbers for it yet.ShowWindow(SW_SHOW)from an external helper did not disturb rendering here either way — the layer presents fine with the window hidden, so if your viewer only shows the virtual display when a window is visible, that's a display-path quirk, not the layer.If a run of mine hits the same 20-40 s exit after the next attempt I'll post the frame log lines around the exit. The no-diagnostics release build also shows the
host view heap capped at 1000000line here, by the way — so that fix does what it claims outside the diag profile too.@Tanju42 on GitHub · 2026-11-26 06:33 UTC · original
Update from the 5060-Laptop 8 GB machine — I now get your exit too, and I caught it with the game's own reporter writing, which reframes it for me:
Game State: Game Running,Frame: 2612,Game Time: (15:0), camera position present,Streaming Requests: 2341) for roughly 10-15 minutes at 0.1-0.5 fps after passing first boot. So the exit is not tied to first load here either — it comes later, in motion.Pool/Unusedpair is identical to the byte across two separate deaths (591978336/624951280,Unused: 0/...), which looks less like a race and more like the game's own memory pool hitting its configured total and the failing allocation path ending the process.%LOCALAPPDATA%\victory\data\<TitleID>\temp\*.crash.log(when it does) would show the samePool: X/Yline — worth comparing against mine before assuming a VRAM cause.VICTORY_TEXTURE_BUDGET_MB=4096clearly helped the card (GPU ms/frame 5803 → 1825, and later runsheap buffers ... passes 0.0 ms),VICTORY_WINDOW_KB=1024 VICTORY_WINDOW_TAILS=1 VICTORY_INPLACE=1(the #580 laptop set) changed thePool: X/Ynumbers not at all — the pool ceiling still closes the run at the same point.Happy to bisect any instrumented build against this wall; it reproduces in every one of my five in-world runs on main tip, always
Game Runningstate, alwaysUnused: 0.@Tanju42 on GitHub · 2026-11-26 06:35 UTC · original
Following up with the one question the numbers leave me with, since this now reproduces for me at will (5/5 in-world runs on main tip
4aa6e8c, always the same death):The reporter context at every exit shows the game's own pool at the same ceiling to the byte:
This is not host memory pressure here — the pagefile is fixed 120 GB with peak usage 138 MB, 31 GB RAM, and
VICTORY_TEXTURE_BUDGET_MB=4096+ the #580 laptop set (VICTORY_WINDOW_KB/TAILS/INPLACE) move the GPU side (GPU ms/frame halved) but change thePool:ceiling by nothing.So: where does the ~624 MB pool total come from in the emulation — is it a MemoryXml/config value read from the game's own data, an Xbox hardware-config value the layer reports to the title (XSystemGetHardwareConfig or similar), or is it whatever the title asks for once and we simply cannot grow? If the layer is the one reporting a small memory configuration to an Anaconda target on a machine with 31 GB of RAM, the pool wall might be one value away; if it's the game's own compiled total, then I'll stop chasing it host-side and #1065 is really a title-side ceiling that needs the emulated heap to tolerate the allocation failing.
Happy to test any instrumented build or a
VICTORY_*override against a specific allocation if you can point at the call that returns the pool total.@geerf on GitHub · 2026-11-26 06:48 UTC · original
@Tanju42 on GitHub · 2026-11-26 07:36 UTC · original
Ran your test (b) on the 5060 Laptop 8 GB machine at
46bf535(single variable:title_used: counters.PagefileUsage.min(gpu_optimal + standard)inxmem.rs, everything else identical to my earlier byte-identical deaths — same adapter patch, sameVICTORY_TEXTURE_BUDGET_MB=4096+ #580 laptop set, diagnostics build). Result: negative, and the mechanism is missing here entirely:the title asks how much memory it usesline (logged at the first asking) appears zero times in the whole run's log, while the module's other INFO lines (xmem allocation hooks found=true) are present — soXMemGetWorkingSetStatisticsis not in the call path of this title on this machine at all. Whatever computesPool: X/Yhere, it isn't fed by that API.Pool: 591978336/624951280,Unused: 0/590348272(now a third data point: deaths at Frame 2612, 2823, and again 2823-ish, same two numbers every time).crashes.log" point: on this machine the reporter does write (two files intemp\, ~2.5-3 min into the Game Running state, breakpad upload then blocked by the layer's net filter againstsubmit.backtrace.io) — the process then lives several more minutes doing frame work before it exits. So the abort path and the reporter path may be two different deaths; mine currently always goes through the reporter one.One measured positive on with this build worth noting regardless: Frame 2823 deep in the world (
Game State: Game Running, camera live,TileHeap: used (2242Mb)) — the deepest this machine has reached, and the death is still the pool, not the heap pass, on main tip.@Tanju42 on GitHub · 2026-11-26 14:47 UTC · original
Latest-tip confirmation run (origin/main
f6a09d3+ my local console-adapter cherry-pick + gameinput stand-in patch, Series X profile): identical wall, reached earlier than before.Crash context:
Pool: 591978320/624951280,Unused: 0/590348272,TileHeap: used (4364Mb) - total (6236Mb),Game State: Game Running, abort in title path as before.That's now four runs on three different tips where the pool numbers are byte-identical (±16 bytes) at abort: frame 2612 / 2823 / 2823 / 1100. The 624,951,280 ceiling never moves regardless of host-side memory (fixed 120 GB pagefile, peak commit 138 MB), console-type env, WARP, or the
title_usedclamp from the maintainer suggestion (tested last comment: title never calls the working-set query on our path).From my side the host-side search space is exhausted. Will keep testing each new tip once and reporting the pool line.
@Tanju42 on GitHub · 2026-11-26 17:36 UTC · original
Ran the 7-commit batch (origin/main
e4245f3c, same local setup: adapter pick + gameinput stand-in, Series X profile) — the perf work is real, the wall is not moved.Measured vs. the
f6a09d3run earlier today (same machine, 5060 Laptop 8 GB):1.0–2.5 fps(was0.2–0.7 fps), preparing time78–125 ms/frame (was up to~1000 ms)Pool: 591978352/624951280,Unused: 0/590348272,TileHeap: used (3261Mb) - total (6236Mb),Game State: Game RunningFifth data point, five different tips, ceiling always
624951280with the fill value within ±32 bytes. Whatever decides that number, it is not touched by anything host-side we have tried.I will keep running one confirmation per batch and reporting just the pool line and frame number so the data points keep accumulating.
@Tanju42 on GitHub · 2026-11-26 18:00 UTC · original
Correction and good news: the ceiling is movable. With
VICTORY_POOL_SCALE=3(the diag branch from upstream #698, five commits cherry-picked ontoe4245f3clean), the byte-identical591,978,3xxconstant broke: abort now atPool: 618786416/624951280, Frame 3100 (was 1790), last fps ~32. Full data: Marvisak/VIctory#698 (comment 7199950675). So the runs here were the same pool-dry family all along.@Tanju42 on GitHub · 2026-11-26 18:35 UTC · original
Mode-change note for this family: on tip
52ac4ec0(tonight's #1324/#1336/#1353 batch) our scale-4 runs no longer end pool-dry at all — 2/2 die at frame 2702/2859 withINSTANCE_LIST 13769-13792/45000(31 %) and indexed/placed-texture warnings before the end. Full table + dump excerpts: https://github.com/Marvisak/VIctory/issues/698#issuecomment-7200642979 . Pinned back toe4245f3where the pool-dry death (frame 4080 here) is restored.