README: document XCL_UMA_WINDOWS and XCL_HEAP_WINDOWS #3106
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3106"
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?
Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-28T07:11:59Z.
What is in it
e429936:crates/xcl/src/gpu/uma.rssplits title graphics memory into 4 GiB windows (4 by default);XCL_UMA_WINDOWS=8|16widens the layout only withXCL_HEAP_WINDOWS=1(crates/xcl/src/gpu/recomp/pso.rsheap_windows()accepts only the exact value1), and any other value logs a warning and keeps 4. Thexcl pso-precompilehelp incrates/xcl/src/main.rsnotes 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
crates/xcl/src/gpu/uma.rs,crates/xcl/src/gpu/recomp/pso.rsand thepso-precompilehelp incrates/xcl/src/main.rsate429936and confirmed the bullet matchesconfigured_runtime_windowsandheap_windows.Regression run
Not tested
AI use
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|16withXCL_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 matchesgpu/uma.rs::configured_runtime_windowsandpso::heap_windows(trimmed value1).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.
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):4is 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.XCL_SPARSE_WINDOWSalongside.Fine: the values, the dependency on
XCL_HEAP_WINDOWS=1and "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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.