Shader command issue #1
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#1
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?
@Ethan-Hill on GitHub · 2026-11-25 22:39 UTC · original
Any ideas why this is happening on my RX 6750 XT?
@FeronFae on GitHub · 2026-11-25 22:40 UTC · original · edited 2026-11-25 22:43 UTC
Happening on RX 7900 XT as well, so it seems to be an RDNA 2 & 3 issue. 195 is a better number considering the previous build I used of VIctory would refuse to compile 228 instead, so, I'll take what we have so far — a small improvement is still an improvement. I'll run the app now and see if the precompiled shaders help and if the claim reported on PortWatch of the FPS average holds. I'm not on an RX 7900 XTX, but VIctory never uses 100% of the GPU anyways so that goal should be reproducible for me. I'll report back :)
@Ethan-Hill on GitHub · 2026-11-25 22:45 UTC · original
2026-11-25T224355.195089Z ERROR vic.txt
Error from running the game anyway and it doing the shaders with the execution.
@FeronFae on GitHub · 2026-11-25 22:55 UTC · original
Hm, maybe try running it in
-Safeconfiguration. The optimizations made are specifically for an RX 7900 XTX which is RDNA 3 and not RDNA 2 like your RX 6750 XT. Most shaders in these projects are written in RDNA assembly which targets specific cards, so I'm not sure if that could be causing your GPU to be removed by the DXGI handler.@Ethan-Hill on GitHub · 2026-11-25 22:59 UTC · original
All good, will wait for updates. Thanks for the reply
@zaginiony770 on GitHub · 2026-11-25 23:18 UTC · original
Just wanted to mention that the same issue occurs on my RX 7800 XT, although when attempting to launch the game anyway, the game crashes out with a message that says:
@Adika713 on GitHub · 2026-11-25 23:31 UTC · original
Source-level triage at
0a43566, using only the repository code:container without a vertex, pixel, compute or mesh programmessages come fromcrates/victory-shader/src/emit/mod.rs:410-421. Translation only acceptsVs,Ps,Cs, andMs; theHwStageenum also containsLs,Hs,Es, andGs. So that error means the container has no program in the four accepted stages. It is not by itself evidence of an RDNA2 shader-code failure.a descriptor read only as datamessages come fromcrates/victory-shader/src/emit/lower.rs:6451, where a descriptor address is used only as data and no host view address can be formed. SettingVICTORY_DESC_WHY=1prints each offending instruction offset, instruction name, scalar address, and whether the site was lane-copied. Those five diagnostic lines would be enough to compare the pattern without posting game files.-Saferemains the right first workaround on RX 6750 XT because it disables this fork's newer paths, but the two error groups above are translator limitations rather than one proved GPU-specific bug.If you can attach the
DESC-WHYlines for one of the five hashes, or the stage breakdown fromvictory shader-infofor one of the 195 hashes, that should narrow the next change considerably.AI-assisted: OpenCode, model Big Pickle. No game data.
@Adika713 on GitHub · 2026-11-25 23:35 UTC · original
Follow-up with the exact stage counts. On
0a43566,victory.exe shader-info F:\retailgame\shaders.rpf F:\retailgame\ttdbfound 26,503 containers:Es 195,Gs 195,Vs 2236,Ps 12101,Ms 9282,Cs 2689, with 26,698 decoded programs. The 195 unsupported containers are exactly theEsandGsset, so the earlier stage-filter explanation is confirmed: those are not VS/PS/CS/MS containers, and this count is not RDNA2-specific.No game files were posted or committed; the counts were produced locally from a user-supplied copy.
AI-assisted: OpenCode, model Big Pickle.
@lorenzopincinato on GitHub · 2026-11-26 03:00 UTC · original
Same result on NVIDIA: on an RTX 3070,
victory shadersat0a43566gives 25,715 in the cache and 203 that do not translate, the same 195 "container without a vertex, pixel, compute or mesh program" plus the 5 "descriptor read only as data" (and 3 "lane mask exchanged where not every lane runs").So this is not specific to RDNA 2 or 3. As far as I can tell,
shaderstranslates on the CPU into the cache and never touches the GPU, so the result is the same on any card. The 195 look like the merged geometry-stage programs that fxceless/victory-fork issue #138 describes. The GPU-removed error in this thread is probably a separate problem.@avatarmanz on GitHub · 2026-11-26 07:31 UTC · original
Fixed on main by
190a6869: every shader the title uses translates now; the 195 left are unused containers without a program.