Crashes at boot on Win10 (Logs attached) #64
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#64
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?
@VertofChest on GitHub · 2026-11-26 01:22 UTC · original
Trying to run this on Win10 results in a crash whereas other projects that incorporate DirectX12 Agility SDK Runtime do not.
What Happens:
scripts\play.ps1 -Exe H:\GAMERTEST\GAME.Test.v1.0.2.1-GAMERTEST\game_scarlett_master.exein PowershellI have attempted to manually install agility in the following methods:
cargo xtask agility(failed, package not found since it's not part of the xtask list)Logs Attached:
victory-20261125-201630-1808.crash.log
crashes.log
@endangeredd on GitHub · 2026-11-26 02:29 UTC · original
<html>Windows 10 needs the Agility SDK declared by the executable — a dropped-in DLL is not enough
I hit the same crash on the same class of machine, and found why steps 2 and 3 above fail.
Environment: Windows 10 22H2 (19045), RX 6800 XT (16 GB), driver 32.0.21045.16010, title build
1.0.2.1(blake3b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93).Symptom: every run died at frame 32 with
0xC0000005atvictory-image-<hash>.dll+0xb5a5f8(mov r14,[rax+0x68]), and the log carried six lines like:Those flags are
CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED | SAMPLER_HEAP_DIRECTLY_INDEXED(0x400 | 0x800). The inboxd3d12core.dllon this Windows 10 (10.0.19041.7291) rejects them; the Agility SDK runtime accepts them. Six pipelines fail to create (one of them a compute shader), the title reads a buffer nothing wrote, and it faults on a null object.Why dropping
D3D12Core.dllanywhere does nothingd3d12.dllonly looks for an app-local core when the executable exports two symbols,D3D12SDKVersionandD3D12SDKPath. Without them it always loadsC:\Windows\System32\D3D12Core.dll— which is exactly why the window still came up black and crashed. The subdirectory name does not matter; it is never looked at.Fix that worked
apps/victory/src/sdkpath.rs:mod sdkpath;inapps/victory/src/main.rs.apps/victory/build.rs:Rust has no stable way to put data in a PE export table, hence the link flags. The
-bin=form matters: thevictorypackage has three binaries and the other two must keep linking.D3D12Core.dll(fromMicrosoft.Direct3D.D3D121.620.2,build/native/bin/x64/D3D12Core.dll) next tovictory.exe—target\diag\D3D12Core.dll.D3D12SDKPath = "."names the executable's own folder, so it must sit beside the exe.Result
Worth making the exports part of the build unconditionally (or shipping the DLL beside the binary), since a Windows 10 user has no way to discover the requirement from the crash.
</html>@HAL9000RELOADED on GitHub · 2026-11-26 16:32 UTC · original
Same OS here: RX 7900 XTX (RDNA3), driver 32.0.32015.7029, i7-13700KF, Windows 10 22H2 (19045). What makes it boot and reach the world:
D3D12Core.dllandd3d12SDKLayers.dllfrom theMicrosoft.Direct3D.D3D121.620.2 NuGet package (build\native\bin\x64\) intarget\diag\D3D12\(ortarget\release\D3D12\for a release build).With both (branch
b925211= maina9400a6+ #165), the title reaches the world here, about 77 s from start with the files on an NVMe drive, and runs at about 24.7 fps at 4K output. With #165 but no folder, device creation fails withD3D12_ERROR_INVALID_REDISTinstead.AI-assisted (Claude Code): tests run on my machine, text drafted with Claude.