RX 9070 XT (RDNA 4): amdxc64.dll+0x861b9f crash at startup, and no way to set VICTORY_RT_RESOLVE=0 #44
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#44
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?
@kuscutv-jpg on GitHub · 2026-11-26 00:05 UTC · original
Summary
On an RX 9070 XT the title crashes inside AMD's shader compiler. The first run reaches the loading screen and crashes in the first scene. Every later run crashes right at startup. DexNom/VIctory avoids this crash with
VICTORY_RT_RESOLVE=0, but I could not find an equivalent in this fork.Environment
cargo build --locked --profile diag -p victory --features diagnosticsscripts\play.ps1 -Safe -Exe <my copy's exe>(without -RayTracing)What happens
Game State: Game Init,Frame: 0,Running Time: 0s.Crash log;
unix time 1795650497, process 16884
VIctory: unhandled exception 0xc0000005 at amdxc64.dll+0x861b9f (read 0x8: nothing mapped there)
rax 0x22ed139b188 rbx 0x22ea587f170 rcx 0x0 rdx 0x22ed3124c80 rsi 0x22ea7d1f3f0 rdi 0x22eb11e6ee0 rsp 0x9d263fa1b0 rbp 0x1
r8 0x22ea587f170 r9 0x22eb11e6f18 r10 0x6007840000c00 r11 0x9d263fa1f8 r12 0x6907000000000 r13 0x22f5f4d2cd0 r14 0x22eb11e6ee0 r15 0x0
#0 amdxc64.dll+0x861b9f
#1 amdxc64.dll+0x957eba
#2 amdxc64.dll+0x959456
#3 amdxc64.dll+0x957814
#4 amdxc64.dll+0x864d5d
#5 amdxc64.dll+0x955d16
#6 amdxc64.dll+0x676605
#7 amdxc64.dll+0x6779d1
#8 amdxc64.dll+0x68e6a9
#9 amdxc64.dll+0x67fbf1
#10 amdxc64.dll+0x5de4b7
#11 amdxc64.dll+0x64e489
#12 amdxc64.dll+0x6501a7
#13 amdxc64.dll+0x6323a5
#14 amdxc64.dll+0x64e36d
#15 amdxc64.dll+0x61ac8a
#16 amdxc64.dll+0x61a044
#17 amdxc64.dll+0x62d167
#18 amdxc64.dll+0x62ba44
#19 amdxc64.dll+0x5dfa24
#20 amdxc64.dll+0x5e1757
#21 amdxc64.dll+0x63114d
#22 amdxc64.dll+0x5df577
#23 amdxc64.dll+0x1c1ee4
#24 amdxc64.dll+0x1c1897
#25 amdxc64.dll+0x1bdba3
#26 amdxc64.dll+0x25b037
#27 amdxc64.dll+0x236490
#28 amdxc64.dll+0x2660d7
#29 D3D12Core.dll+0x67e4d
#30 D3D12Core.dll+0x67b38
#31 D3D12Core.dll+0xba49
#32 D3D12Core.dll+0xb5f8
#33 D3D12Core.dll+0x39c6
#34 D3D12Core.dll+0x35a7
#35 d3d12.dll+0x1707
#36 D3D12Core.dll+0x7877
#37 D3D12Core.dll+0xd76dc
#38 victory.exe+0x3bbeca
#39 victory.exe+0x43b07a
The same stack appears in all of my crashes (about 6 in this log). I have not identified which shader triggers it.
Why I think it's the known RDNA 4 issue
It is the same exception, offset and call chain as in DexNom/VIctory#7 (https://github.com/DexNom/VIctory/pull/7), where the
CS_RaytracingResolveshaders crash the RDNA 4 compiler. A comment there saysVICTORY_RT_RESOLVE=0avoids it on an RX 9070 XT. With DexNom Runtime andVICTORY_RT_RESOLVE=0I get past this crash and the game runs at about 5 fps.What I could not do here
VICTORY_RT_RESOLVEdoes not appear in this fork's source (I searchedcratesfor the string, no results).scripts\play.ps1removes everyVICTORY_*environment variable except the path ones, so setting it myself has no effect. I did not find another way to pass it, except-More @{...}, which does nothing if the code never reads the variable.Request
Could the fix from DexNom#7 (not building
CS_RaytracingResolvepipelines when the ray-tracing builder is off, or theEffect::Laneschange forcreateHandleFromHeap/annotateHandle) be ported here, or is there another switch for this? I can test any build on this GPU and attach text logs.@0xmp3 on GitHub · 2026-11-26 00:32 UTC · original
RX 9070 XT (gfx1201):
VICTORY_SHADER_OPT=59gets it running — the fault is one clean-up passReproduced this on a second machine, found a workaround that is holding through a play session, and it points at the cause rather than at a missing switch.
Machine: Radeon RX 9070 XT 16 GB (gfx1201), driver 32.0.32015.7029 (2026-10-18), Ryzen 5 5600, 64 GB DDR4, Windows 11 26300, Series X profile.
Build:
0a43566,cargo build --locked --profile diag -p victory --features diagnostics.Without the switch —
scripts\play.ps1 -Safe, plusVICTORY_LOG=infoandVICTORY_SKIP_PIPELINES=39f0e9aeb156a61c(see the last paragraph):The stack is
amdxc64.dllframes overD3D12Core, entered fromvictory.exe— AMD's compiler, in pipeline creation, as described. The last pipeline the log names before it dies is vertexea212fca1f658aef/ pixel1579833b3d76cfb1.With it — the same command plus
VICTORY_SHADER_OPT=59:59is the default63minus bit 4 — the passemit::mod.rsdocuments as "one instruction for one value". So what takes the compiler down is that pass's output: DXIL the validator accepts, that AMD's RDNA 4 compiler faults on.Two things worth knowing for the next person:
amdxc64), same offset (+0x85fd0f), same meaning ofVICTORY_SHADER_OPT=59("every clean-up pass except 4"), confirmed there repeatedly on this card. It is not a new RDNA 4 fault — it came across with the clean-up passes, and it may be worth keying that pass off for RDNA 4 generally rather than leaving it to a switch.VICTORY_RT_RESOLVE=0. That one is theCS_RaytracingResolvefamily being created at the world's first frame; this one is a general-purpose pass. Both may need doing — I have not run with-RayTracing, and I have not triedVICTORY_RT_RESOLVEhere because this fork has no equivalent.And one for the RDNA 4 path:
39f0e9aeb156a61c(CS_ScreenProbes_ActivateRays; DexNom gates it withVICTORY_ACTIVATE_RAYS=0) is the program that makes AMD's compiler run away with memory, and with it in the skip list the rest of the run is stable here.I have not judged the picture beyond "it renders at this draw count and the scene is coherent" — I would not claim more than that from one session. The tree is at
Documents\Hermes\victory-7900xtxhere if you want anything re-measured, and I can try the full switch set (-Safeoff) or a longer run on request.@0xmp3 on GitHub · 2026-11-26 00:43 UTC · original
Follow-up:
VICTORY_SHADER_OPT=59delays it, doesn't fix it — 26 minutes in, a second crasherCorrecting my own comment above, which said "16 minutes, zero faults". That was true when I wrote it; the session went on and ended the same way:
Same offset, same module, 25 minutes 30 seconds into the run, on a different pipeline:
victory_gpu::pipeline: first bind pipeline=0x28716ab6850 frame=15513 stage="compute" size=21784 hash=f16876929fa64f9f, created immediately after that program translated.What the session was: the prologue, Lucia, in the store-robbery scene just before the switch to Jason — 5,179 draws a frame, 8.5 fps / 118.2 ms, 74% memory load, 17 GB free. It played properly for those 25 minutes: 4,596 to 7,347 draws, 8.7 to 11.3 fps, no earlier fault of any kind.
So the picture is:
VICTORY_SHADER_OPT=59removes one generator of DXIL that RDNA 4's compiler faults on (the first crash, at the world load, is gone) — but at least one more program still produces something it faults on, and this one only appears when its pipeline is first needed, so it is invisible until new content streams in.victory.exe, with the fault offset identical (amdxc64+0x85fd0f).What a reporter can usefully give you next: the crashing program's DXIL. Does
VICTORY_EMIT_DUMPorVICTORY_DXILwrite the emitted module for a named hash? If there's a switch that dumps the DXIL of one program (or every program to a folder), I'll reproducef16876929fa64f9fand attach the module that kills the compiler — that turns this from "AMD crashes on something" into a minimal case you can hand to them.For anyone else on this card tonight,
VICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,f16876929fa64f9fshould get past both — at the cost of whatever pass that compute program drives. I'll report whether it holds and what stops drawing.@0xmp3 on GitHub · 2026-11-26 01:38 UTC · original
Playable on RX 9070 XT with two programs skipped — first mission completed, saves working
Continuing from the comments above: with
VICTORY_SHADER_OPT=59andVICTORY_SKIP_PIPELINES=39f0e9aeb156a61c,f16876929fa64f9f, this card now plays the prologue and the whole first mission (Lucia's backstory through to Jason's boat mission and the rescue).Measured, one session,
-Safe:Player~…/v13→v14, plus aSARC0015checkpoint) and loading worked in-sessionSo #44 has a workaround that holds through real play, with the caveat that the crash is per program, not per launch: the second crasher only appeared 25 minutes in, when the chase scene first needed
f16876929fa64f9f. Anyone hitting a third one can find it from the log — the pipeline in flight is named a few lines before the fault:I have a small script that pulls that hash out of a dead run's log and prints the next skip list; say the word and I'll paste it here or as a gist.
Two things I have not tested: whether either skipped program costs something visible (I could not tell from the scene), and whether the full switch set (
-Safeoff) is as stable — that is the next run. I will post a separate issue about the picture (magenta on foliage and white fabric) rather than mix it into this one.@0xmp3 on GitHub · 2026-11-26 01:58 UTC · original
Restart test passed: the save survives a quit, and the state is right
Closing the loop on my last comment, which said only that loading worked in-session.
Saved into a new slot (
SARC0001~f3a9b5e1a0576e49/v1), quit through the menu, relaunched the identical configuration(
-Safe+VICTORY_SHADER_OPT=59+ the two skipped programs), Continue:Gone Fishing), not before itPlayer~…/v16seconds after launch — a load-path write — and leftSARC0001untouched, so it readthe new slot rather than starting over
Alongside the earlier numbers (573 world frames, 129.6 ms / 7.7 fps median, peak 15,288 draws, zero faults in 59
minutes) that makes this card: prologue → first mission → save → quit → load, with no fences in between. Whatever
the RDNA 4 compiler faults are, they are per-program and they are survivable with a skip list.
One thing the session also established, which may be useful to you: on this machine the card sits at ~5% use while
the frame is 108–129 ms, and the per-frame counters agree —
preparing67–118 ms against 0–5.5 ms attributed to theGPU. So on RDNA 4 the wall here is the preparation side, not the card;
VICTORY_THINis the switch I would expect tomove it most on a 12-thread CPU, and I have not run it yet (
-Safehas been leaving it out). I will report what it does,including whether it blurs the picture the way #62 reports on Blackwell.
@0xmp3 on GitHub · 2026-11-26 02:24 UTC · original
Two open PRs likely supersede the workarounds in this thread
Read the open pulls after posting the comment above, and both of the crashers we have been skipping point at fixes that are already written:
amdxc64, access violation reading0x8insideCreateComputePipelineState, on translated compute programs that takegetDimensionsof a raw buffer picked from the view heap or a descriptor table, hittingCS_RaytracingResolvevariants,bvh_skinning, and a street chase.That is our second crasher (
f16876929fa64f9f, compute, first needed in the police chase) and plausibly the first one too. If it holds, the skip list goes away and both programs come back — which may also matter for the thinning population I noticed with them skipped.I am not claiming either fixes this issue — I have not built either branch. Posting it so nobody (me included) spends another evening growing a skip list that a merged fix makes unnecessary. I will test #55 against our two hashes on this card and report the result here, with the same before/after numbers: crash frequency, whether the two programs can be un-skipped, and what it does to draws and frame time.
@lorddie on GitHub · 2026-11-26 13:13 UTC · original
Thanks @0xmp3, that matches my setup (RX 9070 XT + Ryzen 5 5600X). On myokex/victory-amd (
070df42), leaving out theCS_RaytracingResolveprograms while the structure builder is off fixed the sameamdxc64.dll+0x861b9fstart-up crash for me, and I have that check adapted to this fork'spipeline/make.rsas a fallback. Since #55 goes after the cause rather than skipping programs, it looks like the better fix. Tonight I'll run your settings (VICTORY_SHADER_OPT=59+ the two skipped programs) on a 6-core 5600X and post the numbers here.@lorddie on GitHub · 2026-11-26 18:50 UTC · original
Results from tonight, RX 9070 XT + Ryzen 5 5600X (6 cores) + 32 GB, Windows 11. Common settings: play.ps1's set plus renderer ports 1, 2, 5 and 6,
VICTORY_RESIDENCY=1,VICTORY_THIN=1, with shaders warmed under the same environment first.a9400a6d+ theleft_out()check,--console series-s,VICTORY_SHADER_OPT=59and your two-program skip list: an hour from the prologue through a city action scene and the boat, with no compiler fault and no device removal. Over 603 world samples the median was 12.3 fps (10th percentile 8.9, 90th 15.4), with about 66 ms preparing against under 2 ms on the GPU.rx9070xtbranch (cd8dfc06) + #55 as rebased by Jrjy3 (e4cd768) +left_out(), with the defaultVICTORY_SHADER_OPTand only39f0e9aeb156a61cskipped: 20 minutes with no compiler fault, and Belobug's compiler guard never fired. Speed is the same at equal draws (11.4 vs 10.9 fps at 6-9k draws), and textures no longer flicker.DeserializeComputePipelineStateX FAILED ... falling back to NewBE). WithVICTORY_UPSCALER=6(the title's own upscaler) the stippling is gone and it is faster: 14.1 fps at 6-9k draws, median 14.4 over 74 samples. Some ghosting in dark areas and flickering shadows remain.VICTORY_FSR_4K=performance, Series X, 1920x1080 to 3840x2160) works on this card. The picture is close to the original, at 12.3 fps at 6-9k draws. Textures and shadows came and went once host RAM ran short (3 GB free,host memory pressure: limiting texture prefetch).Each run lasted 7 to 60 minutes, so the comparisons between 2 and 4 are rough.