D3D12.X: XCL_ACTIVITY counts and times the per-draw buffer mirror sync #2391
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2391
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@KOLESNiii on GitHub · 2026-11-25 17:43 UTC · original
Part of #2389. This should come first, so the other parts have before/after numbers.
list_x::sync_title_buffers(crates/xcl/src/hle/d3d12x/list_x.rs:3539onmain3f4495a) runs on everyDrawInstanced/DrawIndexedInstanced(bind.rs:476,bind.rs:489) andDrawIndexedX(list_x.rs:3831) once any buffer mirror exists. Nothing reports what it costs today: the only output is the "mirrored at …, each draw copies what it reads" warning when a mirror is made.Proposal: add one line to
XCL_ACTIVITY=1every 2 s with, for the last 2 s:instances > 1/ unknown-range branch)readable()calls that fell back toVirtualQuery(more than 16 pages)This is diagnostics only, with no change in behaviour. With it, a run in a title's world shows whether the other parts are worth doing.
Found by code reading with Claude Code (Claude Opus 5.5); not measured yet.