Loading and FPS Optimizations #929

Open
github-bot wants to merge 5 commits from github-bot/gh-929 into main AGit
Owner

@⁠AlexMiu2083 on GitHub · 2026-11-25 13:03 UTC · original
AlexMiu2083:optimizations → main · +1086 −110 · 15 files · 5 commits · open

was able to get from 3 fps to 5-6 fps and to load stuff faster

**@⁠AlexMiu2083** on GitHub · 2026-11-25 13:03 UTC · [original](https://github.com/fxceless/victory-fork/pull/929) `AlexMiu2083:optimizations` → `main` · +1086 −110 · 15 files · 5 commits · open was able to get from 3 fps to 5-6 fps and to load stuff faster
.
From fxceless/victory-fork's open pull requests:

- #911 (douline): a constant buffer view is at most 64 KiB; the title names
  larger ones and NVIDIA removes the device for them.
- #932 (avt0m4t48): the search for free dynamic descriptor slots finds a run
  that lies across its starting point.
- #936 (faycalbaklouti): queued snapshots are taken before a host copy is
  dropped (a use after free); its test's imports added for this tree.
- #925 (alpz1000): changed-byte runs are found into one buffer reused across
  pages, the merge gap joined in the same pass.
- #768 (KyleS98): a submission's texture checks run several at a time
  (`VICTORY_WIDE_TEXTURES=1`, off by default).
- #868 (Chipsraine): a census of the card copies (`VICTORY_CENSUS=1`) and an
  EXPERIMENT, off by default: `VICTORY_SKIP_WC_COMPARE=1` leaves copies of
  write-combining title memory out of the compare and the copy-back. Here
  (RTX 4070, first gameplay scene) it took the median from 213 to 186 ms a
  frame, best 150 ms; not exact (the title must never read that memory
  after the card wrote it).

With them gameplay went from a median of 233 to 213 ms a frame here.

Tried and left off: `VICTORY_CARD_REHASH_RUNS=1` (1,735 passes a frame
joined to about 220, no gain).

victory-gpu: 174 tests pass (`inplace::...shows_its_bytes_at_its_offset`
fails now and then, as before these); victory-hle: 99 pass.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The name and the line of forks at the top, a section with what this fork
adds over victory-fork and the frame times measured here, and the authors of
victory-fork and of the pull requests taken in among the credits.
victory-fork's own description below is kept as it is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:54:02 +00:00
This pull request has changes conflicting with the target branch.
  • README.md
  • crates/victory-gpu/src/descriptor/host.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/indirect.rs
  • crates/victory-gpu/src/shadow.rs
  • crates/victory-hle/src/modules/dstorage.rs
  • crates/victory-hle/src/modules/xmem.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

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