Add Linux Support #161

Closed
opened 2026-11-27 19:08:39 +00:00 by github-bot · 3 comments
Owner

@⁠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:

  • Frames are presented but with 0 draws, 0 drawn
  • "command lists submitted; no host GPU runs them"
  • White screen because nothing is actually rendered

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 │
└──────────────────────────────────────────┴─────────────────────────────────────────────────┘

**@⁠th3g3ntl3mxn** on GitHub · 2026-11-27 19:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/161) 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: - Frames are presented but with 0 draws, 0 drawn - "command lists submitted; no host GPU runs them" - White screen because nothing is actually rendered 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 │ └──────────────────────────────────────────┴─────────────────────────────────────────────────┘
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 19:08:39 +00:00
Author
Owner

@⁠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 in docs/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:

  • A prefix the layer can use. Proton's own Wine, with vkd3d-proton's d3d12/d3d12core and DXVK's dxgi copied in, and Microsoft's 64-bit d3dcompiler_47.dll (Wine's own cannot compile the runtime's internal shaders: the picture stays black). scripts/play.sh does it.
  • Mapping title pages with the host's 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.
  • Pipeline workers that die (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.
  • The empty pipeline library (VICTORY_LIBRARY_NULL): vkd3d-proton refuses CreatePipelineLibrary with a non-null pointer of length 0, so no pipeline was ever kept between runs.
  • Faces without skin on first use (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).
  • Renderer patch 1 under Wine (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.
  • Barriers around indirect-argument clamps (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 0x80070057 of 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-in d3d12. A log with WINEDEBUG=err+all would tell.

🤖 Generated with Claude Code

**@⁠borntofrag34** on GitHub · 2026-11-27 20:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/161#issuecomment-7227941487) 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 in `docs/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: - **A prefix the layer can use.** Proton's own Wine, with vkd3d-proton's `d3d12`/`d3d12core` and DXVK's `dxgi` copied in, and Microsoft's 64-bit `d3dcompiler_47.dll` (Wine's own cannot compile the runtime's internal shaders: the picture stays black). `scripts/play.sh` does it. - **Mapping title pages with the host's `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. - **Pipeline workers that die** (`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. - **The empty pipeline library** (`VICTORY_LIBRARY_NULL`): vkd3d-proton refuses `CreatePipelineLibrary` with a non-null pointer of length 0, so no pipeline was ever kept between runs. - **Faces without skin on first use** (`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). - **Renderer patch 1 under Wine** (`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. - **Barriers around indirect-argument clamps** (`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 `0x80070057` of 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-in `d3d12`. A log with `WINEDEBUG=err+all` would tell. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠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 20:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/161#issuecomment-7228024698) 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.
Author
Owner

@⁠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.

**@⁠trustno1-coder** on GitHub · 2026-11-27 21:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/161#issuecomment-7228172825) Closing: Linux isn't supported and isn't planned for this fork right now. Thanks for the notes on what you tried.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#161
No description provided.