feat: update the VIctory copy to Vice-Tay 4f15f09e #563

Merged
LooperSalty merged 4 commits from upstream-pr/563 into main 2026-11-27 23:54:17 +00:00
LooperSalty commented 2026-11-27 22:56:18 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-27T22:56:18Z.


Summary

Moves third_party/victory from our Vice-Tay base a252348 (since #454) to Vice-Tay 4f15f09e (2026-11-27, 267 commits), then merges main (with #557's Streamline DLSS) back in.

How: a three-way apply of Vice-Tay's a252348..4f15f09e diff onto our copy (no shared history), the 43 conflicting hunks resolved keeping both sides, then origin/main merged (32 hunks).

What comes in from Vice-Tay: placed copies and their order checks, heap sync rounds shared across queued submissions (#343), write-watch stamps for placed pages (#342), pipeline warm-up and refused-pipeline retries, captures written off the submit thread, an opt-in priority for the submitting thread's helpers, its own DLSS (NGX) / FSR / native frame generation, the 4K interface plane over a 1080p scene, mimalloc, a mouse device, DualSense feedback, audio DSP convolutions, and many shader fixes (paired wave64 forms, loop regions).

Kept on our side where Vice-Tay changed course:

  • BCPack tables stay bundled (registered exception, owner's decision 2026-11-23): Vice-Tay removed them (e0cdb091); VICTORY_BCPACK_TABLES now only overrides them. Exception restored in xtask/src/policy.rs and docs/asset-policy.md.
  • The blocking fence wait keeps its 30 s timeout.
  • Our overlay, keyboard layouts, mouse camera, XG oracle, thread pools, THIN, WIDE_COPY, SLOT_WAIT, RAW_VIEW_CLAMP and the other merged PRs.

Two DLSS paths side by side: Streamline (#557: VICTORY_DLSS=1, VICTORY_FRAMEGEN=1, VICTORY_UPSCALER=7, VICTORY_STREAMLINE_DIR) and Vice-Tay's (VICTORY_DLSS_4K, VICTORY_DLSS=<quality|balanced|performance>, VICTORY_FSR_4K, VICTORY_FIDELITYFX_DIR, native FG). When Streamline is asked for and loads, it wins and Vice-Tay's path stays off (one warning names what is ignored); otherwise Vice-Tay's runs as before. Our interposer moved to fidelityfx/interpose.rs.

TRANSLATOR_VERSION is 16 (ours was 8, Vice-Tay 15): the shader cache is rebuilt on first run.

For the maintainer (rule 1): Vice-Tay's 4K interface plane adds two patched sites in the title (resolution/ui_plane.rs, resolution/viewbox.rs): offsets plus replacement bytes written upstream, no title code copied, the same kind as the five sites kept in #454. 7 sites instead of 5: keep or drop?

Five tests that already failed on Vice-Tay's sources alone were fixed (new true arguments, a missing Config field, the idle-texture threshold 84 → 82 % to match Vice-Tay's vram_keep_for, warm_empty).

Source: TaynanGT/Vice-Tay a252348..4f15f09e (credited in the commit).

Test plan

  • cargo build --release -p victory
  • cargo test --release -p victory-gpu: 613 passed, 51 ignored (680 with --features diagnostics)
  • cargo test --release -p victory-hle: 257 passed, 3 ignored, plus fidelityfx, dlss, no_dll_planting
  • cargo test --release -p victory: 40 passed + integration tests
  • cargo test --release -p anyxboxx-launcher: 227 passed
  • cargo xtask policy: 370 files ok; cargo check --workspace --all-targets clean
  • CI
  • In game, second run with a warm cache (the only run so far was a first run without preloading: about 2 fps while translating): fps against main, Streamline DLSS/FG still x2, saves load
  • Decide on the two extra patched sites

Draft until it is played.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5534154795 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/563). Originally posted by [LooperSalty](https://github.com/LooperSalty) on 2026-11-27T22:56:18Z. --- ## Summary Moves `third_party/victory` from our Vice-Tay base `a252348` (since #454) to Vice-Tay **`4f15f09e`** (2026-11-27, 267 commits), then merges `main` (with #557's Streamline DLSS) back in. How: a three-way apply of Vice-Tay's `a252348..4f15f09e` diff onto our copy (no shared history), the 43 conflicting hunks resolved keeping both sides, then `origin/main` merged (32 hunks). What comes in from Vice-Tay: placed copies and their order checks, heap sync rounds shared across queued submissions (#343), write-watch stamps for placed pages (#342), pipeline warm-up and refused-pipeline retries, captures written off the submit thread, an opt-in priority for the submitting thread's helpers, its own DLSS (NGX) / FSR / native frame generation, the 4K interface plane over a 1080p scene, mimalloc, a mouse device, DualSense feedback, audio DSP convolutions, and many shader fixes (paired wave64 forms, loop regions). Kept on our side where Vice-Tay changed course: - **BCPack tables stay bundled** (registered exception, owner's decision 2026-11-23): Vice-Tay removed them (`e0cdb091`); `VICTORY_BCPACK_TABLES` now only overrides them. Exception restored in `xtask/src/policy.rs` and `docs/asset-policy.md`. - The blocking fence wait keeps its 30 s timeout. - Our overlay, keyboard layouts, mouse camera, XG oracle, thread pools, THIN, WIDE_COPY, SLOT_WAIT, RAW_VIEW_CLAMP and the other merged PRs. Two DLSS paths side by side: Streamline (#557: `VICTORY_DLSS=1`, `VICTORY_FRAMEGEN=1`, `VICTORY_UPSCALER=7`, `VICTORY_STREAMLINE_DIR`) and Vice-Tay's (`VICTORY_DLSS_4K`, `VICTORY_DLSS=<quality|balanced|performance>`, `VICTORY_FSR_4K`, `VICTORY_FIDELITYFX_DIR`, native FG). When Streamline is asked for and loads, it wins and Vice-Tay's path stays off (one warning names what is ignored); otherwise Vice-Tay's runs as before. Our interposer moved to `fidelityfx/interpose.rs`. `TRANSLATOR_VERSION` is **16** (ours was 8, Vice-Tay 15): the shader cache is rebuilt on first run. **For the maintainer (rule 1):** Vice-Tay's 4K interface plane adds two patched sites in the title (`resolution/ui_plane.rs`, `resolution/viewbox.rs`): offsets plus replacement bytes written upstream, no title code copied, the same kind as the five sites kept in #454. 7 sites instead of 5: keep or drop? Five tests that already failed on Vice-Tay's sources alone were fixed (new `true` arguments, a missing `Config` field, the idle-texture threshold 84 → 82 % to match Vice-Tay's `vram_keep_for`, `warm_empty`). Source: TaynanGT/Vice-Tay a252348..4f15f09e (credited in the commit). ## Test plan - [x] `cargo build --release -p victory` - [x] `cargo test --release -p victory-gpu`: 613 passed, 51 ignored (680 with `--features diagnostics`) - [x] `cargo test --release -p victory-hle`: 257 passed, 3 ignored, plus `fidelityfx`, `dlss`, `no_dll_planting` - [x] `cargo test --release -p victory`: 40 passed + integration tests - [x] `cargo test --release -p anyxboxx-launcher`: 227 passed - [x] `cargo xtask policy`: 370 files ok; `cargo check --workspace --all-targets` clean - [ ] CI - [ ] **In game, second run with a warm cache** (the only run so far was a first run without preloading: about 2 fps while translating): fps against main, Streamline DLSS/FG still x2, saves load - [ ] Decide on the two extra patched sites Draft until it is played. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chatgpt-codex-connector[bot] commented 2026-11-27 23:54:19 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T23:54:19Z.


You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7230496050 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/563#issuecomment-7230496050). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T23:54:19Z. --- You have reached your Codex usage limits for code reviews. You can see your limits in the [Codex usage dashboard](https://chatgpt.com/codex/cloud/settings/usage). To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your [settings](https://chatgpt.com/settings/code-review).
XxXFixuXxX commented 2026-11-28 18:47:12 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by XxXFixuXxX on 2026-11-28T18:47:12Z.


Severe performance regression introduced by PR #563

I tested multiple commits and narrowed down a severe performance regression to the Vice-Tay integration.

Hardware:

  • Ryzen 9 5900X
  • RTX 3090 24 GB
  • 64 GB DDR4 RAM
  • NVMe SSD

Settings: Fast profile, 1080p, DLSS and Frame Generation disabled.

Last working commit: 4bfb5bd

  • 10 FPS / 103.4 ms
  • 11,867 draws/frame
  • GPU usage: 51%
  • Lists: x6.6

First affected commit: 4079f2b

  • Approximately 0.3 FPS / 3026.1 ms
  • 12,002 draws/frame
  • GPU usage: 0%
  • Lists: x1.1
  • Submit: 100%

Pipeline compilation was completed in both tests.

The regression persists in 8023ed1 and 66b92fb.

The issue may be related to GPU synchronization or command submission changes introduced in PR #563. The exact root cause is not confirmed.

Test screenshots attached.
Zrzut ekranu 2026-11-28 190236
Zrzut ekranu 2026-11-28 190654
Zrzut ekranu 2026-11-28 191251
Zrzut ekranu 2026-11-28 191855
Zrzut ekranu 2026-11-28 192145
Zrzut ekranu 2026-11-28 192828
Zrzut ekranu 2026-11-28 193714
<img width="1904" height="1068" alt="Zrzut ekranu 2026-11-
Zrzut ekranu 2026-11-28 194103
28 193343" src="https://github.com/user-attachments/assets/50fc64b4-6ea3-41fb-a427-d99f2ee6867f" />

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7244053266 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/563#issuecomment-7244053266). Originally posted by [XxXFixuXxX](https://github.com/XxXFixuXxX) on 2026-11-28T18:47:12Z. --- **Severe performance regression introduced by PR #563** I tested multiple commits and narrowed down a severe performance regression to the Vice-Tay integration. Hardware: - Ryzen 9 5900X - RTX 3090 24 GB - 64 GB DDR4 RAM - NVMe SSD Settings: Fast profile, 1080p, DLSS and Frame Generation disabled. Last working commit: `4bfb5bd` - 10 FPS / 103.4 ms - 11,867 draws/frame - GPU usage: 51% - Lists: x6.6 First affected commit: `4079f2b` - Approximately 0.3 FPS / 3026.1 ms - 12,002 draws/frame - GPU usage: 0% - Lists: x1.1 - Submit: 100% Pipeline compilation was completed in both tests. The regression persists in `8023ed1` and `66b92fb`. The issue may be related to GPU synchronization or command submission changes introduced in PR #563. The exact root cause is not confirmed. Test screenshots attached. <img width="1906" height="1073" alt="Zrzut ekranu 2026-11-28 190236" src="https://github.com/user-attachments/assets/1b587b67-208a-4dbd-9c8c-c0d463ac5563" /> <img width="1983" height="632" alt="Zrzut ekranu 2026-11-28 190654" src="https://github.com/user-attachments/assets/4962bf90-5a63-43d9-8816-171b5dd17583" /> <img width="1911" height="1071" alt="Zrzut ekranu 2026-11-28 191251" src="https://github.com/user-attachments/assets/7c80a6db-a133-4588-bc11-8194910f588c" /> <img width="222" height="451" alt="Zrzut ekranu 2026-11-28 191855" src="https://github.com/user-attachments/assets/0bb4b11b-a2a7-4734-8650-ce8d66b13f74" /> <img width="380" height="539" alt="Zrzut ekranu 2026-11-28 192145" src="https://github.com/user-attachments/assets/cea7a8ac-d097-48c7-b95e-d0161e6d5498" /> <img width="1904" height="1078" alt="Zrzut ekranu 2026-11-28 192828" src="https://github.com/user-attachments/assets/5e9a6713-fd09-462d-8e34-4e2cb0a208a1" /> <img width="1909" height="1065" alt="Zrzut ekranu 2026-11-28 193714" src="https://github.com/user-attachments/assets/464d3aef-60e6-43bd-b38c-88d392ffdf70" /> <img width="1904" height="1068" alt="Zrzut ekranu 2026-11- <img width="1006" height="805" alt="Zrzut ekranu 2026-11-28 194103" src="https://github.com/user-attachments/assets/ffd0b442-b35e-4e84-8c88-dacb3571758d" /> 28 193343" src="https://github.com/user-attachments/assets/50fc64b4-6ea3-41fb-a427-d99f2ee6867f" />
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
LooperSalty/AnyXboxX!563
No description provided.