Config: device_type in xcl.toml names the Series S in every spelling #2311
No reviewers
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!2311
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2311/head"
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?
@gefydev on GitHub · 2026-11-25 13:32 UTC · original
gefydev:config-device-type-spellings→main· +9 −2 · 1 files · 1 commits · merged 2026-11-25 16:15 UTCdevice_typeinxcl.tomlonly counted as the Series S when it waslockhartorseries s, whileXCL_DEVICE_TYPEgoes throughparse_device_type, which also takesseries_s,xss,sand surrounding blanks. Sodevice_type = "xss"in the file was a Series X, with no message: the manifest's anaconda memory mode, the 13 824 MiB budget (8 192 for a Series S) and the "Xbox Series X" console form. Follows #48, which fixedSeries Sonly.What is in it
crates/xcl/src/config.rs:Config::is_series_sasksparse_device_type, the same reading as the override, so the file and the variable take the same spellings.every_series_s_spelling_gets_the_series_s_memorytakesseries_s,xss,Sandlockhartas well, and checks that the Series X spellings (anaconda,Series X,xsx,x) still get the Series X budget.Tested
series_s: left("standard", 13824), right("advanced", 8192)) and passes with it.cargo build --workspace, thencargo test --workspace --no-fail-fast -- --test-threads=4ond2515bc: 1250 passed, 0 failed, 46 ignored. 26 SKIPPED, none of them on a path this change touches: 20 wave64 cases ("no wave64" on this GPU), 3 per-lane f16 cases the per-lane form refuses, 1 "no heap windows", 2 for the D3D12 debug layer not being installed.Regression run
scripts/smoke.ps1 -Game <title folder> -Seconds 60, release builds, the same machine and title for both, one after the other. The title is a Series X one here, so the default path is what this run exercises; it does not reach the Series S spellings.main:
PR:
Not tested
device_type = "xss"in a realxcl.toml: the unit test coversresolveand the budget, not a title's start.xcl.toml's header still only namesanacondaandlockhart; I did not change what is documented.AI use
@oni-swr on GitHub · 2026-11-25 13:45 UTC · original
CPU-only review of #2311 at head
d2515bc8c5c2b71149aa836513449bc4e2117cd1, onorigin/mainafc5ee86ae3a9521c9f15d96505cd73fe72f2191(the PR is based on1a0bbe3; it merges into currentmainwithout conflicts).Tested
origin/main(all three merge cleanly together) and rancargo test -p xcl --lib --no-run: compiles; the 2 warnings are in code these PRs do not touch.cargo test -p xcl --lib config:: -- --test-threads=1: 8 passed, 0 failed, 0 ignored (includesevery_series_s_spelling_gets_the_series_s_memory, which now coversseries_s,xss,S,lockhartand the Series X spellings)Review
is_series_snow goes throughparse_device_type, the same parserXCL_DEVICE_TYPEuses, so the two spellings sets cannot drift.lockhartandSeries S, the two spellings accepted before, still work. No issues found.Overlap
gpu/uma.rs, Series S coherent window cache) and #1450 (README, title_memory_mb) mentionis_series_sbut do not editconfig.rs's function; no conflict found.Not tested
scripts/smoke.ps1/ any title run. This is not a replacement for the GPU suite or the smoke run the PR template asks for.AI use
stable-x86_64-pc-windows-msvc, debug build, CPU only. I read the full diff; nothing was changed or pushed.@gefydev on GitHub · 2026-11-25 13:48 UTC · original
@oni-swr thank you for the review of #2311 at
d2515bc: no issues, and no conflict with #1110 or #1450. The full suite (1250 passed, 0 failed, 46 ignored) and the smoke pair are in the description.AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.
@nnonno91 on GitHub · 2026-11-25 14:25 UTC · original
I tried the real
xcl.tomllaunch path ond2515bc8c5c2b71149aa836513449bc4e2117cd1with the bundled test title. Thexssalias produced the same memory budget and test-title output as the canonicallockhartsetting.Tested
cargo build --locked --workspacepassed.device_typeto an isolated per-titlexcl.toml, start the bundled title, checkcache/boot.jsonand verify the config bytes. Rancargo test --locked -p xcl --test e2e test_title_draws_with_a_root_signature_under_the_debug_layer -- --exact --nocapture --test-threads=1once per spelling withXCL_NETWORK=0andXCL_ADAPTER=AMD Radeon.xssandlockhartboth resolved to 8,192 MiB. Both test-title processes reached the end with exit 1 and one failure,GetConsoleType / XSystemGetDeviceType: device type = 6. That is Lockhart's reported ID and the canonical spelling gives the same result.xsxresolved to 13,824 MiB and the test title exited 0 with zero failures.Not tested
A retail title, the parent revision, and the full workspace suite.
AI use
OpenAI Codex (GPT-6.2 Sol) ran the checks, verified the logs and wrote this report.
@gefydev on GitHub · 2026-11-25 14:47 UTC · original
@nnonno91 thank you for the report on #2311 at
d2515bc(Ryzen 7 9800X3D, Windows 11 build 26200.9974, Radeon driver 32.0.21042.62, Rust 1.100.0, DXC 1.8.2502.11, unoptimized profile). Noted, as you gave it: with the bundled test title and a real per-titlexcl.toml,xssandlockhartboth resolved to 8,192 MiB and ended the same way (exit 1, one failure,GetConsoleType / XSystemGetDeviceType: device type = 6, the Series S's reported id), andxsxresolved to 13,824 MiB with exit 0 and no failures. No retail title, no parent revision and no full suite in your run.AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev.
@DavidM1911 on GitHub · 2026-11-25 17:41 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!