Proton rendering workaround: fallback root-signature serialization for internal HLSL helpers #4375
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4375
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?
@diafebus on GitHub · 2026-11-30 19:26 UTC · original
Proposing the Wine compatibility patch used by our local RX 6950 XT rendering builds, including the successful v2026.11.30.02 build reported in #4247. The system is Fedora 45 KDE / GE-Proton11-14 / native D3D12 and Microsoft d3dcompiler_47 DLL overrides.
Earlier local runs could reach menus and subtitles with a black 3D world. The working Wine path constructs and serializes root signatures for internal HLSL helper shaders when creating a root signature directly from the compiled shader blob fails. This patch is a concrete implementation of that fallback, applied to v2026.11.30.02 (
84bd61e2).The helper reads its own HLSL
#define RSstring, builds a D3D12 description, and serializes it. Call sites first attempt the existing embedded-blob creation and fall back on failure. A source comment records E_FAIL on the Wine path. The title's shaders continue through their existing pipeline handling. This is a compatibility workaround for our tested Wine environment, with no claim that every black-screen cause or AMD GPU is covered.Covered call sites include internal ambient/composition helpers, buffer comparison/batching, awake/send/upcheck helpers and indirect argument preparation. The parser supports the root-signature syntax used by these sources and reports unsupported syntax. It includes synthetic parser tests inherited from our local working helper. Those tests have not been independently rerun against this release; both the release build and our live world-rendering run have succeeded with the fallback present. A same-release unpatched/fallback-only A/B has not been completed.
The run also used a compatible Microsoft compiler DLL and native D3D12 overrides, which must be considered alongside this patch. The separate face port and CPU settings in #4247 should be evaluated separately when identifying causes. The current live candidate has correct face rendering, full interior lighting, 10–15 FPS observed while walking in a prior run and approximately 10 FPS observed in a current cutscene. Assets still arrive late during cutscenes.
Could you review the fallback approach and the required root-signature syntax coverage for direct Proton launches? The complete local source patch is below for review. It contains runtime helper code and synthetic parser fixtures.
Wine helper root-signature fallback patch
@github-actions[bot] on GitHub · 2026-11-30 19:26 UTC · original
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)
@diafebus on GitHub · 2026-11-30 19:31 UTC · original
Environment for this patch proposal: AMD Radeon RX 6950 XT, Fedora Linux 45 KDE, GE-Proton11-14, with v2026.11.30.02 (
84bd61e2) cross-built locally and launched throughrun --executewith native D3D12/compiler DLL overrides.This proposal documents the compatibility workaround already used by our working renderer. The current runs have no new crash logs. The state directory's
crashes.logis byte-for-byte identical to the older reference state copied into this test, and the newest individual crash file dates from that earlier run. Those files cannot identify a failure in this candidate.Our direct launcher explicitly sets
VICTORY_LOG_FILE, so its renderer output is the corresponding play/run log. The full sanitized logs are packaged for manual attachment asvictory-nvidia-4246-sanitized-logs.zip. The successful-run log excerpts and launch details are also available in the linked report. Environment and log clarificationThe complete source fallback patch is inline above. Further reproduction would need a deliberately unpatched Wine run to capture the helper root-signature failure on this exact release; we have not performed that same-release A/B yet.