README: document title_memory_mb (#1337) #1440

Open
Gruzzberry wants to merge 1 commit from upstream-pr/1450 into main
Gruzzberry commented 2026-11-24 16:15:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Gruzzberry on 2026-11-24T16:15:06Z.


Part of #1337. title_memory_mb in a title's xcl.toml sets the memory budget the title reads
(TitleMemoryStatus, XMemGetWorkingSetStatistics). It was not in the README. This adds a short entry
under "Building and usage": units (MiB), the default (0 = the console's budget: 13 824 Series X,
8 192 Series S) and that lowering it helps GPUs with less video memory than the budget.

What is in it

  • README.md: one bullet after "Title data" (6 lines added).

Tested

  • Docs only. Values checked against crates/xcl/src/config.rs (title_memory_budget_mb(), the field
    doc, is_series_s()) and hle/kernelx.rs (the two readers).
  • cargo build --workspace on the PR's commit: finished, no new warnings (1 existing lib warning).
  • Hardware: i7-13700K, RTX 4070 12 GB, Windows 11 Home 26200, rustc 1.100.0. No test run (docs only).

Not tested

  • That lowering the value fixes the 8 GB crash in #1337 (taken from pickles976's comment, phrased as an
    example, not a recommended value). Not run on any title.

AI use

  • Claude Code with Claude Sonnet 5.5 wrote the text and the commit; Claude Opus 5.5 scoped the task.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5475955123 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1450). Originally posted by [Gruzzberry](https://github.com/Gruzzberry) on 2026-11-24T16:15:06Z. --- Part of #1337. `title_memory_mb` in a title's `xcl.toml` sets the memory budget the title reads (`TitleMemoryStatus`, `XMemGetWorkingSetStatistics`). It was not in the README. This adds a short entry under "Building and usage": units (MiB), the default (`0` = the console's budget: 13 824 Series X, 8 192 Series S) and that lowering it helps GPUs with less video memory than the budget. **What is in it** - `README.md`: one bullet after "Title data" (6 lines added). **Tested** - Docs only. Values checked against `crates/xcl/src/config.rs` (`title_memory_budget_mb()`, the field doc, `is_series_s()`) and `hle/kernelx.rs` (the two readers). - `cargo build --workspace` on the PR's commit: finished, no new warnings (1 existing lib warning). - Hardware: i7-13700K, RTX 4070 12 GB, Windows 11 Home 26200, rustc 1.100.0. No test run (docs only). **Not tested** - That lowering the value fixes the 8 GB crash in #1337 (taken from pickles976's comment, phrased as an example, not a recommended value). Not run on any title. **AI use** - Claude Code with Claude Sonnet 5.5 wrote the text and the commit; Claude Opus 5.5 scoped the task. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DavidM1911 commented 2026-11-24 19:07:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T18:52:46Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified main.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7141279455 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1450#issuecomment-7141279455). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T18:52:46Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified `main`.) Thanks!
Foniass commented 2026-12-01 05:47:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T05:47:59Z.


Triage (#1607) – head c9fe2c6

#2190 (README table of every xcl.toml key) also documents title_memory_mb, with the same 13,824 / 8,192 defaults. This PR is older and only adds the one bullet. #1595, #1655 and #2357 touch the same issue (#1337) but change other things.
The text matches Config::title_memory_budget_mb on main. The #1337 link points to ivall/xcl; the other README links use xcl-dev/xcl.
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:7302150032 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1450#issuecomment-7302150032). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T05:47:59Z. --- **Triage (#1607)** – head c9fe2c6 #2190 (README table of every `xcl.toml` key) also documents `title_memory_mb`, with the same 13,824 / 8,192 defaults. This PR is older and only adds the one bullet. #1595, #1655 and #2357 touch the same issue (#1337) but change other things. The text matches `Config::title_memory_budget_mb` on `main`. The #1337 link points to `ivall/xcl`; the other README links use `xcl-dev/xcl`. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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/1450:upstream-pr/1450'
git switch 'upstream-pr/1450'

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/1450'
git switch 'upstream-pr/1450'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1450'
git switch 'upstream-pr/1450'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1450'
git switch 'main'
git merge --squash 'upstream-pr/1450'
git switch 'main'
git merge --ff-only 'upstream-pr/1450'
git switch 'main'
git merge 'upstream-pr/1450'
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!1440
No description provided.