Linux/Wine: run with the system Wine and vkd3d-proton, with DLSS and frame generation #1702
No reviewers
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!1702
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1702"
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?
@ItsYusei99 on GitHub · 2026-11-28 23:39 UTC · original
ItsYusei99:linux/wine→main· +1178 −212 · 22 files · 9 commits · openRuns VIctory-NVIDIA on Linux with the system Wine and vkd3d-proton (no Proton), including DLSS and DLSS Frame Generation. Every Wine-specific behaviour is either a runtime fallback that only triggers when Wine's compiler fails, or behind a switch that is off by default, so Windows behaviour does not change.
Full write-up (setup, problems, causes, fixes):
docs/linux-wine.md. Portable launcher:scripts/run-wine.sh.Tested on CachyOS, RTX 4070 12 GB, NVIDIA 620.73.04, Wine 11.22, vkd3d-proton 3.2.0, dxvk-nvapi 0.9.3, Streamline 2.14.16, Series S profile.
Problems and fixes
D3DCompilerefuses some of the layer's HLSL (e.g.LoadonRWByteAddressBuffer, HLSL root signatures)VICTORY_DXC) and in-code root signatures:3315533,7cca2fb,7c36064,f4f5584,709b85e||/&&)-HV 2018:7e8dc9961e8f89VICTORY_PIPELINE_COMPUTE_WAITon, a dispatch waits forever for a compute pipeline that never completes under WineVICTORY_PIPELINE_COMPUTE_WAIT=0in the launcher (root cause of the stuck pipeline still open)VICTORY_PIPELINE_WAIT_MS=100in the launcher: ~12–14 fps.0reached 10–22 fps but froze after ~1.5 min (title allocator free list corrupted, likely from skipped GPU work)sl.commonreadsHwSchEnabledthroughD3DKMTQueryAdapterInfo(KMTQAITYPE_WDDM_2_7_CAPS), which Wine reports as offVICTORY_STREAMLINE_FAKE_HWS=1(off by default) patchessl.common.dll'sGetProcAddressimport so that query reports it on:b15178bDocs and launcher:
4ca7fd9.Results
upscaler-check --devicepasses; in game, one DLSS upscale per frame with no failures.upscaler-check --presentshows 360 frames from 180 presents; in game ~14 real fps → ~28 shown.Known issues
VICTORY_PROFILEsampler crashes the title under Wine; gdb works instead.@Aiken-Project-A on GitHub · 2026-11-29 13:44 UTC · original
Confirming the
-HV 2018part of this on an RTX 2060 / 615.78.08 / Linux, main829188e9. Without it the ambient light'sraise(sincee1681b6cit scrubs NaN withisnan(found) || isinf(found)on afloat3) fails on both compilers: Wine's d3dcompiler refusesisnan, and DXC, on its default HLSL 2021, says "operands for short-circuiting logical binary operator must be scalar, for non-scalar types use 'or'". The stand-in for the indirect light is then never made ("no stand-in for the indirect light"). With only-HV 2018added to the DXC arguments on top of829188e9,raise,clear_air,reflect_lightandbound_lightall compile through DXC and the stand-in is made.Written with AI assistance (Claude).
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.