README: document XCL_UMA_WINDOWS and XCL_HEAP_WINDOWS #3106

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/3106 into main
romeawayfromhome-rgb commented 2026-11-28 07:11:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-28T07:11:59Z.


What is in it

  • Adds a Switches bullet for the memory-window switches, which the README mentions only as "memory-window configuration" without naming them. Verified against main e429936: crates/xcl/src/gpu/uma.rs splits title graphics memory into 4 GiB windows (4 by default); XCL_UMA_WINDOWS=8|16 widens the layout only with XCL_HEAP_WINDOWS=1 (crates/xcl/src/gpu/recomp/pso.rs heap_windows() accepts only the exact value 1), and any other value logs a warning and keeps 4. The xcl pso-precompile help in crates/xcl/src/main.rs notes the settings change the pipeline keys, so preparation and play must use the same ones. A search for XCL_HEAP_WINDOWS and XCL_UMA_WINDOWS found no open PR documenting them.

Tested

  • Source verification only, on Linux: read crates/xcl/src/gpu/uma.rs, crates/xcl/src/gpu/recomp/pso.rs and the pso-precompile help in crates/xcl/src/main.rs at e429936 and confirmed the bullet matches configured_runtime_windows and heap_windows.
  • No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally.

Regression run

  • Not applicable: README.md only, no runtime change.

Not tested

  • No Windows build, no cargo test, no GPU run, no smoke run.

AI use

  • AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
<!-- greyfinch-sync:ivall/xcl:issue:5537756119 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3106). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-28T07:11:59Z. --- **What is in it** - Adds a Switches bullet for the memory-window switches, which the README mentions only as "memory-window configuration" without naming them. Verified against main e429936: `crates/xcl/src/gpu/uma.rs` splits title graphics memory into 4 GiB windows (4 by default); `XCL_UMA_WINDOWS=8|16` widens the layout only with `XCL_HEAP_WINDOWS=1` (`crates/xcl/src/gpu/recomp/pso.rs` `heap_windows()` accepts only the exact value `1`), and any other value logs a warning and keeps 4. The `xcl pso-precompile` help in `crates/xcl/src/main.rs` notes the settings change the pipeline keys, so preparation and play must use the same ones. A search for XCL_HEAP_WINDOWS and XCL_UMA_WINDOWS found no open PR documenting them. **Tested** - Source verification only, on Linux: read `crates/xcl/src/gpu/uma.rs`, `crates/xcl/src/gpu/recomp/pso.rs` and the `pso-precompile` help in `crates/xcl/src/main.rs` at e429936 and confirmed the bullet matches `configured_runtime_windows` and `heap_windows`. - No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally. **Regression run** - Not applicable: README.md only, no runtime change. **Not tested** - No Windows build, no cargo test, no GPU run, no smoke run. **AI use** - AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
Foniass commented 2026-12-01 09:31:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:31:29Z.


Triage (#1607) – head 8d102fc

#2680 also documents XCL_UMA_WINDOWS=8|16 with XCL_HEAP_WINDOWS=1, in the Memory row of the feature table. This PR adds a switch entry with the fallback rules instead, and the two could be combined. The text matches gpu/uma.rs::configured_runtime_windows and pso::heap_windows (trimmed value 1).
Nit: the second line of the new bullet is indented 4 spaces and the rest 2. The entry also sits after the "Switches for how a title runs" sub-list rather than inside it.
Recommendation: keep open.

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

<!-- greyfinch-sync:ivall/xcl:comment:7306825479 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3106#issuecomment-7306825479). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T09:31:29Z. --- **Triage (#1607)** – head 8d102fc #2680 also documents `XCL_UMA_WINDOWS=8|16` with `XCL_HEAP_WINDOWS=1`, in the Memory row of the feature table. This PR adds a switch entry with the fallback rules instead, and the two could be combined. The text matches `gpu/uma.rs::configured_runtime_windows` and `pso::heap_windows` (trimmed value `1`). Nit: the second line of the new bullet is indented 4 spaces and the rest 2. The entry also sits after the "Switches for how a title runs" sub-list rather than inside it. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Foniass commented 2026-12-01 10:27:53 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T10:27:53Z.


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

  • Indentation. The first continuation line is indented 4 spaces and the next ones 2, so the bullet renders unevenly; 2 throughout matches the list.
  • Precision: 4 is also accepted without a warning (uma.rs ~96-104 accepts 4, 8 or 16); "any other value" reads as if 4 would warn. The warning text for 8 / 16 without heap windows is "requires XCL_HEAP_WINDOWS=1 – using 4", which the bullet describes right.
  • #3517 (merge-checked, safe to merge) changes what 16 windows means (4 sparse windows, coherent window moved). If it lands first, this bullet should mention XCL_SPARSE_WINDOWS alongside.

Fine: the values, the dependency on XCL_HEAP_WINDOWS=1 and "same settings for preparation and play" (they're in the pipeline keys) match main. The README doesn't name the variables yet.

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

<!-- greyfinch-sync:ivall/xcl:comment:7308227894 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3106#issuecomment-7308227894). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T10:27:53Z. --- Review (head 8d102fc1, diff read, not a merge-check; draft, README only, conflicts with main): - **Indentation.** The first continuation line is indented 4 spaces and the next ones 2, so the bullet renders unevenly; 2 throughout matches the list. - Precision: `4` is also accepted without a warning (`uma.rs` ~96-104 accepts 4, 8 or 16); "any other value" reads as if 4 would warn. The warning text for 8 / 16 without heap windows is "requires XCL_HEAP_WINDOWS=1 – using 4", which the bullet describes right. - #3517 (merge-checked, safe to merge) changes what 16 windows means (4 sparse windows, coherent window moved). If it lands first, this bullet should mention `XCL_SPARSE_WINDOWS` alongside. Fine: the values, the dependency on `XCL_HEAP_WINDOWS=1` and "same settings for preparation and play" (they're in the pipeline keys) match main. The README doesn't name the variables yet. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3106:upstream-pr/3106'
git switch 'upstream-pr/3106'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3106'
git switch 'upstream-pr/3106'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3106'
git switch 'upstream-pr/3106'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3106'
git switch 'main'
git merge --squash 'upstream-pr/3106'
git switch 'main'
git merge --ff-only 'upstream-pr/3106'
git switch 'main'
git merge 'upstream-pr/3106'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3106
No description provided.