Add Linux Support #161
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#161
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?
@th3g3ntl3mxn on GitHub · 2026-11-27 19:06 UTC · original
i tried to get this working with an agent but it didnt work, it said that this wasnt compatible on linux under proton.
FIndings"
● After extensive testing, I've found that VIctory-NVIDIA cannot run properly on Linux through Proton Experimental. Here's what I discovered:
The Core Issue
The VIctory-NVIDIA compatibility layer is designed for native Windows with a real D3D12 driver. When run through Wine/VKD3D-Proton on Linux, it fails at a fundamental level:
[WARN] victory_gpu::host: no host D3D12 device; command lists will not run error=Invalid parameter. (0x80070057)
The layer creates its own "host D3D12 device" for the compatibility layer's rendering (separate from the game's device), and this device creation fails on VKD3D-Proton. The result:
What I Tried
┌──────────────────────────────────────────┬─────────────────────────────────────────────────┐
│ Attempt │ Result │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ Pre-built victory.exe + Proton prefix │ D3D12 device creation fails │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ Manual VKD3D-Proton DLL installation │ Same "Invalid parameter" error │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ Series S profile, no DLSS, ambient light │ Same issue │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ Shader cache warming (victory.exe warm) │ No pipeline book yet │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ d3dcompiler_47, vcrun2019 via winetricks │ No effect on core issue │
├──────────────────────────────────────────┼─────────────────────────────────────────────────┤
│ VKD3D_DEBUG=warn │ Confirms failure is in victory layer, not VKD3D │
└──────────────────────────────────────────┴─────────────────────────────────────────────────┘
@borntofrag34 on GitHub · 2026-11-27 20:53 UTC · original
For whoever picks this up: a VIctory line does run under Proton on Linux, at 36-38 fps in the opening scene on an RX 7900 GRE (RADV, Proton Experimental), and there are reports of it on an RX 9070 XT, an RX 7600 XT and an RX 7900 XT. Everything is in https://github.com/borntofrag34/VIctory-7900XTX, branch
linux-wine, with the runs behind each figure indocs/linux-wine.md. It is not NVIDIA-tested, but most of what it took is about Wine, not the card.What it took, roughly in order of how much it mattered:
d3d12/d3d12coreand DXVK'sdxgicopied in, and Microsoft's 64-bitd3dcompiler_47.dll(Wine's own cannot compile the runtime's internal shaders: the picture stays black).scripts/play.shdoes it.mmap(VICTORY_WINE_MAP): Wine's server walks a list of views on every map and unmap, under ntdll's lock. 768 ms of every second went there; 13 ms after.VICTORY_PIPELINE_WATCH,VICTORY_SINGLE_LATCH): dxil-spirv overflows its stack on some compute programs, Wine ends the worker silently, and its pipeline is waited for every frame. 287 -> 47.9 ms.VICTORY_LIBRARY_NULL): vkd3d-proton refusesCreatePipelineLibrarywith a non-null pointer of length 0, so no pipeline was ever kept between runs.VICTORY_COMPUTE_WAIT_MS): a compute pass the title runs once (the face deformer's table) was dropped while its pipeline was still being made. It now waits on a budget of its own (500 ms under Wine). Your tree may want the same on Windows on a cold cache; your #243 does it differently (wait until made).VICTORY_PORT_HOME): RADV/amdgpu refuses a heap opened on a section's view and vkd3d-proton silently backs it with its own memory, so the card reads zeros. The title's 32-bit graphics pages are shown as one anonymous mapping at the title's address, and the heap is opened there.VICTORY_CLAMP_SYNC): under RADV the legacy UAV barriers drain the whole pipe. Enhanced barriers that name compute and indirect arguments: 56 -> 34 ms with the order-of-clamps fix on.We did not see the
0x80070057of the first post (no host D3D12 device) ourselves, so this is a guess: it fits the first point, a prefix without vkd3d-proton's DLLs or with Wine's built-ind3d12. A log withWINEDEBUG=err+allwould tell.🤖 Generated with Claude Code
@trustno1-coder on GitHub · 2026-11-27 20:59 UTC · original
Linux isn't supported yet, and v2026.11.27.6 (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.6) doesn't change that, sorry. It has today's Windows crash fixes only.
@trustno1-coder on GitHub · 2026-11-27 21:08 UTC · original
Closing: Linux isn't supported and isn't planned for this fork right now. Thanks for the notes on what you tried.