Docs: three win10-test switches measured under Proton #54

Open
github-bot wants to merge 2 commits from github-bot/gh-54 into beta AGit
Owner

@⁠zocram4cc on GitHub · 2026-11-25 23:34 UTC · original
zocram4cc:up/wine-switch-notes → beta · +12 −0 · 1 files · 2 commits · open

Docs only. A short section under "Seconds per frame under Wine": three switches of the win10-test line that changed the world frame most under Proton once the view-tree wineserver (#35) is in place, with the numbers measured on our rig.

  • Rig: RX 6900 XT (RADV, Mesa 26.3.1), Ryzen 7 5800X3D, Proton Experimental 11.0-20261112, Series X profile, the opening scene; median of the first 150 world seconds from the per-second frametime CSV; one variable changed per run.
  • It says that beta does not read VICTORY_RELAY_COPY_QUEUE or VICTORY_COPY_COMPARE, and keeps the guide's VICTORY_LATE_WAIT=0 advice for cards that stop responding.
  • It notes that world frame captures cost ~235 ms each on the submitting thread, so they should be off when measuring.

Goes with #53 (the sampling profiler under Wine). AI-assisted (Claude Code); measured on the author's own copy, no game files.

**@⁠zocram4cc** on GitHub · 2026-11-25 23:34 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/54) `zocram4cc:up/wine-switch-notes` → `beta` · +12 −0 · 1 files · 2 commits · open Docs only. A short section under "Seconds per frame under Wine": three switches of the `win10-test` line that changed the world frame most under Proton once the view-tree wineserver (#35) is in place, with the numbers measured on our rig. - Rig: RX 6900 XT (RADV, Mesa 26.3.1), Ryzen 7 5800X3D, Proton Experimental 11.0-20261112, Series X profile, the opening scene; median of the first 150 world seconds from the per-second frametime CSV; one variable changed per run. - It says that `beta` does not read `VICTORY_RELAY_COPY_QUEUE` or `VICTORY_COPY_COMPARE`, and keeps the guide's `VICTORY_LATE_WAIT=0` advice for cards that stop responding. - It notes that world frame captures cost ~235 ms each on the submitting thread, so they should be off when measuring. Goes with #53 (the sampling profiler under Wine). AI-assisted (Claude Code); measured on the author's own copy, no game files.
Medians of the first 150 world seconds on an RX 6900 XT under Proton
Experimental, one variable per run: late wait at its default (relay,
stage 3), fetches on their own copy queue, and copy compare. Also notes
the cost of world frame captures while measuring.
VICTORY_CAPTURE_WORLD is checked with var_os().is_some(), so 0 still
captures (spotted by HandshakeHackin on #54).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:53:48 +00:00
Author
Owner

@⁠PastiiJay on GitHub · 2026-11-25 23:44 UTC · original

Thanks @⁠zocram4cc, useful for Linux players, and good call on noting that frame captures cost ~235 ms each, that one would have fooled anyone measuring. We'll read it alongside #53 and the guide's LATE_WAIT advice before merging docs.

**@⁠PastiiJay** on GitHub · 2026-11-25 23:44 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/54#issuecomment-7177975758) Thanks @⁠zocram4cc, useful for Linux players, and good call on noting that frame captures cost ~235 ms each, that one would have fooled anyone measuring. We'll read it alongside #53 and the guide's LATE_WAIT advice before merging docs.
Author
Owner

@⁠HandshakeHackin on GitHub · 2026-11-26 02:46 UTC · original

One wording suggestion for repeatable Proton timings: “For a speed run, unset VICTORY_CAPTURE_WORLD before launch. Setting it to 0 still enables capture. On win10-test, if you need pictures, set VICTORY_CAPTURE_WORLD_EVERY=64 to space them out.” Both branches check whether the capture variable exists. Only win10-test reads the interval. Beta capture switch · win10-test switch and interval

For the second row, VICTORY_RELAY_COPY_QUEUE=1 already matches the unset default on d006c10. Calling that pair “forced off → default on” would help testers reproduce the 257 → 206 ms comparison. Relay queue setting

**@⁠HandshakeHackin** on GitHub · 2026-11-26 02:46 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/54#issuecomment-7181105742) One wording suggestion for repeatable Proton timings: “For a speed run, `unset VICTORY_CAPTURE_WORLD` before launch. Setting it to `0` still enables capture. On `win10-test`, if you need pictures, set `VICTORY_CAPTURE_WORLD_EVERY=64` to space them out.” Both branches check whether the capture variable exists. Only `win10-test` reads the interval. [Beta capture switch](https://github.com/PastiiJay/klbf-lab/blob/78ad5711ecaa7c8cbe5996f74c9d47d16167c061/crates/victory-gpu/src/capture.rs#L117-L121) · [win10-test switch and interval](https://github.com/PastiiJay/klbf-lab/blob/d006c10fe0159727c1fbd76455ce6ad9ecf4293b/crates/victory-gpu/src/capture.rs#L117-L137) For the second row, `VICTORY_RELAY_COPY_QUEUE=1` already matches the unset default on `d006c10`. Calling that pair “forced off → default on” would help testers reproduce the 257 → 206 ms comparison. [Relay queue setting](https://github.com/PastiiJay/klbf-lab/blob/d006c10fe0159727c1fbd76455ce6ad9ecf4293b/crates/victory-gpu/src/host.rs#L3756-L3762)
Author
Owner

@⁠zocram4cc on GitHub · 2026-11-26 03:21 UTC · original

Thanks @⁠HandshakeHackin: right, both branches only check whether VICTORY_CAPTURE_WORLD is set (var_os(...).is_some() in capture.rs), so 0 still captures. I took your wording in e03b67f, pushed to this PR.

**@⁠zocram4cc** on GitHub · 2026-11-26 03:21 UTC · [original](https://github.com/PastiiJay/klbf-lab/pull/54#issuecomment-7181646910) Thanks @⁠HandshakeHackin: right, both branches only check whether `VICTORY_CAPTURE_WORLD` is set (`var_os(...).is_some()` in `capture.rs`), so `0` still captures. I took your wording in e03b67f, pushed to this PR.
This pull request can be merged automatically.
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/54/head:github-bot/gh-54'
git switch 'github-bot/gh-54'

Merge

Merge the changes and update on Forgejo.
git switch 'beta'
git merge --no-ff 'github-bot/gh-54'
git switch 'github-bot/gh-54'
git rebase 'beta'
git switch 'beta'
git merge --ff-only 'github-bot/gh-54'
git switch 'github-bot/gh-54'
git rebase 'beta'
git switch 'beta'
git merge --no-ff 'github-bot/gh-54'
git switch 'beta'
git merge --squash 'github-bot/gh-54'
git switch 'beta'
git merge --ff-only 'github-bot/gh-54'
git switch 'beta'
git merge 'github-bot/gh-54'
git push origin 'beta'
This discussion has been locked. Commenting is limited to contributors.
No description provided.