World start: no 1.6 s stall (heap buffer views made while the title loads), plus DirectStorage, detiler and pipeline-crash ports #3138

Open
duckey-dev wants to merge 6 commits from upstream-pr/3138 into main
duckey-dev commented 2026-11-29 20:14:46 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by duckey-dev on 2026-11-29T20:14:46Z.


Measured on an RX 7900 XTX + 7800X3D, Series X profile, prison opening, ray tracing off, diagnostics build, victory play's switch set.

  • Heap buffer views made while the title loads (VICTORY_HEAP_PASS_EARLY, on): the first heap-buffer pass in the world 1,590 ms -> 16-41 ms; first world frames 85-93 ms -> 54 ms. Steady frame time unchanged (about 47 ms before and after).
  • DirectStorage waits until the title has mapped the pages its list names (VICTORY_DSTORAGE_SETTLE, on): a guard against stale pages for queues that submit themselves; it never had to wait in these runs.
  • A title buffer's in-place copy placed off the buffer-table lock (VICTORY_PLACE_UNLOCKED, on): only acts with VICTORY_INPLACE=2 or VICTORY_PORT_CONSTANTS=1; not measured.
  • SIMD micro-tile detiler from TaynanGT/Vice-Tay#191 (VICTORY_DETILE_SIMD, on; falls back to the walk for XOR, linear and multisampled layouts): a parity test against Layout::offset is included; speed not measured.
  • A BC texture placed over block-sized texels the host writes is read from them (VICTORY_ALIAS_BLOCKS, on): not checked visually.
  • Pipelines: a driver compiler crash on one pipeline is survived and the pipeline remembered in crashed.txt: not exercised.
  • The diagnostics build compiles again (two names in diagnostics-only code).

Every port is behind its switch with the old path kept. Not compiled or run on NVIDIA hardware.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5554672572 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3138). Originally posted by [duckey-dev](https://github.com/duckey-dev) on 2026-11-29T20:14:46Z. --- Measured on an RX 7900 XTX + 7800X3D, Series X profile, prison opening, ray tracing off, diagnostics build, `victory play`'s switch set. - **Heap buffer views made while the title loads** (`VICTORY_HEAP_PASS_EARLY`, on): the first heap-buffer pass in the world 1,590 ms -> 16-41 ms; first world frames 85-93 ms -> 54 ms. Steady frame time unchanged (about 47 ms before and after). - **DirectStorage waits until the title has mapped the pages its list names** (`VICTORY_DSTORAGE_SETTLE`, on): a guard against stale pages for queues that submit themselves; it never had to wait in these runs. - **A title buffer's in-place copy placed off the buffer-table lock** (`VICTORY_PLACE_UNLOCKED`, on): only acts with `VICTORY_INPLACE=2` or `VICTORY_PORT_CONSTANTS=1`; not measured. - **SIMD micro-tile detiler** from TaynanGT/Vice-Tay#191 (`VICTORY_DETILE_SIMD`, on; falls back to the walk for XOR, linear and multisampled layouts): a parity test against `Layout::offset` is included; speed not measured. - **A BC texture placed over block-sized texels the host writes is read from them** (`VICTORY_ALIAS_BLOCKS`, on): not checked visually. - **Pipelines: a driver compiler crash on one pipeline is survived** and the pipeline remembered in `crashed.txt`: not exercised. - **The diagnostics build compiles again** (two names in diagnostics-only code). Every port is behind its switch with the old path kept. Not compiled or run on NVIDIA hardware. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3138:upstream-pr/3138'
git switch 'upstream-pr/3138'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3138'
git switch 'upstream-pr/3138'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3138'
git switch 'upstream-pr/3138'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3138'
git switch 'main'
git merge --squash 'upstream-pr/3138'
git switch 'main'
git merge --ff-only 'upstream-pr/3138'
git switch 'main'
git merge 'upstream-pr/3138'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!3138
No description provided.