[BUNDLE] Series S + copy/hash fixes for 6-8 GB cards: #1081 #798 #258 #24 #1014 #827 #1044 #501 #1054 #1130

Open
Tresillo2017 wants to merge 2 commits from upstream-pr/1133 into main
Tresillo2017 commented 2026-11-25 21:12:14 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Tresillo2017 on 2026-11-25T21:12:14Z.


Nine open PRs applied together on main (085ee7c), each checked against its diff and comments first. No new code: every hunk is from the PR named, by its author. This is a convenience bundle in the style of #1052, not a replacement: if you prefer to take them one by one, close this and merge the originals. Credit and discussion belong on those PRs.

Group PR Author What
Series S #1081 @KyleS98 blend the second present plane over the first (black window)
Series S #798 @KyleS98 the title keeps its own upscaler (black world frames)
Series S #258 @Ortomanic translate the FidelityFX upscaler programs (FSPX images)
Frame time #1014 @martindevbr card compare hashes with a group of 64 threads
Frame time #827 @traidy2222 world-entry crash fix, coalesced refreshes
Frame time #1044 @Key-rs DirectStorage worker pool sized to physical cores
Stability #24 @NuraadGit constant buffer views of at most 64 KiB (device removal)
Stability #501 @Yorivel no blending on integer render targets (refused mesh pipeline)
Stability #1054 @Moon0755 warn once when descriptor slots exceed the host heap

Measured (one machine, one run each)

RTX 2060 6 GB (Turing, wave32), Ryzen 5 3600X (6c/12t, not hybrid), 32 GB RAM, Windows 11. Series S profile, VICTORY_DISPLAY_MODE=1920x1080, with ASYNC_SUBMIT, QUEUE2, INDIRECT_WINDOW, INDIRECT_GATHER, TEXTURE_NO_WAIT, COPY_PLAIN, JOIN_PARTS, BACK_OWN_VIEW, LEVELS_ON_DEMAND set, FPS_COUNTER=0. Shader cache warmed first (translate --warm all, wave 32, view limit 999999).

Tree fps in the world (median of the frame-rate lines) draws dropped per frame
main, Series X (four switch variants, 7-minute runs) 0.7 - 1.1 537 - 783
main + #1081 + #798 + #258 1.4 (21 samples) 287
this bundle 6.4 (29 samples, peak 14.6) 249

No device loss, crash or panic in 7 minutes in the world. The spread between samples is large (1.7 to 14.6) and between runs too: an earlier 11-PR variant of this bundle (with #25 and #1006) measured a median of 3.4 on the same machine, so please read these as indicative, not as a claim about any single PR. The frame is CPU-bound by copies of title memory (63-155 ms preparing, 48-115 ms of it copies; the card was busy 1-24 ms), so this is nowhere near 30 fps.

Left out, and why

  • #911 conflicts with #24 (same descriptor/host.rs area).
  • #25 and #1006 are sound, but they add 5.8 KB and 2.3 KB to emit/lower.rs, which would take it past the 512 KiB asset-policy limit (514,840 bytes on main, 523,001 with this bundle). I did not add an exception to xtask/src/policy.rs; that is the owner's decision. Whoever takes them will need either an exception or a split of lower.rs.

Checks

  • cargo xtask policy: 27 files ok.
  • cargo test --release: victory-shader 100 passed, victory-hle 221 passed, victory-gpu 183 passed.
  • inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset is flaky on main too: it failed 1 run in 6 on a clean main and 0 in 6 on this tree, and passes when run alone.
  • Not checked: the picture itself (I cannot see the window); 254 shaders still do not translate and about 249 draws a frame are still dropped, so black areas can remain.

AI-assisted (Claude Code). No game data attached.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6613852315 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1133). Originally posted by [Tresillo2017](https://github.com/Tresillo2017) on 2026-11-25T21:12:14Z. --- Nine open PRs applied together on `main` (085ee7c), each checked against its diff and comments first. **No new code: every hunk is from the PR named, by its author.** This is a convenience bundle in the style of #1052, not a replacement: if you prefer to take them one by one, close this and merge the originals. Credit and discussion belong on those PRs. | Group | PR | Author | What | |---|---|---|---| | Series S | #1081 | @KyleS98 | blend the second present plane over the first (black window) | | Series S | #798 | @KyleS98 | the title keeps its own upscaler (black world frames) | | Series S | #258 | @Ortomanic | translate the FidelityFX upscaler programs (FSPX images) | | Frame time | #1014 | @martindevbr | card compare hashes with a group of 64 threads | | Frame time | #827 | @traidy2222 | world-entry crash fix, coalesced refreshes | | Frame time | #1044 | @Key-rs | DirectStorage worker pool sized to physical cores | | Stability | #24 | @NuraadGit | constant buffer views of at most 64 KiB (device removal) | | Stability | #501 | @Yorivel | no blending on integer render targets (refused mesh pipeline) | | Stability | #1054 | @Moon0755 | warn once when descriptor slots exceed the host heap | ## Measured (one machine, one run each) RTX 2060 **6 GB** (Turing, wave32), Ryzen 5 3600X (6c/12t, not hybrid), 32 GB RAM, Windows 11. Series S profile, `VICTORY_DISPLAY_MODE=1920x1080`, with `ASYNC_SUBMIT`, `QUEUE2`, `INDIRECT_WINDOW`, `INDIRECT_GATHER`, `TEXTURE_NO_WAIT`, `COPY_PLAIN`, `JOIN_PARTS`, `BACK_OWN_VIEW`, `LEVELS_ON_DEMAND` set, `FPS_COUNTER=0`. Shader cache warmed first (`translate --warm all`, wave 32, view limit 999999). | Tree | fps in the world (median of the frame-rate lines) | draws dropped per frame | |---|---|---| | `main`, Series X (four switch variants, 7-minute runs) | 0.7 - 1.1 | 537 - 783 | | `main` + #1081 + #798 + #258 | 1.4 (21 samples) | 287 | | **this bundle** | **6.4 (29 samples, peak 14.6)** | **249** | No device loss, crash or panic in 7 minutes in the world. The spread between samples is large (1.7 to 14.6) and between runs too: an earlier 11-PR variant of this bundle (with #25 and #1006) measured a median of 3.4 on the same machine, so please read these as indicative, not as a claim about any single PR. The frame is CPU-bound by copies of title memory (63-155 ms preparing, 48-115 ms of it copies; the card was busy 1-24 ms), so this is nowhere near 30 fps. ## Left out, and why - **#911** conflicts with #24 (same `descriptor/host.rs` area). - **#25 and #1006** are sound, but they add 5.8 KB and 2.3 KB to `emit/lower.rs`, which would take it past the 512 KiB asset-policy limit (514,840 bytes on `main`, 523,001 with this bundle). I did not add an exception to `xtask/src/policy.rs`; that is the owner's decision. Whoever takes them will need either an exception or a split of `lower.rs`. ## Checks - `cargo xtask policy`: 27 files ok. - `cargo test --release`: victory-shader 100 passed, victory-hle 221 passed, victory-gpu 183 passed. - `inplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offset` is **flaky on `main` too**: it failed 1 run in 6 on a clean `main` and 0 in 6 on this tree, and passes when run alone. - Not checked: the picture itself (I cannot see the window); 254 shaders still do not translate and about 249 draws a frame are still dropped, so black areas can remain. AI-assisted (Claude Code). No game data attached.
Tresillo2017 commented 2026-11-25 22:07:22 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Tresillo2017 on 2026-11-25T21:21:05Z.


Update after origin/main moved by four commits (up to c36971b): merged in, and the PR is mergeable again. Two things the description above does not say:

  • crates/victory-gpu/src/host.rs, one conflict in copy_mapped. #827 adds the COPY_MOVED counters and main adds a diagnostics-only backreads::touched call at the same spot. They are independent, so both are kept.
  • emit/lower.rs was over the 512 KiB policy limit again (main alone is now 517,382 bytes; with #258 it reached 525,543). I moved #258's self-contained mask_scc method, unchanged, into a child module emit/lower/mask_scc.rs; lower.rs is now 524,036 bytes. The margin is thin (252 bytes), so any other PR that touches lower.rs will need the same treatment or an owner-approved exception in xtask/src/policy.rs. I did not add one.

Re-checked on the merged tree: cargo xtask policy ok, release build ok, cargo test --release: victory-shader 100, victory-hle 220, victory-gpu 186 passed. The measurements in the description were taken before the merge, on the 9-PR tree; the merge only changes what is described above, but I have not re-measured fps on it.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7174959496 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1133#issuecomment-7174959496). Originally posted by [Tresillo2017](https://github.com/Tresillo2017) on 2026-11-25T21:21:05Z. --- Update after `origin/main` moved by four commits (up to c36971b): merged in, and the PR is mergeable again. Two things the description above does not say: - **`crates/victory-gpu/src/host.rs`, one conflict in `copy_mapped`.** #827 adds the `COPY_MOVED` counters and main adds a diagnostics-only `backreads::touched` call at the same spot. They are independent, so both are kept. - **`emit/lower.rs` was over the 512 KiB policy limit again** (main alone is now 517,382 bytes; with #258 it reached 525,543). I moved #258's self-contained `mask_scc` method, unchanged, into a child module `emit/lower/mask_scc.rs`; `lower.rs` is now 524,036 bytes. The margin is thin (252 bytes), so any other PR that touches `lower.rs` will need the same treatment or an owner-approved exception in `xtask/src/policy.rs`. I did not add one. Re-checked on the merged tree: `cargo xtask policy` ok, release build ok, `cargo test --release`: victory-shader 100, victory-hle 220, victory-gpu 186 passed. The measurements in the description were taken before the merge, on the 9-PR tree; the merge only changes what is described above, but I have not re-measured fps on it.
UwUCammie commented 2026-11-25 23:09:55 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by UwUCammie on 2026-11-25T22:21:39Z.


The Series S path reached the first room on an RX 7900 XT, RADV 26.3.1 and Wine 11.22. The host counted 541 presents in 74.19 seconds (7.29 FPS, 4,484 draws/frame). No device loss during the 230-second run. Levels on demand reported tier 4 and 4,476 MB of tile backing avoided by the end. I verified scene progression from the draw counts and haven’t checked the final composite visually.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7176265041 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1133#issuecomment-7176265041). Originally posted by [UwUCammie](https://github.com/UwUCammie) on 2026-11-25T22:21:39Z. --- The Series S path reached the first room on an RX 7900 XT, RADV 26.3.1 and Wine 11.22. The host counted 541 presents in 74.19 seconds (7.29 FPS, 4,484 draws/frame). No device loss during the 230-second run. Levels on demand reported tier 4 and 4,476 MB of tile backing avoided by the end. I verified scene progression from the draw counts and haven’t checked the final composite visually.
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/1133:upstream-pr/1133'
git switch 'upstream-pr/1133'

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/1133'
git switch 'upstream-pr/1133'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1133'
git switch 'upstream-pr/1133'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1133'
git switch 'main'
git merge --squash 'upstream-pr/1133'
git switch 'main'
git merge --ff-only 'upstream-pr/1133'
git switch 'main'
git merge 'upstream-pr/1133'
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
fxceless/victory-fork!1130
No description provided.