Skip to content

README: document XCL_RESUBMIT_WAIT_MS - #3494

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/resubmit-wait-readme-19
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/resubmit-wait-readme-19

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

Documents XCL_RESUBMIT_WAIT_MS, which the README did not mention. README-only change. No issue.

What is in it

  • README.md: one new bullet in the "Switches for how a title runs" list, after the XCL_WAIT_TIMEOUT_MS bullet, stating that a submit waits for the previous submits of its command lists to finish on the GPU before submitting them again, 2000 ms by default for all of them together, that 0 does not wait, that a value that is not a number keeps the default, and that after the wait the lists are submitted as they are.

Tested

  • Verified against crates/xcl/src/hle/d3d12x/alloc_pool.rs at main 91244db: resubmit_wait() reads XCL_RESUBMIT_WAIT_MS, parses the trimmed value as a number of milliseconds, and falls back to 2000 when it is unset or does not parse; wait_for_previous_submits() waits, within that limit for all of them, for lists whose previous submit the GPU has not finished, and a zero limit returns without waiting. Confirmed the variable had no mention in README.md at that commit (code search finds it only in alloc_pool.rs) and searched open PRs/issues for a duplicate README change; none found.

Regression run

  • Not needed: README only, no crates/xcl/src change.

Not tested

  • Windows build, cargo test --workspace, the GPU suite, and any retail title. A Windows test run is still needed before merge.

AI use

  • Muse Spark (Meta AI) read the code, checked for duplicate PRs, and prepared this docs change. No test results were produced by the tool.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Review (head 7651b5e, diff read, not a merge-check; draft, docs only):

Fine: the 2000 ms default, one time limit shared by all the lists, 0 not waiting, a value that isn't a number keeping the default (trimmed, read as a whole number), lists submitted as they are after the wait, nesting and line lengths.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Triage (#1607) – head 7651b5e

No open or merged PR documents XCL_RESUBMIT_WAIT_MS. The text matches alloc_pool::resubmit_wait / wait_for_previous_submits_within on main (2000 ms default for all lists together, 0 does not wait, a non-number keeps the default, lists then go as they are).
#3508 inserts at the same place in README.md, so whichever merges second will need a rebase.
Recommendation: keep open.

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs-ci Documentation, scripts, workflows, repo governance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants