Repository navigation
Conversation
…rashes on On an RX 9070 XT (RDNA 4), making 61 of the shader pack's compute pipelines ends the process inside AMD's shader compiler: 0xC0000005 in amdxc64.dll at +0x85fd0f with driver 32.0.32015.7029, and the same 61 with 32.0.32029.2010 (Adrenalin 26.11.2). `translate --cache --pipelines` dies at the first of them and never finishes, and a run would die the same way making one. They are the CS_RaytracingResolve programs of the ped_standard materials: every *_muv* one in all three variants, and the b1139868 variant of garment_2lyr (with ae7b7f3c), skin and skin_tattoo_bake. Their neighbours in the pack make fine. To find them and get past them: - VICTORY_PREBUILD_TRACE=1: the pre-build prints each pipeline's shader hashes before making it, so the pipeline being made when the compiler crashes is printed last (alone with --jobs 1). - VICTORY_SKIP_PIPELINES now holds for the pre-build too: a pipeline containing a listed shader is not made, where before only its draws and dispatches were left out. - VICTORY_TRANSLATE_ONLY=<hash>,...: `translate` takes only the listed containers and labels them with their hash. With --pipelines a crash reproduces in seconds; with --list and VICTORY_EMIT_DUMP their DXIL is saved before the pipeline is made. With the 61 hashes in VICTORY_SKIP_PIPELINES the pre-build completes (28,164 in the pack: 21,880 made, 5,117 already in the library) and the world of the first mission runs. The 61 fail DXIL validation (dxil.dll 10.0.26100: "Function uses features incompatible with the shader stage (cs)", implicit-derivative samples in compute at validator 1.6), as do 11 of 22 neighbours that make fine. That is not what crashes: with Marvisak#1237's or Marvisak#1065's change all 83 validate, and all 61 still crash the compiler, one process each. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AiLxkjHZSYZ29brLZdBks6
catminou4
left a comment
There was a problem hiding this comment.
Static review only: apps/diagnostics + gpu — Windows-only paths; source review of the diff.
Diagnostics: find/reproduce/skip pipelines the host's…: pipeline diagnostic tooling (README+apps+gpu) — useful for the NVIDIA issue hunt.
VIctory V2: community PRs, merged and testedOpen PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch. Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1). Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help: Unofficial community fork of Marvisak/VIctory, GPL-3.0. |
|
Pointer in case it helps, since your blocker is that creation itself kills the process: #1320 is the open pull request that moves the skip to creation time, and I verified on the same card that with it the program is never translated and never made (results). It needs a rebase onto AI-assisted (Claude Code); the measurement is from the runs described in the linked comment. |
|
Automated triage for the maintainers. Needs work. This is a small change with one overlap to sort out. The PR adds three diagnostics:
The first two are useful for isolating host-compiler crashes like the one described, and they read correctly. CI ( The overlap is the third part. The open #1320 also moves Generated by Claude Code |
The problem
On an AMD RX 9070 XT (RDNA 4), 61 of the shader pack's compute pipelines crash AMD's shader compiler when they are made: the process ends with
0xC0000005inamdxc64.dllat+0x85fd0f(driver 32.0.32015.7029). Updating to Adrenalin 26.11.2 (32.0.32029.2010) does not change it: all 61 still crash.So
translate --cache --pipelinesdies at the first of them and the warm-up never finishes, and a run would die the same way making one.They are the
CS_RaytracingResolveprograms of theped_standardmaterials: every*_muv*material in all three variants (b1139868, ae7b7f3c, f21e9178), plusgarment_2lyr(b1139868, ae7b7f3c),skin(b1139868) andskin_tattoo_bake(b1139868). Their neighbours in the pack make fine. In the pack they are compute records 805, 806, 834-842, 846-893, 897 and 900.The 61 shader hashes
What this changes (diagnostics builds)
VICTORY_PREBUILD_TRACE=1: the pre-build prints each pipeline's shader hashes before making it, so the pipeline being made when the compiler crashes is printed last (alone with--jobs 1).VICTORY_SKIP_PIPELINESnow holds for the pre-build too: a pipeline containing a listed shader is not made, where before only its draws and dispatches were left out.VICTORY_TRANSLATE_ONLY=<hash>,...:translatetakes only the listed containers and labels them with their hash. With--pipelinesa crash reproduces in seconds; with--listandVICTORY_EMIT_DUMPtheir DXIL is saved before the pipeline is made.The README's diagnostics table documents all three.
Results
VICTORY_SKIP_PIPELINES, the pre-build completes (28,164 in the pack: 21,880 made, 5,117 already in the library) and the world of the first mission runs (about 0.77 s per frame, with the defects the README describes).VICTORY_TRANSLATE_ONLYand--pipelines, each of the 61 crashes the compiler on its own, in a process of its own; neighbours make fine.Not the validation errors
On current
main,translate --validate(dxil.dll 10.0.26100) rejects all 61, and 11 of 22 neighbours that make fine, with "Function uses features incompatible with the shader stage (cs)" (implicit-derivative samples in compute at validator 1.6). I tried both open fixes for that on this GPU:mainmain+ #1237 (gradients from the quad)main+ #1065 (validator 1.8)The two fix rows were run with driver 32.0.32015.7029;
maincrashes the same with both drivers.Both fix the validation; neither stops the crash, so the compiler fault is something else in these programs.
Checks
cargo clippy --workspace --all-targets --all-features --locked -- -D warningsis clean. Tested on Windows 11, Core i5-14600KF, RX 9070 XT.