Access violation at +0x4e33a92 while the first mission intro prestreams (Windows 10, RTX 4080) #99
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#99
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?
@Proudnoob4 on GitHub · 2026-11-24 00:29 UTC · original
Seen once, on Windows 10 with two local patches: #28 for the loader and the Agility SDK exports from #84. RTX 4080 (driver 621.01), i5-13600K, main
97c78d1, title buildb99f876b…. AI-assisted (Claude); I did the run and the analysis below myself.What happened
After the start screen, story mode loaded; the loading art showed at about 150 s. At 3 min 28 s, two job threads faulted on the same instruction with the same stack:
The instruction is in a loop that clears 48 bytes per step:
In both threads
r12 - r9is exactly0x2A610000. Nothing in the log hands out an address in that range.The title's own crash context
The title wrote this context to
T:; its upload to backtrace.io was blocked as designed.fbk_stry000_FBK_STRY000_INTRO, state Prestream.Same run, GPU side
There was no GPU failure in this run: no driver reset, no device removed. VIctory logged that 70 compute and 21 pixel shaders did not translate, and the host refused 4 compute pipelines with
E_INVALIDARG.In an earlier run on the same setup, the world's first frame ended in a TDR instead (
slow host submission ms=11341 lists=33, then device removed).@Proudnoob4 on GitHub · 2026-11-24 00:38 UTC · original
It reproduces. Two more automated runs on the same setup (one Enter at the profile prompt, nothing else) crashed in the same phase, and each was again a write below 4 GB:
+0x4e33a920x325a0570VCRUNTIME140.dll+0x1dbf3(memset), called from+0x4e5013c0x42426280+0x4e336b10x29604b80All three have
Current SRL: fbk_stry000_FBK_STRY000_INTRO, state Prestream. In the 3rd,r12 - r9is again a round base,0x20C80000(first run:0x2A610000).A candidate cause on NVIDIA. In every run the host refuses the same 76 compute pipelines (
E_INVALIDARG). WithVICTORY_D3D12_DEBUG=1, 75 of the refusals carry:Their dispatches are then dropped (
a dispatch without a host pipeline dropped). The world runs on the RX 6700 XT, which has 64-lane waves, so missing output from those dispatches could be where the bad pointers come from. I haven't verified that link. For reference, Leonida's translator has a--wave64-emulatemode for 32-lane GPUs.The debug layer also names the two textures that fail with
no host texture(id 599):B5G5R5A1_UNORMwithALLOW_UNORDERED_ACCESSB4G4R4A4_UNORMwithALLOW_RENDER_TARGETThis RTX 4080 supports neither of those combinations.
@tcurtsinger on GitHub · 2026-11-24 01:15 UTC · original
Independent Windows 11 result on unmodified
d2a4bae1, with an RTX 4080 and NVIDIA driver 621.01. The player-selection screen ran at 30 fps. The native D3D12 run reached the first mission’s title card, where the window showed 616.8 ms/frame, 2 fps rounded, and 1,216 draws/frame.The host had a Ryzen 9 9950X3D and 64 GiB of installed RAM, running Windows 11 Pro build 26300.9974. The mission run used the
diagbuild with controller input enabled. Windows process and system counters were sampled roughly every six seconds.At about 246 seconds, VIctory logged a 6,928 ms host submission of 32 command lists. D3D12 reported
DXGI_ERROR_DEVICE_HUNG(0x887A0006) as the removal reason. The process exited at 251 seconds withDXGI_ERROR_DEVICE_REMOVED(0x887A0005). This Windows 11 run reached the title card and ended in the GPU failure also discussed in #97. The connection between the memory pressure and the GPU hang is still open.AI-assisted test report.
@Proudnoob4 on GitHub · 2026-11-24 06:26 UTC · original
Independent RTX 4080 / Windows 10 result from our machine, which agrees with most of this and can answer the debug-layer question.
Setup: RTX 4080 16 GB, driver 621.01, Windows 10 22H2 (19045), 32 GB RAM, diag, Series X and Series S, #175 Agility SDK 1.620.2. our first three runs (before the wave64 work) all ended
0x887A0005/ DEVICE_HUNG in the first-mission intro Prestream, at frames 1176–4079, inDispatchMeshruns — same as your table, no page fault.Debug layer works on our Windows 10 build.
D3D12GetDebugInterfacesucceeds and the device reportswave_range = 32..32. Of 76 refused compute pipelines, 75 gave debug-layer message id 622 —Shader wants wave lane count of 64 but maximum wave lane count for device is 32. We did not see your ids 527/538 dominate. So on this driver/OS the refusals are wave64, not buffer-state errors, which fits #334 not changing the outcome.One difference worth noting: in our runs private commit reached 23.2–23.6 GiB and system commit 59–60 of ~67 GB with under 1.3 GB physical free, so memory pressure was severe. Yours stayed above 7 GiB headroom. So neither of us can claim commit exhaustion is the universal cause — it varies by build/config.
The hang is now avoidable here: with #579's
VICTORY_SKIP_WAVE64=mesh,computeon top of our stack, one 900 s run had no device removal and only 2 refused pipelines (vs 117–120 before). So the wave64 class is the blocker on this card, matching #71's convergence across NVIDIA vendors.Counts, error ids and frame numbers only; no game data. AI-assisted (Claude Code); I ran the tests on my machine.
@colehammond65 on GitHub · 2026-11-24 06:25 UTC · original · edited 2026-11-24 06:27 UTC
RTX 4080 / Windows 10 A/B: the world hang remains; debug-layer state errors could not be measured
Environment
diagprofile withdiagnosticsmain+ PR #175 at19aec59af2aecf+ PR #175, merge9c2d98bImportant limitation
This Windows build reports
Feature name GraphicsTools is unknown. The app-local Agility SDK loads correctly, butD3D12GetDebugInterfacestill returns0x887A002D. The PR's debug-layer child test also printsno D3D12 debug layer; skipped.So this run cannot confirm whether error IDs 527/538 disappeared. It can confirm whether the device removal remains. DRED was enabled; GPU timing and GPU-based validation were not.
Method
Two runs per variant, each with a new empty cache, the same profile/data directory, and the same scripted Enter schedule from 8 through 47 seconds. Run order was baseline, #334, #334, baseline. Each run stopped on process exit or at an eight-minute timeout.
Results
0x887A00050x887A00050x887A00060x887A0006EXECUTE_INDIRECT(op 5) orDISPATCH_MESH(op 42)DISPATCH_MESH(op 42) orEXECUTE_INDIRECT(op 5)The survival and frame-time ranges overlap. Two runs per variant are not enough to claim a performance improvement or regression.
All four runs reached the world and then lost the device. None reported a page fault or a freed allocation. Commit headroom stayed above 7 GiB, so these particular failures were not commit exhaustion.
The largest shader-translation gaps were the same in both variants: lane masks read as data, selects on untracked masks, addresses in non-root SGPRs, and structured buffers of unknown stride.
Source-only verification
victory-shadersuite crashes on this host; the same suite passes serially.Conclusion
PR #334 did not prevent the RTX 4080 world-load device removal in this test. The failure still lands in indirect execution or mesh dispatch, without a page fault. The targeted D3D12 state-error removal remains unverified here because the debug layer cannot be installed on this Windows build.
A debug-layer-equipped tester is still needed to confirm the 527/538 result. No game files, paths, screenshots, shader dumps, or proprietary data are included in this report. AI-assisted testing and reporting; I ran the tests.
@Marvisak on GitHub · 2026-11-25 01:47 UTC · original
Automated triage for the maintainers.
Thank you for the careful runs. No other open report has this access violation (writes below 4 GB at
+0x4e33a92/+0x4e336b1while the first mission prestreams), so this issue is where it is tracked. The GPU side of the same runs (device hung in mesh dispatch, 75 compute pipelines refused with "wave lane count of 64") is the NVIDIA hang tracked in #71: onmain,Lower::newincrates/victory-shader/src/emit/lower.rsdeclaresWaveSize(64)for those programs and their dispatches are dropped on 32-lane hosts, which fits your guess that their missing output could feed bad pointers. The comments also show heavy commit pressure in some runs (see #471).The runs used local patches on an older
main(#175 is now closed unmerged; #463 is the open Agility SDK PR). If you rerun on currentmain, a note of whether the access violation still appears would help. One request: please don't post disassembly of the title's code or the title's own internal crash context here; crash addresses, registers and VIctory's log lines are enough.Generated by Claude Code