docs/linux-proton: GE-Proton's Wine on an RTX 5070 Ti; the DXC fallback is in main #627

Open
github-bot wants to merge 1 commit from github-bot/gh-627 into main AGit
Owner

@⁠deadkid14 on GitHub · 2026-11-28 01:58 UTC · original
deadkid14:linux-support → main · +63 −3 · 1 files · 1 commits · open

Refs #3141

What it changes

Docs only. This pull request first carried two Linux switches (a watchdog hook and a DXC fallback) and a guide of its own. main now has both: aee4c45a tells the title's watchdog to quit, and crates/victory-gpu/src/hlsl.rs falls back to DXC. So the code is gone, and what is left updates docs/linux-proton.md, as asked earlier:

  • "Wine's own HLSL compiler" said the DXC fallback was in a pull request of its own. It now says the fallback is in main and how to point VICTORY_DXC at DXC.
  • A new section from one more PC: GE-Proton 11-14's wine without umu on an RTX 5070 Ti. It covers the upload-heap setting, the pipelines vkd3d-proton never makes (and warm --used leaving them out), the wait on arriving in the world, the frame-time breakdown, the watchdog now told to quit (so a stall lasts until the game is closed), one crash in loading, and memory.

How it was tested

  • GPU and profile: RTX 5070 Ti 16 GB (NVIDIA 620.73.04), Series X, native 1440p, DLSS quality, no frame generation, ray tracing on.
  • Build: main at 5fabb46e, unmodified, cross-compiled with cargo-xwin, run with GE-Proton 11-14's wine.
  • Before / after: not applicable (docs). The numbers in the section come from two starts of that build: the first ended in loading (described in the section), the second played for about four minutes. The upload-heap comparison is older (a build of 2026-11-27), as the section says.
  • Not tested: victory play under Wine, umu, other cards.
  • cargo test: not run (docs only).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: #3755, #3747, #3698, #3696, #3661, #3520, #2434 and #2168 also touch docs/linux-proton.md; none of them covers these topics.

🤖 Written with Claude Code (AI) from my run logs.

**@⁠deadkid14** on GitHub · 2026-11-28 01:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627) `deadkid14:linux-support` → `main` · +63 −3 · 1 files · 1 commits · open Refs #3141 ## What it changes Docs only. This pull request first carried two Linux switches (a watchdog hook and a DXC fallback) and a guide of its own. `main` now has both: `aee4c45a` tells the title's watchdog to quit, and `crates/victory-gpu/src/hlsl.rs` falls back to DXC. So the code is gone, and what is left updates `docs/linux-proton.md`, as asked earlier: - **"Wine's own HLSL compiler"** said the DXC fallback was in a pull request of its own. It now says the fallback is in `main` and how to point `VICTORY_DXC` at DXC. - **A new section from one more PC:** GE-Proton 11-14's `wine` without umu on an RTX 5070 Ti. It covers the upload-heap setting, the pipelines vkd3d-proton never makes (and `warm --used` leaving them out), the wait on arriving in the world, the frame-time breakdown, the watchdog now told to quit (so a stall lasts until the game is closed), one crash in loading, and memory. ## How it was tested - GPU and profile: RTX 5070 Ti 16 GB (NVIDIA 620.73.04), Series X, native 1440p, DLSS quality, no frame generation, ray tracing on. - Build: `main` at `5fabb46e`, unmodified, cross-compiled with `cargo-xwin`, run with GE-Proton 11-14's `wine`. - Before / after: not applicable (docs). The numbers in the section come from two starts of that build: the first ended in loading (described in the section), the second played for about four minutes. The upload-heap comparison is older (a build of 2026-11-27), as the section says. - Not tested: `victory play` under Wine, umu, other cards. - `cargo test`: not run (docs only). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: #3755, #3747, #3698, #3696, #3661, #3520, #2434 and #2168 also touch `docs/linux-proton.md`; none of them covers these topics. --- 🤖 Written with [Claude Code](https://claude.com/claude-code) (AI) from my run logs.
Under Wine the title's first frames are slow enough for its watchdog to end
the process. With VICTORY_NO_WATCHDOG=1 the loader jumps over the watchdog's
deliberate fault, only on the Series X 1.0.2.1 build and only where the bytes
are exactly the expected ones. Unset, nothing changes.

From Marvisak/VIctory pull request #454 (ruvenesh).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WMYmh5vpiv43s8cFAMD2Zv
The safe CreatePipelineLibrary wrapper passes a dangling non-null pointer for
an empty blob. vkd3d-proton answers E_INVALIDARG for a non-null blob of length
zero, so under Wine no library was ever made and no pipeline was kept between
runs.

From viyourmom/victory-8gb-linux-lowram 69cca8a, via meeyao/victory-8gb-linux.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WMYmh5vpiv43s8cFAMD2Zv
Under Wine, d3dcompiler_47 refuses some of the layer's HLSL (RWByteAddressBuffer
methods such as Load4) or drops the root signature of others, and the world
stays black. With VICTORY_DXC naming dxcompiler.dll or its folder, those
compiles try DXC first (shader model 6.0, signed through dxil.dll) and fall
back to D3DCompile. Unset, every call is D3DCompile as before.

Ported from the Linux branch of fxceless/victory-fork (its helpers follow
Marvisak/VIctory pull request #178).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WMYmh5vpiv43s8cFAMD2Zv
How to cross-build with cargo-xwin and run under GE-Proton's Wine with
vkd3d-proton, the switches above, the environment that was tested, and the
known problems (a few pipelines never made, the vkd3d-proton cache after a GPU
fault, memory).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WMYmh5vpiv43s8cFAMD2Zv
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 02:03:31 +00:00
Author
Owner

@⁠LoreRealm on GitHub · 2026-11-28 09:20 UTC · original

Another Linux data point, this one negative — with one partial success worth noting.

Setup: RTX 5080 (driver 620.73.4), CachyOS, Ryzen 9 9950X3D, running the x86_64-pc-windows-gnu build of linux-support (6d49f61) under umu-launcher — tested both UMU-Proton 11.0-2e and GE-Proton11-14 (the runtime from your testing). WINEDLLOVERRIDES forcing the fork's native d3d12/d3d12core/dxgi, VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1, PROTON_ENABLE_NVAPI=1 DXVK_ENABLE_NVAPI=1.

Partial success: VICTORY_NO_WATCHDOG=1 works as designed. On unfixed builds the title self-terminates cleanly at ~50s; on this branch it survives indefinitely (run stopped manually at ~4 min, GPU showing intermittent 4–35% activity, 2 GB VRAM resident).

Negative: frames remain pure black — backbuffer captures are uniformly black (verified via VICTORY_CAPTURE, all ~1.5 KB solid-black PNGs), and this was identical across both Proton runtimes. No victory play log is produced under Proton (the logs dir is never created) — same as reported in trustno1-coder/VIctory-NVIDIA#860.

Hypothesis for the difference from your working run: every successful Linux report I can find (yours, PR #120's RTX 5070 Ti, PR #207's RTX 3060 Ti) ran the Series X 1.0.2.1 build, and the watchdog hook is explicitly byte-matched to it. I ran with --console series-s against a different dump build — if other byte-pinned paths (DXC compile selection, RT heap shapes) also assume Series X 1.0.2.1, a Series S invocation could fall through them all silently. I'll test the Series X invocation next and report back.

Also relevant background: a sibling fork (ToLIManl/VIctory-Hydra, which merges parts of this lineage) renders the full menu/loading UI under the same prefix but dies at world-load — ToLIManl/VIctory-Hydra#3. So on this machine the family spans black-frames, world-load death, and menu-rendering depending on the branch, which may interest anyone triaging where the Proton wall actually sits.

**@⁠LoreRealm** on GitHub · 2026-11-28 09:20 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627#issuecomment-7237175983) Another Linux data point, this one negative — with one partial success worth noting. **Setup:** RTX 5080 (driver 620.73.4), CachyOS, Ryzen 9 9950X3D, running the x86_64-pc-windows-gnu build of `linux-support` (6d49f61) under umu-launcher — tested both UMU-Proton 11.0-2e and GE-Proton11-14 (the runtime from your testing). `WINEDLLOVERRIDES` forcing the fork's native d3d12/d3d12core/dxgi, `VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1`, `PROTON_ENABLE_NVAPI=1 DXVK_ENABLE_NVAPI=1`. **Partial success:** `VICTORY_NO_WATCHDOG=1` works as designed. On unfixed builds the title self-terminates cleanly at ~50s; on this branch it survives indefinitely (run stopped manually at ~4 min, GPU showing intermittent 4–35% activity, 2 GB VRAM resident). **Negative:** frames remain pure black — backbuffer captures are uniformly black (verified via VICTORY_CAPTURE, all ~1.5 KB solid-black PNGs), and this was identical across both Proton runtimes. No victory play log is produced under Proton (the logs dir is never created) — same as reported in trustno1-coder/VIctory-NVIDIA#860. **Hypothesis for the difference from your working run:** every successful Linux report I can find (yours, PR #120's RTX 5070 Ti, PR #207's RTX 3060 Ti) ran the Series X 1.0.2.1 build, and the watchdog hook is explicitly byte-matched to it. I ran with `--console series-s` against a different dump build — if other byte-pinned paths (DXC compile selection, RT heap shapes) also assume Series X 1.0.2.1, a Series S invocation could fall through them all silently. I'll test the Series X invocation next and report back. Also relevant background: a sibling fork (ToLIManl/VIctory-Hydra, which merges parts of this lineage) renders the full menu/loading UI under the same prefix but dies at world-load — ToLIManl/VIctory-Hydra#3. So on this machine the family spans black-frames, world-load death, and menu-rendering depending on the branch, which may interest anyone triaging where the Proton wall actually sits.
Author
Owner

@⁠LoreRealm on GitHub · 2026-11-28 09:30 UTC · original

Update — found it: the blocker on this machine was --console series-s.

Retested the same linux-support build (6d49f61) with --console series-x instead: GE-Proton11-14, VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1, PROTON_ENABLE_NVAPI=1 DXVK_ENABLE_NVAPI=1, RTX 5080.

Result: the title now loads progressively and renders real content — VRAM climbs 2 GB → 4.3 GB → 6.1 GB over the run, and the loading screen (Lucia/Jason art with the fork watermark) displays correctly. For contrast, the identical invocation with --console series-s produced pure black frames across UMU-Proton 11.0-2e and GE-Proton11-14, never exceeding ~2 GB VRAM.

Frame rate during load is brutal (0.1–0.5 fps — the world-load/bake phase under vkd3d-proton), consistent with the texture-bake regression reported on the fxceless lineage (fxceless/victory-fork#594), but rendering is happening where nothing rendered before.

So for the docs/linux.md known-problems section: a Series S invocation may silently fall through the byte-pinned paths (watchdog hook and whatever else matches Series X 1.0.2.1) and present as uniformly black frames with no error anywhere — worth an explicit note that only the Series X invocation is supported/tested on Wine, if that's the case. Happy to contribute that note if useful.

Thanks for the PR — the watchdog skip and null-blob pipeline library were both visibly load-bearing on this machine.

**@⁠LoreRealm** on GitHub · 2026-11-28 09:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627#issuecomment-7237283564) **Update — found it: the blocker on this machine was `--console series-s`.** Retested the same `linux-support` build (6d49f61) with `--console series-x` instead: GE-Proton11-14, `VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1`, `PROTON_ENABLE_NVAPI=1 DXVK_ENABLE_NVAPI=1`, RTX 5080. Result: the title now loads progressively and **renders real content** — VRAM climbs 2 GB → 4.3 GB → 6.1 GB over the run, and the loading screen (Lucia/Jason art with the fork watermark) displays correctly. For contrast, the identical invocation with `--console series-s` produced pure black frames across UMU-Proton 11.0-2e and GE-Proton11-14, never exceeding ~2 GB VRAM. Frame rate during load is brutal (0.1–0.5 fps — the world-load/bake phase under vkd3d-proton), consistent with the texture-bake regression reported on the fxceless lineage (fxceless/victory-fork#594), but rendering is happening where nothing rendered before. So for the docs/linux.md known-problems section: a Series S invocation may silently fall through the byte-pinned paths (watchdog hook and whatever else matches Series X 1.0.2.1) and present as **uniformly black frames with no error anywhere** — worth an explicit note that only the Series X invocation is supported/tested on Wine, if that's the case. Happy to contribute that note if useful. Thanks for the PR — the watchdog skip and null-blob pipeline library were both visibly load-bearing on this machine.
Author
Owner

@⁠LoreRealm on GitHub · 2026-11-28 09:42 UTC · original

Correction to my earlier comment: after the successful 10-minute rendering run (timeout-killed at 600s, VRAM climbed 2→6 GB, loading screen rendering at 0.1 fps), I verified persistence — no pipeline library file was written anywhere under %LOCALAPPDATA%\victory\. Nothing newer than a pre-existing cache from earlier sessions (timestamps ~2h before this run). So on this machine the null-blob pipeline library fix does not result in any saved pipelines, and every subsequent run redoes the full ~0.1 fps cold compile from scratch.

Same silence as the never-created logs directory: victory's file-persistence layer (play log, pipeline library) appears to no-op entirely under this Wine setup — rendering works, persistence doesn't.

Environment detail in case it matters for diagnosis: umu-launcher 1.4.3, GE-Proton11-14 (AUR proton-ge build, installed under Steam's compatibilitytools.d), standard WINEPREFIX, Series X invocation, VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1, native d3d12/dxgi forced via WINEDLLOVERRIDES.

The second run of the same command confirmed the consequence: identical cold-start behavior — no menu within the first several minutes (the 10-min run took that long to show it), run abandoned early. With the library saving as designed, repeated runs should get dramatically cheaper per your own testing, so figuring out why the save no-ops here is likely the last piece between this machine's "renders but impractical" and a usable loop.

**@⁠LoreRealm** on GitHub · 2026-11-28 09:42 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627#issuecomment-7237412173) Correction to my earlier comment: after the successful 10-minute rendering run (timeout-killed at 600s, VRAM climbed 2→6 GB, loading screen rendering at 0.1 fps), I verified persistence — **no pipeline library file was written anywhere under `%LOCALAPPDATA%\victory\`**. Nothing newer than a pre-existing cache from earlier sessions (timestamps ~2h before this run). So on this machine the null-blob pipeline library fix does not result in any saved pipelines, and every subsequent run redoes the full ~0.1 fps cold compile from scratch. Same silence as the never-created logs directory: victory's file-persistence layer (play log, pipeline library) appears to no-op entirely under this Wine setup — rendering works, persistence doesn't. Environment detail in case it matters for diagnosis: umu-launcher 1.4.3, GE-Proton11-14 (AUR `proton-ge` build, installed under Steam's `compatibilitytools.d`), standard `WINEPREFIX`, Series X invocation, `VICTORY_NO_WATCHDOG=1 VICTORY_DXC=1`, native d3d12/dxgi forced via `WINEDLLOVERRIDES`. The second run of the same command confirmed the consequence: identical cold-start behavior — no menu within the first several minutes (the 10-min run took that long to show it), run abandoned early. With the library saving as designed, repeated runs should get dramatically cheaper per your own testing, so figuring out why the save no-ops here is likely the last piece between this machine's "renders but impractical" and a usable loop.
Author
Owner

@⁠Kassadd on GitHub · 2026-11-28 12:49 UTC · original · edited 2026-11-28 13:20 UTC

Two of the wait budgets are real but are not the bottleneck, measured under
GE-Proton 11-14 on an RTX 4080 SUPER (Series X 1.0.2.1, --res 1080to1440,
VICTORY_BVH_BUILDER=0, ~7000 draws/frame, world frames only):

VICTORY_PIPELINE_WAIT_MS=0 together with VICTORY_SCREEN_WAIT_MS=0 takes
threads of the title waited … at presents from ~236 ms down to ~20–43 ms.
The time reappears in preparing (copies 10–14 ms becomes 67–165 ms), and the
frame rate does not move: 3.7 fps either way. The same happens with
VICTORY_SUBMIT_FRAMES=4. So the budget is real — a draw whose pipeline is
not ready waits against 500 ms per frame (make.rs:298-307), 10 s for screen
passes (252-262) — but the frame is serial, and moving the wait from one
stage to another does not shorten it.

Two negatives from the same runs, in case they save someone the attempt:
VICTORY_INPLACE=1 changed nothing observable here, and the presentation path
is not the cause — XWayland, Wine's winewayland.drv and gamescope all gave
the same numbers.

Happy to produce the logs for any of this on request.

**@⁠Kassadd** on GitHub · 2026-11-28 12:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627#issuecomment-7239495427) · edited 2026-11-28 13:20 UTC Two of the wait budgets are real but are not the bottleneck, measured under GE-Proton 11-14 on an RTX 4080 SUPER (Series X 1.0.2.1, `--res 1080to1440`, `VICTORY_BVH_BUILDER=0`, ~7000 draws/frame, world frames only): `VICTORY_PIPELINE_WAIT_MS=0` together with `VICTORY_SCREEN_WAIT_MS=0` takes `threads of the title waited … at presents` from ~236 ms down to ~20–43 ms. The time reappears in `preparing` (copies 10–14 ms becomes 67–165 ms), and the frame rate does not move: 3.7 fps either way. The same happens with `VICTORY_SUBMIT_FRAMES=4`. So the budget is real — a draw whose pipeline is not ready waits against 500 ms per frame (`make.rs:298-307`), 10 s for screen passes (`252-262`) — but the frame is serial, and moving the wait from one stage to another does not shorten it. Two negatives from the same runs, in case they save someone the attempt: `VICTORY_INPLACE=1` changed nothing observable here, and the presentation path is not the cause — XWayland, Wine's `winewayland.drv` and gamescope all gave the same numbers. Happy to produce the logs for any of this on request.
github-bot changed title from Linux (Wine / Proton): three opt-in fixes and a guide to docs/linux-proton: GE-Proton's Wine on an RTX 5070 Ti; the DXC fallback is in main 2026-12-01 10:07:54 +00:00
github-bot force-pushed github-bot/gh-627 from 6d49f612b8 to e9a7bebb9b 2026-12-01 10:07:56 +00:00 Compare
Author
Owner

@⁠deadkid14 on GitHub · 2026-12-01 10:03 UTC · original

Thanks to both of you for testing this. Since then main got both code parts: the title's watchdog is told to quit (aee4c45a), and the layer's own shaders fall back to DXC (hlsl.rs). So I've cut this pull request down to a docs update of docs/linux-proton.md.

If you try again, current main needs no patches under Proton. Set VICTORY_DXC to a folder with DXC's dxcompiler.dll and dxil.dll, and run victory warm --used once before playing, so the few pipelines vkd3d-proton never makes are left out.


🤖 Written with Claude Code (AI) from my run logs.

**@⁠deadkid14** on GitHub · 2026-12-01 10:03 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/627#issuecomment-7307614505) Thanks to both of you for testing this. Since then `main` got both code parts: the title's watchdog is told to quit (`aee4c45a`), and the layer's own shaders fall back to DXC (`hlsl.rs`). So I've cut this pull request down to a docs update of `docs/linux-proton.md`. If you try again, current `main` needs no patches under Proton. Set `VICTORY_DXC` to a folder with DXC's `dxcompiler.dll` and `dxil.dll`, and run `victory warm --used` once before playing, so the few pipelines vkd3d-proton never makes are left out. --- 🤖 Written with [Claude Code](https://claude.com/claude-code) (AI) from my run logs.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/627/head:github-bot/gh-627'
git switch 'github-bot/gh-627'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-627'
git switch 'github-bot/gh-627'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-627'
git switch 'github-bot/gh-627'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-627'
git switch 'main'
git merge --squash 'github-bot/gh-627'
git switch 'main'
git merge --ff-only 'github-bot/gh-627'
git switch 'main'
git merge 'github-bot/gh-627'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!627
No description provided.