RTX 5070 (Blackwell): 449 shaders do not translate, TDR at the first world frame #1573
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#1573
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?
@HEKT053 on GitHub · 2026-11-24 19:21 UTC · original
Environment
ffe310eb2098e52169f4c44db5ffdabf43a72622(2026-11-24)cargo build --release -p victory --features diagnostics, run withVICTORY_D3D12_DEBUG=1game_scarlett_master.exe, blake3b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93Summary: the title reaches the first mission intro, renders it, and then the host GPU device is removed. 449 distinct shaders fail to translate, and the submission that kills the device takes 3 seconds, past the Windows TDR limit.
Where it stops
Frames 0-1248 run. Menu screens are fine; the first world frames are not:
Seven "a black frame after a frame that was not" warnings appear, which matches what the window shows: a dark scene with occasional frames.
The crash
Slow submissions over the run (ms / lists):
23 slow submissions in total, maximum 7733 ms. The fatal submission is 3.0 s against the default 2 s TDR timeout, so the device removal looks like a timeout of a single oversized submission rather than one bad command: it records 26 lists covering 11 compute, 67 mesh and 1 vertex pipelines, and pipelines are still being created while it runs ("420 being made" in the frame line above).
Translation coverage
1682 shaders translated, 449 distinct shaders do not translate and their draws are dropped. By stage:
By reason (the message the converter reports):
Representative cases:
an address in an SGPR that is no root parameter(35 shaders) is the most repetitive single site: 28 of them report it at0x30, 4 at0x40, which suggests one common prologue pattern rather than 35 unrelated cases.What is probably worth fixing first
image_gather4_landa 64-bit image atomicare named instructions with a narrow implementation, unlike the mask-tracking messages.untracked mask,lane mask ... read as data,lane mask read as data) accounts for 191 of 449 shaders, so it is the single largest group.Reproduction
Log and
crashes.logland in%LOCALAPPDATA%\victory\data\<title id>\. No game data is included in this report; the hashes above are the translator's shader hashes, and the crash text is quoted fromcrashes.log.@Marvisak on GitHub · 2026-11-25 12:45 UTC · original
Automated triage for the maintainers.
Run report with the essentials (RTX 5070 and driver, Windows 11 build, commit
ffe310e, how far it got, the removal text and the untranslated-shader breakdown). The failure, a slow multi-second submission at world entry followed by device removal with0x887A0006(DEVICE_HUNG) on NVIDIA, is the one tracked in #71, the oldest complete report; please follow and add to that thread. The per-reason table of shaders that do not translate is a useful data point for the shader work.Many changes have landed on
mainsinceffe310e(including GPU write tracking and device-removal reporting). A retry on currentmainwith the same diagnostics build would show whether the hang and the counts are still the same.Generated by Claude Code