Document the Arch MSVC build and Proton rendering on an RTX 4080 #532

Closed
github-bot wants to merge 2 commits from gh-pr/532/head into gh-pr/532/base
Owner

@⁠NiHuShu on GitHub · 2026-11-24 04:32 UTC · original
NiHuShu:docs/arch-proton-rendering-report → main · +159 −0 · 2 files · 2 commits · closed without merging

This records a CachyOS x86-64 test of d2a4bae using the Windows MSVC target, Proton Experimental and an RTX 4080 (driver 620.70.06). It complements #149 and #191 with the DLL selection and rendering results from a real-device run.

What worked

  • The official Rust 1.98.1 compiler and matching host and Windows standard libraries built the release launcher with cargo-xwin 0.24.1 and the repository lockfile. Mixing the Arch compiler with the official Windows target had failed with E0514. The resulting PE32+ x86-64 executable used a 365 MiB build directory and a separate 642 MiB SDK/CRT cache.
  • System Wine 11.21 started the CLI and resolved the configured game directory. A standalone D3D12 probe failed at feature level 12.0 with 0x80070057, consistent with the white window and zero host draws.
  • With Proton Experimental and WINEDLLOVERRIDES='d3d12,d3d12core,dxgi=n', the loader trace identified the three native DLLs. The same probe passed device, queue, fence, event and descriptor-heap creation. The title then rendered through loading.

Where it stopped

When the first world mesh and compute pipelines appeared, two compute pipelines were refused. The kernel logged NVIDIA Xid 13 (GPU MMU fault) for the title process. The title subsequently recorded a null write. The logs establish the sequence but do not identify the faulting GPU command. World gameplay remains unverified.

Checks

The two-file diff passes the repository asset policy (152 files), git diff --check and Bash syntax checks for the examples. The guide adapts the tested steps to portable paths and a rustup-managed toolchain.

**@⁠NiHuShu** on GitHub · 2026-11-24 04:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/532) `NiHuShu:docs/arch-proton-rendering-report` → `main` · +159 −0 · 2 files · 2 commits · closed without merging This records a CachyOS x86-64 test of `d2a4bae` using the Windows MSVC target, Proton Experimental and an RTX 4080 (driver 620.70.06). It complements #149 and #191 with the DLL selection and rendering results from a real-device run. ### What worked - The official Rust 1.98.1 compiler and matching host and Windows standard libraries built the release launcher with cargo-xwin 0.24.1 and the repository lockfile. Mixing the Arch compiler with the official Windows target had failed with E0514. The resulting PE32+ x86-64 executable used a 365 MiB build directory and a separate 642 MiB SDK/CRT cache. - System Wine 11.21 started the CLI and resolved the configured game directory. A standalone D3D12 probe failed at feature level 12.0 with `0x80070057`, consistent with the white window and zero host draws. - With Proton Experimental and `WINEDLLOVERRIDES='d3d12,d3d12core,dxgi=n'`, the loader trace identified the three native DLLs. The same probe passed device, queue, fence, event and descriptor-heap creation. The title then rendered through loading. ### Where it stopped When the first world mesh and compute pipelines appeared, two compute pipelines were refused. The kernel logged NVIDIA Xid 13 (GPU MMU fault) for the title process. The title subsequently recorded a null write. The logs establish the sequence but do not identify the faulting GPU command. World gameplay remains unverified. ### Checks The two-file diff passes the repository asset policy (152 files), `git diff --check` and Bash syntax checks for the examples. The guide adapts the tested steps to portable paths and a rustup-managed toolchain.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:07:22 +00:00
github-bot closed this pull request 2026-11-26 04:07:22 +00:00
Author
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 13:43 UTC · original

Independent review on Windows 11 x64 / MSVC (merged PR head aa50c7d into current main; reviewed the full origin/main..HEAD diff - docs only: README.md + new docs/arch-proton-rendering.md).

Docs-only, so no clippy/test run; the Arch/cargo-xwin build commands are Linux-only and were NOT executed on this host - inspected for syntax/consistency only.

Verified:

  • cargo run --locked -p xtask -- policy -> "asset policy: 155 files ok". Rule #1 clean: no game files, no binary/NUL, no long hex/base64 runs; the doc uses path placeholders, keeps captures local-only, and says "Keep the game files outside the checkout".
  • Links: README -> docs/arch-proton-rendering.md resolves; ../README.md#status-2026-11-23 matches the "## Status (2026-11-23)" heading; /pulls is this repo's own PR list. Fetched the cargo-xwin README: its H1 (#cargo-xwin) sits right above the Microsoft license consent notice, so that link is accurate (the repo's own ## License section is MIT, not Microsoft's - the top anchor is the correct target).
  • Commands/claims checked against the tree: VICTORY_CONFIG / VICTORY_GAME_DIR / VICTORY_CACHE_DIR / VICTORY_DATA_DIR / VICTORY_TEST_TITLES exist in crates/victory-core/src/config.rs; [paths].game_dir is the correct key in victory.example.toml; XWIN_ARCH / XWIN_CACHE_DIR, cargo xwin build and cargo install --locked cargo-xwin match upstream cargo-xwin. d2a4bae is a real commit and an ancestor of current main.

Non-blocking observations:

  • The guide builds a pristine d2a4bae checkout, but the field results (cutscenes, 56,069 draws / 2,884 dispatches, Xid 13, the 2026-11-24 follow-up) come from a locally modified build integrating many upstream PRs (#439, #307, #566, #562, ...). It is disclosed ("locally modified build", "local experiments"), but a reader following "Build the launcher" should not expect to reproduce those results from the unmodified tree - worth stating up front, before the guide.
  • Version pins are the author's single-machine environment (Rust 1.98.1, cargo-xwin 0.24.1, Wine 11.21, NVIDIA 620.70.06, SteamLinuxRuntime_4, Proton Experimental). I verified the reproducible parts above but cannot confirm those exact strings or reproduce a Proton/RTX 4080 run from this Windows host; plausible and clearly framed as one compatibility report.
  • Positive: no game-specific strings/paths are embedded and captures are described but never stored - good rule #1 hygiene for a rendering report.

No blocking issues - useful, careful write-up.

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 13:43 UTC · [original](https://github.com/Marvisak/VIctory/pull/532#issuecomment-7133235415) Independent review on Windows 11 x64 / MSVC (merged PR head aa50c7d into current main; reviewed the full origin/main..HEAD diff - docs only: README.md + new docs/arch-proton-rendering.md). Docs-only, so no clippy/test run; the Arch/cargo-xwin build commands are Linux-only and were NOT executed on this host - inspected for syntax/consistency only. Verified: - cargo run --locked -p xtask -- policy -> "asset policy: 155 files ok". Rule #1 clean: no game files, no binary/NUL, no long hex/base64 runs; the doc uses path placeholders, keeps captures local-only, and says "Keep the game files outside the checkout". - Links: README -> docs/arch-proton-rendering.md resolves; ../README.md#status-2026-11-23 matches the "## Status (2026-11-23)" heading; /pulls is this repo's own PR list. Fetched the cargo-xwin README: its H1 (#cargo-xwin) sits right above the Microsoft license consent notice, so that link is accurate (the repo's own ## License section is MIT, not Microsoft's - the top anchor is the correct target). - Commands/claims checked against the tree: VICTORY_CONFIG / VICTORY_GAME_DIR / VICTORY_CACHE_DIR / VICTORY_DATA_DIR / VICTORY_TEST_TITLES exist in crates/victory-core/src/config.rs; [paths].game_dir is the correct key in victory.example.toml; XWIN_ARCH / XWIN_CACHE_DIR, cargo xwin build and cargo install --locked cargo-xwin match upstream cargo-xwin. d2a4bae is a real commit and an ancestor of current main. Non-blocking observations: - The guide builds a pristine d2a4bae checkout, but the field results (cutscenes, 56,069 draws / 2,884 dispatches, Xid 13, the 2026-11-24 follow-up) come from a locally modified build integrating many upstream PRs (#439, #307, #566, #562, ...). It is disclosed ("locally modified build", "local experiments"), but a reader following "Build the launcher" should not expect to reproduce those results from the unmodified tree - worth stating up front, before the guide. - Version pins are the author's single-machine environment (Rust 1.98.1, cargo-xwin 0.24.1, Wine 11.21, NVIDIA 620.70.06, SteamLinuxRuntime_4, Proton Experimental). I verified the reproducible parts above but cannot confirm those exact strings or reproduce a Proton/RTX 4080 run from this Windows host; plausible and clearly framed as one compatibility report. - Positive: no game-specific strings/paths are embedded and captures are described but never stored - good rule #1 hygiene for a rendering report. No blocking issues - useful, careful write-up. *AI-assisted; synthetic tests only, no game files.*
Author
Owner

@⁠Headache3318 on GitHub · 2026-11-24 18:44 UTC · original

From the 3x RTX 4090 Arch box: the 12.0 0x80070057 is root-caused — CheckFeatureSupport gives MaxSupported=0xb100 and TiledResourcesTier=0 (FL_12_0 requires Tiled-Resources Tier 1), identical on Proton Experimental and GE-Proton 11-14; call shape/SDK-configuration is irrelevant (30+ probe variants byte-identical). A proxy d3d12.dll clamping ≥0xc000→0xb100 yields a working device and the first real host execution (drawn==draws, 159,744 draws + 4,096 dispatches, 29 first translations, Xid 0); in-tree fix candidates are the hardcoded D3D_FEATURE_LEVEL_12_0 sites crates/victory-gpu/src/host.rs:181,184 + crates/victory-shader/src/emit/host.rs:76,78. Full report: #49. AI-assisted, Arch Linux, NOT native Windows.

**@⁠Headache3318** on GitHub · 2026-11-24 18:44 UTC · [original](https://github.com/Marvisak/VIctory/pull/532#issuecomment-7141086686) From the 3x RTX 4090 Arch box: the 12.0 `0x80070057` is root-caused — `CheckFeatureSupport` gives `MaxSupported=0xb100` and `TiledResourcesTier=0` (FL_12_0 requires Tiled-Resources Tier 1), identical on Proton Experimental and GE-Proton 11-14; call shape/SDK-configuration is irrelevant (30+ probe variants byte-identical). A proxy `d3d12.dll` clamping `≥0xc000→0xb100` yields a working device and the first real host execution (`drawn==draws`, 159,744 draws + 4,096 dispatches, 29 first translations, Xid 0); in-tree fix candidates are the hardcoded `D3D_FEATURE_LEVEL_12_0` sites `crates/victory-gpu/src/host.rs:181,184` + `crates/victory-shader/src/emit/host.rs:76,78`. Full report: https://git.gtahub.st/github/Marvisak--VIctory/issues/49. AI-assisted, Arch Linux, NOT native Windows.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:03 UTC · original

Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current).

A 156-line report of one Arch Linux cross-build and Proton run, added as a doc and linked from the README (the doc links back to a README status anchor that no longer exists). A hardware report belongs in an issue; Linux/Proton is not a target and long docs stay out of the repo.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:03 UTC · [original](https://github.com/Marvisak/VIctory/pull/532#issuecomment-7148099073) Automated triage for the maintainers. Closing because it does not change behaviour the project needs (formatting, guards for cases that cannot occur, or notes and translations that cannot be kept current). A 156-line report of one Arch Linux cross-build and Proton run, added as a doc and linked from the README (the doc links back to a README status anchor that no longer exists). A hardware report belongs in an issue; Linux/Proton is not a target and long docs stay out of the repo. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

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/Marvisak--VIctory!532
No description provided.