Shader command issue #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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Ethan-Hill on 2026-11-25T22:39:13Z.
Any ideas why this is happening on my RX 6750 XT?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by FeronFae on 2026-11-25T22:40:27Z.
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 :)
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Ethan-Hill on 2026-11-25T22:45:56Z.
2026-11-25T224355.195089Z ERROR vic.txt
Error from running the game anyway and it doing the shaders with the execution.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by FeronFae on 2026-11-25T22:55:18Z.
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.Imported from avatarmanz/VIctory-7900XTX. Originally posted by Ethan-Hill on 2026-11-25T22:59:57Z.
All good, will wait for updates. Thanks for the reply
Imported from avatarmanz/VIctory-7900XTX. Originally posted by zaginiony770 on 2026-11-25T23:18:27Z.
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:
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Adika713 on 2026-11-25T23:31:38Z.
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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by Adika713 on 2026-11-25T23:35:36Z.
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.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by lorenzopincinato on 2026-11-26T03:00:40Z.
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.Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:31:55Z.
Fixed on main by
190a6869: every shader the title uses translates now; the 195 left are unused containers without a program.