perf: measured fast set for the Neptune base, -Quality switch, heap pass on dirty slots #265
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!265
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/265/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LooperSalty on GitHub · 2026-11-25 22:37 UTC · original
LooperSalty:perf/neptune-fps-set→main· +831 −84 · 21 files · 9 commits · merged 2026-11-25 22:54 UTCWhat changes
VICTORY_HEAP_PASS_DIRTY=1, default in the launcher): the pass looks only at the slots marked since its last pass. Ported from reddxd-byte/ShakiraRED-dt c2271e5 (see THIRD_PARTY.md).VICTORY_COPY_COALESCE=256, default): changed runs up to 256 bytes apart go up as one range.VICTORY_RELAY_WIDE_MERGE): VIctory option, off by default, not measured. Only the compile fix and the coalesce test expectation ofcb17b6d3are taken with it.VICTORY_HDR_STANDINswitch (default unchanged: 26, R11G11B10_FLOAT).-Override @{ ... }for A/B runs (VICTORY_* names only, applied last).VICTORY_CARD_WINDOWS_MB4096 to 1536 (4096 was sized for a 16 GB card and spilled VRAM into system RAM on a 12 GB card),VICTORY_CARD_BUFFERS_MB1536,VICTORY_TEXTURE_ROOM_PERCENT93,VICTORY_VRAM_IDLE_MS8000,2000,1000 (was 15000,2500,1000),VICTORY_LIST_POOL_MB512 (was 2048). Everything else is unchanged.-Qualityswitch (new, picture first): on top of the defaults it setsVICTORY_CARD_WINDOWS_MB=0(windows read fresh each frame instead of card copies),VICTORY_CARD_BUFFERS_MB=1024,VICTORY_LIST_POOL_MOST=256,VICTORY_LIST_POOL_MB=256,VICTORY_TEXTURE_STAGE_MB=192. It costs about half the frame rate.-Quality, THIRD_PARTY.md names the heap pass port.Measurements
Measured on the maintainer's PC (RTX 4070 SUPER, i7-13700KF, Series X 4K, release build, after
warm) by automated 13-minute Series X runs on 2026-11-25, logsmain-neptune-2258againstauto-gpu-2319:main(before)Picture-first option,
-Quality(runauto-ram-2326, measured by the maintainer): about 7 to 9 fps against 14 to 17, with 51 to 93 texture refusals against 296. The picture is judged better (lighting, shadows, textures), observed.Other tries, not enabled:
VICTORY_CARD_WINDOWS_MB=0alone cost about 5 fps.VICTORY_INPLACE=1placed only one 2 MB window.Tests
tests/test_lanceur_victory.py: new defaults,-Qualitywith and without the tuned set,-Overridewinning over both, rejection of non-VICTORY_*names. The defaults and-Qualitytests fail on the previous launcher.ruff check --select W605,F,E9: clean.cargo build --locked --release -p victory: builds.cargo test --locked -p victory-gpu --lib: 181 passed, 3 failed. The 3 failures are the known Neptune ones on main (spans_say_the_next_start_and_the_lowest_level_viewed,warp_card_patch_writes_the_masked_bytes_and_no_others,warp_card_fetch_copies_flagged_pieces_to_their_slots).cargo xtask policy: 198 files ok.The game was not run for this PR. The numbers above come from the maintainer's runs.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz
-Override takes a hashtable of VICTORY_* variables that is applied after the tuned set (and after -NoTunedSettings), so one switch can be compared without editing the launcher: -Override @{ VICTORY_RELAY = '0'; VICTORY_PIPELINE_WAIT_MS = '12000' } Co-Authored-By: Claude Haiku 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LwHrL4bPjrVJiDKC8BDYfz@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:37 UTC · original · edited 2026-11-25 22:46 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
b78eeebℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@Luigilt20 on GitHub · 2026-11-26 04:39 UTC · original
Linux data point for the merged fast preset at
c4c93bd. On an RX 9070 (16 GB, RADV 26.3.1), Ryzen 5 5500X3D and 32 GB RAM, Series X reached the prison cell using Proton Experimental (2026-11-12), vkd3d-proton 3.2 and a wineserver built with the mapped-view tree change from CachyOS/wine-cachyos#50. We used the fast settings from this revision's launcher and keptVICTORY_LATE_WAIT=0.During movement from the cell window to the bunks and inspection of a photo, the frame counter advanced by 187 over 78.78 seconds, averaging 2.37 FPS. The median of the CSV's interval-average draw counts was 5,677 draws/frame. Movement, camera rotation and the inspect action worked. Parts of the character's face were missing. An earlier run at
6297f17averaged 2.50 FPS on a different route in the same room, so the two runs cannot establish a speedup or regression.AI-assisted local build, input and frame-count measurements using Codex.
@ -46,3 +46,3 @@| [myokex/victory-amd](https://github.com/myokex/victory-amd) (myokex) | GPL-3.0 | La base, avec fxceless/victory-fork | || [soldsawn/victory-nvidia-8gb](https://github.com/soldsawn/victory-nvidia-8gb) (soldsawn) | GPL-3.0 | Le traducteur de shaders (programmes wave64 appariés sur les cartes NVIDIA à 32 lanes) | || Belobug, [reddxd-byte/ShakiraRED-dt](https://github.com/reddxd-byte/ShakiraRED-dt) | GPL-3.0 | La passe de lumière ambiante | || Belobug, [reddxd-byte/ShakiraRED-dt](https://github.com/reddxd-byte/ShakiraRED-dt) | GPL-3.0 ou ultérieure | La passe de lumière ambiante | La passe du tas sur les emplacements marqués (`VICTORY_HEAP_PASS_DIRTY`, commit `2c6dc966`, portée de `c2271e5`, squash de VIwork de Trexies/victory-fork) |@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:46 UTC · original
This row identifies the heap-pass implementation as a port from
reddxd-byte/ShakiraRED-dt, but the reviewed commit contains neither aSource:trailer nor aCo-authored-by:trailer for the upstream author.AGENTS.mdrule 10 explicitly requires both for imported changes, including ports by hand; updating the sources table alone does not satisfy that attribution requirement. Preserve the upstream repository/commit and author in the import's commit trailers.AGENTS.md reference: AGENTS.md:L59-L59
Useful? React with 👍 / 👎.
@ -175,0 +196,4 @@$env:VICTORY_CARD_WINDOWS_MB = '0'$env:VICTORY_CARD_BUFFERS_MB = '1024'$env:VICTORY_LIST_POOL_MOST = '256'$env:VICTORY_LIST_POOL_MB = '256'@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:46 UTC · original
When
-Overrideis combined with another switch that sets the same variable, the override is silently overwritten despite being documented as applied last. For example,-BatchCardRehash -Override @{ VICTORY_CARD_REHASH_RUNS = '0' }still launches withVICTORY_CARD_REHASH_RUNS=1because the$BatchCardRehashblock runs afterward;$AutoA,$FrametimeDump,$Dred,$SkipPipelines, and$XgDllhave the same ordering issue. This can invalidate A/B runs by launching with settings different from the requested overrides. Move this loop after the other environment-setting blocks and before warming or launching.Useful? React with 👍 / 👎.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 22:46 UTC · original · reviewed
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
b78eeeb414ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".