[Report] Shader Translation & Pipeline Compilation — NVIDIA GeForce RTX 2060 6GB (Turing) #769
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#769
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?
@0xSAW on GitHub · 2026-11-24 09:59 UTC · original
Environment
shaders.rpf)dxil.dll(Windows SDK 10.0.26100.0)Translation & Pipeline Summary
Top Failure Reasons on NVIDIA Turing
Hardware Observations on Turing (RTX 2060 6GB)
E_INVALIDARG(0x80070057), particularly in hierarchical depth pyramid generation (depth_pyramid:CS_InitDepthPyramid2x2).rtx2060_clean_github_report.md
@Gruzzberry on GitHub · 2026-11-24 17:39 UTC · original
VIctory on an RTX 4070: translate census and a 5-minute run
Environment
ffe310e(upstream main) plus two local commits, branch tip9107c7a(GPU buffer UAV clears; thetranslator is untouched by them). Release build, rustc 1.98.1,
cargo build --release --locked.dxil.dllfrom Windows SDK 10.0.26100.0.victory translate --validate --pipelines(6 min 9 s, exit 0)Totals: 26148 translated; 21898 DXIL modules emitted; 6706 validated; 21578 host pipelines built.
The validated count is low because of one class: 15054 modules fail dxil.dll with
Container part 'Pipeline State Validation' does not match expected for module(the other reports on#769 and #885 show about 12000 validated vertex and pixel programs, so this looks like main at
ffe310eagainst SDK 26100 rather than anything specific to NVIDIA; the open PR #1208, "PSV0 and signatures laid out
as the validator expects", is about this part). Pipelines are still built from those modules: the host
driver accepted 21578 of 21898.
Failure classes, as VIctory prints them (counts of programs; the tool also prints an example program for each, left out here):
Pipeline creation failures on the RTX 4070: 320, all
The parameter is incorrect.(E_INVALIDARG); all arecompute programs (1441 emitted, 1121 built).
victory census18 images scanned, 0 unreadable. Imports: 995 functions, 130 HLE, 791 host, 74 missing
Missing, by DLL: amd_fidelityfx_loader_xbox.dll 4, bink2scarlett.dll 23, libhttpclient.gdk.dll 38, oleaut32.dll 2, xboxbvhbuilder.dll 7.
victory run ... --execute, 300 s limit, nothing pressedCommand:
target\release\victory.exe run "<game dir>\game_scarlett_master.exe" --execute, started throughthe shared GPU lock, stopped at 300 s (the process I started).
Americas | VIctory 30 fps 33.3 ms/frame 21 draws/frameand held it for thewhole 300 s (first sample at 10 s: 11 draws/frame, from 20 s on 21). Working set 4.5 GB, flat.
victory_gpu::hostline, 0.7 to 1.4 ms of it on the GPU, 0 draws droppedfor lack of a host pipeline. The last
frame presentedline: frame 8192, draws 86016 drawn 86016,dispatches 4096 dispatched 4096. Shaders translated this run: 11 (cache misses 11, hits 0).
crashes.logwas not created. No device removal. No input was sent, so it stayed on thisscreen; I did not look at it beyond the caption, and I do not know what screen it is.
rpcrt4.dllrefused by the host policy; device methods at slots 0x218 and 0x1c8not implemented; the host view heap capped at 1000000 (asked for 1245184: E_INVALIDARG); one unordered view
the host does not allow (format 53, flags 2); two 2560x1440 textures the host cannot create (formats 86
and 115, E_INVALIDARG).
Not tested: any input, the world, longer runs, other drivers.
Second run with the clean upstream build (
ffe310e, no local commits)Repeated both commands with a clean build whose binary is exactly upstream main at
ffe310e,through the GPU lock.
translate --validate --pipelinestook 4 min 30 s and printed the same counts as above, line for line(26148 translated, 21898 emitted, 6706 validated, 21578 pipelines, 15054 Pipeline State Validation
failures). So the numbers above are upstream main's; the two buffer-clear commits do not change them.
from 20 s on, working set 4.5 GB, no crash, no
crashes.log, frame 8192 at the end, same 7 WARN lines).Stopped at 300 s.
AI use. Runs, counts and write-up by Claude Code (Claude Sonnet 5.5) on my machine; I checked it before posting.
@Marvisak on GitHub · 2026-11-25 03:51 UTC · original
Automated triage for the maintainers.
Thanks, this is a useful translate census for Turing, and the RTX 4070 run in the comments adds a 300 s run on
ffe310ewithout a crash. Where the main groups stand:E_INVALIDARG(~320) on 32-lane NVIDIA hosts: discussed in #71; open pull request #1929 (wave64 compute on 32-lane hosts).mainsince0b35b7f(after this report), so a census on currentmainshould show this group gone.Pipeline State Validationpart mismatch seen with SDK 26100): tracked in #201; #1974 makestranslatename the validator that produced the numbers.No action is needed here; a census on current
mainwith the VIctory commit would show what is left.Generated by Claude Code