D3D12.X: XCL_UMA_DRIVER=mixed falls back without GPU_UPLOAD heaps and keeps console buffers in one segment (nvidia-dev) #3006

Merged
Kalmarv merged 6 commits from upstream-pr/3006 into nvidia-dev 2026-11-28 03:47:45 +00:00
Kalmarv commented 2026-11-27 11:50:05 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Kalmarv on 2026-11-27T11:50:05Z.


Stacked on #3005; only the top two commits (39557fa1, 2fc61b64) belong here. Part of #2688. The same fixes as in #2938 on main, found there in review by @CharlyRien, @ettehn and @3L1A5-1.

  • No Resizable BAR: remake_window asks D3D12_OPTIONS16.GPUUploadHeapSupported before the window is released, and without it mixed falls back to the single CUSTOM heap (a warning in the log). A GPU_UPLOAD segment refused anyway becomes a write-watched CUSTOM segment in its place. Before, the rollback after a refusal could not reserve the window again (a mapped segment's pages stay with the driver after its release; Windows error 487) and stopped the process.
  • A console buffer XCL places in the window whose first fit crosses two segments (no one heap holds it) goes to the next fit, and the crossing block is given back; before, it stayed charged to the window.

What is in it

  • uma_driver.rs: gpu_upload_heaps(device), the fallback in remake_window, the refused segment made CUSTOM in place; init_vram_reader skipped when there are no GPU_UPLOAD ranges. Test a_refused_gpu_upload_segment_becomes_custom (a refusal injected after the first CUSTOM segment is mapped: the window stays whole and watched, its bytes kept, the GPU sees later CPU writes; without the fallback the test process exits 0x7C10003). The mixed GPU test skips without GPU_UPLOAD heaps. The two tests that remake a mixed window take one lock (MIXED_REMAKE): side by side, one remake releasing its reserved stretches let the other's segment map elsewhere, and the uma_driver tests stopped the process in 8 of 10 runs with 4 threads (0 of 10 with the lock).
  • real.rs: alloc_in_one_heap holds a crossing block while the next fit is tried (up to 4), then gives the held ones back; used by place_console_buffer. Test a_block_across_two_segments_is_given_back_and_the_next_fit_used.

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (driver 610.74), Ryzen 9 9950X, Windows 11 Pro 26200, Rust 1.99.0 MSVC, debug tests, release smoke; DXC 1.9.2609 via XCL_DXC_DIR.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4 on 2fc61b64 (with CARGO_PROFILE_DEV_DEBUG=0: no debug info, for disk space): 1832 passed, 9 failed, 48 ignored. The same command on nvidia-dev a5e2d851: 1822 passed, 10 failed, 48 ignored.
  • Failed here and on a5e2d851 as well: async_compute_pso_registers_real_pso_and_not_standin, console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly, hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays, hle::d3d12x::texture_upload::tests::pieces_hold_the_texels_of_their_levels, split_compute_prefers_the_offline_whole_pipeline, two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs.
  • Failed here only: hle::d3d12x::vram::tests::gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark.
    • gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark alone, 10 times on 2fc61b64 (cargo test -p xcl --lib gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark): 10 passed, 0 failed.
    • gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark alone, 10 times on a5e2d851 (cargo test -p xcl --lib gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark): 10 passed, 0 failed.
  • 26 SKIPPED: 8 no wave64; 1 f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)); 1 f16 arithmetic, wave64: no wave64; 1 const_mask, wave64: no wave64; 1 f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)); 1 f16 packed, wave64: no wave64; 1 f32 arithmetic, wave64: no wave64; 1 f32 compares, wave64: no wave64; 1 f64, wave64: no wave64; 1 integer arithmetic, wave64: no wave64; 1 f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)); 1 f32 conversions, wave64: no wave64; 1 mask_ff0_flbit, wave64: no wave64; 1 f32 rounding, wave64: no wave64; 1 integer carries, wave64: no wave64; 1 f32 transcendentals, wave64: no wave64; 1 f32 three-source, wave64: no wave64; 1 no heap windows (opt-in: XCL_HEAP_WINDOWS=1); 1 no heap windows.
  • CI: Build and test (Windows, no GPU) is red on nvidia-dev itself and on every PR into it, this one included: the lib test process ends with 0x887a0020 in a sparse test on the runner's software adapter, with no test reported failed. #2837 fixes that test; nothing here touches it.

Regression run
150 s runs, same title, same env (XCL_HEAP_WINDOWS=1 XCL_DIRECT_DXIL=all XCL_DIRECT_SPLIT_INSTRUCTIONS=0 XCL_PSO_JOURNAL=0 XCL_DRED=1 XCL_GPU_WAIT_TIMEOUT_MS=120000, DXC 1.9), no switch of this PR set. The main run from a hard-link copy of our team branch's DXIL cache; the base and head runs from hard-link copies of one cache warmed on nvidia-dev a5e2d851 (on this branch the title starts after about 75-90 s of startup shader preparation, so 60 s would end inside it).

A commit of main (b49be183, the last one before the shader preparation screen of #2555):

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 150
exit: 0x0
frames shown: 1917 (PresentX 1917)
presents per 2 s (last 3): 0 0 2
device removals: 0
crashes: 0
peak commit: 33080 MB

The base, nvidia-dev a5e2d851:

xcl-smoke v1
commit: a5e2d851a503fc0e04609f773ea53f2d2c4e3269
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 150
exit: 0x0
frames shown: 2464 (PresentX 2464)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 34597 MB

This PR's head:

xcl-smoke v1
commit: 2fc61b64076e224c6b8439f07855363f30041f29
gpu: NVIDIA GeForce RTX 5070 Ti
title: ea3b5e4d
seconds: 150
exit: 0x0
frames shown: 2641 (PresentX 2641)
presents per 2 s (last 3): 0 0 0
device removals: 0
crashes: 0
peak commit: 37159 MB

Not tested

  • A real adapter without Resizable BAR (the fallback is tested by an injected refusal only). AMD, Intel, Wine.
  • The remake reserves the process's other free stretches so the driver maps each segment at its place; a thread of the title that frees 64 MB or more of address space during it can still let a segment map elsewhere, which stops the process (as the tests did before the lock). Not seen in title runs; the switch is opt-in.

AI use

  • Claude Code (Claude Opus 5.5) wrote the fixes and tests, ran the suite and the regression runs on the hardware above, and wrote this description.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5526124138 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3006). Originally posted by [Kalmarv](https://github.com/Kalmarv) on 2026-11-27T11:50:05Z. --- Stacked on #3005; only the top two commits (39557fa1, 2fc61b64) belong here. Part of #2688. The same fixes as in #2938 on `main`, found there in review by @CharlyRien, @ettehn and @3L1A5-1. - No Resizable BAR: `remake_window` asks `D3D12_OPTIONS16.GPUUploadHeapSupported` before the window is released, and without it `mixed` falls back to the single CUSTOM heap (a warning in the log). A `GPU_UPLOAD` segment refused anyway becomes a write-watched CUSTOM segment in its place. Before, the rollback after a refusal could not reserve the window again (a mapped segment's pages stay with the driver after its release; Windows error 487) and stopped the process. - A console buffer XCL places in the window whose first fit crosses two segments (no one heap holds it) goes to the next fit, and the crossing block is given back; before, it stayed charged to the window. **What is in it** - `uma_driver.rs`: `gpu_upload_heaps(device)`, the fallback in `remake_window`, the refused segment made CUSTOM in place; `init_vram_reader` skipped when there are no `GPU_UPLOAD` ranges. Test `a_refused_gpu_upload_segment_becomes_custom` (a refusal injected after the first CUSTOM segment is mapped: the window stays whole and watched, its bytes kept, the GPU sees later CPU writes; without the fallback the test process exits 0x7C10003). The mixed GPU test skips without `GPU_UPLOAD` heaps. The two tests that remake a mixed window take one lock (`MIXED_REMAKE`): side by side, one remake releasing its reserved stretches let the other's segment map elsewhere, and the uma_driver tests stopped the process in 8 of 10 runs with 4 threads (0 of 10 with the lock). - `real.rs`: `alloc_in_one_heap` holds a crossing block while the next fit is tried (up to 4), then gives the held ones back; used by `place_console_buffer`. Test `a_block_across_two_segments_is_given_back_and_the_next_fit_used`. **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (driver 610.74), Ryzen 9 9950X, Windows 11 Pro 26200, Rust 1.99.0 MSVC, debug tests, release smoke; DXC 1.9.2609 via `XCL_DXC_DIR`. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4` on 2fc61b64 (with `CARGO_PROFILE_DEV_DEBUG=0`: no debug info, for disk space): 1832 passed, 9 failed, 48 ignored. The same command on `nvidia-dev` `a5e2d851`: 1822 passed, 10 failed, 48 ignored. - Failed here and on `a5e2d851` as well: `async_compute_pso_registers_real_pso_and_not_standin`, `console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly`, `hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays`, `hle::d3d12x::texture_upload::tests::pieces_hold_the_texels_of_their_levels`, `split_compute_prefers_the_offline_whole_pipeline`, `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs`. - Failed here only: `hle::d3d12x::vram::tests::gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark`. - `gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark` alone, 10 times on `2fc61b64` (`cargo test -p xcl --lib gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark`): 10 passed, 0 failed. - `gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark` alone, 10 times on `a5e2d851` (`cargo test -p xcl --lib gpu_retire_queue_holds_heap_until_blocked_queue_passes_mark`): 10 passed, 0 failed. - 26 `SKIPPED`: 8 no wave64; 1 f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's)); 1 f16 arithmetic, wave64: no wave64; 1 const_mask, wave64: no wave64; 1 f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's)); 1 f16 packed, wave64: no wave64; 1 f32 arithmetic, wave64: no wave64; 1 f32 compares, wave64: no wave64; 1 f64, wave64: no wave64; 1 integer arithmetic, wave64: no wave64; 1 f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's)); 1 f32 conversions, wave64: no wave64; 1 mask_ff0_flbit, wave64: no wave64; 1 f32 rounding, wave64: no wave64; 1 integer carries, wave64: no wave64; 1 f32 transcendentals, wave64: no wave64; 1 f32 three-source, wave64: no wave64; 1 no heap windows (opt-in: XCL_HEAP_WINDOWS=1); 1 no heap windows. - CI: `Build and test (Windows, no GPU)` is red on `nvidia-dev` itself and on every PR into it, this one included: the lib test process ends with `0x887a0020` in a sparse test on the runner's software adapter, with no test reported failed. #2837 fixes that test; nothing here touches it. **Regression run** 150 s runs, same title, same env (`XCL_HEAP_WINDOWS=1 XCL_DIRECT_DXIL=all XCL_DIRECT_SPLIT_INSTRUCTIONS=0 XCL_PSO_JOURNAL=0 XCL_DRED=1 XCL_GPU_WAIT_TIMEOUT_MS=120000`, DXC 1.9), no switch of this PR set. The `main` run from a hard-link copy of our team branch's DXIL cache; the base and head runs from hard-link copies of one cache warmed on `nvidia-dev` `a5e2d851` (on this branch the title starts after about 75-90 s of startup shader preparation, so 60 s would end inside it). A commit of `main` (`b49be183`, the last one before the shader preparation screen of #2555): ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 150 exit: 0x0 frames shown: 1917 (PresentX 1917) presents per 2 s (last 3): 0 0 2 device removals: 0 crashes: 0 peak commit: 33080 MB ``` The base, `nvidia-dev` `a5e2d851`: ``` xcl-smoke v1 commit: a5e2d851a503fc0e04609f773ea53f2d2c4e3269 gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 150 exit: 0x0 frames shown: 2464 (PresentX 2464) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 34597 MB ``` This PR's head: ``` xcl-smoke v1 commit: 2fc61b64076e224c6b8439f07855363f30041f29 gpu: NVIDIA GeForce RTX 5070 Ti title: ea3b5e4d seconds: 150 exit: 0x0 frames shown: 2641 (PresentX 2641) presents per 2 s (last 3): 0 0 0 device removals: 0 crashes: 0 peak commit: 37159 MB ``` **Not tested** - A real adapter without Resizable BAR (the fallback is tested by an injected refusal only). AMD, Intel, Wine. - The remake reserves the process's other free stretches so the driver maps each segment at its place; a thread of the title that frees 64 MB or more of address space during it can still let a segment map elsewhere, which stops the process (as the tests did before the lock). Not seen in title runs; the switch is opt-in. **AI use** - Claude Code (Claude Opus 5.5) wrote the fixes and tests, ran the suite and the regression runs on the hardware above, and wrote this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
JJAutoCompare commented 2026-11-27 12:29:29 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-27T12:29:29Z.


Tested

Clean 2fc61b64076e224c6b8439f07855363f30041f29 on Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175 and Rust 1.100.0 MSVC debug. Built with cargo test --locked -p xcl --lib --no-run -j 2. Ran the unit-test executable with --exact --nocapture --test-threads=1.

  • hle::d3d12x::uma_driver::tests::a_refused_gpu_upload_segment_becomes_custom: the injected refusal for the 128 MiB GPU_UPLOAD segment switched it to write-watched CUSTOM and all three native GPU readback values matched.
  • hle::d3d12x::uma_driver::tests::mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment: genuine 64 MiB CUSTOM / 128 MiB GPU_UPLOAD / 64 MiB CUSTOM. GPU readback matched all three CPU writes and the separate VRAM reader matched the middle value.
  • hle::d3d12x::real::uma_heap_tests::a_block_across_two_segments_is_given_back_and_the_next_fit_used passed the CPU allocation and accounting assertions.

Three passed, zero failed, ignored, or skipped. The two GPU runs used XCL_ADAPTER=A770 and separate shared mutex acquisitions. A device-LUID probe confirmed default D3D12 device Arc A770 PCI 8086:56a0 with GPUUploadHeapSupported=1. The test executable hash held before, under, and after the lock.

Not tested

A genuine driver refusal, no-support adapter branch, whole-window fallback, performance, full workspace and retail smoke.

AI use

T3 Code / Codex (gpt-6.2-sol) ran and independently reproduced the checked-in fixtures and wrote this report.

<!-- greyfinch-sync:ivall/xcl:comment:7218304744 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3006#issuecomment-7218304744). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-27T12:29:29Z. --- **Tested** Clean `2fc61b64076e224c6b8439f07855363f30041f29` on Windows 11 build 26200.9974, Ryzen 7 3800X, Intel Arc A770 driver 32.0.101.9175 and Rust 1.100.0 MSVC debug. Built with `cargo test --locked -p xcl --lib --no-run -j 2`. Ran the unit-test executable with `--exact --nocapture --test-threads=1`. - `hle::d3d12x::uma_driver::tests::a_refused_gpu_upload_segment_becomes_custom`: the injected refusal for the 128 MiB GPU_UPLOAD segment switched it to write-watched CUSTOM and all three native GPU readback values matched. - `hle::d3d12x::uma_driver::tests::mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment`: genuine 64 MiB CUSTOM / 128 MiB GPU_UPLOAD / 64 MiB CUSTOM. GPU readback matched all three CPU writes and the separate VRAM reader matched the middle value. - `hle::d3d12x::real::uma_heap_tests::a_block_across_two_segments_is_given_back_and_the_next_fit_used` passed the CPU allocation and accounting assertions. Three passed, zero failed, ignored, or skipped. The two GPU runs used `XCL_ADAPTER=A770` and separate shared mutex acquisitions. A device-LUID probe confirmed default D3D12 device Arc A770 PCI 8086:56a0 with `GPUUploadHeapSupported=1`. The test executable hash held before, under, and after the lock. **Not tested** A genuine driver refusal, no-support adapter branch, whole-window fallback, performance, full workspace and retail smoke. **AI use** T3 Code / Codex (`gpt-6.2-sol`) ran and independently reproduced the checked-in fixtures and wrote this report.
3L1A5-1 commented 2026-11-27 12:35:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by 3L1A5-1 on 2026-11-27T12:35:38Z.


Confirmed on the no-ReBAR card from my #2938 report: mixed now falls back instead of stopping the process. RTX 2060 SUPER 8 GB (driver 617.14, nvidia-smi BAR1 256 MiB), i5-9400F, 16 GB RAM, Windows 11 26300, head 2fc61b64 (merge-base a5e2d851 on nvidia-dev).

Unit tests

  • mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment: now prints SKIPPED no GPU_UPLOAD heaps and passes. On my earlier build of the #2938 stack it terminated the test process (CreateHeap 0x80070057, then Windows error 487 restoring the window).
  • a_refused_gpu_upload_segment_becomes_custom passes, and the whole uma_driver module passes 7/7.

60 s smokes (scripts/smoke.ps1 from this head, same title and environment for both):

XCL_UMA_DRIVER=mixed:1024:1024. The log has D3D12.X: XCL_UMA_DRIVER=mixed: the adapter has no GPU_UPLOAD heaps (Resizable BAR off?), so the coherent window is one CUSTOM heap, followed by the normal driver CUSTOM write-back L0 heap mapped at its address line:

xcl-smoke v1
commit: 2fc61b64076e224c6b8439f07855363f30041f29
gpu: NVIDIA GeForce RTX 2060 SUPER
title: 5c554abc
seconds: 60
exit: 0x0
frames shown: 1057 (PresentX 1057)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16085 MB

XCL_UMA_DRIVER unset (default):

xcl-smoke v1
commit: 2fc61b64076e224c6b8439f07855363f30041f29
gpu: NVIDIA GeForce RTX 2060 SUPER
title: 5c554abc
seconds: 60
exit: 0x0
frames shown: 993 (PresentX 993)
presents per 2 s (last 3): 58 58 60
device removals: 0
crashes: 0
peak commit: 15251 MB

One small thing: a bare XCL_UMA_DRIVER=mixed (no :<start>:<size>) ran as the default without any message (another 60 s run, 1,043 frames, 0 removals/crashes). A one-line warning for a mixed value it can't parse might save someone a confusing test.

AI use: build, tests and smokes by a Claude Code agent (Claude Sonnet 5.5), this note by Claude Code (Claude Opus 5.5).

<!-- greyfinch-sync:ivall/xcl:comment:7218438185 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3006#issuecomment-7218438185). Originally posted by [3L1A5-1](https://github.com/3L1A5-1) on 2026-11-27T12:35:38Z. --- **Confirmed on the no-ReBAR card from my #2938 report: `mixed` now falls back instead of stopping the process.** RTX 2060 SUPER 8 GB (driver 617.14, `nvidia-smi` BAR1 256 MiB), i5-9400F, 16 GB RAM, Windows 11 26300, head `2fc61b64` (merge-base `a5e2d851` on `nvidia-dev`). **Unit tests** - `mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment`: now prints `SKIPPED no GPU_UPLOAD heaps` and passes. On my earlier build of the #2938 stack it terminated the test process (CreateHeap 0x80070057, then Windows error 487 restoring the window). - `a_refused_gpu_upload_segment_becomes_custom` passes, and the whole `uma_driver` module passes 7/7. **60 s smokes** (`scripts/smoke.ps1` from this head, same title and environment for both): `XCL_UMA_DRIVER=mixed:1024:1024`. The log has `D3D12.X: XCL_UMA_DRIVER=mixed: the adapter has no GPU_UPLOAD heaps (Resizable BAR off?), so the coherent window is one CUSTOM heap`, followed by the normal `driver CUSTOM write-back L0 heap mapped at its address` line: ``` xcl-smoke v1 commit: 2fc61b64076e224c6b8439f07855363f30041f29 gpu: NVIDIA GeForce RTX 2060 SUPER title: 5c554abc seconds: 60 exit: 0x0 frames shown: 1057 (PresentX 1057) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16085 MB ``` `XCL_UMA_DRIVER` unset (default): ``` xcl-smoke v1 commit: 2fc61b64076e224c6b8439f07855363f30041f29 gpu: NVIDIA GeForce RTX 2060 SUPER title: 5c554abc seconds: 60 exit: 0x0 frames shown: 993 (PresentX 993) presents per 2 s (last 3): 58 58 60 device removals: 0 crashes: 0 peak commit: 15251 MB ``` One small thing: a bare `XCL_UMA_DRIVER=mixed` (no `:<start>:<size>`) ran as the default without any message (another 60 s run, 1,043 frames, 0 removals/crashes). A one-line warning for a `mixed` value it can't parse might save someone a confusing test. AI use: build, tests and smokes by a Claude Code agent (Claude Sonnet 5.5), this note by Claude Code (Claude Opus 5.5).
thehollowedone commented 2026-11-27 13:08:01 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T13:08:01Z.


Independent RTX 3080 Ti check of clean #3006 head 2fc61b64, paired with its clean #3005 parent b3d63124. Windows 11 build 26300, NVIDIA 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, DXC 1.8.2502.11. Each arm had a separate writable XCL_DXIL_CACHE folder.

  • Head: cargo build --locked --workspace passed.
  • Head: cargo test --locked -p xcl --lib a_refused_gpu_upload_segment_becomes_custom -- --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored, 0 skipped.
  • Head: cargo test --locked -p xcl --lib a_block_across_two_segments_is_given_back_and_the_next_fit_used -- --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored, 0 skipped.
  • Head: cargo test --locked -p xcl --lib mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment -- --nocapture --test-threads=1: 1 passed, 0 failed, 0 ignored, 0 skipped. The two mixed-window GPU fixtures call the default D3D12 device and do not log its adapter LUID.
  • Head: cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --quiet: 1,832 passed, 9 failed, 48 ignored across 42 target invocations; 26 skip notices (21 no native wave64, three refused per-lane cases, two no heap windows).
  • Parent: the identical suite command: 1,830 passed, 9 failed, 48 ignored, with the same 26 skip notices. The seven unique failing test names were identical; there were no head-only failures. The two additional head passes correspond to the new injected-refusal and cross-segment tests. After the parent run replaced shared Cargo artifacts, I cleaned only the xcl package artifacts and recompiled the head before rerunning all three focused filters above.

The #3006 Windows no-GPU CI job terminates after the Basic Render Driver takes a 3 GiB sparse GPU-view test path. The #3005 parent job logs the same reservation and 0x887a0005 device-removal exit, and the tested CI trees have identical sparse.rs. This is a shared branch gate, not a failure first appearing in #3006. #2837 proposes the focused software-adapter test correction; its CI has not yet verified that correction. The new mixed-window tests above pass on this hardware, but the branch still needs a green CI run.

Not tested: paired title smoke, AMD or Intel hardware, a no-ReBAR NVIDIA card, or the exact WARP operation that first removed the CI device.

AI use: Codex (GPT-6.2 Sol) ran the clean-head and parent tests and checked the counts; Codex (GPT-6.2 Sol) independently traced the CI and parent logs.

<!-- greyfinch-sync:ivall/xcl:comment:7219098966 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3006#issuecomment-7219098966). Originally posted by [thehollowedone](https://github.com/thehollowedone) on 2026-11-27T13:08:01Z. --- Independent RTX 3080 Ti check of clean [#3006 head `2fc61b64`](https://github.com/xcl-dev/xcl/commit/2fc61b64076e224c6b8439f07855363f30041f29), paired with its clean [#3005 parent `b3d63124`](https://github.com/xcl-dev/xcl/commit/b3d63124c02176b12d87a40366e2d6c883d9ebdc). Windows 11 build 26300, NVIDIA 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, DXC 1.8.2502.11. Each arm had a separate writable `XCL_DXIL_CACHE` folder. - Head: `cargo build --locked --workspace` passed. - Head: `cargo test --locked -p xcl --lib a_refused_gpu_upload_segment_becomes_custom -- --nocapture --test-threads=1`: **1 passed, 0 failed, 0 ignored, 0 skipped**. - Head: `cargo test --locked -p xcl --lib a_block_across_two_segments_is_given_back_and_the_next_fit_used -- --nocapture --test-threads=1`: **1 passed, 0 failed, 0 ignored, 0 skipped**. - Head: `cargo test --locked -p xcl --lib mixed_window_keeps_its_bytes_and_the_gpu_sees_every_segment -- --nocapture --test-threads=1`: **1 passed, 0 failed, 0 ignored, 0 skipped**. The two mixed-window GPU fixtures call the default D3D12 device and do not log its adapter LUID. - Head: `cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --quiet`: **1,832 passed, 9 failed, 48 ignored** across 42 target invocations; **26 skip notices** (21 no native wave64, three refused per-lane cases, two no heap windows). - Parent: the identical suite command: **1,830 passed, 9 failed, 48 ignored**, with the same 26 skip notices. The seven unique failing test names were identical; there were no head-only failures. The two additional head passes correspond to the new injected-refusal and cross-segment tests. After the parent run replaced shared Cargo artifacts, I cleaned only the `xcl` package artifacts and recompiled the head before rerunning all three focused filters above. The [#3006 Windows no-GPU CI job](https://github.com/xcl-dev/xcl/actions/runs/45993692492/job/140487642080) terminates after the Basic Render Driver takes a 3 GiB sparse GPU-view test path. The [#3005 parent job](https://github.com/xcl-dev/xcl/actions/runs/45993685571/job/140487620303) logs the same reservation and `0x887a0005` device-removal exit, and the tested CI trees have identical `sparse.rs`. This is a shared branch gate, not a failure first appearing in #3006. [#2837](https://github.com/xcl-dev/xcl/pull/2837) proposes the focused software-adapter test correction; its CI has not yet verified that correction. The new mixed-window tests above pass on this hardware, but the branch still needs a green CI run. Not tested: paired title smoke, AMD or Intel hardware, a no-ReBAR NVIDIA card, or the exact WARP operation that first removed the CI device. AI use: Codex (GPT-6.2 Sol) ran the clean-head and parent tests and checked the counts; Codex (GPT-6.2 Sol) independently traced the CI and parent logs.
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!3006
No description provided.