Repository navigation
Conversation
…E_TEXTURES=1) While the world streams in, a submission checks hundreds of textures one after another on the submitting thread: each is read, hashed whole and, when it changed, detiled into its staging buffer. With the switch the checks that come due in a batch are queued (Batch::textures_due) and run at its next flush, before a step that writes title memory and before the lists run, so their order against those steps is unchanged, on the threads kept for the snapshots (shadow::wide_run). Each check reads its texture's title memory and writes its own staging buffer and notes under its own lock, and a texture is queued once per batch (texture_due), so no two threads check the same texture. The frame line's "textures" counts the time it took, not the threads' sum. Measured on the opening cutscene and the first world minutes (RTX 3090 Ti, 8dd30ab, same binary, one launch each): default frame ~1,030 ms, textures ~330 ms VICTORY_WIDE_TEXTURES=1 frame ~826 ms, textures ~120 ms VICTORY_TEXTURE_NO_WAIT=1 frame ~654 ms, textures ~44 ms both frame ~518 ms, textures ~16 ms Steady state after streaming: 4.0-4.3 fps in all four. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KyleS98
added a commit
to KyleS98/VIctory-Neo
that referenced
this pull request
Nov 25, 2026
…0 turns each off) Measured together on the opening cutscene and first world minutes: ~518 ms a frame against ~1,030 by default (textures ~16 ms against ~330), steady state unchanged (fxceless/victory-fork#768). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017rHNfuPpCyeMjHxWTEyhiQ
oceansde012
pushed a commit
to oceansde012/victory-gta6
that referenced
this pull request
Nov 25, 2026
…E_TEXTURES=1) Upstream: fxceless#768 (opt-in) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkAEvF29hMbrBJw8os
oceansde012
pushed a commit
to oceansde012/victory-gta6
that referenced
this pull request
Nov 25, 2026
…E_TEXTURES=1) Upstream: fxceless#768 (opt-in) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkAEvF29hMbrBJw8os (cherry picked from commit c308a49)
oceansde012
pushed a commit
to oceansde012/victory-gta6
that referenced
this pull request
Nov 25, 2026
…E_TEXTURES=1) Upstream: fxceless#768 (opt-in) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLuVRkAEvF29hMbrBJw8os (cherry picked from commit c308a49) (cherry picked from commit ef79c7b)
KyleS98
force-pushed
the
perf/wide-texture-refresh
branch
from
November 25, 2026 08:47
f51aae3 to
19546dd
Compare
KyleS98
added a commit
to KyleS98/VIctory-Neo
that referenced
this pull request
Nov 25, 2026
…0 turns each off) Measured together on the opening cutscene and first world minutes: ~518 ms a frame against ~1,030 by default (textures ~16 ms against ~330), steady state unchanged (fxceless/victory-fork#768). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While the world streams in, a submission checks hundreds of textures one after another on the submitting thread. Each one is read, hashed whole and, if it changed, detiled into its staging buffer. On the opening cutscene and the first world minutes, that's the frame line's "textures" at 100–1,400 ms per frame (250–930 MB), so the cutscene plays at 0.3–2 fps.
Change (opt-in,
VICTORY_WIDE_TEXTURES=1)Batch::textures_due) instead of being run inline.shadow::wide_run).Batch::texture_due), so no two threads check the same one. Read buffers are per-thread, and the remap guard is a shared lock.Measurements
RTX 3090 Ti + Ryzen, Windows 11, diag build of this branch on 8dd30ab, retail title, Series X profile. One launch per configuration, average over the frames between the first world frame and the steady state:
VICTORY_WIDE_TEXTURES=1VICTORY_TEXTURE_NO_WAIT=1VICTORY_TEXTURE_NO_WAITaddresses, and the two complement each other: together the slow phase runs at about twice the default frame rate.cargo test -p victory-gpu --lib batch: 4 passed (1 ignored benchmark).cargo clippy -p victory-gpu --all-targets: no new warnings.If these numbers hold on other machines, both switches look like candidates to turn on by default. I've left that to you.
AI-assisted (Claude Code, Claude Opus 5.5). No game data attached.
🤖 Generated with Claude Code