D3D12.X: reclaim cooling and idle tiles on pool heap OOM #1653

Open
n-romanovich wants to merge 1 commit from upstream-pr/1663 into main
n-romanovich commented 2026-11-24 18:56:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by n-romanovich on 2026-11-24T18:56:12Z.


Addresses #1585.

When Pages::bind hits E_OUTOFMEMORY (0x8007000E) in alloc_pool_heap, it previously failed immediately even when freed tiles were still waiting in cooling (up to COOL = 2s) or unreferenced pages were sitting in idle (up to IDLE = 2s). Now, on take_batch failure, if pool.cooling or idle is non-empty, Pages::bind waits up to 1,000 ms for Pages::fence and, on Ok(()), calls TilePool::reclaim_for_oom (draining cooling tiles and evicting the oldest still-idle pages up to missing tiles) before retrying take_batch. If fence::wait fails or times out, it logs a warning and returns None without reclaiming potentially in-flight tiles.

What is in it

  • Extracted pop_idle_page from sweep_idle in crates/xcl/src/hle/d3d12x/vram.rs. - Added TilePool::reclaim_for_oom and wired Pages::bind to wait on self.fence, reclaim cooling/idle tiles, and retry take_batch on OOM. - Added unit test reclaim_for_oom_drains_cooling_and_idle_pages covering cooling drain, stale idle entry skipping, and Own/Extra idle eviction.

Tested
Hardware: Windows 11 x64, NVIDIA GeForce RTX 5060 Ti.

  • cargo test -p xcl --lib vram::tests -- --test-threads=4: 11 passed; 0 failed; 1 ignored
  • cargo test --workspace -- --test-threads=4: 960 passed; 0 failed; 43 ignored
    • SKIPPED: 21 wave64 / unsupported #1426 per-lane GPU tests (no wave64 / unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32), shaders::tests::pso_measurement_compiles_an_exact_synthetic_record (Windows Developer Mode is required), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows)

Regression run
Main (5478c4a7c1ae5adba127c8d27018d7fdbf3a8725):

xcl-smoke v1
commit: 5478c4a7c1ae5adba127c8d27018d7fdbf3a8725
gpu: NVIDIA GeForce RTX 5060 Ti
title: FILES
seconds: 60
exit: 0x0
frames shown: 1541 (PresentX 1541)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15701 MB

PR (bdcc0ebe47316ad219212d28435c26a7833f239f):

xcl-smoke v1
commit: bdcc0ebe47316ad219212d28435c26a7833f239f
gpu: NVIDIA GeForce RTX 5060 Ti
title: FILES
seconds: 60
exit: 0x0
frames shown: 1470 (PresentX 1470)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14542 MB

Not tested

  • macOS / Linux (crate targets Windows only).
  • AMD / wave64-capable GPU.

AI use

  • Antigravity (model name not provided): implemented the fix and unit tests, ran the test suite and smoke.ps1 runs.
<!-- greyfinch-sync:ivall/xcl:issue:5478399346 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663). Originally posted by [n-romanovich](https://github.com/n-romanovich) on 2026-11-24T18:56:12Z. --- Addresses #1585. When `Pages::bind` hits `E_OUTOFMEMORY` (`0x8007000E`) in `alloc_pool_heap`, it previously failed immediately even when freed tiles were still waiting in `cooling` (up to `COOL = 2s`) or unreferenced pages were sitting in `idle` (up to `IDLE = 2s`). Now, on `take_batch` failure, if `pool.cooling` or `idle` is non-empty, `Pages::bind` waits up to 1,000 ms for `Pages::fence` and, on `Ok(())`, calls `TilePool::reclaim_for_oom` (draining cooling tiles and evicting the oldest still-idle pages up to `missing` tiles) before retrying `take_batch`. If `fence::wait` fails or times out, it logs a warning and returns `None` without reclaiming potentially in-flight tiles. **What is in it** - Extracted `pop_idle_page` from `sweep_idle` in `crates/xcl/src/hle/d3d12x/vram.rs`. - Added `TilePool::reclaim_for_oom` and wired `Pages::bind` to wait on `self.fence`, reclaim cooling/idle tiles, and retry `take_batch` on OOM. - Added unit test `reclaim_for_oom_drains_cooling_and_idle_pages` covering cooling drain, stale `idle` entry skipping, and `Own`/`Extra` idle eviction. **Tested** Hardware: Windows 11 x64, NVIDIA GeForce RTX 5060 Ti. - `cargo test -p xcl --lib vram::tests -- --test-threads=4`: `11 passed; 0 failed; 1 ignored` - `cargo test --workspace -- --test-threads=4`: `960 passed; 0 failed; 43 ignored` - - `SKIPPED`: 21 wave64 / unsupported `#1426` per-lane GPU tests (`no wave64` / `unsupported V_MUL_F16` / `V_PK_MUL_F16` / `V_CVT_F16_F32`), `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` (`Windows Developer Mode is required`), `heap_window_out_of_memory_falls_back_to_the_switch_form` (`no heap windows`) **Regression run** Main (`5478c4a7c1ae5adba127c8d27018d7fdbf3a8725`): ``` xcl-smoke v1 commit: 5478c4a7c1ae5adba127c8d27018d7fdbf3a8725 gpu: NVIDIA GeForce RTX 5060 Ti title: FILES seconds: 60 exit: 0x0 frames shown: 1541 (PresentX 1541) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15701 MB ``` PR (`bdcc0ebe47316ad219212d28435c26a7833f239f`): ``` xcl-smoke v1 commit: bdcc0ebe47316ad219212d28435c26a7833f239f gpu: NVIDIA GeForce RTX 5060 Ti title: FILES seconds: 60 exit: 0x0 frames shown: 1470 (PresentX 1470) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14542 MB ``` **Not tested** - macOS / Linux (crate targets Windows only). - AMD / wave64-capable GPU. **AI use** - Antigravity (model name not provided): implemented the fix and unit tests, ran the test suite and `smoke.ps1` runs.
eizispark commented 2026-11-24 21:08:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by eizispark on 2026-11-24T19:15:22Z.


Hardware test report — commit 40fd9b6

Verified 40fd9b647ca69f344a17408305e50effa39c86cf (clean merge with main c160d86ef2efe3a07e4dfb473e4fa72eafb413c0): pass.

Tested

  • Hardware: AMD Radeon RX 9070 XT (RDNA4, 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: 778 passed, 0 failed, 41 ignored (1 skipped: heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows)
  • All 11/11 hle::d3d12x::vram::tests passed on AMD RDNA4, including reclaim_tile_drains_cooling_and_idle_pages_on_oom and take_tile_reclaims_only_after_fence_on_oom
  • Both native RDNA4 wave64 GPU tests (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) passed cleanly

Regression run (scripts/smoke.ps1, 60 s, warm shader/driver cache)
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 (40fd9b647ca69f344a17408305e50effa39c86cf):

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

Not tested

  • actual CreateHeap pool-heap OOM in a live retail session (16 GB VRAM RX 9070 XT did not hit OOM during the 60 s smoke), NVIDIA/Intel GPUs, Wine/vkd3d-proton, gameplay past the menus

AI use

  • Verified and formatted with Antigravity (Google DeepMind, Gemini 4 Carbon).
<!-- greyfinch-sync:ivall/xcl:comment:7141830641 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7141830641). Originally posted by [eizispark](https://github.com/eizispark) on 2026-11-24T19:15:22Z. --- ### Hardware test report — commit `40fd9b6` Verified `40fd9b647ca69f344a17408305e50effa39c86cf` (clean merge with `main` `c160d86ef2efe3a07e4dfb473e4fa72eafb413c0`): **pass**. **Tested** - Hardware: AMD Radeon RX 9070 XT (RDNA4, 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`: `778 passed, 0 failed, 41 ignored` (`1 skipped`: `heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows`) - All `11/11` `hle::d3d12x::vram::tests` passed on AMD RDNA4, including `reclaim_tile_drains_cooling_and_idle_pages_on_oom` and `take_tile_reclaims_only_after_fence_on_oom` - Both native RDNA4 wave64 GPU tests (`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`) passed cleanly **Regression run** (`scripts/smoke.ps1`, 60 s, warm shader/driver cache) `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 (`40fd9b647ca69f344a17408305e50effa39c86cf`): ``` xcl-smoke v1 commit: 40fd9b647ca69f344a17408305e50effa39c86cf gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1674 (PresentX 1674) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14856 MB ``` **Not tested** - actual `CreateHeap` pool-heap OOM in a live retail session (16 GB VRAM RX 9070 XT did not hit OOM during the 60 s smoke), NVIDIA/Intel GPUs, Wine/vkd3d-proton, gameplay past the menus **AI use** - Verified and formatted with Antigravity (Google DeepMind, Gemini 4 Carbon).
n-romanovich commented 2026-11-24 21:08:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by n-romanovich on 2026-11-24T19:19:28Z.


Thanks for the review!

<!-- greyfinch-sync:ivall/xcl:comment:7141928512 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7141928512). Originally posted by [n-romanovich](https://github.com/n-romanovich) on 2026-11-24T19:19:28Z. --- Thanks for the review!
MiharaxD commented 2026-11-24 21:08:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by MiharaxD on 2026-11-24T19:27:14Z.


Test report on an 8 GB NVIDIA card, head 40fd9b6 (on main 9e3831e).

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 40fd9b6: 778 passed, 0 failed, 41 ignored (lib tests 729 / 0 / 21). reclaim_tile_drains_cooling_and_idle_pages_on_oom and take_tile_reclaims_only_after_fence_on_oom pass (the second prints could not wait for tile fence before OOM reclaim: Timeout(1000), its timeout case).
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • Retail title, the PR's smoke run below: the log has no OOM reclaim, no video memory or 8007000E line, so 60 s on the start screen did not run the GPU out of memory and the new path did not run.

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: 40fd9b647ca69f344a17408305e50effa39c86cf
gpu: NVIDIA GeForce RTX 3070 Ti
title: game
seconds: 60
exit: 0x0
frames shown: 1605 (PresentX 1605)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15007 MB

Not tested

  • Real VRAM exhaustion (0x8007000E) in the retail title: it did not happen in this run, so the reclaim was only exercised by the unit tests.
  • AMD / Intel, 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.

<!-- greyfinch-sync:ivall/xcl:comment:7142118890 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7142118890). Originally posted by [MiharaxD](https://github.com/MiharaxD) on 2026-11-24T19:27:14Z. --- Test report on an 8 GB NVIDIA card, head `40fd9b6` (on `main` `9e3831e`). **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 `40fd9b6`: **778 passed, 0 failed, 41 ignored** (lib tests 729 / 0 / 21). `reclaim_tile_drains_cooling_and_idle_pages_on_oom` and `take_tile_reclaims_only_after_fence_on_oom` pass (the second prints `could not wait for tile fence before OOM reclaim: Timeout(1000)`, its timeout case). - SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - Retail title, the PR's smoke run below: the log has no `OOM reclaim`, `no video memory` or `8007000E` line, so 60 s on the start screen did not run the GPU out of memory and the new path did not run. **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: 40fd9b647ca69f344a17408305e50effa39c86cf gpu: NVIDIA GeForce RTX 3070 Ti title: game seconds: 60 exit: 0x0 frames shown: 1605 (PresentX 1605) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15007 MB ``` **Not tested** - Real VRAM exhaustion (`0x8007000E`) in the retail title: it did not happen in this run, so the reclaim was only exercised by the unit tests. - AMD / Intel, 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.
DavidM1911 commented 2026-11-24 21:30:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T21:26:29Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7144933651 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7144933651). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T21:26:29Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~22 ignored. Thanks!
Adika713 commented 2026-11-25 03:05:43 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Adika713 on 2026-11-25T02:30:39Z.


Live 0x8007000E reproduction on AMD: the reclaim change removes the VRAM wall, but host memory becomes the next limit

I saw that this PR's description and two reviewers mark live retail VRAM exhaustion as untested. I have a local repro that reaches it, so here is a paired run on the same copied retail folder.

Setup:

  • RX 6950 XT, Windows 11 x64, release xcl.
  • Both runs used XCL_NETWORK=0, XCL_ACTIVITY=1, XCL_PRESS_A_AT='15,22,25,30,35,40,50,60,80,100', XCL_RUN_SECONDS=240.
  • Baseline: upstream main aaa093657bd96a146c05c0c1a9b61149fe761453.
  • PR side: head c2ae579e9aa5ee3feda1131f48754aa023a41e1e merged with that same main as 36b93e91475e3f2187db3b27d30c476efa89c88d. cargo build --release -p xcl --locked passed.

Results:

Run VRAM failure evidence End
main aaa0936 First CreateHeap(0x4000000 bytes, type 1) refusal at 100.572 s; 8 such refusals and 1,647 no video memory for more pages of title textures (0x8007000E) lines 0x80000003 at game_scarlett_master.exe+0x193e00f, with rax, rcx and rsi all 0x8007000e
PR c2ae579 + same main 0 CreateHeap ... refused (0x8007000e) lines and 0 no video memory ... lines 0xc0000409 from memory allocation of 2097152 bytes failed

Last memory samples:

  • main at 129.068 s: 17,908 MB process commit; 7,982 MB local video memory; target pages 4,555 MB (pools 4,608 MB).
  • PR at 122.398 s: 18,062 MB process commit; 8,264 MB local video memory; target pages 4,719 MB (pools 4,864 MB).

What this does and does not show:

  • It directly exercises the failure mode described in the PR: on this machine the title previously got a hard 0x8007000E wall from streamed texture pools, and with the change that wall did not appear in a 240 s run.
  • It does not show that the title loads. The PR run then hit a separate host-commit/Rust allocation failure at about 18 GB, so that is the next limit here, not a result of this change.
  • A successful reclaim is not logged, so I cannot claim from the log that reclaim_for_oom specifically ran. The verified observation is the absence of the pool-heap refusals and no video memory lines under the same setup.
  • This is a failure-mode comparison, not a scripts/smoke.ps1 60 s pair, and it is not a substitute for the PR-description check.

AI use: OpenCode with Big Pickle ran the builds and retail-title runs, read the logs, and drafted this report. Please verify before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7150816107 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7150816107). Originally posted by [Adika713](https://github.com/Adika713) on 2026-11-25T02:30:39Z. --- Live `0x8007000E` reproduction on AMD: the reclaim change removes the VRAM wall, but host memory becomes the next limit I saw that this PR's description and two reviewers mark live retail VRAM exhaustion as untested. I have a local repro that reaches it, so here is a paired run on the same copied retail folder. Setup: - RX 6950 XT, Windows 11 x64, release `xcl`. - Both runs used `XCL_NETWORK=0`, `XCL_ACTIVITY=1`, `XCL_PRESS_A_AT='15,22,25,30,35,40,50,60,80,100'`, `XCL_RUN_SECONDS=240`. - Baseline: upstream `main` `aaa093657bd96a146c05c0c1a9b61149fe761453`. - PR side: head `c2ae579e9aa5ee3feda1131f48754aa023a41e1e` merged with that same `main` as `36b93e91475e3f2187db3b27d30c476efa89c88d`. `cargo build --release -p xcl --locked` passed. Results: | Run | VRAM failure evidence | End | |---|---|---| | `main` `aaa0936` | First `CreateHeap(0x4000000 bytes, type 1)` refusal at 100.572 s; 8 such refusals and 1,647 `no video memory for more pages of title textures (0x8007000E)` lines | `0x80000003` at `game_scarlett_master.exe+0x193e00f`, with `rax`, `rcx` and `rsi` all `0x8007000e` | | PR `c2ae579` + same `main` | 0 `CreateHeap ... refused (0x8007000e)` lines and 0 `no video memory ...` lines | `0xc0000409` from `memory allocation of 2097152 bytes failed` | Last memory samples: - `main` at 129.068 s: 17,908 MB process commit; 7,982 MB local video memory; target pages 4,555 MB (pools 4,608 MB). - PR at 122.398 s: 18,062 MB process commit; 8,264 MB local video memory; target pages 4,719 MB (pools 4,864 MB). What this does and does not show: - It directly exercises the failure mode described in the PR: on this machine the title previously got a hard `0x8007000E` wall from streamed texture pools, and with the change that wall did not appear in a 240 s run. - It does not show that the title loads. The PR run then hit a separate host-commit/Rust allocation failure at about 18 GB, so that is the next limit here, not a result of this change. - A successful reclaim is not logged, so I cannot claim from the log that `reclaim_for_oom` specifically ran. The verified observation is the absence of the pool-heap refusals and `no video memory` lines under the same setup. - This is a failure-mode comparison, not a `scripts/smoke.ps1` 60 s pair, and it is not a substitute for the PR-description check. AI use: OpenCode with Big Pickle ran the builds and retail-title runs, read the logs, and drafted this report. Please verify before posting.
JJAutoCompare commented 2026-11-25 05:08:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T04:44:38Z.


XCL PR #1663 verification

Clean detached HEAD c2ae579e9aa5ee3feda1131f48754aa023a41e1e on STOR-WINLAB. The diff changes only crates/xcl/src/hle/d3d12x/vram.rs.

Windows 11 Enterprise Evaluation x64, build 26200. AMD Ryzen 7 3800X, Intel Arc A770 (16,258 MiB reported by XCL), driver 32.0.101.9175. DXC 1.9.2609.5 (01b62ad47), rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized Cargo profiles with debug info and incremental compilation disabled.

Tested

  • cargo build --workspace and cargo test --workspace --no-run succeeded outside the A770 lock. The latter built 19 test executables.
  • With XCL_ADAPTER=NONE_CPU_ONLY outside the lock, each command returned 1 passed, 0 failed, 0 ignored and 0 skip messages.
    • cargo test -p xcl --lib hle::d3d12x::vram::tests::reclaim_for_oom_drains_cooling_and_idle_pages -- --exact verified reuse of two cooling tiles and two still-idle pages before timeout, preservation of a reused active page, and a false result when reclaimable tiles ran out.
    • cargo test -p xcl --lib hle::d3d12x::vram::tests::idle_pages_are_swept_from_their_queue -- --exact verified the ordinary idle deadline and stale-entry handling.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 ran once under Invoke-ArcTest.ps1 with XCL_ADAPTER=A770 and RUST_TEST_NOCAPTURE=1. Exit 101. The 20 result lines (19 executable results and one doctest result) sum to 941 passed, 19 failed and 43 ignored. Both focused tests passed again.

Workspace failures and skips

18 GPU DXIL/recompiler unit tests failed, including compute PSO creation errors (0x80070057) and shader output mismatches. The synthetic title e2e also failed on dynamic depth bias via RSSetDepthBiasX (#94), producing blue where it expected green. The log contains 25 explicit skip messages, including 17 for missing wave64 and one for tiled-resource tier below 2. Skip messages include partial test skips and provide no coverage for the skipped paths.

Not tested

Actual D3D12 pool-heap OOM, the fence-wait and retry under driver OOM, a matched main run, retail-title smoke, and other GPUs.

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 pr1663-suite.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7153123333 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7153123333). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T04:44:38Z. --- # XCL PR #1663 verification Clean detached HEAD `c2ae579e9aa5ee3feda1131f48754aa023a41e1e` on STOR-WINLAB. The diff changes only `crates/xcl/src/hle/d3d12x/vram.rs`. Windows 11 Enterprise Evaluation x64, build 26200. AMD Ryzen 7 3800X, Intel Arc A770 (16,258 MiB reported by XCL), driver 32.0.101.9175. DXC 1.9.2609.5 (01b62ad47), rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). Unoptimized Cargo profiles with debug info and incremental compilation disabled. **Tested** - `cargo build --workspace` and `cargo test --workspace --no-run` succeeded outside the A770 lock. The latter built 19 test executables. - With `XCL_ADAPTER=NONE_CPU_ONLY` outside the lock, each command returned 1 passed, 0 failed, 0 ignored and 0 skip messages. - `cargo test -p xcl --lib hle::d3d12x::vram::tests::reclaim_for_oom_drains_cooling_and_idle_pages -- --exact` verified reuse of two cooling tiles and two still-idle pages before timeout, preservation of a reused active page, and a false result when reclaimable tiles ran out. - `cargo test -p xcl --lib hle::d3d12x::vram::tests::idle_pages_are_swept_from_their_queue -- --exact` verified the ordinary idle deadline and stale-entry handling. - `cargo test --workspace --no-fail-fast -- --test-threads=4` ran once under `Invoke-ArcTest.ps1` with `XCL_ADAPTER=A770` and `RUST_TEST_NOCAPTURE=1`. Exit 101. The 20 result lines (19 executable results and one doctest result) sum to 941 passed, 19 failed and 43 ignored. Both focused tests passed again. **Workspace failures and skips** 18 GPU DXIL/recompiler unit tests failed, including compute PSO creation errors (0x80070057) and shader output mismatches. The synthetic title e2e also failed on dynamic depth bias via `RSSetDepthBiasX` (#94), producing blue where it expected green. The log contains 25 explicit skip messages, including 17 for missing wave64 and one for tiled-resource tier below 2. Skip messages include partial test skips and provide no coverage for the skipped paths. **Not tested** Actual D3D12 pool-heap OOM, the fence-wait and retry under driver OOM, a matched `main` run, retail-title smoke, and other GPUs. **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 `pr1663-suite.log` and published.
Adika713 commented 2026-11-25 14:10:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Adika713 on 2026-11-25T14:02:40Z.


The current no-GPU CI failure on head 24e5eb3 is a test-only stale API rename, not a failure in the reclaim change. I reproduced it locally at the exact PR head with cargo test --workspace --locked --no-run: two E0599 errors at crates/xcl/src/hle/d3d12x/vram.rs:1872-1873, because TilePool::add_heap was replaced upstream by add_heap_at(slot, pool_pages).

A two-line replacement fixes the build and preserves the test setup:

pool.add_heap_at(0, 2);
pool.add_heap_at(1, 3);
Verified locally on the exact head 24e5eb3fd7:

Before: cargo test --workspace --locked --no-run failed with E0599 at vram.rs:1872:25 and 1873:25; the compiler suggested add_heap_at.
After the two-line change: cargo test --workspace --locked --no-run exited 0.
After the two-line change: cargo test -p xcl --lib hle::d3d12x::vram::tests::reclaim_for_oom_drains_cooling_and_idle_pages -- --exact --nocapture reported 1 passed, 0 failed.
Only the two pre-existing Atomic::fetch_update deprecation warnings were emitted.
No retail-title smoke, GPU run, or full test suite was performed for this comment; this only verifies that the stale test calls compile and the focused reclaim test passes. I did not push a competing branch or change the PR.

AI use: OpenCode with Big Pickle reproduced the compiler failure, applied the two-line local verification patch, and drafted this comment. Please verify before applying.

<!-- greyfinch-sync:ivall/xcl:comment:7164671018 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7164671018). Originally posted by [Adika713](https://github.com/Adika713) on 2026-11-25T14:02:40Z. --- The current no-GPU CI failure on head 24e5eb3 is a test-only stale API rename, not a failure in the reclaim change. I reproduced it locally at the exact PR head with cargo test --workspace --locked --no-run: two E0599 errors at crates/xcl/src/hle/d3d12x/vram.rs:1872-1873, because TilePool::add_heap was replaced upstream by add_heap_at(slot, pool_pages). A two-line replacement fixes the build and preserves the test setup: pool.add_heap_at(0, 2); pool.add_heap_at(1, 3); Verified locally on the exact head 24e5eb3fd7e96bc9c24c638c94e56e441520de83: Before: cargo test --workspace --locked --no-run failed with E0599 at vram.rs:1872:25 and 1873:25; the compiler suggested add_heap_at. After the two-line change: cargo test --workspace --locked --no-run exited 0. After the two-line change: cargo test -p xcl --lib hle::d3d12x::vram::tests::reclaim_for_oom_drains_cooling_and_idle_pages -- --exact --nocapture reported 1 passed, 0 failed. Only the two pre-existing Atomic::fetch_update deprecation warnings were emitted. No retail-title smoke, GPU run, or full test suite was performed for this comment; this only verifies that the stale test calls compile and the focused reclaim test passes. I did not push a competing branch or change the PR. AI use: OpenCode with Big Pickle reproduced the compiler failure, applied the two-line local verification patch, and drafted this comment. Please verify before applying.
thehollowedone commented 2026-11-25 15:07:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-25T14:10:41Z.


Independent Windows check of bdcc0eb. Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC and DXC 1.8.2502.11.

  • The clean head built and passed the stock reclaim test. The workspace suite finished with 1,226 passed, 2 failed, 46 ignored, including 25 runtime skips. Both failures were the older shader-cache marker and UAV format expectations already corrected on main by 0d13b07.
  • I tried a local follow-up that keeps idle pages the incoming placement has already counted as reusable. A CPU regression verified that reclamation frees unrelated pages and leaves the overlapping pages available for ordinary expiry. Removing the preservation check failed that regression.
  • On the same local follow-up, a native D3D12 test used a two-tile heap and simulated failure to allocate another heap. The retry preserved the overlapping tile, mapped the unrelated idle tile at the new address, and completed with a healthy device. All three focused tests passed with zero skips. The patched integration onto main 06c9f55 built and finished with 1,267 passed, 0 failed, 46 ignored, including 26 runtime skips.

Commands: cargo build --offline --locked --workspace -j 6, cargo test --offline --locked --workspace -j 6 --no-fail-fast -- --test-threads=4 --nocapture, and cargo test --offline --locked -p xcl --lib -j 6 -- --test-threads=1 --nocapture oom_reclaim reclaim_for_oom. Synthetic inputs only. No real VRAM exhaustion or retail run.

AI-assisted. Codex (GPT-6, exact variant unavailable) wrote the local follow-up and fixture, ran the tests and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7164875608 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7164875608). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-25T14:10:41Z. --- Independent Windows check of [bdcc0eb](https://github.com/xcl-dev/xcl/commit/bdcc0ebe47316ad219212d28435c26a7833f239f). Windows 11 build 26300, Ryzen 7 9800X3D, RTX 3080 Ti / 621.35, Rust 1.99.1 MSVC and DXC 1.8.2502.11. - The clean head built and passed the stock reclaim test. The workspace suite finished with **1,226 passed, 2 failed, 46 ignored**, including 25 runtime skips. Both failures were the older shader-cache marker and UAV format expectations already corrected on main by [0d13b07](https://github.com/xcl-dev/xcl/commit/0d13b071a55caaf4cc1ab5a73298139006edd7c6). - I tried a local follow-up that keeps idle pages the incoming placement has already counted as reusable. A CPU regression verified that reclamation frees unrelated pages and leaves the overlapping pages available for ordinary expiry. Removing the preservation check failed that regression. - On the same local follow-up, a native D3D12 test used a two-tile heap and simulated failure to allocate another heap. The retry preserved the overlapping tile, mapped the unrelated idle tile at the new address, and completed with a healthy device. All three focused tests passed with zero skips. The patched integration onto [main 06c9f55](https://github.com/xcl-dev/xcl/commit/06c9f5505f63f10c5ec49ef932d75b2c28177324) built and finished with **1,267 passed, 0 failed, 46 ignored**, including 26 runtime skips. Commands: `cargo build --offline --locked --workspace -j 6`, `cargo test --offline --locked --workspace -j 6 --no-fail-fast -- --test-threads=4 --nocapture`, and `cargo test --offline --locked -p xcl --lib -j 6 -- --test-threads=1 --nocapture oom_reclaim reclaim_for_oom`. Synthetic inputs only. No real VRAM exhaustion or retail run. AI-assisted. Codex (GPT-6, exact variant unavailable) wrote the local follow-up and fixture, ran the tests and drafted this report.
Lum7nt commented 2026-11-25 19:09:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Lum7nt on 2026-11-25T18:43:30Z.


Tested on \dcc0ebe47316ad219212d28435c26a7833f239f\ (\dcc0eb, clean PR head) and merged onto \origin/main\ \3ceb550:

  • Hardware / OS / Toolchain: NVIDIA GeForce RTX 3060 12 GB (driver \32.0.15.8142\ / 581.42, wave32), Intel Core i5-10400, Windows 11 (NT \10.0.22631.0),
    ustc 1.100.0\ (\x86_64-pc-windows-msvc), debug profile, \XCL_ADAPTER=nvidia.
  • Focused run on \dcc0eb\ (\cargo test -p xcl --lib reclaim_for_oom -- --nocapture): 1 passed, 0 failed, 0 ignored (
    eclaim_for_oom_drains_cooling_and_idle_pages).
  • Merge check with \origin/main\ \3ceb550\ (\git merge origin/main): merges cleanly without conflicts; \cargo test -p xcl --lib hle::d3d12x::vram::tests -- --nocapture\ passes 20 passed, 0 failed, 1 ignored (\churn_update_tile_mappings_timing\ ignored).

Review note on \origin/main\ \3ceb550\ compatibility (#2275):

  • In \Pages::bind_range\ (\ ram.rs), the OOM fallback currently waits only on &self.fence\ (the \Pages::queue\ \UpdateTileMappings\ fence) before calling
    eclaim_for_oom\ and immediately returning \cooling\ and \idle\ tiles to \self.pool.free\ for remapping.
  • Since #2275 (\11aa227), \ ram.rs\ tracks all live title/upload/sparse queues on the device via \collect_device_queues\ / \RetireQueue\ because title command queues may still have in-flight GPU reads/writes referencing \cooling\ or recently \idle\ tiles. Waiting only on \self.fence\ can allow \ ake_batch\ + \self.queue.UpdateTileMappings\ to remap a tile while a title queue is still using it (the same cross-queue hazard #2275 and #2345 addressed).

Not tested

  • Full workspace suite on \dcc0eb, live OOM reproduction under \CreateHeap\ \E_OUTOFMEMORY, AMD / Intel GPUs, Linux / Wine, and \scripts/smoke.ps1\ (no retail title folder here).

AI use

  • Antigravity (\Gemini 4 Hydrogen (Low)) checked out \dcc0eb, ran the focused and merged \ ram::tests, checked the #2275 fence interaction in \ ram.rs, and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7171307247 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7171307247). Originally posted by [Lum7nt](https://github.com/Lum7nt) on 2026-11-25T18:43:30Z. --- **Tested** on \dcc0ebe47316ad219212d28435c26a7833f239f\ (\dcc0eb\, clean PR head) and merged onto \origin/main\ \3ceb550\: - **Hardware / OS / Toolchain:** NVIDIA GeForce RTX 3060 12 GB (driver \32.0.15.8142\ / 581.42, wave32), Intel Core i5-10400, Windows 11 (NT \10.0.22631.0\), \ ustc 1.100.0\ (\x86_64-pc-windows-msvc\), debug profile, \XCL_ADAPTER=nvidia\. - **Focused run on \dcc0eb\ (\cargo test -p xcl --lib reclaim_for_oom -- --nocapture\):** **1 passed, 0 failed, 0 ignored** (\ eclaim_for_oom_drains_cooling_and_idle_pages\). - **Merge check with \origin/main\ \3ceb550\ (\git merge origin/main\):** merges cleanly without conflicts; \cargo test -p xcl --lib hle::d3d12x::vram::tests -- --nocapture\ passes **20 passed, 0 failed, 1 ignored** (\churn_update_tile_mappings_timing\ ignored). **Review note on \origin/main\ \3ceb550\ compatibility (#2275):** - In \Pages::bind_range\ (\ ram.rs\), the OOM fallback currently waits only on \&self.fence\ (the \Pages::queue\ \UpdateTileMappings\ fence) before calling \ eclaim_for_oom\ and immediately returning \cooling\ and \idle\ tiles to \self.pool.free\ for remapping. - Since #2275 (\11aa227\), \ ram.rs\ tracks all live title/upload/sparse queues on the device via \collect_device_queues\ / \RetireQueue\ because title command queues may still have in-flight GPU reads/writes referencing \cooling\ or recently \idle\ tiles. Waiting only on \self.fence\ can allow \ ake_batch\ + \self.queue.UpdateTileMappings\ to remap a tile while a title queue is still using it (the same cross-queue hazard #2275 and #2345 addressed). **Not tested** - Full workspace suite on \dcc0eb\, live OOM reproduction under \CreateHeap\ \E_OUTOFMEMORY\, AMD / Intel GPUs, Linux / Wine, and \scripts/smoke.ps1\ (no retail title folder here). **AI use** - Antigravity (\Gemini 4 Hydrogen (Low)\) checked out \dcc0eb\, ran the focused and merged \ ram::tests\, checked the #2275 fence interaction in \ ram.rs\, and drafted this report.
futurepro62 commented 2026-11-26 06:06:48 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-26T05:52:29Z.


NVIDIA and AMD full-suite run of head bdcc0ebe, on its own base 5478c4a and merged with current main b49be183, to go with the reports above by Lum7nt, thehollowedone, since none of them covers AMD. On its base, the 3 failures come from changes made on main after that base (#2245 and ea088a5); merged with main, both cards pass. The bare-head runs come first.

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, 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 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1152 passed, 2 failed, 24 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • Failed: gpu::recomp::pso::shader_cache_tests::rerouted_disk_entries_follow_the_direct_translator, hle::d3d12x::device_x::tests::pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa. (stale on this base, fixed on main by #2245; see the merged run below)
  • The new tests ran and passed: reclaim_for_oom_drains_cooling_and_idle_pages.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1161 passed, 3 failed, 26 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))).
  • --skip leaves out tests that fail on main b49be183 too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.
  • AMD failures on this base: rerouted_disk_entries_follow_the_direct_translator (#2245), gpu_image_get_resinfo_past_last_level (ea088a5), pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa (#2245).
  • Merged with main b49be183 (git merge --no-ff, clean, local only): NVIDIA XCL_REQUIRE_GPU=mesh cargo test --workspace with the same skips: 1424 passed, 0 failed, 45 ignored; AMD Radeon iGPU (XCL_ADAPTER=radeon, same skips): 1435 passed, 0 failed, 47 ignored.

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.
<!-- greyfinch-sync:ivall/xcl:comment:7183883231 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7183883231). Originally posted by [futurepro62](https://github.com/futurepro62) on 2026-11-26T05:52:29Z. --- NVIDIA and AMD full-suite run of head `bdcc0ebe`, on its own base `5478c4a` and merged with current `main` `b49be183`, to go with the reports above by Lum7nt, thehollowedone, since none of them covers AMD. On its base, the 3 failures come from changes made on `main` after that base (#2245 and `ea088a5`); merged with `main`, both cards pass. The bare-head runs come first. **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, 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 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **1152 passed, 2 failed, 24 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - Failed: `gpu::recomp::pso::shader_cache_tests::rerouted_disk_entries_follow_the_direct_translator`, `hle::d3d12x::device_x::tests::pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa`. (stale on this base, fixed on `main` by #2245; see the merged run below) - The new tests ran and passed: `reclaim_for_oom_drains_cooling_and_idle_pages`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1161 passed, 3 failed, 26 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))). - `--skip` leaves out tests that fail on main `b49be183` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://github.com/xcl-dev/xcl/issues/1651#issuecomment-7146069648)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. - AMD failures on this base: `rerouted_disk_entries_follow_the_direct_translator` (#2245), `gpu_image_get_resinfo_past_last_level` (`ea088a5`), `pc_resource_desc_strips_uav_on_unsupported_formats_and_msaa` (#2245). - **Merged with `main` `b49be183`** (`git merge --no-ff`, clean, local only): NVIDIA `XCL_REQUIRE_GPU=mesh cargo test --workspace` with the same skips: **1424 passed, 0 failed, 45 ignored**; AMD Radeon iGPU (`XCL_ADAPTER=radeon`, same skips): **1435 passed, 0 failed, 47 ignored**. **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.
DavidM1911 commented 2026-11-26 07:03:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T06:07:43Z.


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7184119055 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7184119055). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T06:07:43Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
ClosetPie107 commented 2026-11-26 11:05:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-11-26T10:07:09Z.


Linux / AMD RX 9070 (RDNA4, RADV) test report on bdcc0ebe (and merged onto main b49be183 with #2385 + #751)

Setup

  • AMD Radeon RX 9070 16 GB (RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.5)
  • Proton Experimental (experimental-11.0-20261112), DXVK v3.1.1-209, patched vkd3d-proton master (ec207194, dxil-spirv b540c8a2), DXC 1.9.2609.5
  • Release x86_64-pc-windows-gnu build

Tested

  1. Exact head bdcc0ebe — vram::tests:
    • Command: xcl-<hash>.exe hle::d3d12x::vram::tests --test-threads=1 (via Proton/Wine, XCL_ADAPTER=9070)
    • Result: 16 passed, 0 failed, 1 ignored, 0 skipped (peak VRAM 1,309 MiB), including reclaim_for_oom_drains_cooling_and_idle_pages.
  2. Exact head bdcc0ebe — retail title 1.0.2.1 (XCL_DIRECT_DXIL=1 XCL_PSO_PRELOAD=0 XCL_PSO_WAIT_MS=50 XCL_SPLIT_MIDLIST_WAIT=0 XCL_COHERENT_MB=1024 XCL_ACTIVITY=1):
    • Ran 227.5 s (1,844 presents, 0 device removals), peak VRAM 16,297 MiB (17,091 MB local reported, target pages 10,210 MB, pools 10,432 MB, xcl_rss 13.2–14.8 GiB, xcl_swap 7,734 MiB) before 0xc0000005 in game_scarlett_master.exe+0x7b619c (read at 0x0).
    • Note: on Linux/RADV the driver spills into GTT rather than returning E_OUTOFMEMORY (0x8007000E) from CreateHeap, so #1663's live OOM-reclaim path was not triggered in this game run.
  3. Merged onto main b49be183 (+ #2385 + #751, only adjacent #[test] conflict in vram.rs):
    • vram::tests: 26 passed, 0 failed, 1 ignored, 0 skipped (peak VRAM 1,309 MiB).
    • 300 s retail run (+ #2385, XCL_TEXTURE_LEVEL_PAGES=1): clean exit=0 after 316 s wall (2,241 presents, 0 crashes, 0 device removals).
    • 900 s retail run (+ #2385 + #751, XCL_TEXTURE_LEVEL_PAGES=1): clean exit=0 after 920 s wall (2,258 presents, 0 crashes, 0 device removals, 10,279 MiB MemAvailable).

Not tested

  • Full workspace test suite on bdcc0ebe, Windows, NVIDIA, or a host/GPU where alloc_pool_heap returns E_OUTOFMEMORY in-game.

AI use

  • T3 Code / Antigravity (Gemini 4 Neon) built the binaries, ran the tests and retail runs on this machine, and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7188932342 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7188932342). Originally posted by [ClosetPie107](https://github.com/ClosetPie107) on 2026-11-26T10:07:09Z. --- **Linux / AMD RX 9070 (RDNA4, RADV) test report on `bdcc0ebe` (and merged onto `main` `b49be183` with #2385 + #751)** **Setup** - AMD Radeon RX 9070 16 GB (RADV GFX1201, Mesa 26.3.1), Ryzen 5 9600X, 30 GiB RAM, CachyOS (kernel 7.3.5) - Proton Experimental (`experimental-11.0-20261112`), DXVK `v3.1.1-209`, patched vkd3d-proton `master` (`ec207194`, `dxil-spirv` `b540c8a2`), DXC `1.9.2609.5` - Release `x86_64-pc-windows-gnu` build **Tested** 1. **Exact head `bdcc0ebe` — `vram::tests`:** - Command: `xcl-<hash>.exe hle::d3d12x::vram::tests --test-threads=1` (via Proton/Wine, `XCL_ADAPTER=9070`) - Result: **16 passed, 0 failed, 1 ignored, 0 skipped** (peak VRAM `1,309 MiB`), including `reclaim_for_oom_drains_cooling_and_idle_pages`. 2. **Exact head `bdcc0ebe` — retail title 1.0.2.1 (`XCL_DIRECT_DXIL=1 XCL_PSO_PRELOAD=0 XCL_PSO_WAIT_MS=50 XCL_SPLIT_MIDLIST_WAIT=0 XCL_COHERENT_MB=1024 XCL_ACTIVITY=1`):** - Ran **227.5 s** (`1,844` presents, 0 device removals), peak VRAM `16,297 MiB` (`17,091 MB` local reported, `target pages 10,210 MB`, `pools 10,432 MB`, `xcl_rss` `13.2–14.8 GiB`, `xcl_swap` `7,734 MiB`) before `0xc0000005` in `game_scarlett_master.exe+0x7b619c` (`read at 0x0`). - Note: on Linux/RADV the driver spills into GTT rather than returning `E_OUTOFMEMORY` (`0x8007000E`) from `CreateHeap`, so `#1663`'s live OOM-reclaim path was not triggered in this game run. 3. **Merged onto `main` `b49be183` (+ #2385 + #751, only adjacent `#[test]` conflict in `vram.rs`):** - `vram::tests`: **26 passed, 0 failed, 1 ignored, 0 skipped** (peak VRAM `1,309 MiB`). - 300 s retail run (+ #2385, `XCL_TEXTURE_LEVEL_PAGES=1`): clean **`exit=0`** after 316 s wall (`2,241` presents, 0 crashes, 0 device removals). - 900 s retail run (+ #2385 + #751, `XCL_TEXTURE_LEVEL_PAGES=1`): clean **`exit=0`** after 920 s wall (`2,258` presents, 0 crashes, 0 device removals, `10,279 MiB` `MemAvailable`). **Not tested** - Full workspace test suite on `bdcc0ebe`, Windows, NVIDIA, or a host/GPU where `alloc_pool_heap` returns `E_OUTOFMEMORY` in-game. **AI use** - T3 Code / Antigravity (Gemini 4 Neon) built the binaries, ran the tests and retail runs on this machine, and drafted this report.
thehollowedone commented 2026-11-27 19:44:02 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T19:44:02Z.


merge-check
base: 6089122a1c96dff16e93b6fdf04c8ed20cfb6102
head: bdcc0ebe47316ad219212d28435c26a7833f239f
merge: Clean local merge, no commit.
build: cargo build --workspace -> ok.
tests: XCL_ADAPTER=nvidia cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1,465 passed, 1 failed, 47 ignored; 25 GPU skip notices. All 20 non-ignored hle::d3d12x::vram::tests passed, including the new reclaim test. The sole failure is gpu::recomp::pso::shader_cache_tests::console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk (DXIL not compiled); it also failed on this untouched base in the earlier current-base check.
review: Two OOM-path blockers remain. First, bind_range counts an idle owned/extra page as already present, but reclaim_for_oom can remove that same page. For a partial overlap [A, B] with idle A, no free tiles and heap growth refused, it can reclaim A, allocate one tile for the originally missing B, then exhaust fresh_iter while inserting both. Our earlier RTX check tested a local preservation fix and native two-tile failure fixture; that fix is absent from this head. Protect every key in the incoming bind range during eviction and test owned and extra overlaps with insufficient and sufficient unrelated idle tiles.

Second, the OOM wait covers only the tile-mapping queue. unmap_superseded can place tiles in cooling while earlier title-queue work is still pending; forced reclaim drains cooling immediately and can map those tiles elsewhere. Another tester raised this queue-ordering gap, and the merged multi-queue heap retirement code confirms that the mapping fence alone does not retire title work. Before tile reuse, require completed marks behind prior work on every relevant consumer queue; failed or unknown marks must keep tiles quarantined. Test with a pending title queue after the mapping fence completes. Until that protocol is in place, fail the current allocation cleanly rather than force-reuse cooling tiles. Recount missing pages if retrying after a lock drop.
performance: The new path can wait up to 1,000 ms while holding the process-wide PAGES mutex, serializing other-device page operations; this is a source-level latency concern, not a measured frame-time claim. Retire asynchronously outside that lock and use the completed batch on a later bind.
verdict: not yet: protect incoming pages and certify consumer-queue retirement before forced reuse. This check does not claim a live title OOM or a new smoke run.
hardware / tool and model: Windows 11 build 26300; Ryzen 7 9800X3D; RTX 3080 Ti 12 GiB / NVIDIA 621.35; rustc 1.99.1 MSVC; DXC 1.8.2502.11. AI use: Codex (GPT-6.2 Sol) ran the build and GPU suite and checked the merged code; Codex (GPT-6.2 Astra) independently traced tile and queue lifetimes.

<!-- greyfinch-sync:ivall/xcl:comment:7226817641 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7226817641). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T19:44:02Z. --- merge-check base: [`6089122a1c96dff16e93b6fdf04c8ed20cfb6102`](https://github.com/xcl-dev/xcl/commit/6089122a1c96dff16e93b6fdf04c8ed20cfb6102) head: [`bdcc0ebe47316ad219212d28435c26a7833f239f`](https://github.com/xcl-dev/xcl/commit/bdcc0ebe47316ad219212d28435c26a7833f239f) merge: Clean local merge, no commit. build: `cargo build --workspace` -> ok. tests: `XCL_ADAPTER=nvidia cargo test --workspace --no-fail-fast -- --test-threads=4` -> 1,465 passed, 1 failed, 47 ignored; 25 GPU skip notices. All 20 non-ignored `hle::d3d12x::vram::tests` passed, including the new reclaim test. The sole failure is `gpu::recomp::pso::shader_cache_tests::console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk` (DXIL not compiled); it also failed on this untouched base in the [earlier current-base check](https://github.com/xcl-dev/xcl/pull/671#issuecomment-7223888221). review: **Two OOM-path blockers remain.** First, [`bind_range`](https://github.com/xcl-dev/xcl/blob/bdcc0ebe47316ad219212d28435c26a7833f239f/crates/xcl/src/hle/d3d12x/vram.rs#L829-L905) counts an idle owned/extra page as already present, but [`reclaim_for_oom`](https://github.com/xcl-dev/xcl/blob/bdcc0ebe47316ad219212d28435c26a7833f239f/crates/xcl/src/hle/d3d12x/vram.rs#L448-L465) can remove that same page. For a partial overlap `[A, B]` with idle `A`, no free tiles and heap growth refused, it can reclaim `A`, allocate one tile for the originally missing `B`, then exhaust `fresh_iter` while inserting both. Our [earlier RTX check](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7164875608) tested a local preservation fix and native two-tile failure fixture; that fix is absent from this head. Protect every key in the incoming bind range during eviction and test owned and extra overlaps with insufficient and sufficient unrelated idle tiles. Second, the [OOM wait](https://github.com/xcl-dev/xcl/blob/bdcc0ebe47316ad219212d28435c26a7833f239f/crates/xcl/src/hle/d3d12x/vram.rs#L850-L862) covers only the tile-mapping queue. [`unmap_superseded`](https://github.com/xcl-dev/xcl/blob/bdcc0ebe47316ad219212d28435c26a7833f239f/crates/xcl/src/hle/d3d12x/vram.rs#L1082-L1104) can place tiles in cooling while earlier title-queue work is still pending; forced reclaim drains cooling immediately and can map those tiles elsewhere. [Another tester raised this queue-ordering gap](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7171307247), and the merged [multi-queue heap retirement code](https://github.com/xcl-dev/xcl/blob/6089122a1c96dff16e93b6fdf04c8ed20cfb6102/crates/xcl/src/hle/d3d12x/vram.rs#L1157-L1237) confirms that the mapping fence alone does not retire title work. Before **tile** reuse, require completed marks behind prior work on every relevant consumer queue; failed or unknown marks must keep tiles quarantined. Test with a pending title queue after the mapping fence completes. Until that protocol is in place, fail the current allocation cleanly rather than force-reuse cooling tiles. Recount missing pages if retrying after a lock drop. performance: The new path can wait up to 1,000 ms while holding the process-wide `PAGES` mutex, serializing other-device page operations; this is a source-level latency concern, not a measured frame-time claim. Retire asynchronously outside that lock and use the completed batch on a later bind. verdict: **not yet**: protect incoming pages and certify consumer-queue retirement before forced reuse. This check does not claim a live title OOM or a new smoke run. hardware / tool and model: Windows 11 build 26300; Ryzen 7 9800X3D; RTX 3080 Ti 12 GiB / NVIDIA 621.35; rustc 1.99.1 MSVC; DXC 1.8.2502.11. AI use: Codex (GPT-6.2 Sol) ran the build and GPU suite and checked the merged code; Codex (GPT-6.2 Astra) independently traced tile and queue lifetimes.
throny commented 2026-11-27 19:44:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T19:44:07Z.


merge-check claim
head: bdcc0ebe47

<!-- greyfinch-sync:ivall/xcl:comment:7226819016 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7226819016). Originally posted by [throny](https://github.com/throny) on 2026-11-27T19:44:07Z. --- merge-check claim head: bdcc0ebe47316ad219212d28435c26a7833f239f
throny commented 2026-11-27 20:00:55 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-11-27T20:00:55Z.


merge-check
base: 6089122a
head: bdcc0ebe47
merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1466 passed, 0 failed, 47 ignored (26 SKIPPED lines); base alone: 1465 passed, 0 failed, 47 ignored
review: two blocking findings in the OOM path. (1) Pages::bind_range counts missing before the pool is asked: a page that is idle but still in the maps counts as existing. When take_batch fails, reclaim_for_oom evicts the oldest idle pages, which can be those very pages; the fill loop then finds them gone and calls fresh_iter.next().unwrap() with only missing fresh tiles: a panic while PAGES is held, which poisons the lock. Trigger: a texture placed again shortly after release while pool-heap allocation fails, i.e. the situation this PR is for. (2) The reclaim waits only on the tile-mapping queue's fence and then returns every cooling tile and idle tiles without the 2 s cooling time, which exists because the GPU may still be working on what the title released: a title queue can still read or write a tile handed to a new texture. Also: up to 1 s wait while PAGES is held. The unit test does not go through bind_range.
performance: default path unchanged (the sweep refactor is equivalent); OOM path only (reasoned).
verdict: not yet: keep the pages the placement already counts (or recount after the reclaim), and wait on the title queues or keep the cooling time; a test through bind_range. I will rerun the suite on the new head.
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).

<!-- greyfinch-sync:ivall/xcl:comment:7227090116 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7227090116). Originally posted by [throny](https://github.com/throny) on 2026-11-27T20:00:55Z. --- merge-check base: 6089122a head: bdcc0ebe47316ad219212d28435c26a7833f239f merge: clean build: cargo build --workspace -> ok tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1466 passed, 0 failed, 47 ignored (26 SKIPPED lines); base alone: 1465 passed, 0 failed, 47 ignored review: two blocking findings in the OOM path. (1) Pages::bind_range counts `missing` before the pool is asked: a page that is idle but still in the maps counts as existing. When take_batch fails, reclaim_for_oom evicts the oldest idle pages, which can be those very pages; the fill loop then finds them gone and calls fresh_iter.next().unwrap() with only `missing` fresh tiles: a panic while PAGES is held, which poisons the lock. Trigger: a texture placed again shortly after release while pool-heap allocation fails, i.e. the situation this PR is for. (2) The reclaim waits only on the tile-mapping queue's fence and then returns every cooling tile and idle tiles without the 2 s cooling time, which exists because the GPU may still be working on what the title released: a title queue can still read or write a tile handed to a new texture. Also: up to 1 s wait while PAGES is held. The unit test does not go through bind_range. performance: default path unchanged (the sweep refactor is equivalent); OOM path only (reasoned). verdict: not yet: keep the pages the placement already counts (or recount after the reclaim), and wait on the title queues or keep the cooling time; a test through bind_range. I will rerun the suite on the new head. hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
Foniass commented 2026-12-01 06:26:23 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:26:23Z.


Triage (#1607) – head bdcc0eb

No open or merged PR reclaims cooling and idle tiles when allocating a pool heap fails. #2357 handles pool-heap OOM differently (VRAM budgets and an OOM back-off) and does not make this change. Main's TilePool::take_batch still returns None when make_heap fails.
Problem: on OOM, Pages (vram.rs) waits only on self.fence. That fence is signalled after each tile mapping on XCL's mapping queue, not after the title's queues. reclaim_for_oom then frees every cooling tile and pops idle pages straight to the free lists, which skips both COOL ("the GPU may still be at work on what the title released") and IDLE. A page released a few milliseconds earlier can be handed to a new texture while command lists already submitted may still read or write it. That is a silent corruption risk instead of a failed allocation.
The PR conflicts with main: take_batch now takes evictable, and vram.rs has been restructured.
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:7302872805 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1663#issuecomment-7302872805). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:26:23Z. --- **Triage (#1607)** – head bdcc0eb No open or merged PR reclaims cooling and idle tiles when allocating a pool heap fails. #2357 handles pool-heap OOM differently (VRAM budgets and an OOM back-off) and does not make this change. Main's TilePool::take_batch still returns None when make_heap fails. Problem: on OOM, `Pages` (vram.rs) waits only on `self.fence`. That fence is signalled after each tile mapping on XCL's mapping queue, not after the title's queues. reclaim_for_oom then frees every cooling tile and pops idle pages straight to the free lists, which skips both `COOL` ("the GPU may still be at work on what the title released") and `IDLE`. A page released a few milliseconds earlier can be handed to a new texture while command lists already submitted may still read or write it. That is a silent corruption risk instead of a failed allocation. The PR conflicts with main: take_batch now takes `evictable`, and vram.rs has been restructured. 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/1663:upstream-pr/1663'
git switch 'upstream-pr/1663'

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