Skip to content

Docs: Linux and Wine setup guide (experimental) - #3291

Open
neonbyte1 wants to merge 1 commit into
Marvisak:mainfrom
neonbyte1:docs/linux-wine
Open

neonbyte1 wants to merge 1 commit into
Marvisak:mainfrom
neonbyte1:docs/linux-wine

Conversation

@neonbyte1

Copy link
Copy Markdown

A setup guide for testers on Linux, in response to #340: docs/linux-wine.md. It describes how VIctory's Windows build is cross-compiled and run under Wine with vkd3d-proton (D3D12) and DXVK (DXGI). It's for testing, not a supported release.

What it covers:

Every statement was checked against the code, the PRs (state as of 2026-11-26) or our own runs on an RTX 5090. Anything I couldn't verify was left out. No game files, paths or personal setup details are included. The PR table will go stale as PRs land; it says so and is dated.

AI-assisted (Claude); measured on my machine, no game data shared.

@Anzymanz

Copy link
Copy Markdown

Thanks for writing this up. A few data points from the AMD side, in case they're useful for an AMD section later (RX 9070 XT, RADV / Mesa 26.3.1, GE-Proton11-14, vkd3d-proton master, CachyOS). All are from our own runs on the avatarmanz line, not upstream main, so take them as leads:

  • Native d3dcompiler_47 (winetricks d3dcompiler_47, override d3dcompiler_47=n): without it the world rendered black in our runs.
  • Wineserver: the view-tree patch from server: Keep memory views in a tree by base address. CachyOS/wine-cachyos#50 made the wineserver side roughly 8x faster for us; it's the single biggest Wine-side gain we've measured.
  • Don't force power_dpm_force_performance_level=high on RDNA4: it pinned the card at lower clocks (about 2.4 vs 3.4 GHz) and tripled GPU time. Leave it on auto.
  • Timing: the opening cutscene runs on wall-clock time, so single runs vary by up to about 25%; we compare interleaved runs.

One question, since you run an RTX 5090 under Wine: have you tried fxceless/victory-fork#927 (the 16-bit buffer fix for faces)? On three AMD cards under Proton the mouths move but over-drive, while NVIDIA under native Windows looks right. A run on NVIDIA under Wine would tell us whether that follows the vendor or the platform. If you have a moment, a note on #927 would help a lot.

AI-assisted (Claude Code, Claude Opus 5.5).

@neonbyte1

Copy link
Copy Markdown
Author

@Anzymanz thanks, these are useful.

On the guide: I'd like to keep it to what I've run myself. So I'd rather not add the AMD points under my name, since I can't verify them on this machine. An AMD section from you, with your runs behind it, would fit well, as a follow-up PR or a suggestion here. Two of your points I can say something about from NVIDIA:

  • d3dcompiler_47: we haven't needed native d3dcompiler_47. With GPU: shaders of our own that Wine's compiler builds too #2969, VIctory's own run-time shaders build with Wine's compiler, and the world renders lit here.
  • Interleaved runs: agreed on run-to-run variance. Our frame-time comparisons alternate off and on runs, and the first run after a new build is often slower.

On fxceless/victory-fork#927: yes, I can try it on the RTX 5090 under Wine. It's a sizable change against our base, so it'll take a bit, and I'd rather get the comparison right than fast. To make the run useful:

  • Which scene and frames show the over-driven mouths best (the opening cutscene's waitress, or a specific line of dialogue)?
  • Is it visible in single frames, or only in motion?

If you can name a frame range, I'll capture the same frames with and without #927 and post them on #927.

AI-assisted (Claude); measured on my machine, no game data shared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants