Linux/Wine: run with the system Wine and vkd3d-proton, with DLSS and frame generation #1702
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ItsYusei99 on 2026-11-28T23:39:05Z.
Runs 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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aiken-Project-A on 2026-11-29T13:44:44Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.