Repository navigation
Conversation
A title starting on a Series S profile maps 4.3 GB of physical pages in small pieces (MapTitlePhysicalPages -> sparse::committed), and each new tile cost one UpdateTileMappings + signal (~0.4 ms). Its loading thread was held ~25 s with nothing presented and its stall watchdog ended it. New tiles now get their pool tile in `mapped` at once and their mapping call is queued (`pending`); `flush_pending` sends them, one call per window, before the title's next submit, before XCL's own copies and readbacks on the windows, or past 4,096 tiles. A tile decommitted before the flush is skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
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.
Follows 7f94c6f (#532), which parks decommitted tiles; this does the same for new ones. A title starting on a Series S profile maps 4.3 GB of physical pages in small pieces (
MapTitlePhysicalPages→sparse::committed), and each new tile cost oneUpdateTileMappingsplus a signal (~0.4 ms on this PC). Its loading thread was held ~25 s with nothing presented, and its stall watchdog ended it. Related: #1268 (the firstUpdateTileMappingscalls holding the render thread).New tiles now get their pool tile in
mappedat once, and their mapping call is queued (pending).flush_pendingsends them, one call per window, before the title's next submit, before XCL's own copies and readbacks on the windows, or past 4,096 tiles. A tile decommitted before the flush is skipped. One decommitted and parked before its mapping was sent stays pending, because taking it back fromparkedsends no mapping.What is in it
crates/xcl/src/hle/d3d12x/sparse.rs:pending,flush_pending, called frombefore_execute, the upload and readback paths, andcommit_rangepastPENDING_MAX; the existing parking test extended to commit, decommit, flush and commit againTested
cargo test -p xcl --lib sparse -- --test-threads=1: 16 passed, 0 failed, 1 ignoredmain, presenting every 2 s window at the end.Regression run
main:
PR (this PR's head commit; the title is run through a folder named RetailTitle):
Not tested
AI use
🤖 Generated with Claude Code