d3d12: check sparse buffer memory_types before sharing the tile arena #2405

Closed
pepefroge wants to merge 5 commits from upstream-pr/2405 into main
pepefroge commented 2026-11-26 21:26:16 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-26T21:26:16Z.


Claimed in the coordination issue as: https://github.com/ProjectLeonida/mandy/issues/1608#issuecomment-7230664599

Summary

Fixes D3D12→Vulkan sparse buffer tile mappings failing with ID3D12CommandQueue::UpdateTileMappings: invalid mapping or sparse residency unavailable on Intel Arc (reported in #725).

Root Cause

  • DeviceState::tiles_share_arena() (runtime/shims/d3d12_vulkan_device.cpp:3536) only checks whether arena.memory_type overlaps the device-init probe sparse_buffer_memory_types.
  • On Intel Arc Windows Vulkan drivers (32.0.101.9150), an actual reserved buffer's requirements.memoryTypeBits can exclude arena.memory_type (e.g., requiring non-ReBAR DEVICE_LOCAL memory rather than the arena's DEVICE_LOCAL | HOST_VISIBLE type).
  • Heap::tiles() (line 9625) still took the arena fast-path, causing VulkanQueue::bind_tiles() (runtime/src/vulkan_backend.h:4164) to reject the binding (!(resource->memory_types & (1u << page.heap->memory_type))).
  • Additionally, Heap::tiles() (line 9636) previously overwrote the caller's memory_types with sparse_buffer_memory_types unconditionally instead of intersecting when overlapping.

Changes

  • Guard the arena fast-path in Heap::tiles() (runtime/shims/d3d12_vulkan_device.cpp:9625) with (memory_types & (1u << device_.arena.memory_type)).
  • Narrow memory_types via &= (line 9636) only when it overlaps device_.sparse_buffer_memory_types, preserving the caller's memoryTypeBits otherwise.

Verification (Intel Arc Pro B60, BMG-G21, Driver 32.0.101.9150)

  • Before: d3d12_buffer_tiles_test failed UpdateTileMappings on every mapped buffer tile (0/12 tiles).
  • After (f0b86e1):
    Vulkan replay: 12 full tiles matched across aliased, skipped, unmapped, reused and remapped ranges
    A rejected update left all tile mappings intact
    
    (Note: the subsequent native D3D12 comparison pass in d3d12_buffer_tiles_test still hits Intel's native D3D12 driver CopyTiles behavior noted in #725, while the Vulkan replay side now passes 12/12 tiles).

Tested on Intel Arc Pro B60 (0xe211, Windows 11, driver 32.0.101.9150); root-cause trace assisted locally via Hermes + Qwen 3.8 27B.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5517350873 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-26T21:26:16Z. --- Claimed in the coordination issue as: https://github.com/ProjectLeonida/mandy/issues/1608#issuecomment-7230664599 ### Summary Fixes D3D12→Vulkan sparse buffer tile mappings failing with `ID3D12CommandQueue::UpdateTileMappings: invalid mapping or sparse residency unavailable` on Intel Arc (reported in #725). ### Root Cause - `DeviceState::tiles_share_arena()` (`runtime/shims/d3d12_vulkan_device.cpp:3536`) only checks whether `arena.memory_type` overlaps the device-init probe `sparse_buffer_memory_types`. - On Intel Arc Windows Vulkan drivers (`32.0.101.9150`), an actual reserved buffer's `requirements.memoryTypeBits` can exclude `arena.memory_type` (e.g., requiring non-ReBAR `DEVICE_LOCAL` memory rather than the arena's `DEVICE_LOCAL | HOST_VISIBLE` type). - `Heap::tiles()` (`line 9625`) still took the arena fast-path, causing `VulkanQueue::bind_tiles()` (`runtime/src/vulkan_backend.h:4164`) to reject the binding (`!(resource->memory_types & (1u << page.heap->memory_type))`). - Additionally, `Heap::tiles()` (`line 9636`) previously overwrote the caller's `memory_types` with `sparse_buffer_memory_types` unconditionally instead of intersecting when overlapping. ### Changes - Guard the arena fast-path in `Heap::tiles()` (`runtime/shims/d3d12_vulkan_device.cpp:9625`) with `(memory_types & (1u << device_.arena.memory_type))`. - Narrow `memory_types` via `&=` (`line 9636`) only when it overlaps `device_.sparse_buffer_memory_types`, preserving the caller's `memoryTypeBits` otherwise. ### Verification (Intel Arc Pro B60, BMG-G21, Driver `32.0.101.9150`) - Before: `d3d12_buffer_tiles_test` failed `UpdateTileMappings` on every mapped buffer tile (`0/12` tiles). - After (`f0b86e1`): ```text Vulkan replay: 12 full tiles matched across aliased, skipped, unmapped, reused and remapped ranges A rejected update left all tile mappings intact ``` *(Note: the subsequent native D3D12 comparison pass in `d3d12_buffer_tiles_test` still hits Intel's native D3D12 driver `CopyTiles` behavior noted in #725, while the Vulkan replay side now passes 12/12 tiles).* --- *Tested on Intel Arc Pro B60 (`0xe211`, Windows 11, driver `32.0.101.9150`); root-cause trace assisted locally via Hermes + Qwen 3.8 27B.*
ecox982745 commented 2026-11-26 22:48:12 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-26T22:48:12Z.


There is one same-heap case where Heap::tiles() rejects a compatible second buffer at f0b86e1938.

Request on one heap Allowed memory types Result
Buffer A, with an empty heap Type 1 only (0x02) Gets dedicated backing of type 1
Buffer B, with A’s backing still live Types 1 and 4 (0x12), arena type 4 Returns null even though B accepts the existing type 1 backing

CPU check. I compiled the PR’s Heap::tiles() method with a mock allocator and a device probe mask of 0x12. The second call enters the arena branch and returns at if (tile_allocation_) return {};. Checking for an existing buffer tile allocation whose memory type is in the caller’s mask before considering the arena made the second call return the same allocation. All seven cases then matched expectations, including incompatible masks and buffer/image separation. It would be worth adding the two-call sequence above as a regression test.

RTX 4090 check. The unmodified PR passed d3d12_buffer_tiles on Windows 11, NVIDIA 616.64. Vulkan matched all 12 expected tiles and native D3D12 on the same card matched all three readbacks. This driver reported 0x02 for both sparse buffers and the initialization probe, with arena type 4, so it exercised the dedicated-only path. The mixed-mask finding above comes from the CPU fixture. AI-assisted verification.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7204997731 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7204997731). Originally posted by [ecox982745](https://github.com/ecox982745) on 2026-11-26T22:48:12Z. --- There is one same-heap case where `Heap::tiles()` rejects a compatible second buffer at `f0b86e1938`. | Request on one heap | Allowed memory types | Result | | --- | --- | --- | | Buffer A, with an empty heap | Type 1 only (`0x02`) | Gets dedicated backing of type 1 | | Buffer B, with A’s backing still live | Types 1 and 4 (`0x12`), arena type 4 | Returns null even though B accepts the existing type 1 backing | **CPU check.** I compiled the PR’s `Heap::tiles()` method with a mock allocator and a device probe mask of `0x12`. The second call enters the arena branch and returns at `if (tile_allocation_) return {};`. Checking for an existing *buffer* tile allocation whose memory type is in the caller’s mask before considering the arena made the second call return the same allocation. All seven cases then matched expectations, including incompatible masks and buffer/image separation. It would be worth adding the two-call sequence above as a regression test. **RTX 4090 check.** The unmodified PR passed `d3d12_buffer_tiles` on Windows 11, NVIDIA 616.64. Vulkan matched all 12 expected tiles and native D3D12 on the same card matched all three readbacks. This driver reported `0x02` for both sparse buffers and the initialization probe, with arena type 4, so it exercised the dedicated-only path. The mixed-mask finding above comes from the CPU fixture. AI-assisted verification.
BadgersMC commented 2026-11-27 01:23:27 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by BadgersMC on 2026-11-27T01:23:27Z.


Independent native Windows check (Profile M): RTX 3060 Ti desktop, 8 GB VRAM, NVIDIA 610.88, 16 GB RAM, MSVC 19.44. Compared the GitHub target base fac8b4bb with only the PR diff from f0b86e19 applied to that base. Same d3d12_buffer_tiles fixture, default 256 MiB arena, and Vulkan validation in both builds.

  • Base 3/3, PR diff 3/3. Each run matched all 12 Vulkan tiles and the three native D3D12 readbacks. The test's rejected update left the mappings intact.
  • Zero Vulkan validation errors. A separate patched replay with Vulkan loader logging confirmed VK_LAYER_KHRONOS_validation was loaded and passed.
  • This covers the existing tile fixture on Ampere. The mixed-memory-type same-heap case needs its own fixture. No game files used. AI-assisted (Codex).
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7207248549 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7207248549). Originally posted by [BadgersMC](https://github.com/BadgersMC) on 2026-11-27T01:23:27Z. --- Independent native Windows check (Profile M): RTX 3060 Ti desktop, 8 GB VRAM, NVIDIA 610.88, 16 GB RAM, MSVC 19.44. Compared the GitHub target base `fac8b4bb` with only the PR diff from `f0b86e19` applied to that base. Same `d3d12_buffer_tiles` fixture, default 256 MiB arena, and Vulkan validation in both builds. - Base **3/3**, PR diff **3/3**. Each run matched all **12 Vulkan tiles** and the **three native D3D12 readbacks**. The test's rejected update left the mappings intact. - Zero Vulkan validation errors. A separate patched replay with Vulkan loader logging confirmed `VK_LAYER_KHRONOS_validation` was loaded and passed. - This covers the existing tile fixture on Ampere. The [mixed-memory-type same-heap case](https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7204997731) needs its own fixture. No game files used. AI-assisted (Codex).
akimfomin commented 2026-11-27 03:29:22 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by akimfomin on 2026-11-27T03:29:22Z.


Your B60 result and BadgersMC’s NVIDIA result leave a useful independent comparison: does the same public fixture recover Vulkan tile mapping on the Alchemist A770 from #725? I opened one pinned Test Lab request and offered that specific pair to the A770 reporter. The request keeps Vulkan replay and native D3D12 outcomes separate and leaves the reported second-buffer/same-heap case for its own fixture. I’ll link any completed A770 result here with its original author.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7209028391 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7209028391). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-27T03:29:22Z. --- Your B60 result and BadgersMC’s NVIDIA result leave a useful independent comparison: does the same public fixture recover Vulkan tile mapping on the Alchemist A770 from #725? I opened [one pinned Test Lab request](https://github.com/akimfomin/PortBridge/issues/117) and offered that specific pair to the A770 reporter. The request keeps Vulkan replay and native D3D12 outcomes separate and leaves the reported second-buffer/same-heap case for its own fixture. I’ll link any completed A770 result here with its original author.
djrolfes commented 2026-11-27 19:24:47 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by djrolfes on 2026-11-27T19:24:47Z.


Single-variable A/B game-run check on Linux + Wine 11.22 + NVIDIA RTX 3070 Ti 8 GB (Profile M), per #2464 ("Start-up on NVIDIA and Intel"). Both arms started from the exact same byte-for-byte warm cache and overlay snapshot (cloned post-cold-baseline), with identical recipe and hands-free input script (0 env differences apart from the per-run capture folder; runtime_sha256 differs as expected). All numbers independently recomputed from raw logs and resource samples by a second agent (codex / gpt-6-luna) before posting. PROVISIONAL (n=1 per side).

RUN 2405-A | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification)
BASE:        main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays)
MACHINE:     RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM
RECIPE:      documented ("Linux, Proton, NVIDIA") + DEVIATIONS: --run mode (no LEONIDA_XMEM_BACKING_DIR), LEONIDA_ARENA_MB=1024, LEONIDA_GEOMETRY_MB=2048, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0 (no skip list), LEONIDA_COMPUTE_WARMUP=0, LEONIDA_VALUE_WAIT_TIMEOUT_MS=30000, LEONIDA_DEVICE_TYPE=6, LEONIDA_MAP_READBACK=1, LEONIDA_DEVICE_FAULT=1, LEONIDA_STARTUP_CACHE_CHECKPOINTS=1, LEONIDA_TITLE_WATCHDOG=0 + local KICK, LEONIDA_TITLE_HUD=1, LEONIDA_KEYBOARD_PAD=1, hands-free LEONIDA_INPUT_SCRIPT, 600 s limit; RT_AS / HOST_IMAGE_COPY / TITLE_WINDOWS_MB / COMPILE_GATE at main defaults | precompile: no
OS/DRIVER:   default Linux NVIDIA driver settings; Wine 11.22 Wayland driver; isolated network namespace; silent workspace
TARGET:      NVIDIA start-up / tile-mapping behavior with vs without #2405 | PREDICTED (written before the run): identical stage progression (menu -> story load -> world load), 0 tile-mapping errors, 0 device losses, same clean-main end class
MEASURED:    menu -> story load -> world load (did not reach play); PresentX ok 4,515, failed 0; 9,042 submissions; submit-phases 0.39-85.15 frames/s (final 1.07 frames/s); 0 UpdateTileMappings / sparse-residency / tile-mapping errors; 2 untranslated compute shader refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.95 GiB; max GPU memory 7,173 MiB | duration 174.33 s
END:         process crash (Wine unhandled exception, exit 126; device loss: no)
CACHES:      warm (post-C1 baseline snapshot) | RUN 1 of 1, Arm A
INSTRUMENTS: device fault 1, resource sampling (2 s), frame capture every 600 frames (local only), startup cache checkpoints
VERDICT:     control arm (same run as #2464 baseline C2)
RUN 2405-B | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification)
BASE:        main 43a9d562d + #2405 (f0b86e193, applied cleanly) | shaders: main ec91d695c local translation (wave64 emulated; no overlays)
MACHINE:     RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM
RECIPE:      same as 2405-A (0 setting differences) | precompile: no
OS/DRIVER:   same as 2405-A
TARGET:      NVIDIA start-up / tile-mapping behavior with #2405 | PREDICTED (written before the run): ~165-190 s to world entry, 0 tile-mapping errors, 0 device losses, same clean-main end class
MEASURED:    menu -> story load -> world load (did not reach play); PresentX ok 3,233, failed 0; 6,478 submissions; submit-phases 0.52-83.94 frames/s (final 0.52 frames/s); 0 UpdateTileMappings / sparse-residency / tile-mapping errors; 2 untranslated compute shader refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.03 GiB; max GPU memory 7,630 MiB | duration 162.18 s
END:         process crash (Wine unhandled exception, exit 126; device loss: no)
CACHES:      warm (byte-identical clone of post-C1 baseline snapshot) | RUN 1 of 1, Arm B
INSTRUMENTS: same as 2405-A
VERDICT:     prediction held (same start-up / story load / world load progression, 0 tile-mapping errors, 0 device losses, no NVIDIA start-up regression)

Reading:

  • MEASURED (n=1 per side, PROVISIONAL): No NVIDIA start-up or sparse-tile regression on RTX 3070 Ti 8 GB (NVIDIA 620.73.04, Linux + Wine 11.22): both arms recorded 0 UpdateTileMappings / sparse-residency / tile errors, 0 device losses, and identical 16 small-BAR fallback allocations, reaching world load (7.17–7.63 GiB GPU memory, >15,000 watched geometry tiles) and stopping at the same clean-main missing-shader world-entry exception (174.33 s A vs 162.18 s B).
  • NOT SHOWN: Intel Arc sparse-buffer fallback behavior, play stage past world entry, or the same-heap two-buffer edge case noted earlier in this thread (would be refuted by a tile-mapping error or device loss on repeated runs or in play).

AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna independent verification); no game data.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226501426 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/2405#issuecomment-7226501426). Originally posted by [djrolfes](https://github.com/djrolfes) on 2026-11-27T19:24:47Z. --- Single-variable A/B game-run check on Linux + Wine 11.22 + NVIDIA RTX 3070 Ti 8 GB (Profile M), per #2464 ("Start-up on NVIDIA and Intel"). Both arms started from the exact same byte-for-byte warm cache and overlay snapshot (cloned post-cold-baseline), with identical recipe and hands-free input script (`0` env differences apart from the per-run capture folder; `runtime_sha256` differs as expected). All numbers independently recomputed from raw logs and resource samples by a second agent (`codex` / `gpt-6-luna`) before posting. `PROVISIONAL (n=1 per side)`. ```text RUN 2405-A | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification) BASE: main 43a9d562d + none | shaders: main ec91d695c local translation (wave64 emulated; no overlays) MACHINE: RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM RECIPE: documented ("Linux, Proton, NVIDIA") + DEVIATIONS: --run mode (no LEONIDA_XMEM_BACKING_DIR), LEONIDA_ARENA_MB=1024, LEONIDA_GEOMETRY_MB=2048, LEONIDA_ASYNC_PIPELINES=1, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0 (no skip list), LEONIDA_COMPUTE_WARMUP=0, LEONIDA_VALUE_WAIT_TIMEOUT_MS=30000, LEONIDA_DEVICE_TYPE=6, LEONIDA_MAP_READBACK=1, LEONIDA_DEVICE_FAULT=1, LEONIDA_STARTUP_CACHE_CHECKPOINTS=1, LEONIDA_TITLE_WATCHDOG=0 + local KICK, LEONIDA_TITLE_HUD=1, LEONIDA_KEYBOARD_PAD=1, hands-free LEONIDA_INPUT_SCRIPT, 600 s limit; RT_AS / HOST_IMAGE_COPY / TITLE_WINDOWS_MB / COMPILE_GATE at main defaults | precompile: no OS/DRIVER: default Linux NVIDIA driver settings; Wine 11.22 Wayland driver; isolated network namespace; silent workspace TARGET: NVIDIA start-up / tile-mapping behavior with vs without #2405 | PREDICTED (written before the run): identical stage progression (menu -> story load -> world load), 0 tile-mapping errors, 0 device losses, same clean-main end class MEASURED: menu -> story load -> world load (did not reach play); PresentX ok 4,515, failed 0; 9,042 submissions; submit-phases 0.39-85.15 frames/s (final 1.07 frames/s); 0 UpdateTileMappings / sparse-residency / tile-mapping errors; 2 untranslated compute shader refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.95 GiB; max GPU memory 7,173 MiB | duration 174.33 s END: process crash (Wine unhandled exception, exit 126; device loss: no) CACHES: warm (post-C1 baseline snapshot) | RUN 1 of 1, Arm A INSTRUMENTS: device fault 1, resource sampling (2 s), frame capture every 600 frames (local only), startup cache checkpoints VERDICT: control arm (same run as #2464 baseline C2) ``` ```text RUN 2405-B | 2026-11-27 | djrolfes | AI-assisted: Antigravity (Gemini 4 Neon) + Codex (gpt-6-luna verification) BASE: main 43a9d562d + #2405 (f0b86e193, applied cleanly) | shaders: main ec91d695c local translation (wave64 emulated; no overlays) MACHINE: RTX 3070 Ti 8 GB, desktop, display attached | NVIDIA 620.73.04 | Arch Linux 7.2.15 + Wine 11.22 | Ryzen 7 5800X | 31 GiB RAM RECIPE: same as 2405-A (0 setting differences) | precompile: no OS/DRIVER: same as 2405-A TARGET: NVIDIA start-up / tile-mapping behavior with #2405 | PREDICTED (written before the run): ~165-190 s to world entry, 0 tile-mapping errors, 0 device losses, same clean-main end class MEASURED: menu -> story load -> world load (did not reach play); PresentX ok 3,233, failed 0; 6,478 submissions; submit-phases 0.52-83.94 frames/s (final 0.52 frames/s); 0 UpdateTileMappings / sparse-residency / tile-mapping errors; 2 untranslated compute shader refusals; 16 small-BAR (246 MiB heap 2) vkAllocateMemory fallbacks (0 fatal); min available RAM 7.03 GiB; max GPU memory 7,630 MiB | duration 162.18 s END: process crash (Wine unhandled exception, exit 126; device loss: no) CACHES: warm (byte-identical clone of post-C1 baseline snapshot) | RUN 1 of 1, Arm B INSTRUMENTS: same as 2405-A VERDICT: prediction held (same start-up / story load / world load progression, 0 tile-mapping errors, 0 device losses, no NVIDIA start-up regression) ``` Reading: - **MEASURED (`n=1` per side, PROVISIONAL):** No NVIDIA start-up or sparse-tile regression on RTX 3070 Ti 8 GB (`NVIDIA 620.73.04`, Linux + Wine 11.22): both arms recorded **0** `UpdateTileMappings` / sparse-residency / tile errors, **0** device losses, and identical `16` small-BAR fallback allocations, reaching world load (`7.17–7.63 GiB` GPU memory, >15,000 watched geometry tiles) and stopping at the same clean-`main` missing-shader world-entry exception (`174.33 s` A vs `162.18 s` B). - **NOT SHOWN:** Intel Arc sparse-buffer fallback behavior, `play` stage past world entry, or the same-heap two-buffer edge case noted earlier in this thread (would be refuted by a tile-mapping error or device loss on repeated runs or in `play`). AI-assisted: Antigravity (Gemini 4 Neon) + Codex (`gpt-6-luna` independent verification); no game data.
MoonEyes commented 2026-11-27 22:43:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T22:43:21Z.


Hi @pepefroge, thanks for this pull request.

CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post claiming: <ID> there, or a one-line description if the item is not listed yet, and put the ID in the pull request. I could not find a claim from you for this one.

The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time.

Could you post the claim in #1608 and put its ID (or a link to it) on the pull request's "Claimed in the coordination issue as:" line? If you already claimed it in another form, a link to your comment is enough.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7229563166 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7229563166). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T22:43:21Z. --- Hi @pepefroge, thanks for this pull request. CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post `claiming: <ID>` there, or a one-line description if the item is not listed yet, and put the ID in the pull request. I could not find a claim from you for this one. The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time. Could you post the claim in #1608 and put its ID (or a link to it) on the pull request's "Claimed in the coordination issue as:" line? If you already claimed it in another form, a link to your comment is enough. AI-assisted (Claude Code, Claude Opus 5.5).
akimfomin commented 2026-11-27 23:14:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by akimfomin on 2026-11-27T23:14:42Z.


An incompatible companion case for ecox982745’s compatible-reuse regression: set the probe mask to 0b111, arena type to 0, A’s mask to 0b010 and B’s to 0b100. Both pass reserved-resource creation. At f0b86e1, A gets dedicated type 1 and B reaches the queue validation check, which rejects it before vkQueueBindSparse. B succeeds in the model with a separate heap. With the proposed reuse-first guard, the compatible request reuses backing and the incompatible request is rejected at the heap. I’d put both in the same test and verify that A still reads back correctly after the rejection. Khronos confirms the sparse memory-type requirement.

PortBridge cross-checked the public code and ran the mask model with Codex. The additional case is CPU-modeled. The Arc A770 hardware check in the Lab remains open.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7229987775 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7229987775). Originally posted by [akimfomin](https://github.com/akimfomin) on 2026-11-27T23:14:42Z. --- An incompatible companion case for [ecox982745’s compatible-reuse regression](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7204997731): set the probe mask to `0b111`, arena type to 0, A’s mask to `0b010` and B’s to `0b100`. Both pass [reserved-resource creation](https://github.com/pepefroge/leonida/blob/f0b86e19380c8af09569161e1a0bc0243125a738/runtime/shims/d3d12_vulkan_device.cpp#L8102-L8106). At `f0b86e1`, A gets dedicated type 1 and B reaches the [queue validation check](https://github.com/pepefroge/leonida/blob/f0b86e19380c8af09569161e1a0bc0243125a738/runtime/src/vulkan_backend.h#L4149-L4165), which rejects it before `vkQueueBindSparse`. B succeeds in the model with a separate heap. With the proposed reuse-first guard, the compatible request reuses backing and the incompatible request is rejected at the heap. I’d put both in the same test and verify that A still reads back correctly after the rejection. [Khronos confirms the sparse memory-type requirement](https://github.com/KhronosGroup/Vulkan-Docs/issues/2506#issuecomment-2754781384). [PortBridge](https://github.com/akimfomin/PortBridge) cross-checked the public code and ran the mask model with Codex. The additional case is CPU-modeled. The Arc A770 hardware check in the Lab remains open.
pepefroge commented 2026-11-28 00:13:50 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-28T00:13:50Z.


@MoonEyes Thanks for the reminder! I've posted the claim (D3D12-SPARSE-BUFFER-HEAP) in #1608 and added it to the "Claimed in the coordination issue as:" line in the PR description.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7230749408 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7230749408). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-28T00:13:50Z. --- @MoonEyes Thanks for the reminder! I've posted the claim (`D3D12-SPARSE-BUFFER-HEAP`) in #1608 and added it to the "Claimed in the coordination issue as:" line in the PR description.
pepefroge commented 2026-11-28 00:53:58 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-28T00:53:58Z.


@akimfomin Good point — I checked create_sparse_buffer (d3d12_vulkan_device.cpp:9105) and update_tiles (vulkan_backend.h:2683), and because every CreateReservedResource buffer gets the driver's single requirements.memoryTypeBits mask, a disjoint buffer memory-type mask isn't reachable through the public D3D12 API (unlike the image-on-buffer-heap rejection check right below it).

I extended mixed_mask in d3d12_buffer_tiles_test.cpp (148996716) to map and read back a third reserved buffer c onto the same reused heap allocation (verifying third-buffer aliasing alongside the image-separation rejection check) and pushed the updated branch.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7231272653 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7231272653). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-28T00:53:58Z. --- @akimfomin Good point — I checked `create_sparse_buffer` (`d3d12_vulkan_device.cpp:9105`) and `update_tiles` (`vulkan_backend.h:2683`), and because every `CreateReservedResource` buffer gets the driver's single `requirements.memoryTypeBits` mask, a disjoint buffer memory-type mask isn't reachable through the public D3D12 API (unlike the image-on-buffer-heap rejection check right below it). I extended `mixed_mask` in `d3d12_buffer_tiles_test.cpp` (`148996716`) to map and read back a third reserved buffer `c` onto the same reused heap allocation (verifying third-buffer aliasing alongside the image-separation rejection check) and pushed the updated branch.
Tyrannys commented 2026-11-28 02:56:44 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Tyrannys on 2026-11-28T02:56:44Z.


#2405 | head 148996716b | ctest -C RelWithDebInfo -R "^d3d12_buffer_tiles$" (MSVC RelWithDebInfo, GPU test) | red: with only the test file on main it does not compile (it uses the PR's two new test hooks); with those two read-only hooks added to main and the fix left out, it fails on the "Mixed mask" check | green: FAILS. main 02f71ccfe merged into the head, and the head alone too: 3 of 3 and 2 of 2 runs fail with "Mixed mask: buffer B tile reads 0000000000, want the reused allocation's 0x23456789" and "dedicated type 1, arena type 4, device mask 0x2, mixed mask 0x12". So on this NVIDIA card the mixed-mask case does not reuse the dedicated allocation (the PR was tested on an Intel Arc Pro B60) | full suite: not run (a game boot was using the machine) | Windows 11, RTX 4070 SUPER, NVIDIA 621.01, Python 3.14 | AI-assisted: yes, Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7232694541 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7232694541). Originally posted by [Tyrannys](https://github.com/Tyrannys) on 2026-11-28T02:56:44Z. --- #2405 | head 148996716b76d32f3a8f12d43670f2e0614685dc | ctest -C RelWithDebInfo -R "^d3d12_buffer_tiles$" (MSVC RelWithDebInfo, GPU test) | red: with only the test file on main it does not compile (it uses the PR's two new test hooks); with those two read-only hooks added to main and the fix left out, it fails on the "Mixed mask" check | green: FAILS. main 02f71ccfe merged into the head, and the head alone too: 3 of 3 and 2 of 2 runs fail with "Mixed mask: buffer B tile reads 0000000000, want the reused allocation's 0x23456789" and "dedicated type 1, arena type 4, device mask 0x2, mixed mask 0x12". So on this NVIDIA card the mixed-mask case does not reuse the dedicated allocation (the PR was tested on an Intel Arc Pro B60) | full suite: not run (a game boot was using the machine) | Windows 11, RTX 4070 SUPER, NVIDIA 621.01, Python 3.14 | AI-assisted: yes, Claude Code
pepefroge commented 2026-11-28 03:13:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-28T03:13:38Z.


@Tyrannys Huge thanks for running this on your RTX 4070 SUPER and catching that! Look at what happened in mixed_mask:

  1. A was mapped to offsets (heap tile 0), while B and C were mapped to offsets + 1 (heap tile 1). On NVIDIA (device mask 0x2), tile 0 and tile 1 of the reused 128 KiB tile_allocation_ are distinct 64 KiB pages, so B at tile 1 legitimately read 0x00000000 instead of A's pattern at tile 0.
  2. On NVIDIA, CreateReservedResource assigns device mask (0x2, excluding arena bit 4), whereas on Intel Arc (0x12), CreateReservedResource includes arena bit 4 (0x12) — which was the exact bug on main where Intel refused reuse while NVIDIA didn't hit it.

I've updated mixed_mask (cf30c0a1f) so A, B, and C all map to offsets (heap tile 0) of the reused allocation (leaving the image-refusal check on offsets + 1) and pushed the branch. Whenever your machine is free, a quick re-run of d3d12_buffer_tiles on cf30c0a1f should now pass cleanly on RTX 4070 SUPER as well!

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7232899362 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7232899362). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-28T03:13:38Z. --- @Tyrannys Huge thanks for running this on your RTX 4070 SUPER and catching that! Look at what happened in `mixed_mask`: 1. `A` was mapped to `offsets` (`heap tile 0`), while `B` and `C` were mapped to `offsets + 1` (`heap tile 1`). On NVIDIA (`device mask 0x2`), tile 0 and tile 1 of the reused 128 KiB `tile_allocation_` are distinct 64 KiB pages, so `B` at tile 1 legitimately read `0x00000000` instead of `A`'s pattern at tile 0. 2. On NVIDIA, `CreateReservedResource` assigns `device mask` (`0x2`, excluding arena bit `4`), whereas on Intel Arc (`0x12`), `CreateReservedResource` includes arena bit `4` (`0x12`) — which was the exact bug on `main` where Intel refused reuse while NVIDIA didn't hit it. I've updated `mixed_mask` (`cf30c0a1f`) so `A`, `B`, and `C` all map to `offsets` (`heap tile 0`) of the reused allocation (leaving the image-refusal check on `offsets + 1`) and pushed the branch. Whenever your machine is free, a quick re-run of `d3d12_buffer_tiles` on `cf30c0a1f` should now pass cleanly on RTX 4070 SUPER as well!
timbot103 commented 2026-11-28 14:36:42 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by timbot103 on 2026-11-28T14:36:42Z.

Review: COMMENTED


Static code audit against cf30c0a1f + ec740bcc3 (AI-assisted).

  • runtime/test/d3d12_buffer_tiles_test.cpp:302 — The mixed mask is printed only. A, B and C use the same description. With identical masks, the test can pass on both revisions through either arena backing or dedicated backing. Please add a deterministic heap case with probe 0x12, arena type 4, A 0x02 and B 0x12, and assert that B returns A's type-1 allocation. Include a request that excludes type 1 and check that A remains mapped.
  • runtime/test/d3d12_buffer_tiles_test.cpp:463 — CreateReservedResource rejects D3D12_TEXTURE_LAYOUT_UNKNOWN, so the texture check always skips. Please use a valid sparse texture and check its mapping or readback directly. A successful device-status check and an unchanged buffer at a different heap offset cannot establish that the texture map was refused.

The earlier Arc result is promising. An exact-head run with the probe, resource and chosen backing types logged would establish which path the driver took.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6098419096 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#pullrequestreview-6098419096). Originally posted by [timbot103](https://github.com/timbot103) on 2026-11-28T14:36:42Z. **Review:** COMMENTED --- Static code audit against `cf30c0a1f` + `ec740bcc3` (AI-assisted). - `runtime/test/d3d12_buffer_tiles_test.cpp:302` — The mixed mask is printed only. A, B and C use the same description. With identical masks, the test can pass on both revisions through either arena backing or dedicated backing. Please add a deterministic heap case with probe `0x12`, arena type 4, A `0x02` and B `0x12`, and assert that B returns A's type-1 allocation. Include a request that excludes type 1 and check that A remains mapped. - `runtime/test/d3d12_buffer_tiles_test.cpp:463` — `CreateReservedResource` rejects `D3D12_TEXTURE_LAYOUT_UNKNOWN`, so the texture check always skips. Please use a valid sparse texture and check its mapping or readback directly. A successful device-status check and an unchanged buffer at a different heap offset cannot establish that the texture map was refused. The earlier Arc result is promising. An exact-head run with the probe, resource and chosen backing types logged would establish which path the driver took.
lixonik commented 2026-11-28 15:34:57 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-28T15:34:57Z.

Review: COMMENTED


Tested cf30c0a1f merged locally with main c1ecf04edc on Windows 11, MSVC 19.44, RTX 5070 (610.88). d3d12_buffer_tiles passed with 12 tile readbacks and all three native D3D12 comparisons. The image-on-buffer-heap subcase skipped on this GPU because it could not create the reserved image. The driver returned the same 0x2 mask for A/B/C, so this run does not cover a mixed mask.

I separately compiled the actual Heap::tiles() body from each tree against a mock allocator. With an arena of type 4, a probe mask of 0x12, and resource masks 0x02, 0x12, then 0x10, main chose the arena for the first request. The PR allocated type 1, reused the same allocation for the mixed mask, and refused the disjoint request. That is a red/green check for the gap timbot103 noted. A small CPU fixture for those mask transitions would pin the branch even on systems where reserved buffers all have the same mask.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6098760353 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#pullrequestreview-6098760353). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-28T15:34:57Z. **Review:** COMMENTED --- Tested `cf30c0a1f` merged locally with `main` `c1ecf04edc` on Windows 11, MSVC 19.44, RTX 5070 (610.88). `d3d12_buffer_tiles` passed with 12 tile readbacks and all three native D3D12 comparisons. The image-on-buffer-heap subcase skipped on this GPU because it could not create the reserved image. The driver returned the same `0x2` mask for A/B/C, so this run does not cover a mixed mask. I separately compiled the actual `Heap::tiles()` body from each tree against a mock allocator. With an arena of type 4, a probe mask of `0x12`, and resource masks `0x02`, `0x12`, then `0x10`, main chose the arena for the first request. The PR allocated type 1, reused the same allocation for the mixed mask, and refused the disjoint request. That is a red/green check for the gap timbot103 noted. A small CPU fixture for those mask transitions would pin the branch even on systems where reserved buffers all have the same mask. AI-assisted.
Maticcm commented 2026-11-28 20:45:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Maticcm on 2026-11-28T20:45:51Z.


I retested the corrected mixed_mask fixture at cf30c0a1f8e89d4eaecfe92b6039714c7a488f61 on an RTX 3080 desktop (10 GiB, driver 630.20), native Windows 11 build 26340, MSVC 19.50.35717, Vulkan SDK 1.4.363.1, with Khronos validation enabled.

d3d12_buffer_tiles passed at the PR head and at common ancestor cf1c34128a78c47451ecf3e8acf1943f6ca560ac (1/1 each). The head exercised mixed-mask reuse of the dedicated allocation and aliasing by the third same-mask buffer. Vulkan replay matched all 12 tiles. The reserved-image separation subcase skipped because the selected device could not create the required reserved texture. No Vulkan validation errors were reported. Synthetic fixtures only. AI-assisted (Codex).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7245521976 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7245521976). Originally posted by [Maticcm](https://github.com/Maticcm) on 2026-11-28T20:45:51Z. --- I retested the corrected `mixed_mask` fixture at `cf30c0a1f8e89d4eaecfe92b6039714c7a488f61` on an RTX 3080 desktop (10 GiB, driver 630.20), native Windows 11 build 26340, MSVC 19.50.35717, Vulkan SDK 1.4.363.1, with Khronos validation enabled. `d3d12_buffer_tiles` passed at the PR head and at common ancestor `cf1c34128a78c47451ecf3e8acf1943f6ca560ac` (1/1 each). The head exercised mixed-mask reuse of the dedicated allocation and aliasing by the third same-mask buffer. Vulkan replay matched all 12 tiles. The reserved-image separation subcase skipped because the selected device could not create the required reserved texture. No Vulkan validation errors were reported. Synthetic fixtures only. AI-assisted (Codex).
bobcatchris commented 2026-11-29 12:14:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T12:14:18Z.


Native Windows 11 + AMD Radeon RX 7900 XTX 24 GB A/B game-run check (main 791899f65 vs main + #2405 cf30c0a1f), per #2464.

  • Unit test: d3d12_buffer_tiles_test passed on AMD Radeon RX 7900 XTX (12/12 Vulkan replay tiles across aliased/skipped/unmapped/reused/remapped ranges + 3/3 native D3D12 GPU readbacks).
  • Game run (90 s, first-run UI / menu, unattended): 0 faults, 0 VK_ERROR_DEVICE_LOST, 0 regressions (30.00 fps locked, 60.01 subs/s, GPU direct latency 0.71 ms avg, 6.1% busy, VRAM 4,982 MiB — identical to main).
RUN WIN-AMD-7900XTX-2405-A | 2026-11-29 05:51 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon)
BASE:        791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid)
MACHINE:     AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D)
RECIPE:      documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed)
OS/DRIVER:   Windows default TdrDelay (2 s), Resizable BAR off
TARGET:      A/B control (main) | PREDICTED (written before the run): 30.0 fps, 0 faults
MEASURED:    first-run UI / menu (unattended) | 30.05 fps mean (29.90-30.55) | 60.09 subs/s (1,504 direct/10s) | heaps 4.65 ms/sub, shadows 0.69 ms/sub, geometry 0.14 ms/sub | GPU direct latency 0.74 ms avg (5.8 ms max), 6.5% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s
END:         time limit (90 s)
CACHES:      warm (session + precompiled compute journal) | RUN 2 of 2 (control A)
INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1
VERDICT:     prediction held (MEASURED, n=2)
RUN WIN-AMD-7900XTX-2405-B | 2026-11-29 12:12 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon)
BASE:        791899f65 + #2405 (cf30c0a1f) + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: same main pack (29,280 translated, all spirv-val valid)
MACHINE:     AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D)
RECIPE:      same as A | precompile: copied journal from A (3,757 compute pipelines <2 MiB)
OS/DRIVER:   Windows default TdrDelay (2 s), Resizable BAR off
TARGET:      A/B treatment (main + #2405) | PREDICTED (written before the run): 30.0 fps, 0 faults, no regression vs A
MEASURED:    first-run UI / menu (unattended) | 30.00 fps mean (29.94-30.07) | 60.01 subs/s (1,501 direct/10s) | heaps 4.73 ms/sub, shadows 0.60 ms/sub, geometry 0.13 ms/sub | GPU direct latency 0.71 ms avg (11.2 ms max), 6.1% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s
END:         time limit (90 s)
CACHES:      cold session / copied precompiled compute journal | RUN 1 of 1 (treatment B)
INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1
VERDICT:     prediction held (MEASURED, n=1)
<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255666312 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7255666312). Originally posted by [bobcatchris](https://github.com/bobcatchris) on 2026-11-29T12:14:18Z. --- Native **Windows 11 + AMD Radeon RX 7900 XTX 24 GB** A/B game-run check (`main` `791899f65` vs `main` + `#2405` `cf30c0a1f`), per `#2464`. - **Unit test:** `d3d12_buffer_tiles_test` passed on AMD Radeon RX 7900 XTX (12/12 Vulkan replay tiles across aliased/skipped/unmapped/reused/remapped ranges + 3/3 native D3D12 GPU readbacks). - **Game run (90 s, `first-run UI` / `menu`, unattended):** 0 faults, 0 `VK_ERROR_DEVICE_LOST`, 0 regressions (`30.00 fps` locked, `60.01 subs/s`, GPU direct latency `0.71 ms` avg, `6.1%` busy, VRAM `4,982 MiB` — identical to `main`). ``` RUN WIN-AMD-7900XTX-2405-A | 2026-11-29 05:51 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon) BASE: 791899f65 + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: make_game.py --stages shaders --wave64-emulate off (29,280 translated, all spirv-val valid) MACHINE: AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D) RECIPE: documented ("Linux, Wine, AMD RX 7900 XTX (RADV)" adapted to native Windows) + DEVIATIONS: no LEONIDA_TITLE_WATCHDOG_KICK, no LEONIDA_SKIP_COMPUTE, LEONIDA_ASYNC_MIN_BYTES=2097152, LEONIDA_ASYNC_MIN_BYTES_GRAPHICS=0, LEONIDA_COMPILE_THREADS=12, LEONIDA_COMPILE_HEAVY_MAX=10 | precompile: yes, 3,757 compute pipelines (<2 MiB, --max-bytes 2097151, 0 failed) OS/DRIVER: Windows default TdrDelay (2 s), Resizable BAR off TARGET: A/B control (main) | PREDICTED (written before the run): 30.0 fps, 0 faults MEASURED: first-run UI / menu (unattended) | 30.05 fps mean (29.90-30.55) | 60.09 subs/s (1,504 direct/10s) | heaps 4.65 ms/sub, shadows 0.69 ms/sub, geometry 0.14 ms/sub | GPU direct latency 0.74 ms avg (5.8 ms max), 6.5% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s END: time limit (90 s) CACHES: warm (session + precompiled compute journal) | RUN 2 of 2 (control A) INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1 VERDICT: prediction held (MEASURED, n=2) ``` ``` RUN WIN-AMD-7900XTX-2405-B | 2026-11-29 12:12 UTC | bobcatchris | AI-assisted: Antigravity (Gemini 4 Neon) BASE: 791899f65 + #2405 (cf30c0a1f) + 1-line local MSVC 14.39 fix in runtime/src/crt_timed_wait.cpp:26 (_CRTIMP2_PURE _Thrd_result) | shaders: same main pack (29,280 translated, all spirv-val valid) MACHINE: AMD Radeon RX 7900 XTX, 24 GB, desktop | AMD Windows driver 32.0.32029.2010 | Windows 11 Pro 10.0.26200 | 63.7 GB RAM (Ryzen 7 7800X3D) RECIPE: same as A | precompile: copied journal from A (3,757 compute pipelines <2 MiB) OS/DRIVER: Windows default TdrDelay (2 s), Resizable BAR off TARGET: A/B treatment (main + #2405) | PREDICTED (written before the run): 30.0 fps, 0 faults, no regression vs A MEASURED: first-run UI / menu (unattended) | 30.00 fps mean (29.94-30.07) | 60.01 subs/s (1,501 direct/10s) | heaps 4.73 ms/sub, shadows 0.60 ms/sub, geometry 0.13 ms/sub | GPU direct latency 0.71 ms avg (11.2 ms max), 6.1% busy | 4 gfx / 800 compute pipelines live (0.1 s / 0.2 s) | 4,982 MiB VRAM | 0 faults | duration 90 s END: time limit (90 s) CACHES: cold session / copied precompiled compute journal | RUN 1 of 1 (treatment B) INSTRUMENTS: LEONIDA_DEVICE_FAULT=1, LEONIDA_DEVICE_MARKERS=1, LEONIDA_GPU_LATENCY=1, LEONIDA_MEM_PROBE=30, LEONIDA_TITLE_HUD=1 VERDICT: prediction held (MEASURED, n=1) ```
merzleckeier commented 2026-11-29 12:25:45 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T12:25:45Z.


I reproduced the two fixture gaps from the review above on Linux. Exact head cf30c0a1f merged cleanly with cc0f662a. The unchanged d3d12_buffer_tiles passed 3/3 on each of RTX 4070 SUPER 12 GiB (620.73.04) and AMD Raphael (RADV Mesa 26.3.1), with all 12 Vulkan replay tiles matching each time. CachyOS, Wine 11.22, synthetic inputs. The optional host D3D12 comparison did not run. Host Khronos validation was active and emitted the Wine DMA-BUF extension diagnostic 01387.

  • NVIDIA entered Heap::tiles with 0x02 for A/B/C and reused dedicated type 1. RADV used 0x2d for A/B/C and took arena type 3 starting at A. Restoring current main's heap-policy body also passed on both. As a GPU-backed complement to the CPU check, I locally exposed the extra arena bit to the heap policy only for B/C on NVIDIA after A had taken dedicated type 1. The real Vulkan requirements stayed unchanged. B read the expected pattern with early reuse in 3/3 runs and read zero with only that branch disabled in 3/3 runs.
  • The exact fixture skipped the reserved image on both cards. With a local 256 × 256 RGBA8 texture using D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE, the image reached Heap::tiles on both GPUs. I observed the mapping rejected at the buffer-only heap and B's pattern intact. The local test also moved allocator/list reset after the fence wait, in line with the allocator reset contract.

AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7255805070 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7255805070). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-29T12:25:45Z. --- I reproduced the two fixture gaps from [the review above](https://github.com/ProjectLeonida/mandy/pull/2405#pullrequestreview-6098419096) on Linux. Exact head `cf30c0a1f` merged cleanly with `cc0f662a`. The unchanged `d3d12_buffer_tiles` passed 3/3 on each of RTX 4070 SUPER 12 GiB (620.73.04) and AMD Raphael (RADV Mesa 26.3.1), with all 12 Vulkan replay tiles matching each time. CachyOS, Wine 11.22, synthetic inputs. The optional host D3D12 comparison did not run. Host Khronos validation was active and emitted the Wine DMA-BUF extension diagnostic `01387`. - NVIDIA entered `Heap::tiles` with `0x02` for A/B/C and reused dedicated type 1. RADV used `0x2d` for A/B/C and took arena type 3 starting at A. Restoring current main's heap-policy body also passed on both. As a GPU-backed complement to the CPU check, I locally exposed the extra arena bit to the heap policy only for B/C on NVIDIA after A had taken dedicated type 1. The real Vulkan requirements stayed unchanged. B read the expected pattern with early reuse in 3/3 runs and read zero with only that branch disabled in 3/3 runs. - The exact fixture skipped the reserved image on both cards. With a local 256 × 256 RGBA8 texture using `D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE`, the image reached `Heap::tiles` on both GPUs. I observed the mapping rejected at the buffer-only heap and B's pattern intact. The local test also moved allocator/list reset after the fence wait, in line with [the allocator reset contract](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12commandallocator-reset). AI-assisted with OpenAI Codex.
enlight3d commented 2026-11-29 15:30:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T15:30:51Z.


Run on cf30c0a1f (PR head), merged locally with main 50d09b373. Prep notes by TheGeogeo's review session.

  • Merge: clean (git merge --no-ff pr-2405; auto-merged d3d12_com.h, d3d12_vulkan_device.cpp, d3d12_buffer_tiles_test.cpp). Merged commit f3d6c66cf, local only.
  • Build: cmake -S runtime -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON, then cmake --build build --target d3d12_buffer_tiles_test d3d12_texture_tiles_test d3d12_sparse_queue_family_test gta6rt -j 6.

Green (merged build)

  • ctest -R "^d3d12_buffer_tiles$" --output-on-failure -j1: passed (not skipped; sparse buffer residency is available on this GPU). The run prints "Vulkan replay: 12 full tiles matched across aliased, skipped, unmapped, reused and remapped ranges", "A rejected update left all tile mappings intact" and "Native D3D12 matched all three GPU readbacks".
  • Same run, mixed-mask case: the device mask is 0x2 and excludes the arena bit (type 5), so the mixed mask 0x22 is not a real mixed case here. The image-on-buffer-heap subcase prints "device cannot create a reserved texture; image separation skipped".
  • Neighbouring tile tests on the same code, d3d12_texture_tiles, d3d12_sparse_queue_family, d3d12_sparse_queue_family_contract: 3/3 passed.

Red

  • Non-test changes reverted (d3d12_vulkan_device.cpp and d3d12_com.h to main, test kept): does not build, the test uses the new device_sparse_buffer_memory_types and device_arena_memory_type accessors (C2039/C3861 at test lines 283 and 292). This only shows the test needs the new API.
  • Behavioural red (accessors kept, only the two logic changes in Heap::tiles() put back to main's code): no red on this GPU. d3d12_buffer_tiles still passes with the same output, because the device's sparse mask excludes the arena type, so main's arena path is never taken. The Arc failure from the description (and the open points in timbot103's review about a deterministic mixed-mask case) cannot be reproduced on NVIDIA with this test; I am not claiming a red.

Link: gta6rt.exe of the merged build: no new imports vs main (703 imports, identical lists with dumpbin /imports).

Machine: RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1. One run each.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258148757 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7258148757). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T15:30:51Z. --- Run on `cf30c0a1f` (PR head), merged locally with `main` `50d09b373`. Prep notes by TheGeogeo's review session. - **Merge:** clean (`git merge --no-ff pr-2405`; auto-merged `d3d12_com.h`, `d3d12_vulkan_device.cpp`, `d3d12_buffer_tiles_test.cpp`). Merged commit `f3d6c66cf`, local only. - **Build:** `cmake -S runtime -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLEONIDA_REQUIRE_VULKAN=ON`, then `cmake --build build --target d3d12_buffer_tiles_test d3d12_texture_tiles_test d3d12_sparse_queue_family_test gta6rt -j 6`. **Green (merged build)** - `ctest -R "^d3d12_buffer_tiles$" --output-on-failure -j1`: passed (not skipped; sparse buffer residency is available on this GPU). The run prints "Vulkan replay: 12 full tiles matched across aliased, skipped, unmapped, reused and remapped ranges", "A rejected update left all tile mappings intact" and "Native D3D12 matched all three GPU readbacks". - Same run, mixed-mask case: the device mask is `0x2` and excludes the arena bit (type 5), so the mixed mask `0x22` is not a real mixed case here. The image-on-buffer-heap subcase prints "device cannot create a reserved texture; image separation skipped". - Neighbouring tile tests on the same code, `d3d12_texture_tiles`, `d3d12_sparse_queue_family`, `d3d12_sparse_queue_family_contract`: 3/3 passed. **Red** - Non-test changes reverted (`d3d12_vulkan_device.cpp` and `d3d12_com.h` to `main`, test kept): does not build, the test uses the new `device_sparse_buffer_memory_types` and `device_arena_memory_type` accessors (C2039/C3861 at test lines 283 and 292). This only shows the test needs the new API. - Behavioural red (accessors kept, only the two logic changes in `Heap::tiles()` put back to `main`'s code): **no red on this GPU**. `d3d12_buffer_tiles` still passes with the same output, because the device's sparse mask excludes the arena type, so `main`'s arena path is never taken. The Arc failure from the description (and the open points in timbot103's review about a deterministic mixed-mask case) cannot be reproduced on NVIDIA with this test; I am not claiming a red. **Link:** gta6rt.exe of the merged build: no new imports vs main (703 imports, identical lists with `dumpbin /imports`). **Machine:** RTX 3090 24 GB, NVIDIA 621.40, Windows 11 Pro 10.0.26300, MSVC 19.44, Vulkan SDK 1.4.363.1. One run each. AI-assisted (Claude Code).
pepefroge commented 2026-11-29 15:37:31 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-29T15:37:31Z.


Thanks everyone for the thorough multi-GPU testing!

I've shifted focus to another project (VIctory-Intel-Arc), so feel free to adopt/push those two test-fixture tweaks (D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE + CPU mock mask fixture) directly onto this branch to get it merged."

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258237130 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7258237130). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-29T15:37:31Z. --- Thanks everyone for the thorough multi-GPU testing! I've shifted focus to another project (VIctory-Intel-Arc), so feel free to adopt/push those two test-fixture tweaks (D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE + CPU mock mask fixture) directly onto this branch to get it merged."
lixonik commented 2026-11-29 15:55:03 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-29T15:55:03Z.


@pepefroge I don't have push access to your fork, so I pushed the two requested test-fixture updates to my fork branch lixonik/leonida:review/2405-sparse-heap-fixtures at commit 30e245bd16 (merged with main c22a0a7322, and cleanly mergeable against main 1d3da5ebc7 via git merge-tree):

  • Extracted the pure backing selection helper leonida::sparse_buffer_backing (runtime/src/sparse_buffer_backing.h), called by Heap::tiles() in runtime/shims/d3d12_vulkan_device.cpp, and registered a deterministic CPU CTest d3d12_buffer_tiles_heap_policy (d3d12_buffer_tiles_test --heap-policy) covering the Intel Arc mixed-mask case (0x12 reusing dedicated type 1 instead of rejecting).
  • Updated the image-on-buffer-heap subcase in runtime/test/d3d12_buffer_tiles_test.cpp to use a 2D reserved texture with D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE so it actually reaches Heap::tiles(), asserts the mapping is rejected, and verifies via readback that B's tile remains intact.

Local verification (Windows 10 22H2, MSVC 19.44, RTX 5070, LEONIDA_VK_VALIDATION=1, VK_VALIDATE_SYNC=1):

  • ctest --output-on-failure -R "^d3d12_(buffer_tiles|buffer_tiles_heap_policy|texture_tiles)$": 3/3 passed (d3d12_buffer_tiles printed Mixed mask: an image on the buffer-only heap was refused and B's tile is unchanged, Mixed mask: live buffers reused the same tile, Native D3D12 matched all three GPU readbacks).
  • Red/green on heap_policy: reverting the reuse-before-arena ordering fails on sparse_buffer_backing(0x12, dedicated_type, arena_available, arena_type) == SparseBufferBacking::reuse (red=1, green=0).
  • python -I scripts/check_no_game_data.py on all 4 changed files: passed.

You (or a maintainer) can cherry-pick 30e245bd16 onto this branch directly.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7258470260 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7258470260). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-29T15:55:03Z. --- @pepefroge I don't have push access to your fork, so I pushed the two requested test-fixture updates to my fork branch [`lixonik/leonida:review/2405-sparse-heap-fixtures`](https://github.com/lixonik/leonida/tree/review/2405-sparse-heap-fixtures) at commit [`30e245bd16`](https://github.com/lixonik/leonida/commit/30e245bd16ecfcf1309f89295656668fd90697f4) (merged with `main` `c22a0a7322`, and cleanly mergeable against `main` `1d3da5ebc7` via `git merge-tree`): - Extracted the pure backing selection helper `leonida::sparse_buffer_backing` (`runtime/src/sparse_buffer_backing.h`), called by `Heap::tiles()` in `runtime/shims/d3d12_vulkan_device.cpp`, and registered a deterministic CPU CTest `d3d12_buffer_tiles_heap_policy` (`d3d12_buffer_tiles_test --heap-policy`) covering the Intel Arc mixed-mask case (`0x12` reusing dedicated type 1 instead of rejecting). - Updated the image-on-buffer-heap subcase in `runtime/test/d3d12_buffer_tiles_test.cpp` to use a 2D reserved texture with `D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE` so it actually reaches `Heap::tiles()`, asserts the mapping is rejected, and verifies via readback that B's tile remains intact. Local verification (Windows 10 22H2, MSVC 19.44, RTX 5070, `LEONIDA_VK_VALIDATION=1`, `VK_VALIDATE_SYNC=1`): - `ctest --output-on-failure -R "^d3d12_(buffer_tiles|buffer_tiles_heap_policy|texture_tiles)$"`: 3/3 passed (`d3d12_buffer_tiles` printed `Mixed mask: an image on the buffer-only heap was refused and B's tile is unchanged`, `Mixed mask: live buffers reused the same tile`, `Native D3D12 matched all three GPU readbacks`). - Red/green on `heap_policy`: reverting the reuse-before-arena ordering fails on `sparse_buffer_backing(0x12, dedicated_type, arena_available, arena_type) == SparseBufferBacking::reuse` (`red=1`, `green=0`). - `python -I scripts/check_no_game_data.py` on all 4 changed files: passed. You (or a maintainer) can cherry-pick `30e245bd16` onto this branch directly. AI-assisted.
pepefroge commented 2026-11-29 16:42:03 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-29T16:42:03Z.


@pepefroge I don't have push access to your fork, so I pushed the two requested test-fixture updates to my fork branch lixonik/leonida:review/2405-sparse-heap-fixtures at commit 30e245bd16 (merged with main c22a0a7322, and cleanly mergeable against main 1d3da5ebc7 via git merge-tree):

  • Extracted the pure backing selection helper leonida::sparse_buffer_backing (runtime/src/sparse_buffer_backing.h), called by Heap::tiles() in runtime/shims/d3d12_vulkan_device.cpp, and registered a deterministic CPU CTest d3d12_buffer_tiles_heap_policy (d3d12_buffer_tiles_test --heap-policy) covering the Intel Arc mixed-mask case (0x12 reusing dedicated type 1 instead of rejecting).
  • Updated the image-on-buffer-heap subcase in runtime/test/d3d12_buffer_tiles_test.cpp to use a 2D reserved texture with D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE so it actually reaches Heap::tiles(), asserts the mapping is rejected, and verifies via readback that B's tile remains intact.

Local verification (Windows 11, MSVC 19.44, RTX 5070, LEONIDA_VK_VALIDATION=1, VK_VALIDATE_SYNC=1):

  • ctest --output-on-failure -R "^d3d12_(buffer_tiles|buffer_tiles_heap_policy|texture_tiles)$": 3/3 passed (d3d12_buffer_tiles printed Mixed mask: an image on the buffer-only heap was refused and B's tile is unchanged, Mixed mask: live buffers reused the same tile, Native D3D12 matched all three GPU readbacks).
  • Red/green on heap_policy: reverting the reuse-before-arena ordering fails on sparse_buffer_backing(0x12, dedicated_type, arena_available, arena_type) == SparseBufferBacking::reuse (red=1, green=0).
  • python -I scripts/check_no_game_data.py on all 4 changed files: passed.

You (or a maintainer) can cherry-pick 30e245bd16 onto this branch directly.

AI-assisted (OpenAI Codex / Antigravity, Gemini).

Thanks @lixonik! I no longer have that repo cloned locally, so feel free to open a fresh PR with 30e245bd16 or have a maintainer cherry-pick it directly into main—I'll close this one or leave it to be superseded.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259109211 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7259109211). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-29T16:42:03Z. --- > @pepefroge I don't have push access to your fork, so I pushed the two requested test-fixture updates to my fork branch [`lixonik/leonida:review/2405-sparse-heap-fixtures`](https://github.com/lixonik/leonida/tree/review/2405-sparse-heap-fixtures) at commit [`30e245bd16`](https://github.com/lixonik/leonida/commit/30e245bd16ecfcf1309f89295656668fd90697f4) (merged with `main` `c22a0a7322`, and cleanly mergeable against `main` `1d3da5ebc7` via `git merge-tree`): > > * Extracted the pure backing selection helper `leonida::sparse_buffer_backing` (`runtime/src/sparse_buffer_backing.h`), called by `Heap::tiles()` in `runtime/shims/d3d12_vulkan_device.cpp`, and registered a deterministic CPU CTest `d3d12_buffer_tiles_heap_policy` (`d3d12_buffer_tiles_test --heap-policy`) covering the Intel Arc mixed-mask case (`0x12` reusing dedicated type 1 instead of rejecting). > * Updated the image-on-buffer-heap subcase in `runtime/test/d3d12_buffer_tiles_test.cpp` to use a 2D reserved texture with `D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE` so it actually reaches `Heap::tiles()`, asserts the mapping is rejected, and verifies via readback that B's tile remains intact. > > Local verification (Windows 11, MSVC 19.44, RTX 5070, `LEONIDA_VK_VALIDATION=1`, `VK_VALIDATE_SYNC=1`): > > * `ctest --output-on-failure -R "^d3d12_(buffer_tiles|buffer_tiles_heap_policy|texture_tiles)$"`: 3/3 passed (`d3d12_buffer_tiles` printed `Mixed mask: an image on the buffer-only heap was refused and B's tile is unchanged`, `Mixed mask: live buffers reused the same tile`, `Native D3D12 matched all three GPU readbacks`). > * Red/green on `heap_policy`: reverting the reuse-before-arena ordering fails on `sparse_buffer_backing(0x12, dedicated_type, arena_available, arena_type) == SparseBufferBacking::reuse` (`red=1`, `green=0`). > * `python -I scripts/check_no_game_data.py` on all 4 changed files: passed. > > You (or a maintainer) can cherry-pick `30e245bd16` onto this branch directly. > > AI-assisted (OpenAI Codex / Antigravity, Gemini). Thanks @lixonik! I no longer have that repo cloned locally, so feel free to open a fresh PR with 30e245bd16 or have a maintainer cherry-pick it directly into main—I'll close this one or leave it to be superseded.
lixonik commented 2026-11-29 21:04:38 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by lixonik on 2026-11-29T21:04:38Z.


@pepefroge Thanks for the handoff. The replacement is #2645. It preserves your original commits and Arc verification, includes the two fixture changes, and passes all three focused tests after merging main 7bbc1d22. This PR can now be closed as superseded.

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7262584002 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7262584002). Originally posted by [lixonik](https://github.com/lixonik) on 2026-11-29T21:04:38Z. --- @pepefroge Thanks for the handoff. The replacement is #2645. It preserves your original commits and Arc verification, includes the two fixture changes, and passes all three focused tests after merging `main` `7bbc1d22`. This PR can now be closed as superseded. AI-assisted.
pepefroge commented 2026-11-29 21:07:51 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by pepefroge on 2026-11-29T21:07:51Z.


Closing in favor of #2645, which carries forward the original commits and Intel Arc Pro B60 verification along with the updated test fixtures. Thanks again to @lixonik and everyone who tested and reviewed!

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7262628502 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2405#issuecomment-7262628502). Originally posted by [pepefroge](https://github.com/pepefroge) on 2026-11-29T21:07:51Z. --- Closing in favor of #2645, which carries forward the original commits and Intel Arc Pro B60 verification along with the updated test fixtures. Thanks again to @lixonik and everyone who tested and reviewed!

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
ProjectLeonida/mandy!2405
No description provided.