Crash 0xc0000005 at victory-image+0xb5a5f8 on RTX 3050 6 GB, 8 GB RAM #873
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 fxceless/victory-fork. Originally posted by ImZenitsu on 2026-11-25T11:31:03Z.
Setup:
Command:
.\target\release\victory.exe run "" --execute
(with VICTORY_CACHE_DIR and VICTORY_DATA_DIR set)
Result:
The window reaches the menus and shows frame stats (about 25 fps), then crashes:
VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0xb5a5f8 (read 0x68: nothing mapped there)
Tried:
Question: Is this crash expected on 6 GB / 8 GB systems, and is there a setting that avoids it?
Imported from fxceless/victory-fork. Originally posted by gangganghaofeifange on 2026-11-27T02:53:54Z.
On the VRAM part of the question (4 GB card, measured):
GTX 1650 SUPER 4 GB (Turing, 32-lane), i7-10700, 16 GB RAM, Win10 22H2 19045.6466, driver 32.0.15.8115, built from
81d54b0. Same stop:+0xb5a5f8 (read 0x68), 15-50 s in,0 draws/frame.Counters sampled every 2 s while the run was alive (
\GPU Process Memory(*)\Dedicated UsageandShared Usage):So the "is 6 GB / 8 GB enough" part can be closed: the title never gets past roughly 240 MB of VRAM (7 % of budget) before it dies. Freeing system RAM or leaning on shared video memory cannot move this - it is the Agility path, as noted above.
One note for anyone attempting the naive workaround: exporting
D3D12SDKVersion/D3D12SDKPathas data symbols and droppingD3D12Core\D3D12Core.dllbeside the exe does not get there either. Versions 1.600.10, 1.614.1 and 1.619.0 all die with0xC0000142(STATUS_DLL_INIT_FAILED) before the first log line, becausevictory.exestatically importsd3d12.dll(dumpbin /dependents), so the in-box loader runs the SDK handshake during process init.Imported from fxceless/victory-fork. Originally posted by Corus9 on 2026-11-28T21:22:10Z.
Cause: this Windows' own D3D12 refuses the bindless root-signature flags, so every pipeline is dropped and the title then reads a null at
+0xb5a5f8Reproduced on
mainat368967f(nothing local but the fix below), same fault as in the report:d3d12.dll10.0.19041.5794b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93,Game State: Game Init0xc0000005 at victory-image-…dll+0xb5a5f8 (read 0x68),rax 0, 9–11 s after launch. It is the same withrun --executeand withplay, with--console series-xandseries-s, at 720p and at 1080→1440, with 5.7 GB and with 22.4 GB of free commit, and with the debug layer on. Not memory, not the profile, not the resolution.What the log says before it, every time:
Eight of those in 11 s, and every presented frame reads
drawn=0(frame=128 draws=192 drawn=0): no draw reaches the card, and then the title dereferences a null.The message is the runtime's, not ours. A 60-line probe that calls
D3D12SerializeVersionedRootSignaturewith a one-parameter description shows this machine's serializer rejects both heap-directly-indexed flags, on 1.0 and on 1.1:root_signature()(pipeline/host.rs) sets both flags on every description and returnsNonewhen serialization fails, so each of those pipelines is dropped.Fix that works here: carry the D3D12 Agility SDK (1.620.2,
D3D12Core.dllfrom NuGetMicrosoft.Direct3D.D3D12) beside the exe and export both names.D3D12SDKVersionalone is not enough — with only that one exported the process dies at load with0xC0000142for every SDK version tried (4, 600, 606, 610, 614, 620), with or without the DLL beside it. AddingD3D12SDKPathmakes it start:plus
cargo:rustc-link-arg=/EXPORT:D3D12SDKVersion,dataand/EXPORT:D3D12SDKPath,datafrom a build script.Same command again (
play … --series-s --dlss off --no-framegen-ready --set VICTORY_BVH_BUILDER=0), now with Agility 1.620.2:Unsupported bit-flag set: 0;host root signature refused: 0frame=1024 draws=512 drawn=512, 60.0 fps / 16.7 ms (14 draws a frame at the boot screen — that black boot is #1081, not this)Unchanged after the fix, on this setup: 29×
a pipeline creation method that is not implemented(slots0x1c8and0x218), onehost view heap capped at 1000000; views past it read a null, and the four emulated console instructions (Clwb,Clzero,Monitorx,Mwaitx).For the README's Windows 10 claim it may matter more generally: Windows 10's system runtime also has no shader model 6.6 and no mesh shaders, so an Agility SDK build looks like the condition for running on Windows 10 at all, not just for this crash.