Submit-thread speedups, in-session A/B, teleport test tool, texture cap, ambient floor #1925
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!1925
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1925"
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?
@wtry-gta on GitHub · 2026-11-29 03:05 UTC · original
wtry-gta:contrib/wtry→main· +5718 −784 · 35 files · 1 commits · openAll new behaviour is behind VICTORY_* switches. Measured on a Ryzen 9 7900X3D with an RTX 4070 Ti SUPER 16 GB and
32 GB of RAM, in the busy street and on a teleport route.
Measured wins:
parallel, targeted range invalidation in Batch::title_written_range, and a combined card sync. Together about
+1.2 fps.
faster in 4 of 4 phases.
faster in 4 of 4 phases. Before, a single sweep took 44-73 ms on the submit thread.
f9dfb76:TAA frame stats and resolves, SR denoise, particles, water and shadow classification. The picture went white
toward the sun.
Test tools:
The spread is about 0.4 fps, against about 2 fps between restarts.
Other:
VICTORY_BASE_ARRAYS makes array views of capped textures start at the right level.
VICTORY_AMBIENT_STATS shows its numbers on screen.
Measured neutral, so left off: VICTORY_PARALLEL_PRELUDE (-0.3 fps), VICTORY_MERGE_SUBMISSIONS,
VICTORY_SWAP_BUFFERS 3 against 2, VICTORY_FREE_UNMAPPED.
Known open issue: some shorelines draw black and glossy. Neither the texture cap nor BASE_ARRAYS causes it.
VICTORY_WATER_LIGHT=1 ended a session there.
🤖 Generated with Claude Code
All new behaviour is behind VICTORY_* switches. Measured on a Ryzen 9 7900X3D with an RTX 4070 Ti SUPER 16 GB and 32 GB of RAM, in the busy street and on a teleport route. Measured wins: - Submit thread: - VICTORY_SUBMIT_FAST, VICTORY_SUBMIT_FAST_2: bury/land aside, a lock-free fence settle, ask_once_all in parallel, targeted range invalidation in Batch::title_written_range, and a combined card sync. Together about +1.2 fps. - VICTORY_GUARDS_SHARD: the guard locks are split into 64 stripes by address. +1.33 fps in an in-session A/B, faster in 4 of 4 phases. - VICTORY_SWEEP_ASYNC: the sweep runs on a background thread and resource::let_go_idle works in chunks. +0.97 fps, faster in 4 of 4 phases. Before, a single sweep took 44-73 ms on the submit thread. - VICTORY_AHEAD_SEARCH: the asked-ahead page ranges are looked up by bisection instead of a scan. - Thin LTO in release. - VICTORY_WINDOWS_BAR_MB=1024: fewer and shorter stalls (lowest 5 s window 16.6/23.3 against 10.0/20.1 fps). - Two play defaults after the merge withf9dfb76: - VICTORY_LDS_LAST_RESORT=1 again. Without it, 24 wave64 compute programs are dropped on 32-lane NVIDIA waves: TAA frame stats and resolves, SR denoise, particles, water and shadow classification. The picture went white toward the sun. - VICTORY_TITLE_FPS=off. Here, 59 cost about 4 fps and caused 1 s frames. Test tools: - VICTORY_AB in release builds (with _GO, _GO_DELAY, _PHASES): flips switches live in phases within one session. The spread is about 0.4 fps, against about 2 fps between restarts. - VICTORY_LONG_FRAME=<ms>: long frames broken down by stage. - VICTORY_TELEPORT=t:x,y,z;...: a scripted player teleport for repeatable area loads. - With _HOLD_MS, _GUARD (a list, one value per jump), _PROBE and _FILE. - F8 saves the player's position (VICTORY_TP_RECORD), and a route can use those points as p<n>. - The log notes the title's own put-backs and respawns. - scripts/teleport-report.py sums up each jump. Other: - VICTORY_TEXTURE_MAX=<px>: a texture cap that keeps only the levels at or below it on the card. VICTORY_BASE_ARRAYS makes array views of capped textures start at the right level. - VICTORY_AMBIENT_FLOOR and VICTORY_AMBIENT_DAY: an indirect-light floor relative to exposure. VICTORY_AMBIENT_STATS shows its numbers on screen. - A per-frame "texture slots per frame" counter line: stale slots, neutral stand-ins, rewritten slots. - VICTORY_TEXBACK_ASYNC: texture read-backs on their own thread. Measured neutral, so left off: VICTORY_PARALLEL_PRELUDE (-0.3 fps), VICTORY_MERGE_SUBMISSIONS, VICTORY_SWAP_BUFFERS 3 against 2, VICTORY_FREE_UNMAPPED. Known open issue: some shorelines draw black and glossy. Neither the texture cap nor BASE_ARRAYS causes it. VICTORY_WATER_LIGHT=1 ended a session there. Co-Authored-By: Claude Opus 5.5 <[email protected]>github-bot referenced this pull request2026-11-29 12:10:51 +00:00
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.