docs/linux-proton: NVIDIA's shader cache under umu, the borderless window, Wine's HLSL compiler #926

Manually merged
github merged 1 commit from github-bot/gh-926 into main 2026-11-29 08:21:58 +00:00 AGit
Owner

@⁠kc01-8 on GitHub · 2026-11-28 09:10 UTC · original
kc01-8:pr/linux-notes → main · +47 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC

Summary

Additions to docs/linux-proton.md, each measured under Proton Experimental on an RTX 3080 Ti (NVIDIA 620.73.04).

  • Compiled pipelines between runs.
    • Under umu-run, nothing sets NVIDIA's shader disk cache (Steam does, for its own games), and vkd3d-proton's cache keeps only SPIR-V. So every run compiles every pipeline again: three minutes into play, NVIDIA's compiler was 46 % of the CPU samples (perf).
    • The section gives the settings for a cache folder and a size under 4 GiB. 16 GiB (2^34) left the cache unwritten.
    • With the cache, the second run had 237 pipelines still being made at 90 seconds, where the first had 508 at two minutes.
  • The picture is soft unless the window is borderless. Without VICTORY_FULLSCREEN=1, the window is fitted to the work area (2488×1400 for a 2560×1440 picture on a 1440p screen) and the swap chain is stretched into it.
  • Wine's own HLSL compiler. It refuses several helpers, and drops [RootSignature] from the code. The fix is in a pull request of its own (DXC fallback).
  • Under "Also seen":
    • Under Wine, Z:\proc\self is the wineserver's, not the reading process's.
    • The sampling profiler (VICTORY_PROFILE) stops the title under Wine; perf pauses nothing.

Docs only; no code changes.

Where this comes from

These come from kc01-8/VIctoryNVIDIALINUX (branch kc/foxhound). It is this tree on an NVIDIA GeForce card under Linux and Proton. So far, on an RTX 3080 Ti:

  • Memory: 12–14 GB that cannot be reclaimed, for a whole run (title memory read in place, because NVIDIA's Linux driver pins every page of a buffer it is given).
  • Shaders: 99.96 % of the shaders the title asked for in a run translate (2,533 of 2,534), and all host pipelines were made.
  • Frame rate: 8–14 fps at 1,400–3,700 draws a frame.

Its README has every run's numbers and a ranked list of next steps, for people and agents taking it further.

🤖 Generated with Claude Code

**@⁠kc01-8** on GitHub · 2026-11-28 09:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/926) `kc01-8:pr/linux-notes` → `main` · +47 −0 · 1 files · 1 commits · merged 2026-11-29 08:16 UTC ## Summary Additions to `docs/linux-proton.md`, each measured under Proton Experimental on an RTX 3080 Ti (NVIDIA 620.73.04). - **Compiled pipelines between runs.** - Under `umu-run`, nothing sets NVIDIA's shader disk cache (Steam does, for its own games), and vkd3d-proton's cache keeps only SPIR-V. So every run compiles every pipeline again: three minutes into play, NVIDIA's compiler was 46 % of the CPU samples (`perf`). - The section gives the settings for a cache folder and a size under 4 GiB. 16 GiB (2^34) left the cache unwritten. - With the cache, the second run had 237 pipelines still being made at 90 seconds, where the first had 508 at two minutes. - **The picture is soft unless the window is borderless.** Without `VICTORY_FULLSCREEN=1`, the window is fitted to the work area (2488×1400 for a 2560×1440 picture on a 1440p screen) and the swap chain is stretched into it. - **Wine's own HLSL compiler.** It refuses several helpers, and drops `[RootSignature]` from the code. The fix is in a pull request of its own (DXC fallback). - **Under "Also seen":** - Under Wine, `Z:\proc\self` is the wineserver's, not the reading process's. - The sampling profiler (`VICTORY_PROFILE`) stops the title under Wine; `perf` pauses nothing. Docs only; no code changes. ## Where this comes from These come from **[kc01-8/VIctoryNVIDIALINUX](https://github.com/kc01-8/VIctoryNVIDIALINUX)** (branch `kc/foxhound`). It is this tree on an NVIDIA GeForce card under **Linux and Proton**. So far, on an RTX 3080 Ti: - **Memory:** 12–14 GB that cannot be reclaimed, for a whole run (title memory read in place, because NVIDIA's Linux driver pins every page of a buffer it is given). - **Shaders:** 99.96 % of the shaders the title asked for in a run translate (2,533 of 2,534), and all host pipelines were made. - **Frame rate:** 8–14 fps at 1,400–3,700 draws a frame. Its README has every run's numbers and a ranked list of next steps, for people and agents taking it further. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
From the Linux work in kc01-8/VIctoryNVIDIALINUX (branch kc/foxhound), each
measured on an RTX 3080 Ti under Proton Experimental:
- under umu-run nothing sets NVIDIA's shader cache: every run compiled
  every pipeline again (46% of the CPU three minutes in); a folder and a
  size under 4 GiB (16 GiB left it unwritten);
- without VICTORY_FULLSCREEN=1 the window is fitted to the work area and
  every frame is resampled;
- Wine's d3dcompiler_47 leaves [RootSignature] out of the code;
- Z:\proc\self under Wine is the wineserver's; the sampling profiler
  stops the title, perf does not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:30:22 +00:00
github manually merged commit 82d4004b40 into main 2026-11-29 08:21:58 +00:00
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!926
No description provided.