Repository navigation
Conversation
Contributor
Author
|
Closing this exploratory P-3 draft. The alternating Proton run reduced median texture write-watch and guard time from 726 ms to 46 ms, but world frame medians were 2,846 ms versus 2,777 ms in changing scenes, about 0.3 FPS in both modes. The title still hit its watchdog, and visual parity was not established. This does not demonstrate a gameplay frame-rate gain; P-3 remains open for a measured, validated fix. |
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.
P-3: classify texture write watch once (draft)
Texture refreshes previously asked the write-watch journal as private memory, then retried with view guards when that failed. This change classifies the range once and uses the existing private copy or guarded-view hash path. It is opt-in with
LEONIDA_TEXTURE_WATCH_ONCE=1;altalternates paths every 20 seconds for comparison. The default path is unchanged. P-3 remains open because the full copy bottleneck and gameplay frame-rate goal are not resolved.In an exploratory offline Proton 11 run, the opening 3D scene's median frame time was 2,846 ms on the old path versus 2,777 ms on this path (six frame summaries each, at least 1,000 draws). Both are about 0.3 FPS, with a changing scene, so no reliable FPS improvement is claimed. Median write-watch and guard query time was 726 ms (11 samples) versus 46 ms (15 samples); failed kernel queries fell from 851 to 172 per frame (six versus seven samples). The title still reached its existing watchdog, and visual parity has not been established. The run also included separate launcher, pipeline-library, shader-control-flow, and texture-range-lock changes; these figures are exploratory, not an isolated production benchmark.
Validation: 13 focused Windows-target synthetic watch tests under Proton; Windows MSVC-target Clippy with all features and warnings denied;
cargo xtask policy;git diff --check. Tested on an Intel i9-14900KS, RTX 5090, NVIDIA 580.173.02, Proton 11. This PR was AI-assisted.