Skip to content

README: document XCL_PSO_WAIT_MS - #3374

Draft
romeawayfromhome-rgb wants to merge 2 commits into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/pso-wait-ms-readme-03
Draft

romeawayfromhome-rgb wants to merge 2 commits into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/pso-wait-ms-readme-03

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

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

What is in it

  • README.md: state the pipeline-wait bound in milliseconds (unset, 0, or not a number waits until the pipeline is built).

Tested

  • Verified against crates/xcl/src/hle/d3d12x/pso_async.rs at d8bd9a3: wait_budget reads XCL_PSO_WAIT_MS through budget_of, which trims and parses milliseconds and yields no budget when unset, 0, or not a number; budget_for uses it as the all-pipeline budget. Searched open PRs and issues first; none documents this switch in the README.

Regression run

  • Not needed: docs only, no runtime change.

Not tested

  • Not compiled locally (no Windows/Rust toolchain for XCL in my environment); relying on CI.

AI use

  • Muse Spark (Clifford), conducted by Alexander Lerbakken / LegendaryGodKing.

@github-actions github-actions Bot added the area:docs-ci Documentation, scripts, workflows, repo governance label Nov 29, 2026
@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Review (head 385b772, diff read, not a merge-check; draft, README only, conflicts with main):

  • Conflicts with current main (the lines around it moved); it needs a rebase.
  • What happens past the bound is missing. A pipeline not built in time gets the stand-in, and its draws and dispatches are skipped until a worker builds it (resolve_within, pso_async.rs). For dispatches that means missing or old data for later work. A reader turning this on for a stall should know that. XCL_GFX_PSO_WAIT_MS and XCL_CS_PSO_WAIT_MS take precedence over it for their pipeline kinds (budget_for).
  • README: document XCL_GFX_PSO_WAIT_MS #3396 and README: document XCL_CS_PSO_WAIT_MS #3422 (same account) document those two switches in the same spot. One README PR for the three wait switches would be easier to review and would avoid three conflicts with each other.

Fine: wait_budget / budget_of (pso_async.rs ~11093-11099, ~11140) read milliseconds, trimmed, and treat unset, 0 or not a number as no bound (wait until built), as written. The bullet is top-level and wrapped like its neighbours, and the README doesn't mention the variable yet.

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 385b772

No open or merged PR documents XCL_PSO_WAIT_MS in README; the other README env-var PRs (#3118, #3155, #3202, #3215, #3227, #3274, #3285, #3311) cover other variables.
The text matches pso_async.rs budget_of (unset, 0 or unparsable = wait until built). It could also say what happens past the bound: the bind gets a stand-in and its draws/dispatches are skipped until a worker builds the pipeline.
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