Skip to content

README: document XCL_DEVICE_TYPE - #3564

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/device-type-readme-01
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/device-type-readme-01

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

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

What is in it

  • README.md: one new bullet under "Switches for how a title runs", after the XCL_WAIT_TIMEOUT_MS / XCL_GPU_WAIT_TIMEOUT_MS bullet, stating that XCL_DEVICE_TYPE selects which console XCL presents to the title (anaconda for Series X, lockhart for Series S, with their alternate spellings), overrides device_type in xcl.toml for that run without changing the file, skips the console-choice question when set before launch, and is ignored with a warning when unknown; the title sizes its memory, resolution and detail by the answer, with standard title-memory budgets of 13 824 MiB (Series X) and 8 192 MiB (Series S).

Tested

  • Verified against the code at main 493dbd3: parse_device_type() in crates/xcl/src/config.rs maps lockhart/series s/series_s/xss/s to Series S and anaconda/series x/series_x/xsx/x to Series X, case-insensitively; apply_device_type_override() applies the override in memory without modifying xcl.toml; crates/xcl/src/launcher.rs ignores an unknown value with a warning; crates/xcl/src/main.rs shows the console-choice question only when the variable is unset; title_memory_budget_mb() gives the standard budgets of 13 824 MiB (Series X) and 8 192 MiB (Series S). Confirmed the variable had no mention in README.md at that commit and searched PRs and issues for a duplicate; none found.

Regression run
main: n/a (docs-only)
PR: n/a (docs-only)

Not tested

  • No local build or test run; README-only change. Windows build, cargo test --workspace, the GPU suite, and any retail title were not run.

AI use

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

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

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Review (head b080940, diff read, not a merge-check; draft, README only):

  • One detail: with an unknown value, main.rs (~136) still skips the console-choice question (it only checks that the variable is set), and the launcher then warns and keeps xcl.toml's device_type (launcher.rs ~333-338). "An unknown value is ignored with a warning" is right, but a reader may expect to be asked; "...and xcl.toml's choice is used" would say what happens.

Fine: the spellings match parse_device_type (config.rs ~264-269, trimmed and case-insensitive). It overrides in memory without writing xcl.toml (apply_device_type_override). The budgets match config.rs ~21 (13 824 / 8 192 MiB). The bullet is wrapped like its neighbours, and the README doesn't document the variable yet. Looks good to merge.

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 b080940

No open or merged PR documents XCL_DEVICE_TYPE in README.md; #3118, #3155, #3202 and the other README PRs by the same author document different variables.
The text matches main: the spellings are those of config.rs:parse_device_type, launcher.rs applies the override without writing xcl.toml and warns on an unknown value, main.rs skips the console question when the variable is set, and the 13 824 / 8 192 MiB budgets match config.rs.
No problems found in the diff.
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