Gameplay black screen: E5005 in clamp/indirect light shaders, dropped host pipelines, and vkd3d missing terminator (OpUnreachable) #357
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 tomimrl on 2026-11-27T21:22:18Z.
victory-nvidia-play-20261127-210449-304.log
victory-sync.log
Summary
Gameplay transition shows a black screen on an NVIDIA RTX 5060 (8 GB VRAM) / 16 GB system RAM setup running via
umu-runon CachyOS Linux (KDE Plasma 6 / Wayland), using a customvkd3d-proton-victorybuild (build-victorypatched for missing-terminator blocks withOpUnreachable) anddxc_2026_09_29DXC DLLs alongsidevictory.exe.Environment & Setup
trustno1-coder/VIctory-NVIDIA(foxhound base, release build, consoleseries-x,--res 1080to1440,VICTORY_SKIP_BINK=1)umu-run(UMU-Proton-11.0-2e,ntsyncenabled)vkd3d-proton-victoryto handle basic blocks without a terminator instruction by inserting/emittingOpUnreachableduring shader/IR translation, then compiledd3d12.dllandd3d12core.dllintovkd3d-proton-victory/build-victoryand copied them next tovictory.exe(WINEDLLOVERRIDES="d3d12,d3d12core=n").dxcompiler.dllanddxil.dllfromdxc_2026_09_29next tovictory.exe(in the extracted folder on Btrfs, filenames had literal\characters likebin\x64\dxcompiler.dllandbin\x64\dxil.dll).VICTORY_ASYNC_SUBMIT=0andVICTORY_LIGHT_REFRESH=0.Issues & Failures Encountered
Missing block terminator (
OpUnreachable) invkd3d-proton-victory(worked around locally via custom build):vkd3d-proton-victoryto emitOpUnreachableon blocks lacking a terminator instruction, shader/pipeline translation in thevkd3d-protonstack failed instead of completing cleanly.OpUnreachable) upstream or document/ship a compatiblevkd3d-protonbuild so users do not need to manually patch and rebuildd3d12.dllandd3d12core.dll.HLSL compilation failure (
E5005) in indirect argument clamp (victory-nvidia-play-20261127-210449-304.log):argument clamp: clamp:91:10: E5005: Method 'InterlockedOr' is not defined on type 'RWByteAddressBuffer'.no batched argument clamp: records are clamped one at a time error=La llamada ha fallado. (0x80004005)argument clamp: clamp:122:10: E5005: Method 'InterlockedOr' is not defined on type 'RWByteAddressBuffer'.no argument clamp: indirect execution dropped error=La llamada ha fallado. (0x80004005)HLSL compilation failure (
E5005) in indirect light stand-in shader:a shader of ours: victory:38:12: E5005: Method 'GetDimensions' is not defined on type 'RWTexture2D<float3>'.no stand-in for the indirect light error=La llamada ha fallado. (0x80004005)Depth plane from twin missing pipeline (
0x80004005):no pipeline to draw a depth plane from its twin: such planes stay as they are error=La llamada ha fallado. (0x80004005) steps=true format=45Dropped draws/dispatches, ray-tracing passes skipped, and heavy per-frame prep:
652.8 ms/frameto1537.5 ms/frame, and a spike to11147.4 ms/frame),dropped 1385 without a host pipeline (791 being made)and3290 indirect (552 of all these left out on purpose: ray-tracing passes without the structure builder).Host memory pressure on 16 GB RAM:
host memory pressure: limiting texture prefetch and idle upload storage pid=304 frame=9925 physical_free_mib=2980 available_commit_mib=16308 ... game_filled_gpu_texture_mib=1749Logs Attached
victory-nvidia-play-20261127-210449-304.logvictory-sync.log(no*.crash.logwas generated during this run)Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-27T21:57:32Z.
Independent confirmation of the clamp/compiler portion of this report, on unmodified VIctory-NVIDIA main
df2daafeb1b2170931cf7a6eddff6de254841d9c(the commit for v2026.11.27.7), RTX 4060 desktop 8 GB / 16 GB RAM, Linux, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0 (cae8353ed7959c4+). Locked MSVC release cross-build with Rust 1.98.1. No modified vkd3d DLLs.Actual retail launch on a separate clone of an initialized profile, fresh engine and external driver-cache directories. Series X,
--res 1080to1440(1080p scene request, actual 1440p swap chain fitted to a 1920×1080 client), DLSS and FG off for this diagnostic arm. BVH builder and water light on, no explicit shader omissions, no Bink skipping, full write-back and queue waits. The first launch ran the normal 20 s startup warmup and attempted to restart; the second explicitly setVICTORY_WARMUP_RESTART=0so the guarded diagnostic process retained its exact flags.Sanitized observations from the second run:
no host pipeline library: pipelines are not kept(once).no host copies in the card's memory: the compare could not be made, 0x80004005 (once).E5005onRWByteAddressBuffer.InterlockedOrfor both clamp variants, followed by oneno batched argument clampand oneno argument clamp: indirect execution dropped.There are already public source fixes worth evaluating here: Filip722's fxceless/victory-fork#1489, based on ErRusso's #20, restored both clamp and card-copy paths using the pinned Microsoft DXC 1.9.2609 fallback in our separate fxceless integration on this same RTX 4060. AugustoZFJ's empty-library fix, ported by Filip722 in #885, restored native pipeline persistence and reuse across fresh retail processes; that one is not yet A/B tested on NVIDIA main. #830 also substantially improved host memory headroom in the separate receiver. Direct NVIDIA tests of #830 and #1489 now follow.
Update: direct NVIDIA memory-backing A/B. Filip722's #830 (
b0c137d8dee0e56eb852cf3a0f59bc691a4d0452, GPL-3.0-or-later receiver) adapted cleanly via our earlier NVIDIA-style XMem port ontodf2daaf; only physical-section creation, two dependencies and the budget test change. Local patch SHA-256d33f8a7e748055839c81ecdf360ac1b3610a659ac9ac30701c6b578f4b3aeb49. Both runs used the same patched MSVC release executable, original private profile seed, fresh engine/driver caches, and the same settings/256 MiB guard as the previous run. Only the backing variables differed; the mixed arm used local NVMe Btrfs NOCOW scratch and a 448 MiB pagefile-first allowance.Both reached loading artwork and then black frames. Both retained the same clamp/compare/cache creation warnings; neither triggered the host guard or recorded new OOM kills or kernel GPU faults. The mixed arm logged two file-backed sections and one pagefile section; its scratch directory was empty at retirement. The different total scope RAM and elapsed times (134.8 s vs 141.1 s) matter: this is startup memory-headroom evidence, not matched game progress or an FPS comparison. One launch per mode, no recorded input in either. The separate title failure remains. No focused XMem fixtures were executed on this receiving adaptation yet.
Update: direct NVIDIA compiler comparison. Applied the exact GPL-3.0-or-later #1489 delta (
b344f5b74c974b602914c8b0a498b000158897eaagainst3e573d2556adc5a5b22ccd2d6d92231a72ee55bb) to the NVIDIA receiver with the same #830 adaptation retained. Locked offline MSVC release succeeded in 1m44s. Combined patch SHA-256e41c741b3d56b3cbe72b01b4096a733d34be9cdd4c7911047504eb26b411c600. Candidate used the same previously verified Microsoft DXC 1.9.2609 with explicitVICTORY_DXC; the control is the mixed-backing arm above. Same profile seed, runtime, graphics switches and fresh caches. The only difference in the logged graphics environment is the new DXC path.Both still ended at a black screen, with no recorded input, no host guard stop, no OOM increment and no recorded kernel GPU fault. Both backing directories were empty at retirement. The clamp and comparison runtime paths are restored on this receiving revision, at the cost of lower sampled host headroom in this single launch; the placement event count is not a unique-buffer count or readback correctness proof. We did not encounter the indirect-light/depth-twin warnings reported in the original issue in either local arm, so those paths remain unqualified. No focused physical GPU fixture or playable frame was verified in this comparison.
New release check (v2026.11.27.8): clean main
64d4931b3dd90305134512b805fc98f04119fb6e, independently built with the same locked offline MSVC toolchain. Same initialized profile seed, fresh engine/driver caches and Series X correctness settings as the original clean-main arm (including water lighting, BVH builder, full write-back, waits, DLSS/FG off and warmup restart off for the single-process diagnostic). This revision still logged one missing native-library warning, one card-compare failure and both missing clamp warnings; no saved native library. Additionally, one compute shader translation was refused withno wave32 lowering for this wave64 program is not supported. The actual launch reached loading artwork, then black, and the title exited with code 5 after 129.1 s. Minimum available host RAM 362 MiB, no new host OOM, recorded kernel GPU fault or guard stop. This is a new clean-main result; the private #830/#1489/#885 integration is not included in the tested build. The reported release lighting improvements cannot be visually qualified before world load. The earlier native-library/DLSS diagnostics are cross-linked in #120.v2026.11.27.8 integration check: the existing public #830/#1489/#885 adaptation applies cleanly to
64d4931(same donor attribution above; combined patch SHA-256176fbadf8f8d9ba07c46f6c0a99b4c258f376a399969eaf4faaf97f262a03a93, locked MSVC release passed in 1m41s). The tested integrated build and clean release .8 used the same profile seed, new engine/driver caches and graphical switches; the integration additionally selected the private DXC path and the 448 MiB mixed-backing allowance. Actual launch comparison:The candidate logged two successful DXC fallbacks, 3,447 card-copy placement events, and two temporary file-backed sections plus one pagefile section. Scratch retired empty. Neither arm recorded input, new OOM kills, GPU faults, or a guard stop. Both still reached black loading. This is a combined retest of the individually tested .7 changes, not isolated attribution of each on .8. The remaining refused compute is identified in the receiving source as the decal heap's relocation program; we deliberately request all passes, so the renderer still cannot establish complete intended fidelity. No in-game lighting or steady FPS conclusion follows from the loading samples.
This is supporting evidence for the same compatibility symptoms and the candidate fixes, not a claim that the black-screen cause is known or that different forks are interchangeable. I am keeping ray tracing and intended effects enabled. Full logs may contain title data or unrelated paths; the relevant sanitized diagnostics are above.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-28T00:43:52Z.
Thanks for the detailed report. Linux (Proton or vkd3d-proton) isn't something I can test here, so I can't promise a fix, but I'm keeping this open for others on Linux.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Kassadd on 2026-11-28T11:35:42Z.
The clamp and ambient failures go away with a real
d3dcompiler_47— no DXC neededIndependent reproduction on a stock Windows build under Proton: no custom
vkd3d-proton, noVICTORY_DXC, nolinux-supportbranch.Environment. RTX 4080 SUPER 16 GB, i9-14900K, CachyOS, Hyprland (Wayland).
GE-Proton 11-14, Series X,
1.0.2.1. Unmodifiedvictory.exefrom releasev2026.11.28.01 (SHA-256
49cebc4fac51cede9c8cca151c37f34c82d4733aa95093ab3bea9af9d60fbb33).Before. Proton's own
system32/d3dcompiler_47.dll(the Wine stub):Menus and loading fine; world and cutscenes uniformly black.
Change. Microsoft's
d3dcompiler_47.dll(12.10.40116.11, 4.3 MB, thewinetricks payload) placed next to
victory.exe, plusWINEDLLOVERRIDES="d3dcompiler_47=n".After. All five lines gone — zero occurrences of
E5005orisnan, noargument clampwarning — and the world renders.One correction to my own reading of #925: the clamp and the ambient stand-in
are the helper shaders that issue fixes with DXC, as it says explicitly. So
this is not a different code path, it is a cheaper fix for the same two: the
HLSL is fine for Microsoft's compiler and only the stub refuses
RWByteAddressBuffer.InterlockedOrand scalarisnan. Per #925 the stub alsoaccepts
[RootSignature(...)]and then drops it, so a reald3dcompiler_47avoids that failure too. For anyone who cannot drop DXC beside the binary,
side-loading the real compiler may be enough.
A second difference from the item 3 of the report: the ambient stand-in failed
on
isnanhere, not onGetDimensions, so my shader and the reported one arenot identical text. Both are gone after the change; I have not isolated which
of the two the compiler would still refuse for someone else.
Persistence does work in this configuration. The pipeline library is
written and grows across runs:
That contradicts the
no host pipeline library: pipelines are not keptobserved above, and I cannot explain the difference. It is not the runtime —
that report also used GE-Proton11-14 — so the likely variables are the release
version (v2026.11.28.01 here) or which library fix is in the build. I have not
isolated it, so I am only recording that it works here.
Negative result, in one line: swapping the presentation path changed
nothing — XWayland, Wine's
winewayland.drvand gamescope were identical, withthe title's thread in
Presentfor the bulk of the frame and the GPU largelyidle. Not the compositor.
Separately, a crash worth its own issue rather than mixing it in here: on
GE-Proton 11-12 the same build never reaches the world, dying on an illegal
instruction inside NVIDIA's shader compiler
(
libnvidia-gpucomp.so.620.73.04 + 0x3c94c0,0xc000001d,ud2at thatoffset) during
vkCreateComputePipelines. It leaves nocrashes.log; the playlog just stops after a
shader translatedwith no matchinghost pipeline shaders=[…]. GE-Proton 11-14 does not hit it. I did not isolatethe program responsible.
Happy to run a diagnostic build on this configuration.
Own measurement, not a figure from this thread
About 3.7 fps in the world, 41–82 MB copied per frame, the card mostly 10–14 % busy with peaks to ~50 % at
--res 1080to1440withVICTORY_BVH_BUILDER=0. I have not attached the playlog; say the word and I will.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArturoWolff on 2026-11-28T12:37:51Z.
Independent confirmation of Kassadd's native-compiler result on an RTX 4060 desktop 8 GB, 16 GB system RAM, Linux/NVIDIA 620.73.04, GE-Proton11-14. Same publisher release v2026.11.28.01 (
63b902fe, executable SHA-25649cebc4fac51cede9c8cca151c37f34c82d4733aa95093ab3bea9af9d60fbb33) in both launches. Separate fresh isolated Proton prefixes and fresh engine/driver caches; Series X,1080to1440, DLSS/FG off, full write-back, same launcher graphics defaults. This diagnostic profile still uses the default intentionally omitted passes and is not a full-fidelity acceptance test.The candidate mounts the native x64
d3dcompiler_47.dllbeside the release executable only inside its isolated runtime (SHA-2564432bbd1a390874f3f0a503d45cc48d346abc3a8c0213c289f4b615bf0ee84f3, digest from the installed Winetricks verb), and setsd3dcompiler_47=nafter prefix setup. Two actual Wineloaddllrecords confirm native module loads. No patched vkd3d, source changes or installed-system DLL changes.The operator observed only text/cutouts in the control run; the candidate's visual result is not yet verified. Both continued into a much higher draw-count workload, but still had substantial missing-pipeline drops and multi-hundred-ms or longer frame times. Neither hit the observed 128 MiB floor or recorded a kernel GPU fault. The candidate's minimum recorded available host RAM was 346092 KiB; the control's supplemental guard sampled only its tail, so its memory minimum is not directly comparable.
This confirms the compiler-side compatibility improvement on the smaller Linux GPU, including positive card-copy comparison telemetry. It does not establish the black-screen cause or fix, completed intended lighting, higher FPS, or the cause of exit 1. Candidate-only DLL-load logging and differing progression also limit performance comparisons. Thank you for the lead, Kassadd.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:49:25Z.
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.