D3D12.X: warn when the title's memory budget is larger than the GPU's (#1337) #1595

Open
github-bot wants to merge 1 commit from github-bot/gh-1595 into main AGit
Owner

@⁠Gruzzberry on GitHub · 2026-11-24 18:05 UTC · original
Gruzzberry:gz/warn-title-budget-over-vram → main · +62 −2 · 2 files · 1 commits · open

Logs one startup warning when the console's default title memory budget (title_memory_mb = 0: 13,824 MiB Series X, 8,192 MiB Series S) is larger than the adapter's DXGI DedicatedVideoMemory, naming both numbers and the title_memory_mb setting. Nothing is clamped. Today the over-planning shows up only as a death a minute or more into the run (see pickles976's comment, point 2, on #1337).

Part of #1337.

What is in it

  • crates/xcl/src/hle/d3d12x/real.rs: title_memory_over_vram_warning(budget, vram, explicit) -> Option<String>, called once from init() with the VRAM of the chosen adapter; 4 unit tests. No warning for an explicit budget, enough VRAM, or unknown VRAM (WARP).
  • crates/xcl/src/config.rs: Config::console_title_memory_mb() (the 13,824 / 8,192 choice, moved out of title_memory_budget_mb(), same values).
  • Config::resolve() writes the budget into title_memory_mb, so the host cannot see whether it was set; "explicit" means "differs from the console default". Someone who sets exactly the default value is warned too.

Tested

  • RTX 4070 12 GB, i7-13700K, Windows 11 Home 26200, rustc 1.100.0 stable, debug, DXC 1.9.2609.5. Branch based on main b7aa9f3.
  • cargo test -p xcl --lib title_memory: 6 passed, 0 failed. Without the function the new tests do not compile (E0432 / E0425).
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4 on this commit: 774 passed, 0 failed, 41 ignored (main b7aa9f3: 770 passed, 0 failed, 41 ignored). A first full run had e2e::test_title_runs_and_game_folder_is_untouched fail while other processes were using the machine; it passes alone and the full run was repeated cleanly (the numbers above).
  • SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64, SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64.
  • On the 12 GB card the smoke run's xcl.log shows the new line: [WARN ] title memory budget 13824 MiB (the console's) is larger than the GPU's 12010 MiB of dedicated video memory: the title may plan its streaming beyond what fits; set title_memory_mb in xcl.toml (e.g. 9007) to lower it

Regression run
scripts/smoke.ps1 -Game '<game folder>' (60 s, same title and warm shader/driver cache for both).

main b7aa9f3:

xcl-smoke v1
commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7
gpu: NVIDIA GeForce RTX 4070
title: 404998dc
seconds: 60
exit: 0x0
frames shown: 1648 (PresentX 1648)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16974 MB

this PR's head:

xcl-smoke v1
commit: 7b81085a51df9e35b20f56c2d37dba14969133bb
gpu: NVIDIA GeForce RTX 4070
title: 404998dc
seconds: 60
exit: 0x0
frames shown: 1648 (PresentX 1648)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17004 MB

Not tested

  • AMD / NVIDIA other than the RTX 4070.
  • Integrated GPUs: a small DedicatedVideoMemory with large shared memory would also warn.
  • Series S device type on real hardware (covered by the unit test only).

AI use

  • Claude Code with Claude Sonnet 5.5 found, wrote and tested it; Claude Opus 5.5 scoped the task. I reviewed the diff and opened the PR.

🤖 Generated with Claude Code

**@⁠Gruzzberry** on GitHub · 2026-11-24 18:05 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595) `Gruzzberry:gz/warn-title-budget-over-vram` → `main` · +62 −2 · 2 files · 1 commits · open Logs one startup warning when the console's default title memory budget (`title_memory_mb = 0`: 13,824 MiB Series X, 8,192 MiB Series S) is larger than the adapter's DXGI `DedicatedVideoMemory`, naming both numbers and the `title_memory_mb` setting. Nothing is clamped. Today the over-planning shows up only as a death a minute or more into the run (see pickles976's comment, point 2, on #1337). Part of #1337. **What is in it** - `crates/xcl/src/hle/d3d12x/real.rs`: `title_memory_over_vram_warning(budget, vram, explicit) -> Option<String>`, called once from `init()` with the VRAM of the chosen adapter; 4 unit tests. No warning for an explicit budget, enough VRAM, or unknown VRAM (WARP). - `crates/xcl/src/config.rs`: `Config::console_title_memory_mb()` (the 13,824 / 8,192 choice, moved out of `title_memory_budget_mb()`, same values). - `Config::resolve()` writes the budget into `title_memory_mb`, so the host cannot see whether it was set; "explicit" means "differs from the console default". Someone who sets exactly the default value is warned too. **Tested** - RTX 4070 12 GB, i7-13700K, Windows 11 Home 26200, rustc 1.100.0 stable, debug, DXC 1.9.2609.5. Branch based on main `b7aa9f3`. - `cargo test -p xcl --lib title_memory`: 6 passed, 0 failed. Without the function the new tests do not compile (E0432 / E0425). - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4` on this commit: 774 passed, 0 failed, 41 ignored (main `b7aa9f3`: 770 passed, 0 failed, 41 ignored). A first full run had `e2e::test_title_runs_and_game_folder_is_untouched` fail while other processes were using the machine; it passes alone and the full run was repeated cleanly (the numbers above). - `SKIPPED gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64`, `SKIPPED gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64`. - On the 12 GB card the smoke run's `xcl.log` shows the new line: `[WARN ] title memory budget 13824 MiB (the console's) is larger than the GPU's 12010 MiB of dedicated video memory: the title may plan its streaming beyond what fits; set title_memory_mb in xcl.toml (e.g. 9007) to lower it` **Regression run** `scripts/smoke.ps1 -Game '<game folder>'` (60 s, same title and warm shader/driver cache for both). main `b7aa9f3`: ``` xcl-smoke v1 commit: b7aa9f3bd212088e0d927439284dc5ed325ce3c7 gpu: NVIDIA GeForce RTX 4070 title: 404998dc seconds: 60 exit: 0x0 frames shown: 1648 (PresentX 1648) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16974 MB ``` this PR's head: ``` xcl-smoke v1 commit: 7b81085a51df9e35b20f56c2d37dba14969133bb gpu: NVIDIA GeForce RTX 4070 title: 404998dc seconds: 60 exit: 0x0 frames shown: 1648 (PresentX 1648) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17004 MB ``` **Not tested** - AMD / NVIDIA other than the RTX 4070. - Integrated GPUs: a small `DedicatedVideoMemory` with large shared memory would also warn. - Series S device type on real hardware (covered by the unit test only). **AI use** - Claude Code with Claude Sonnet 5.5 found, wrote and tested it; Claude Opus 5.5 scoped the task. I reviewed the diff and opened the PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
With `title_memory_mb = 0` the title is given the console's budget (13,824 MiB
Series X, 8,192 Series S). On a GPU with less dedicated video memory its
streaming manager plans against more than fits, and the failure shows up as
a runtime death a minute or more after the start, with nothing in the log.

Log one startup warning naming the budget, the adapter's DedicatedVideoMemory
and the `title_memory_mb` setting. Nothing is clamped. A budget the user set
(anything but the console default), an unknown VRAM (WARP) and enough VRAM
do not warn. The decision is a pure function with unit tests.

Part of #1337.

Assisted-by: Claude Code (Claude Sonnet 5.5)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:58:47 +00:00
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-24 18:32 UTC · original · edited 2026-11-24 18:35 UTC

Full-suite run, since this PR has no test report yet. Tested exact head 7b81085 (on its base b7aa9f3).

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 774 passed, 0 failed, 41 ignored. SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • The new tests ran and passed: the_default_budget_over_the_vram_warns_with_both_numbers_and_the_setting, a_budget_the_user_set_never_warns, enough_or_unknown_vram_does_not_warn, the_series_s_budget_warns_on_a_smaller_gpu_only.
  • Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4: 774 passed, 0 failed, 41 ignored, no skips.

Not tested

  • a release build, a game (test run only).

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-24 18:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7140798624) · edited 2026-11-24 18:35 UTC Full-suite run, since this PR has no test report yet. Tested exact head `7b81085` (on its base `b7aa9f3`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 616.64, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4`: **774 passed, 0 failed, 41 ignored**. SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - The new tests ran and passed: `the_default_budget_over_the_vram_warns_with_both_numbers_and_the_setting`, `a_budget_the_user_set_never_warns`, `enough_or_unknown_vram_does_not_warn`, `the_series_s_budget_warns_on_a_smaller_gpu_only`. - Same head on the AMD Radeon iGPU of the 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4`: **774 passed, 0 failed, 41 ignored**, no skips. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠eizispark on GitHub · 2026-11-24 19:08 UTC · original

Hardware test report — commit 7b81085

Verified 7b81085a51df9e35b20f56c2d37dba14969133bb (clean merge with main c160d86ef2efe3a07e4dfb473e4fa72eafb413c0): pass.

Tested

  • Hardware: AMD Radeon RX 9070 XT 16 GB (RDNA4, 16191 MiB dedicated VRAM, native wave32 + wave64, driver 32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 x64, rustc 1.100.0 (0ef1bc386 2026-11-09), debug tests + release smoke
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 774 passed, 0 failed, 41 ignored (GPU tests skipped on this adapter: none)
  • hle::d3d12x::real::title_memory_warning_tests (4/4 passed) and config::tests::title_memory_is_read_in_any_case passed; both wave64 GPU tests skipped on NVIDIA (gpu_geometry_wave32_prefix_count_over_a_mask and gpu_wave32_program_in_wave64_hardware, plus console_wave64_compute_through_the_pso_hook_dispatch_and_read_back) ran natively and passed on RDNA4
  • Retail xcl.log check on the 16 GB adapter (backend 'real' – AMD Radeon RX 9070 XT (16191 MiB VRAM)): confirmed no over-budget warning was emitted (16191 MiB >= 13824 MiB)

Regression run
main (c160d86ef2efe3a07e4dfb473e4fa72eafb413c0):

xcl-smoke v1
commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1671 (PresentX 1671)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14861 MB

PR (7b81085a51df9e35b20f56c2d37dba14969133bb):

xcl-smoke v1
commit: 7b81085a51df9e35b20f56c2d37dba14969133bb
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1678 (PresentX 1678)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14727 MB

Not tested

  • live retail run on a < 13824 MiB VRAM GPU (covered on 12 GB in the PR description) or with explicit XCL_TITLE_MEMORY overrides, Intel GPUs, Wine/vkd3d-proton, gameplay past the menus

AI use

  • Verified and formatted with Antigravity (Google DeepMind, Gemini 4 Carbon).
**@⁠eizispark** on GitHub · 2026-11-24 19:08 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7141661376) ### Hardware test report — commit `7b81085` Verified `7b81085a51df9e35b20f56c2d37dba14969133bb` (clean merge with `main` `c160d86ef2efe3a07e4dfb473e4fa72eafb413c0`): **pass**. **Tested** - Hardware: AMD Radeon RX 9070 XT 16 GB (RDNA4, `16191 MiB` dedicated VRAM, native wave32 + wave64, driver `32.0.32015.16001`), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 x64, `rustc 1.100.0 (0ef1bc386 2026-11-09)`, debug tests + release smoke - `cargo test --workspace --no-fail-fast -- --test-threads=4`: `774 passed, 0 failed, 41 ignored` (GPU tests skipped on this adapter: `none`) - `hle::d3d12x::real::title_memory_warning_tests` (`4/4` passed) and `config::tests::title_memory_is_read_in_any_case` passed; both wave64 GPU tests skipped on NVIDIA (`gpu_geometry_wave32_prefix_count_over_a_mask` and `gpu_wave32_program_in_wave64_hardware`, plus `console_wave64_compute_through_the_pso_hook_dispatch_and_read_back`) ran natively and passed on RDNA4 - Retail `xcl.log` check on the 16 GB adapter (`backend 'real' – AMD Radeon RX 9070 XT (16191 MiB VRAM)`): confirmed no over-budget warning was emitted (`16191 MiB >= 13824 MiB`) **Regression run** `main` (`c160d86ef2efe3a07e4dfb473e4fa72eafb413c0`): ``` xcl-smoke v1 commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0 gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1671 (PresentX 1671) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14861 MB ``` PR (`7b81085a51df9e35b20f56c2d37dba14969133bb`): ``` xcl-smoke v1 commit: 7b81085a51df9e35b20f56c2d37dba14969133bb gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1678 (PresentX 1678) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14727 MB ``` **Not tested** - live retail run on a `< 13824 MiB` VRAM GPU (covered on 12 GB in the PR description) or with explicit `XCL_TITLE_MEMORY` overrides, Intel GPUs, Wine/vkd3d-proton, gameplay past the menus **AI use** - Verified and formatted with Antigravity (Google DeepMind, Gemini 4 Carbon).
Author
Owner

@⁠MiharaxD on GitHub · 2026-11-24 19:27 UTC · original

Test report on an 8 GB NVIDIA card, head 7b81085 (on main b7aa9f3), which covers the "AMD / NVIDIA other than the RTX 4070" line with a GPU the warning is meant for.

Tested

  • RTX 3070 Ti 8 GB (8017 MiB dedicated, driver 621.01), Intel i5-14400F, 32 GB RAM, Windows 11 Pro 10.0.26300, Rust 1.100.0, DXC 1.9.2602.17.
  • cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4 (debug) on 7b81085: 774 passed, 0 failed, 41 ignored (lib tests 726 / 0 / 21). The four title_memory_warning_tests pass.
  • SKIPPED (no wave64): gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware.
  • Retail title, the PR's smoke run below, xcl.toml with title_memory_mb = 0: the warning is logged once, at 0.6 s, before the backend line:
    [WARN ] title memory budget 13824 MiB (the console's) is larger than the GPU's 8017 MiB of dedicated video memory: the title may plan its streaming beyond what fits; set `title_memory_mb` in xcl.toml (e.g. 6012) to lower it
    
    The numbers match the card (D3D12.X: backend 'real' – NVIDIA GeForce RTX 3070 Ti (8017 MiB VRAM)), and 6012 is 3/4 of 8017.

Regression run
scripts/smoke.ps1 -Game <game folder> -Seconds 60 (release builds, start screen, no input). main is c160d86:

main:

xcl-smoke v1
commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
gpu: NVIDIA GeForce RTX 3070 Ti
title: game
seconds: 60
exit: 0x0
frames shown: 1586 (PresentX 1586)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15055 MB

this PR's head:

xcl-smoke v1
commit: 7b81085a51df9e35b20f56c2d37dba14969133bb
gpu: NVIDIA GeForce RTX 3070 Ti
title: game
seconds: 60
exit: 0x0
frames shown: 1570 (PresentX 1570)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15861 MB

Not tested

  • A lowered title_memory_mb (e.g. the suggested 6012) in a real run, and whether the title then streams within it.
  • AMD, integrated GPUs, Series S device type.
  • Gameplay past the start screen.

AI use: Claude Code (Claude Opus 5.5) built the PR, ran the tests and both smoke runs, read the logs and wrote this report; I checked it before posting.

**@⁠MiharaxD** on GitHub · 2026-11-24 19:27 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7142118466) Test report on an 8 GB NVIDIA card, head `7b81085` (on `main` `b7aa9f3`), which covers the "AMD / NVIDIA other than the RTX 4070" line with a GPU the warning is meant for. **Tested** - RTX 3070 Ti 8 GB (8017 MiB dedicated, driver 621.01), Intel i5-14400F, 32 GB RAM, Windows 11 Pro 10.0.26300, Rust 1.100.0, DXC 1.9.2602.17. - `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4` (debug) on `7b81085`: **774 passed, 0 failed, 41 ignored** (lib tests 726 / 0 / 21). The four `title_memory_warning_tests` pass. - SKIPPED (no wave64): `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`. - Retail title, the PR's smoke run below, `xcl.toml` with `title_memory_mb = 0`: the warning is logged once, at 0.6 s, before the backend line: ``` [WARN ] title memory budget 13824 MiB (the console's) is larger than the GPU's 8017 MiB of dedicated video memory: the title may plan its streaming beyond what fits; set `title_memory_mb` in xcl.toml (e.g. 6012) to lower it ``` The numbers match the card (`D3D12.X: backend 'real' – NVIDIA GeForce RTX 3070 Ti (8017 MiB VRAM)`), and 6012 is 3/4 of 8017. **Regression run** `scripts/smoke.ps1 -Game <game folder> -Seconds 60` (release builds, start screen, no input). `main` is `c160d86`: main: ``` xcl-smoke v1 commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0 gpu: NVIDIA GeForce RTX 3070 Ti title: game seconds: 60 exit: 0x0 frames shown: 1586 (PresentX 1586) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15055 MB ``` this PR's head: ``` xcl-smoke v1 commit: 7b81085a51df9e35b20f56c2d37dba14969133bb gpu: NVIDIA GeForce RTX 3070 Ti title: game seconds: 60 exit: 0x0 frames shown: 1570 (PresentX 1570) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15861 MB ``` **Not tested** - A lowered `title_memory_mb` (e.g. the suggested 6012) in a real run, and whether the title then streams within it. - AMD, integrated GPUs, Series S device type. - Gameplay past the start screen. **AI use:** Claude Code (Claude Opus 5.5) built the PR, ran the tests and both smoke runs, read the logs and wrote this report; I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 20:12 UTC · original

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

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

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 20:12 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7143185657) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~22 ignored. (Intermittent single-test flake under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodified `main`.) Thanks!
Author
Owner

@⁠nikitronick-crypto on GitHub · 2026-11-25 00:39 UTC · original

Data from a 12 GB card, where this warning fires (RTX 3080 Ti, 12084 MiB dedicated, driver 621.24, Ryzen 5 7500F, Windows, release builds). I did not run this PR's head; this is about what the warning suggests, lowering title_memory_mb.

I have a branch that does the lowering automatically (standard budget = dedicated VRAM − 1536 MiB, here 10548 instead of 13824, worked out when the host starts): https://github.com/nikitronick-crypto/xcl/tree/title-memory-fit

Same binary, same title, scripts/smoke.ps1, 60 s, no input, only the budget differs:

budget the title is told frames peak commit
13824 MiB (console's) 1293 24396 MB
10548 MiB 1315 24454 MB
10548 MiB 1281 24395 MB
  • No measurable difference in the first minute on this card. That matches the A/B in #1337 on 8 GB, where a lower budget moved the failure by seconds without removing it.
  • So the warning is honest about the condition, but on 12 GB the suggested fix did nothing I could measure. It may be worth wording it as something to try rather than as the remedy.
  • If the automatic figure is wanted on top of this PR once it is merged, the branch is 161 lines and I can rebase it and open it. Its tests pass here (859 passed, 0 failed, 42 ignored; SKIPPED: the two wave64 tests and heap_window_out_of_memory_falls_back_to_the_switch_form). Not tested: anything past the first minute or with input, 8 GB cards, an integrated GPU on real hardware.

Runs were done on my PC; Claude Code (Claude Fable 5.2) analysed the logs and wrote this text, which I reviewed.

**@⁠nikitronick-crypto** on GitHub · 2026-11-25 00:39 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7148740028) Data from a 12 GB card, where this warning fires (RTX 3080 Ti, 12084 MiB dedicated, driver 621.24, Ryzen 5 7500F, Windows, release builds). I did not run this PR's head; this is about what the warning suggests, lowering `title_memory_mb`. I have a branch that does the lowering automatically (standard budget = dedicated VRAM − 1536 MiB, here 10548 instead of 13824, worked out when the host starts): https://github.com/nikitronick-crypto/xcl/tree/title-memory-fit Same binary, same title, `scripts/smoke.ps1`, 60 s, no input, only the budget differs: | budget the title is told | frames | peak commit | |---|---|---| | 13824 MiB (console's) | 1293 | 24396 MB | | 10548 MiB | 1315 | 24454 MB | | 10548 MiB | 1281 | 24395 MB | - No measurable difference in the first minute on this card. That matches the A/B in #1337 on 8 GB, where a lower budget moved the failure by seconds without removing it. - So the warning is honest about the condition, but on 12 GB the suggested fix did nothing I could measure. It may be worth wording it as something to try rather than as the remedy. - If the automatic figure is wanted on top of this PR once it is merged, the branch is 161 lines and I can rebase it and open it. Its tests pass here (859 passed, 0 failed, 42 ignored; SKIPPED: the two wave64 tests and `heap_window_out_of_memory_falls_back_to_the_switch_form`). Not tested: anything past the first minute or with input, 8 GB cards, an integrated GPU on real hardware. Runs were done on my PC; Claude Code (Claude Fable 5.2) analysed the logs and wrote this text, which I reviewed.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 05:08 UTC · original

XCL PR #1595 — Windows verification

Head 7b81085a51df9e35b20f56c2d37dba14969133bb (clean detached checkout). The diff changes crates/xcl/src/config.rs and crates/xcl/src/hle/d3d12x/real.rs.

Tested

STOR-WINLAB, AMD Ryzen 7 3800X, Intel Arc A770 with driver 32.0.101.9175, Windows 11 Enterprise Evaluation x64 build 26200. Rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). DXC 1.9.2609.5 verified with dxc.exe --version. Cargo dev and test profiles used debug info and incremental compilation disabled.

  • cargo build --workspace succeeded.
  • cargo test --workspace --no-run succeeded and compiled the workspace test binaries.
  • cargo test -p xcl --lib title_memory_warning_tests -- --nocapture ran with XCL_ADAPTER=NONE_CPU_ONLY. The log recorded 4 passed, 0 failed, 0 ignored, 0 explicit SKIPPED lines, and 743 filtered out. All three commands ran outside the Arc mutex.

The four fixtures check that the Series X warning includes the 13,824 MiB budget, the 12,282 MiB adapter value, and the title_memory_mb setting. They check that the helper suppresses warnings for an explicit budget and for higher, equal, or unknown VRAM. They also check that the Series S default warns at 6,144 MiB and stays silent at 12,282 MiB.

Not tested

Only the focused PR tests and full workspace compilation ran. The full GPU workspace suite was omitted. The fixtures pass numeric inputs directly to the helper, so they leave config-to-warning wiring, real DXGI adapter detection, startup logging, and retail-title smoke tests unverified.

AI use

T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr1595-focused.log and published.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 05:08 UTC · [original](https://github.com/xcl-dev/xcl/pull/1595#issuecomment-7153495095) # XCL PR #1595 — Windows verification Head `7b81085a51df9e35b20f56c2d37dba14969133bb` (clean detached checkout). The diff changes `crates/xcl/src/config.rs` and `crates/xcl/src/hle/d3d12x/real.rs`. **Tested** STOR-WINLAB, AMD Ryzen 7 3800X, Intel Arc A770 with driver 32.0.101.9175, Windows 11 Enterprise Evaluation x64 build 26200. Rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). DXC 1.9.2609.5 verified with `dxc.exe --version`. Cargo dev and test profiles used debug info and incremental compilation disabled. - `cargo build --workspace` succeeded. - `cargo test --workspace --no-run` succeeded and compiled the workspace test binaries. - `cargo test -p xcl --lib title_memory_warning_tests -- --nocapture` ran with `XCL_ADAPTER=NONE_CPU_ONLY`. The log recorded 4 passed, 0 failed, 0 ignored, 0 explicit `SKIPPED` lines, and 743 filtered out. All three commands ran outside the Arc mutex. The four fixtures check that the Series X warning includes the 13,824 MiB budget, the 12,282 MiB adapter value, and the `title_memory_mb` setting. They check that the helper suppresses warnings for an explicit budget and for higher, equal, or unknown VRAM. They also check that the Series S default warns at 6,144 MiB and stays silent at 12,282 MiB. **Not tested** Only the focused PR tests and full workspace compilation ran. The full GPU workspace suite was omitted. The fixtures pass numeric inputs directly to the helper, so they leave config-to-warning wiring, real DXGI adapter detection, startup logging, and retail-title smoke tests unverified. **AI use** T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr1595-focused.log` and published.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1595/head:github-bot/gh-1595'
git switch 'github-bot/gh-1595'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1595'
git switch 'github-bot/gh-1595'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1595'
git switch 'github-bot/gh-1595'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1595'
git switch 'main'
git merge --squash 'github-bot/gh-1595'
git switch 'main'
git merge --ff-only 'github-bot/gh-1595'
git switch 'main'
git merge 'github-bot/gh-1595'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.