D3D12.X: an allocator put aside keeps its recordings' memory (#1358) #1412

Closed
venglov wants to merge 1 commit from upstream-pr/1422 into main
venglov commented 2026-11-24 15:47:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by venglov on 2026-11-24T15:47:54Z.


Fixes #1358.

When the title resets a command allocator while the GPU still runs what was recorded on it, alloc_pool (#897) puts that PC allocator aside and returns S_OK. real::alloc_reset took the S_OK as "the GPU is done" and freed every unified-memory block that ended recordings had filed under the title's allocator: root argument tables, io and AllocateUploadMemory blocks. Coherent blocks go back on the pool's LIFO stack, so the next translated draw can take one and write over arguments a submitted draw has not read yet; sparse ones are decommitted. #897 counted 240 such swaps in 60 s of a retail title's world. Filing the blocks under the title's allocator could not work either: since #897 it stands for PC allocators that change, so no one Reset could tell whether the GPU was done with all of them.

Now a recording's blocks are filed under the PC allocator it is on, and alloc_pool gives a PC allocator's blocks back at the title's Reset once the GPU has passed every submit on it (whether it is in use, was reset or was put aside).

What is in it
One commit:

  • alloc_pool.rs: title_reset gives back the blocks of the title allocator's PC allocators whose submits the GPU has passed (done_with, Backing::idle); a PC allocator made here gives its blocks back when it is released. Tests ended_recordings_keep_their_memory_until_the_gpu_passes_their_allocator (CPU) and a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads (D3D12 device, through the Reset hook, with the queue held on a fence).
  • real.rs: alloc_reset frees the blocks itself only when it reset the title's allocator itself.
  • list_x.rs: reset_x, the Wait64 mid-list split and KickoffX's split give bind the PC allocator the new recording is on. Test a_recordings_memory_is_held_for_the_pc_allocator_it_is_on (CPU).
  • bind.rs, console_list.rs: doc comments only.

Tested
No Windows machine here: Apple M1 Pro, macOS 27.2, Wine 11.21 (Gcenx build) with Wine's D3D12 on MoltenVK 1.4.0, under Rosetta 2. Rust 1.100.0, x86_64-pc-windows-gnu (mingw-w64 14.0.0), debug. Every test binary of cargo test --workspace --no-run run under Wine with --test-threads=1 (with 4 threads the lib test binary exits with status 5 a few seconds in, on main too).

  • this PR, 7901856: 745 passed, 9 failed, 41 ignored; SKIPPED: 89 no GPU, 5 no DXC
  • main, 930e8b4: 742 passed, 9 failed, 41 ignored; the same skips
  • the same 9 fail on both (Wine / MoltenVK): disk_free_space_ex_reports_pls_quota, test_title_runs_and_game_folder_is_untouched, readable_answers_from_the_working_set_without_touching_pages, timestamps_outside_unified_memory_land_after_the_queue, write_buffer_immediate_on_open_existing_heap_visible_to_cpu, a_tile_decommitted_and_committed_again_keeps_its_video_memory, ensure_mapped_with_query_holes_skips_uncommitted_pages_on_readback, d32s8_targets_take_their_own_size_of_video_memory, reset_dxgi_device_manager_with_d3d12_device_and_token_validation
  • the three new tests with real.rs and list_x.rs put back as on main: the device test finds the blocks freed at the swap (left: []) and the list_x test finds the recording filed under the title's allocator. The CPU test in alloc_pool.rs calls title_reset_with directly, so it fails only if title_reset also frees the title allocator's blocks on success, as alloc_reset did.
  • merged onto main 06c9f55 (no conflicts; #1452's stand-in list for a Reset while the last submit runs goes through reset_pc, which files the recording under the PC allocator it is on here as well): 1162 passed, 106 failed, 46 ignored; main 06c9f55: 1159 passed, 106 failed, 46 ignored; the same 106 fail on both (Wine / MoltenVK; 86 of them are gpu::dxil tests, the rest include the 9 listed above). SKIPPED on both: 124 no GPU, 23 no GPU with 32-lane waves, 12 no DXC, 6 no wave32 GPU, 5 Invalid parameter. (0x80070057), 2 no GPU UMA, 1 no GPU / DXC / mesh shaders, 1 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 validator 0.0 < 1.8
  • on Windows, by others (see the comments): Radeon RX 7600 XT, 7901856: 754 passed, 0 failed, 41 ignored, and the device test fails without the real.rs / list_x.rs changes (report); RTX 3070, merged onto main 568e7db: 1156 passed, 1 failed (the end-to-end test: its title was not built), 46 ignored, the same as main (report)

Regression run
Run by Toons29 on a Radeon RX 9070 (RDNA4), release, 60 s of the retail title with XCL_NETWORK=0; the blocks are copied from their comment as posted. 101 % of main's frames, 100 % of its peak commit, no crash, no device removal. It does not show whether the title reached the put-aside path.

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit: 790185635d73eb160a44e1822682099e1fbcefc3
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1633 (PresentX 1633)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14813 MB

Not tested

  • Intel GPUs, WARP. I ran nothing on Windows myself: the Windows results above are other contributors'.
  • Whether the retail title reaches the put-aside path in the regression run, and whether the overwritten arguments explain any of the reported GPU hangs or device removals: not measured.
  • XCL_CONSOLE_LISTS=1: its lists are not tracked by alloc_pool, so its allocators are never put aside; unchanged.
  • Not changed here: a KickoffX without a mid-list split keeps the list's blocks with the PC allocator of its last Reset, so if the title resets its allocator while that list is open, blocks recorded after the KickoffX stay filed under the earlier one. And the split's newly created segments leave no submit marks in alloc_pool, as before (#1071 registers them).

AI use

  • Claude Code (Claude Opus 5.5): traced the issue, wrote the fix, the tests and this description, and ran the Wine tests above; it added the other contributors' Windows results and regression run to this description from their comments.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5475503260 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422). Originally posted by [venglov](https://github.com/venglov) on 2026-11-24T15:47:54Z. --- Fixes #1358. When the title resets a command allocator while the GPU still runs what was recorded on it, `alloc_pool` (#897) puts that PC allocator aside and returns `S_OK`. `real::alloc_reset` took the `S_OK` as "the GPU is done" and freed every unified-memory block that ended recordings had filed under the title's allocator: root argument tables, io and `AllocateUploadMemory` blocks. Coherent blocks go back on the pool's LIFO stack, so the next translated draw can take one and write over arguments a submitted draw has not read yet; sparse ones are decommitted. #897 counted 240 such swaps in 60 s of a retail title's world. Filing the blocks under the title's allocator could not work either: since #897 it stands for PC allocators that change, so no one Reset could tell whether the GPU was done with all of them. Now a recording's blocks are filed under the PC allocator it is on, and `alloc_pool` gives a PC allocator's blocks back at the title's Reset once the GPU has passed every submit on it (whether it is in use, was reset or was put aside). **What is in it** One commit: - `alloc_pool.rs`: `title_reset` gives back the blocks of the title allocator's PC allocators whose submits the GPU has passed (`done_with`, `Backing::idle`); a PC allocator made here gives its blocks back when it is released. Tests `ended_recordings_keep_their_memory_until_the_gpu_passes_their_allocator` (CPU) and `a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads` (D3D12 device, through the `Reset` hook, with the queue held on a fence). - `real.rs`: `alloc_reset` frees the blocks itself only when it reset the title's allocator itself. - `list_x.rs`: `reset_x`, the Wait64 mid-list split and KickoffX's split give `bind` the PC allocator the new recording is on. Test `a_recordings_memory_is_held_for_the_pc_allocator_it_is_on` (CPU). - `bind.rs`, `console_list.rs`: doc comments only. **Tested** No Windows machine here: Apple M1 Pro, macOS 27.2, Wine 11.21 (Gcenx build) with Wine's D3D12 on MoltenVK 1.4.0, under Rosetta 2. Rust 1.100.0, `x86_64-pc-windows-gnu` (mingw-w64 14.0.0), debug. Every test binary of `cargo test --workspace --no-run` run under Wine with `--test-threads=1` (with 4 threads the lib test binary exits with status 5 a few seconds in, on `main` too). - this PR, `7901856`: 745 passed, 9 failed, 41 ignored; SKIPPED: 89 `no GPU`, 5 `no DXC` - `main`, `930e8b4`: 742 passed, 9 failed, 41 ignored; the same skips - the same 9 fail on both (Wine / MoltenVK): `disk_free_space_ex_reports_pls_quota`, `test_title_runs_and_game_folder_is_untouched`, `readable_answers_from_the_working_set_without_touching_pages`, `timestamps_outside_unified_memory_land_after_the_queue`, `write_buffer_immediate_on_open_existing_heap_visible_to_cpu`, `a_tile_decommitted_and_committed_again_keeps_its_video_memory`, `ensure_mapped_with_query_holes_skips_uncommitted_pages_on_readback`, `d32s8_targets_take_their_own_size_of_video_memory`, `reset_dxgi_device_manager_with_d3d12_device_and_token_validation` - the three new tests with `real.rs` and `list_x.rs` put back as on `main`: the device test finds the blocks freed at the swap (`left: []`) and the `list_x` test finds the recording filed under the title's allocator. The CPU test in `alloc_pool.rs` calls `title_reset_with` directly, so it fails only if `title_reset` also frees the title allocator's blocks on success, as `alloc_reset` did. - merged onto `main` `06c9f55` (no conflicts; #1452's stand-in list for a Reset while the last submit runs goes through `reset_pc`, which files the recording under the PC allocator it is on here as well): 1162 passed, 106 failed, 46 ignored; `main` `06c9f55`: 1159 passed, 106 failed, 46 ignored; the same 106 fail on both (Wine / MoltenVK; 86 of them are `gpu::dxil` tests, the rest include the 9 listed above). SKIPPED on both: 124 `no GPU`, 23 `no GPU with 32-lane waves`, 12 `no DXC`, 6 `no wave32 GPU`, 5 `Invalid parameter. (0x80070057)`, 2 `no GPU UMA`, 1 `no GPU / DXC / mesh shaders`, 1 `no d3d12SDKLayers.dll`, 1 `no D3D12 debug layer`, 1 `validator 0.0 < 1.8` - on Windows, by others (see the comments): Radeon RX 7600 XT, `7901856`: 754 passed, 0 failed, 41 ignored, and the device test fails without the `real.rs` / `list_x.rs` changes ([report](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7136959106)); RTX 3070, merged onto `main` `568e7db`: 1156 passed, 1 failed (the end-to-end test: its title was not built), 46 ignored, the same as `main` ([report](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7156256007)) **Regression run** Run by Toons29 on a Radeon RX 9070 (RDNA4), release, 60 s of the retail title with `XCL_NETWORK=0`; the blocks are copied from [their comment](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7151971139) as posted. 101 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. It does not show whether the title reached the put-aside path. ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` ``` xcl-smoke v1 commit: 790185635d73eb160a44e1822682099e1fbcefc3 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1633 (PresentX 1633) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14813 MB ``` **Not tested** - Intel GPUs, WARP. I ran nothing on Windows myself: the Windows results above are other contributors'. - Whether the retail title reaches the put-aside path in the regression run, and whether the overwritten arguments explain any of the reported GPU hangs or device removals: not measured. - `XCL_CONSOLE_LISTS=1`: its lists are not tracked by `alloc_pool`, so its allocators are never put aside; unchanged. - Not changed here: a KickoffX without a mid-list split keeps the list's blocks with the PC allocator of its last Reset, so if the title resets its allocator while that list is open, blocks recorded after the KickoffX stay filed under the earlier one. And the split's newly created segments leave no submit marks in `alloc_pool`, as before (#1071 registers them). **AI use** - Claude Code (Claude Opus 5.5): traced the issue, wrote the fix, the tests and this description, and ran the Wine tests above; it added the other contributors' Windows results and regression run to this description from their comments. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ySKELLETONX commented 2026-11-24 16:07:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ySKELLETONX on 2026-11-24T16:00:03Z.


Test report on head 7901856, on Windows with a GPU (the description has Wine / MoltenVK only). AI-written (Claude Code, Claude Opus 5.5) from real runs; checked by me.

Tested

  • AMD Radeon RX 7600 XT (RDNA3, driver 32.0.32015.2008), Ryzen 7 5700X3D, Windows 11 Pro 10.0.26300, rustc 1.100.0 (stable-x86_64-pc-windows-msvc), debug build, DXC from Windows SDK 10.0.26100
  • scripts/test.ps1 (cargo test --workspace -- --test-threads=4): 754 passed, 0 failed, 41 ignored; no SKIPPED lines (so the 9 Wine failures and the no GPU / no DXC skips in the description do not occur here)
  • The three new tests pass, and a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads ran on the D3D12 device (not skipped).
  • With real.rs and list_x.rs put back as on the base 930e8b4 (alloc_pool.rs kept as in this PR): a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads fails at alloc_pool.rs:530, the memory of a recording the GPU had not run is held over the Reset (left: []). ended_recordings_keep_their_memory_until_the_gpu_passes_their_allocator passes in that state, since it calls title_reset_with directly, not through alloc_reset; I did not also make title_reset free on success as the description did.

Not tested

  • NVIDIA, Intel, WARP; XCL_CONSOLE_LISTS=1; any retail title (no smoke runs).
<!-- greyfinch-sync:ivall/xcl:comment:7136959106 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/1422#issuecomment-7136959106). Originally posted by [ySKELLETONX](https://github.com/ySKELLETONX) on 2026-11-24T16:00:03Z. --- Test report on head `7901856`, on Windows with a GPU (the description has Wine / MoltenVK only). AI-written (Claude Code, Claude Opus 5.5) from real runs; checked by me. **Tested** - AMD Radeon RX 7600 XT (RDNA3, driver 32.0.32015.2008), Ryzen 7 5700X3D, Windows 11 Pro 10.0.26300, rustc 1.100.0 (`stable-x86_64-pc-windows-msvc`), debug build, DXC from Windows SDK 10.0.26100 - `scripts/test.ps1` (`cargo test --workspace -- --test-threads=4`): 754 passed, 0 failed, 41 ignored; no `SKIPPED` lines (so the 9 Wine failures and the `no GPU` / `no DXC` skips in the description do not occur here) - The three new tests pass, and `a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads` ran on the D3D12 device (not skipped). - With `real.rs` and `list_x.rs` put back as on the base `930e8b4` (`alloc_pool.rs` kept as in this PR): `a_reset_that_puts_the_allocator_aside_keeps_what_the_gpu_still_reads` fails at alloc_pool.rs:530, `the memory of a recording the GPU had not run is held over the Reset` (`left: []`). `ended_recordings_keep_their_memory_until_the_gpu_passes_their_allocator` passes in that state, since it calls `title_reset_with` directly, not through `alloc_reset`; I did not also make `title_reset` free on success as the description did. **Not tested** - NVIDIA, Intel, WARP; `XCL_CONSOLE_LISTS=1`; any retail title (no smoke runs).
DavidM1911 commented 2026-11-24 18:08:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T17:21:24Z.


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

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

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7139070528 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7139070528). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-24T17:21:24Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. Thanks!
Toons29 commented 2026-11-25 04:10:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:29:58Z.


Regression run of 79018563 on the retail title, for this PR's Regression run section. Both blocks are from scripts/smoke.ps1 as printed, not edited: main on 4178e888, this PR on its head commit with no uncommitted changes, same title and time.

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit: 790185635d73eb160a44e1822682099e1fbcefc3
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1633 (PresentX 1633)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14813 MB

Against the limits in CONTRIBUTING.md: 101 % of main's frames, 100 % of its peak commit, no crash, no device removal.

AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; I checked the blocks before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7151971139 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7151971139). Originally posted by [Toons29](https://github.com/Toons29) on 2026-11-25T03:29:58Z. --- Regression run of `79018563` on the retail title, for this PR's **Regression run** section. Both blocks are from `scripts/smoke.ps1` as printed, not edited: `main` on `4178e888`, this PR on its head commit with no uncommitted changes, same title and time. ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` ``` xcl-smoke v1 commit: 790185635d73eb160a44e1822682099e1fbcefc3 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1633 (PresentX 1633) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14813 MB ``` Against the limits in CONTRIBUTING.md: 101 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; I checked the blocks before posting.
upipibi commented 2026-11-25 08:08:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by upipibi on 2026-11-25T07:47:29Z.


NVIDIA test report for 7901856 (part of #2057's stack). RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug. The PR is merged onto main 568e7db, with main run as a control on the same machine the same hour.

  • cargo test --workspace --no-fail-fast -- --test-threads=4: 1156 passed, 1 failed, 46 ignored. main 568e7db: 1153 passed, 1 failed, 46 ignored.
    • The one failure is test_title_runs_and_game_folder_is_untouched in both, because my build step ran only cargo build --workspace --tests, so xcl_testtitle.exe and testgame_mw.dll, built from the repository's tests/testtitle, were missing (the panic says "build first: cargo build --workspace"). So the end-to-end test did not run here.
    • SKIPPED (25 in both): mostly no wave64 (20), plus cannot disable the driver cache and no heap windows.

Added 16:35Z: whole workspace on this head, after cargo build --workspace, so the test title is built this time. Head 7901856 as is (base 930e8b4), RTX 3070 (616.56), Windows 11, debug, cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2:

  • 7901856: 745 passed, 0 failed, 41 ignored. The end-to-end title tests pass.
  • main 0829441 on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests).
  • Skipped hle::xaudio2, because its tests fail or hang on this machine on main too. The PR doesn't touch it (its files are all in hle/d3d12x).
  • SKIPPED lines: 2, both no wave64 on this card.

AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run.

<!-- greyfinch-sync:ivall/xcl:comment:7156256007 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7156256007). Originally posted by [upipibi](https://github.com/upipibi) on 2026-11-25T07:47:29Z. --- NVIDIA test report for `7901856` (part of #2057's stack). RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug. The PR is merged onto `main` `568e7db`, with `main` run as a control on the same machine the same hour. - `cargo test --workspace --no-fail-fast -- --test-threads=4`: **1156 passed, 1 failed**, 46 ignored. `main` `568e7db`: 1153 passed, 1 failed, 46 ignored. - The one failure is `test_title_runs_and_game_folder_is_untouched` in both, because my build step ran only `cargo build --workspace --tests`, so `xcl_testtitle.exe` and `testgame_mw.dll`, built from the repository's `tests/testtitle`, were missing (the panic says "build first: cargo build --workspace"). So the end-to-end test did not run here. - SKIPPED (25 in both): mostly `no wave64` (20), plus `cannot disable the driver cache` and `no heap windows`. --- **Added 16:35Z: whole workspace on this head, after `cargo build --workspace`**, so the test title is built this time. Head `7901856` as is (base `930e8b4`), RTX 3070 (616.56), Windows 11, debug, `cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2`: - `7901856`: **745 passed, 0 failed, 41 ignored**. The end-to-end title tests pass. - `main` `0829441` on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests). - Skipped `hle::xaudio2`, because its tests fail or hang on this machine on `main` too. The PR doesn't touch it (its files are all in `hle/d3d12x`). - SKIPPED lines: 2, both `no wave64` on this card. AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run.
Foniass commented 2026-12-01 05:42:07 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 7901856

This commit is already on main as 8d48907c ("D3D12.X: an allocator put aside keeps its recordings' memory (#1358)", merged with #3203). The diff is identical except that main's Backing::idle calls real::fence_completed instead of GetCompletedValue.
The amd-dev drafts that share these lines (#3111, #3112, #3335, #3361, #3099) carry it as part of their base.
Recommendation: close (superseded by main commit 8d48907).

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:7302045500 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7302045500). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T05:42:07Z. --- **Triage (#1607)** – head 7901856 This commit is already on main as 8d48907c ("D3D12.X: an allocator put aside keeps its recordings' memory (#1358)", merged with #3203). The diff is identical except that main's `Backing::idle` calls `real::fence_completed` instead of `GetCompletedValue`. The amd-dev drafts that share these lines (#3111, #3112, #3335, #3361, #3099) carry it as part of their base. Recommendation: close (superseded by main commit 8d48907). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 12:45:44 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:45:44Z.


Closing as superseded: this change is already on main (8d48907c). main 8d48907c 'an allocator put aside keeps its recordings memory (#1358)' (via #3203) has the same 197 added lines except fence_completed(f) instead of f.GetCompletedValue() in Backing::idle

Two independent checks found this: Foniass's close list on #1607 and ours against current main. If something here is still missing on main, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

<!-- greyfinch-sync:ivall/xcl:comment:7311608141 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1422#issuecomment-7311608141). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:45:44Z. --- Closing as superseded: this change is already on `main` (8d48907c). main 8d48907c 'an allocator put aside keeps its recordings memory (#1358)' (via #3203) has the same 197 added lines except fence_completed(f) instead of f.GetCompletedValue() in Backing::idle Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

Pull request closed

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!1412
No description provided.