Repository navigation
Config: device_type in xcl.toml names the Series S in every spelling - #2311
Conversation
is_series_s compared device_type with "lockhart" and "series s" only, while XCL_DEVICE_TYPE goes through parse_device_type, which also takes "series_s", "xss", "s" and surrounding blanks. So `device_type = "xss"` in xcl.toml was the Series X: the manifest's anaconda memory mode, the 13 824 MiB budget and the "Xbox Series X" console form, with no hint why. is_series_s now asks parse_device_type, the same reading as the override.
|
CPU-only review of #2311 at head Tested
Review
Not tested
AI use
|
|
I tried the real Tested
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. |
|
@nnonno91 thank you for the report on #2311 at AI use: Claude Code (Claude Sonnet 5.5) wrote this comment for @gefydev. |
device_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