Linux: dxil-spirv at or past b540c8a2 is required — an older converter overflows the stack on 3 of 2,912 programs #2752
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 Marvisak/VIctory. Originally posted by pablogonz12 on 2026-11-25T19:43:26Z.
What
Three compute programs that VIctory translates correctly make older dxil-spirv builds die with SIGSEGV in conversion (rc 139, no message, no SPIR-V out), so in a run those pipelines never create. The converter is not part of this repo but the run's host is, so the minimum is worth naming in the docs until #1885 lands.
How it shows
Offline, without a game run: translate the console container with
victory-shader --example retranslate, then hand the DXIL to dxil-spirv:34f0ff84(what vkd3d-proton master's submodule pins)CFGNode::find_common_dominator/recompute_immediate_dominatorframes, then stack exhaustionb540c8a2(dxil-spirv master)spirv-val --target-env vulkan1.3, RADV pipeline createdRoot cause, upstream
find_common_dominator()recomputes a missing immediate dominator through the node's predecessors, and for a loop header with two latches that is recomputed while the second latch is still uncomputed, the two calls re-enter each other with no bound (firstrecompute_cfg()insideflatten_subgroup_shuffles, i.e. the ray-tracing path). Valid DXIL; the recursion is the converter's. The CFGNode recursion rewrite upstream (53aac418, PR #371) throughb540c8a2removes it. Nothing here is our emitter: the same DXIL converts with the newer build.Counts on this machine (RX 9070 XT, Mesa 26.3.1 RADV, offline only)
34f0ff84, 2,909 convert; withb540c8a2all 2,912 validate and build a RADV pipeline.b540c8a2).Ask
Maintainer's call, either is fine from this side:
b540c8a2, since the pin in vkd3d-proton master's submodule (34f0ff84) is below it. Happy to send that as a one-line docs PR.Not tested in a game run. Not tested on NVIDIA hardware.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T21:47:20Z.
Automated triage for the maintainers.
Two corrections against
main(61bfc77):AMD-LINUX.md, and there are no Wine/Proton notes anywhere inmain's docs. Wine notes are proposed in open PR #2082, which is the place to suggest a minimum dxil-spirv version.VIctory targets Windows hosts. Whether to document requirements for third-party converters under Wine is for the maintainers to decide. Your finding (only programs with multi-latch loop headers crash the older converter, and newer builds convert them) supports #1885's approach and would be useful as a comment there.
Generated by Claude Code