Skip to content

adanaport picks: VICTORY_LAND_NOT + VICTORY_LIST_LOW (off by default) - #13

Open
oceansde012 wants to merge 5 commits into
mainfrom
claude/project-thread-2qfpii
Open

oceansde012 wants to merge 5 commits into
mainfrom
claude/project-thread-2qfpii

Conversation

@oceansde012

Copy link
Copy Markdown
Owner

Requested by Vlad · project thread

What

Cherry-picks (with -x) from adanaport/adanaport (GPL-3.0, avatarmanz lineage), the commits behind its 22.7 -> 26.1 fps on an RTX 4070 SUPER:

  • 692cebe, 26d310d, 50a0b55: VICTORY_LAND_NOT=<hex lengths>. Host copies of listed lengths (buffers only shaders use) are not fetched back into title memory each frame, except 64 KiB pieces the title wrote in the last 300 frames. Unset = off.
  • e47bfa0: VICTORY_LIST_LOW, THIN translator threads at BELOW_NORMAL. Upstream had it on by default; flipped to =1 only (change written by DeepSeek).

play.ps1 hunks dropped. VICTORY_WAVE_WIDE_ONLY (f3c888e) not taken: it conflicts with our own wave-wide logic (scene_kernel/driver_loop) and may already be covered.

Test env

VICTORY_LAND_NOT=1412200,2d00000,5265c0,1cc000,3200000,c00000,2a3000
VICTORY_LIST_LOW=1

Caveat: keyed by buffer length, so a different buffer of the same size is also kept on the card. Check the picture against base run1.

Checks

Report: reports/adanaport-2026-11-28.md in project files.


Generated by Claude Code

adanaport and others added 5 commits November 28, 2026 10:11
….ps1 lists four of this title's (22.7 -> 25.4 fps)

The timeline (n-tl-w1) put landing on the frame's chain: the card's copy
queue ~5 ms and the landing threads ~9 ms a frame, while the title waits for
what the card wrote. Of the ~63 MB fetched a frame, 21 MB came from the
upscaler chain's 0x1412200-byte buffer and 14 MB from three buffers shaders
fill (0x2d00000, 0x5265c0, 0x1cc000), none of them sent up after the load.

A copy of a listed length is not fetched, except in the 64 KiB pieces the
title sent bytes up into within the last 300 frames: the title writes all of
each at the load, and the 45 MB one gets a piece or two now and then. Keyed by
length: the addresses differ between runs.

In-run A/B (n-ab-land, the pieces left out by a temporary switch): 45.3 ms a
frame with everything fetched, 42.2 without the chain's buffer, 42.6 without
the other three, 39.7 without all four, the same draws a frame, the pictures
alike. With the switch (n-ln2): 25.4 fps against 22.7 (n-ln1, where all
pieces had kept landing since the load), merging what was fetched 13.2 ->
6.2 ms, copying back 24 -> 16 ms a frame. Six landing threads instead of
three were slower (n-ln6, 22.0 fps).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 692cebe6e72a3de0eca8061e64926ca270a914b2)
…26.1 fps)

0x3200000 (the title and the shaders write pieces of it apart), 0xc00000 and
0x2a3000: 11 MB a frame fetched for nothing. In-run A/B (n-ab-landc, a
temporary switch for the three): 39.0 -> 37.5 ms a frame, the same draws a
frame, the pictures alike. With all seven listed (n-ln3): 26.1 fps, 17.7 MB
fetched a frame (was ~63). Copies both write pieces of (the 174 MB ring,
0x1900000, 0x564000) are left as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 26d310d9fe0c5482cae2f4e943133aee6df0999a)
A length is no name: in a walk through the cell (n-walk1) 0xc00000 caught
four copies, 0x1cc000 and 0x2a3000 two each. The pictures of that walk match
one with the list switched off (n-walk0), no device lost; fps in the cell
30.0 (the title's own cap) against 24-27.5 without the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 50a0b550cc2cf6c54912229d4c3689071085c85b)
…IST_LOW=0: normal)

With landing off the chain, the timeline (n-tl-w2) has the title's own code,
the submitting thread and ~3 ms a frame of "woken, not running yet" on it;
translation moves the frame weakly (the busy-work test). In-run A/B
(n-ab-prio, 250 s): 37.2 -> 36.3 ms a frame, every phase lower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit e47bfa03f42ebeaf3c8279a7c05e0dc194580dbc)
Change written by DeepSeek; cherry-picked e47bfa0 had it on by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FLuVRjyhfFuq98XrffwyiL

Copy link
Copy Markdown
Owner Author

CI check fails on clippy precedence in crates/victory-formats/src/texture.rs:1346 (i * 7 >> 3), a file this PR does not touch. The same check is red on PR #5, #7 and #12 too, so it comes from the base, not from this diff. The fix is a one-line parenthesis, best done in its own PR against main (code here is written by Codex/DeepSeek only).


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants