Gameplay black screen: E5005 in clamp/indirect light shaders, dropped host pipelines, and vkd3d missing terminator (OpUnreachable) #357
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#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?
@tomimrl on GitHub · 2026-11-27 21:22 UTC · original
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)@ArturoWolff on GitHub · 2026-11-27 21:57 UTC · original · edited 2026-11-27 23:18 UTC
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).
@trustno1-coder on GitHub · 2026-11-28 00:43 UTC · original
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.