Linux/Proton: the light estimate's passes never build (Wine fxc has no isnan; the root-signature check sends them to DXC, which vkd3d-proton refuses) #2158
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 trustno1-coder/VIctory-NVIDIA. Originally posted by birdneststream on 2026-11-29T10:01:56Z.
What you would like
The light estimate's compute passes (ambient.rs: KEEP/PLACE/GATHER/AIR/REFLECT/BOUND/RAISE) to build under Proton/Wine. Today none of them is ever built there, so indoors and at night are lit by nothing but the water light.
Host: RTX 5090, i9-13900KF, Linux, GE-Proton 11 (wine-staging 11.22, vkd3d-proton), Series X files, 1440p, DLSS quality.
What happens
The passes are compiled with
D3DCompileand the result checked for root-signature warnings; under Wine the system compiler is fxc (d3dcompiler_47), and it stops at the firstisnan:and, with the
[RootSignature]block in the source, drops it with W5302 — the check sees the warning, the shader goes to the DXC fallback as cs_6_0 DXIL, and vkd3d-proton refuses that blob:So
the_passes_buildandthe_passes_compilefail here (under the test rig's Wine:the passes: Error { code: HRESULT(0x8007007E), message: "Module not found." },KEEP: Some(Error { ... "Module not found." })), and in play the log never shows an ambient pass made. Everything else of the light estimate (the probes, the neutral pass) is fine.Are you working on a fix?
Yes: PR follows (three small commits on main): the passes' HLSL without
isnan/isinf(the clamp they do is amax/minpair), the passes compiled by the system compiler with the root signature serialized apart (fxc'sD3DGetBlobPart/D3DReadFileToBlobroute for the root signature blob fails under Wine with E_INVALIDARG, so it is built from theRSdefinition instead — the same definition, read from the source), and the signature's constants taken fromRS(main'sRSgrew to 14 constants; a signature made with 13 let the RAISE pass read zeros — the chroma-scrub test catches that).Rig (wine-staging 11.22, RTX 5090, vkd3d-proton master),
ambient::tests: main 10 passed / 4 failed → with the PR 13 / 2, the two left being the WARP-only ones (no WARP DLL under Wine). In play the passes build and run;VICTORY_AMBIENTacts (0.8 default), which is the point of #1957's switch.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-29T10:02:04Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)