hle/kernelx: write complete XMemVirtualQuery flags #2048

Manually merged
github merged 1 commit from gh-pr/2048/head into gh-pr/2048/base 2026-11-26 05:16:40 +00:00
Owner

@⁠Adika713 on GitHub · 2026-11-25 02:00 UTC · original
Adika713:fix/xmem-virtual-query-flags → main · +73 −6 · 1 files · 1 commits · merged 2026-11-25 10:42 UTC

Part of #1489 (XCL-BT-044).

XMemVirtualQuery wrote only the low u32 of the 16-byte flags field at offset +48 of XMEM_BASIC_INFORMATION, leaving bytes +52..+63 as caller stack garbage. It also reported only CPU readability (bit 0) and never set bit 1 for GPU-accessible coherent UMA or real sparse-VRAM allocations. The field is now zeroed completely before writing the known bits, and bit 1 is set for memory the title can actually reach from the GPU.

Compare: https://github.com/xcl-dev/xcl/compare/main...Adika713:fix/xmem-virtual-query-flags

What is in it

  • crates/xcl/src/hle/kernelx.rs: add write_xmem_flags() to zero all 16 bytes at +48 and write the flags; add xmem_gpu_visible() and set bit 1 for committed coherent UMA and real title sparse-VRAM allocations (not arbitrary PC addresses that merely fall inside the sparse window numerically); set both bits on the committed-window fast path.
  • crates/xcl/src/hle/kernelx.rs: add a regression test for the entire flag field, CPU/GPU visibility, reserved pages, coherent UMA, sparse VRAM, and the committed-window fast path; update the existing fast-path assertion from 1 to 3.

Tested

  • Windows 11 x64; AMD Radeon RX 6950 XT (driver 32.0.21045.29003), AMD Ryzen 5 3600; Rust 1.100.0 MSVC; debug tests, workspace build and release smoke.
  • cargo test -p xcl --lib hle::kernelx::tests::xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored. With the production change temporarily reverted on the same test, it failed with flags [1, 0, 0, 0, 0xCC x 12]; restoring the change made it pass.
  • cargo test -p xcl --lib hle::kernelx::tests::virtual_query_fastpath_covers_committed_coherent_window -- --exact --test-threads=1: 1 passed, 0 failed, 0 ignored.
  • cargo build --workspace --locked: finished successfully (two pre-existing Atomic::fetch_update deprecation warnings).
  • cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1102 passed, 0 failed, 46 ignored, 1 filtered out across all 20 test binaries; xcl lib 1053 passed, 0 failed, 26 ignored, 1 filtered out. All e2e and xg_oracle targets passed.
  • The skipped gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 was rerun on unmodified upstream 8f5fca5bb9ad6e695093d75294ad2cec023bba60 and failed identically at crates/xcl/src/gpu/dxil/fuzz_tests.rs:1171; it is not caused by this change.
  • cargo build --release -p xcl --locked: passed for both aaa093657bd96a146c05c0c1a9b61149fe761453 (main) and this PR's head in separate CARGO_TARGET_DIRs.
  • Real-title regression pair below: same game copy and 60 s title, RX 6950 XT. Both runs exited 0x0 with no device removals or crashes; the PR head showed 464 frames against main's 393 and peak commit 16275 MB against 15910 MB.
  • git diff --check: clean. Head commit 7f0c1a3; smoke main commit aaa0936; original base 8f5fca5.

Regression run

  • main (aaa093657bd96a146c05c0c1a9b61149fe761453, a commit of main):
xcl-smoke v1
commit: aaa093657bd96a146c05c0c1a9b61149fe761453
gpu: AMD Radeon RX 6950 XT
title: retailgame-smoke-copy
seconds: 60
exit: 0x0
frames shown: 393 (PresentX 393)
presents per 2 s (last 3): 37 42 26
device removals: 0
crashes: 0
peak commit: 15910 MB
  • PR head (7f0c1a3bf5e462cabeb9d29a875e3b300b73a247, clean worktree):
xcl-smoke v1
commit: 7f0c1a3bf5e462cabeb9d29a875e3b300b73a247
gpu: AMD Radeon RX 6950 XT
title: retailgame-smoke-copy
seconds: 60
exit: 0x0
frames shown: 464 (PresentX 465)
presents per 2 s (last 3): 30 25 26
device removals: 0
crashes: 0
peak commit: 16275 MB

Both runs used the same game folder and the title label produced by scripts/smoke.ps1 at the PR head, with XCL_NETWORK=0, clean worktrees and release binaries. The title does not call XMemVirtualQuery; see Not tested.

Not tested

  • NVIDIA/Intel adapters, gameplay beyond the 60 s smoke run, and a retail title that directly calls XMemVirtualQuery. The low-level use of the full 16-byte XMEM_BASIC_INFORMATION flags field was reproduced by unit test, not by this smoke title.

AI use

  • OpenCode with Big Pickle (opencode/big-pickle): root-cause analysis, implementation, regression test, test runs, and this description. A human must open the PR under CONTRIBUTING.md.
**@⁠Adika713** on GitHub · 2026-11-25 02:00 UTC · [original](https://github.com/xcl-dev/xcl/pull/2048) `Adika713:fix/xmem-virtual-query-flags` → `main` · +73 −6 · 1 files · 1 commits · merged 2026-11-25 10:42 UTC Part of #1489 (XCL-BT-044). `XMemVirtualQuery` wrote only the low `u32` of the 16-byte flags field at offset +48 of `XMEM_BASIC_INFORMATION`, leaving bytes +52..+63 as caller stack garbage. It also reported only CPU readability (bit 0) and never set bit 1 for GPU-accessible coherent UMA or real sparse-VRAM allocations. The field is now zeroed completely before writing the known bits, and bit 1 is set for memory the title can actually reach from the GPU. Compare: https://github.com/xcl-dev/xcl/compare/main...Adika713:fix/xmem-virtual-query-flags **What is in it** - `crates/xcl/src/hle/kernelx.rs`: add `write_xmem_flags()` to zero all 16 bytes at +48 and write the flags; add `xmem_gpu_visible()` and set bit 1 for committed coherent UMA and real title sparse-VRAM allocations (not arbitrary PC addresses that merely fall inside the sparse window numerically); set both bits on the committed-window fast path. - `crates/xcl/src/hle/kernelx.rs`: add a regression test for the entire flag field, CPU/GPU visibility, reserved pages, coherent UMA, sparse VRAM, and the committed-window fast path; update the existing fast-path assertion from `1` to `3`. **Tested** - Windows 11 x64; AMD Radeon RX 6950 XT (driver 32.0.21045.29003), AMD Ryzen 5 3600; Rust 1.100.0 MSVC; debug tests, workspace build and release smoke. - `cargo test -p xcl --lib hle::kernelx::tests::xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility -- --exact --test-threads=1 --nocapture`: 1 passed, 0 failed, 0 ignored. With the production change temporarily reverted on the same test, it failed with flags `[1, 0, 0, 0, 0xCC x 12]`; restoring the change made it pass. - `cargo test -p xcl --lib hle::kernelx::tests::virtual_query_fastpath_covers_committed_coherent_window -- --exact --test-threads=1`: 1 passed, 0 failed, 0 ignored. - `cargo build --workspace --locked`: finished successfully (two pre-existing `Atomic::fetch_update` deprecation warnings). - `cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: 1102 passed, 0 failed, 46 ignored, 1 filtered out across all 20 test binaries; `xcl` lib 1053 passed, 0 failed, 26 ignored, 1 filtered out. All e2e and `xg_oracle` targets passed. - The skipped `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` was rerun on unmodified upstream `8f5fca5bb9ad6e695093d75294ad2cec023bba60` and failed identically at `crates/xcl/src/gpu/dxil/fuzz_tests.rs:1171`; it is not caused by this change. - `cargo build --release -p xcl --locked`: passed for both `aaa093657bd96a146c05c0c1a9b61149fe761453` (main) and this PR's head in separate `CARGO_TARGET_DIR`s. - Real-title regression pair below: same game copy and 60 s title, RX 6950 XT. Both runs exited `0x0` with no device removals or crashes; the PR head showed 464 frames against main's 393 and peak commit 16275 MB against 15910 MB. - `git diff --check`: clean. Head commit `7f0c1a3`; smoke main commit `aaa0936`; original base `8f5fca5`. **Regression run** - main (`aaa093657bd96a146c05c0c1a9b61149fe761453`, a commit of `main`): ``` xcl-smoke v1 commit: aaa093657bd96a146c05c0c1a9b61149fe761453 gpu: AMD Radeon RX 6950 XT title: retailgame-smoke-copy seconds: 60 exit: 0x0 frames shown: 393 (PresentX 393) presents per 2 s (last 3): 37 42 26 device removals: 0 crashes: 0 peak commit: 15910 MB ``` - PR head (`7f0c1a3bf5e462cabeb9d29a875e3b300b73a247`, clean worktree): ``` xcl-smoke v1 commit: 7f0c1a3bf5e462cabeb9d29a875e3b300b73a247 gpu: AMD Radeon RX 6950 XT title: retailgame-smoke-copy seconds: 60 exit: 0x0 frames shown: 464 (PresentX 465) presents per 2 s (last 3): 30 25 26 device removals: 0 crashes: 0 peak commit: 16275 MB ``` Both runs used the same game folder and the title label produced by `scripts/smoke.ps1` at the PR head, with `XCL_NETWORK=0`, clean worktrees and release binaries. The title does not call `XMemVirtualQuery`; see **Not tested**. **Not tested** - NVIDIA/Intel adapters, gameplay beyond the 60 s smoke run, and a retail title that directly calls `XMemVirtualQuery`. The low-level use of the full 16-byte `XMEM_BASIC_INFORMATION` flags field was reproduced by unit test, not by this smoke title. **AI use** - OpenCode with Big Pickle (opencode/big-pickle): root-cause analysis, implementation, regression test, test runs, and this description. A human must open the PR under `CONTRIBUTING.md`.
XMemVirtualQuery wrote only the low u32 of the 16-byte flags field at +48, leaving the rest as caller stack garbage, and never reported GPU-accessible UMA/sparse-VRAM memory. Zero the whole field and set bit 1 for coherent UMA and real title sparse-VRAM allocations. Add a regression test covering the full field, CPU/GPU visibility, and committed-window behavior.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:16:40 +00:00
github manually merged commit 7f0c1a3bf5 into gh-pr/2048/base 2026-11-26 05:16:40 +00:00
Author
Owner

@⁠raylitebull on GitHub · 2026-11-25 02:04 UTC · original

Code review on 7f0c1a3:

  • write_xmem_flags and xmem_gpu_visible in crates/xcl/src/hle/kernelx.rs cleanly zero the full 16-byte +48 field before writing CPU-readable (bit 0) and UMA/sparse-VRAM GPU-visibility (bit 1) flags, and xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility covers stack, reserved, UMA, and sparse allocations cleanly.
  • Build and test (Windows, no GPU) is currently running.

Remaining before merge:

  1. Fix the failing PR description check.
  2. Confirm Build and test finishes green.
  3. AMD and NVIDIA verification on 7f0c1a3.
**@⁠raylitebull** on GitHub · 2026-11-25 02:04 UTC · [original](https://github.com/xcl-dev/xcl/pull/2048#issuecomment-7150279708) Code review on `7f0c1a3`: - `write_xmem_flags` and `xmem_gpu_visible` in `crates/xcl/src/hle/kernelx.rs` cleanly zero the full 16-byte `+48` field before writing CPU-readable (bit 0) and UMA/sparse-VRAM GPU-visibility (bit 1) flags, and `xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility` covers stack, reserved, UMA, and sparse allocations cleanly. - `Build and test (Windows, no GPU)` is currently running. **Remaining before merge:** 1. Fix the failing `PR description` check. 2. Confirm `Build and test` finishes green. 3. **AMD** and **NVIDIA** verification on `7f0c1a3`.
Author
Owner

@⁠Adika713 on GitHub · 2026-11-25 02:06 UTC · original

Thanks for the review.

Item 2 is resolved: Build and test (Windows, no GPU) finished green on 7f0c1a3 (run 45529876776, job 138922229109).

On item 3, AMD verification was run on the exact PR head 7f0c1a3bf5e462cabeb9d29a875e3b300b73a247:

  • Windows 11 x64, AMD Radeon RX 6950 XT (driver 32.0.21045.29003), AMD Ryzen 5 3600, Rust 1.100.0 MSVC, debug tests.
  • cargo test -p xcl --lib hle::kernelx::tests::xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed. With the production change temporarily removed, the same test failed with flags [1, 0, 0, 0, 0xCC x 12].
  • cargo test -p xcl --lib hle::kernelx::tests::virtual_query_fastpath_covers_committed_coherent_window -- --exact --test-threads=1: 1 passed, 0 failed.
  • cargo build --workspace --locked: passed (two pre-existing Atomic::fetch_update deprecation warnings).
  • cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1102 passed, 0 failed, 46 ignored, 1 filtered out across 20 test binaries; xcl lib 1053 passed, 0 failed, 26 ignored, 1 filtered out; all e2e and xg_oracle targets passed.
  • The skipped gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 fails identically on unmodified upstream 8f5fca5bb9ad6e695093d75294ad2cec023bba60 at crates/xcl/src/gpu/dxil/fuzz_tests.rs:1171, so it is pre-existing and unrelated to this change.
  • git diff --check: clean.

No NVIDIA hardware was available for this branch, so NVIDIA verification is still outstanding.

On item 1, the failing PR description check is the required real-title xcl-smoke comparison for a runtime change. No smoke pair was run for this head, and no result has been fabricated. A maintainer can either have the author supply a valid pair on upstream main and this exact head, or review the diff as test-only and apply the test-only label.

AI use: OpenCode with Big Pickle (opencode/big-pickle) prepared this draft from the full PR thread, gh check reads and the saved local test logs. It has not been posted.

**@⁠Adika713** on GitHub · 2026-11-25 02:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/2048#issuecomment-7150321245) Thanks for the review. Item 2 is resolved: `Build and test (Windows, no GPU)` finished green on `7f0c1a3` (run `45529876776`, job `138922229109`). On item 3, AMD verification was run on the exact PR head `7f0c1a3bf5e462cabeb9d29a875e3b300b73a247`: - Windows 11 x64, AMD Radeon RX 6950 XT (driver 32.0.21045.29003), AMD Ryzen 5 3600, Rust 1.100.0 MSVC, debug tests. - `cargo test -p xcl --lib hle::kernelx::tests::xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility -- --exact --test-threads=1 --nocapture`: 1 passed, 0 failed. With the production change temporarily removed, the same test failed with flags `[1, 0, 0, 0, 0xCC x 12]`. - `cargo test -p xcl --lib hle::kernelx::tests::virtual_query_fastpath_covers_committed_coherent_window -- --exact --test-threads=1`: 1 passed, 0 failed. - `cargo build --workspace --locked`: passed (two pre-existing `Atomic::fetch_update` deprecation warnings). - `cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: 1102 passed, 0 failed, 46 ignored, 1 filtered out across 20 test binaries; `xcl` lib 1053 passed, 0 failed, 26 ignored, 1 filtered out; all e2e and `xg_oracle` targets passed. - The skipped `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` fails identically on unmodified upstream `8f5fca5bb9ad6e695093d75294ad2cec023bba60` at `crates/xcl/src/gpu/dxil/fuzz_tests.rs:1171`, so it is pre-existing and unrelated to this change. - `git diff --check`: clean. No NVIDIA hardware was available for this branch, so NVIDIA verification is still outstanding. On item 1, the failing `PR description` check is the required real-title `xcl-smoke` comparison for a runtime change. No smoke pair was run for this head, and no result has been fabricated. A maintainer can either have the author supply a valid pair on upstream `main` and this exact head, or review the diff as test-only and apply the `test-only` label. AI use: OpenCode with Big Pickle (opencode/big-pickle) prepared this draft from the full PR thread, `gh` check reads and the saved local test logs. It has not been posted.
Author
Owner

@⁠futurepro62 on GitHub · 2026-11-25 03:37 UTC · original

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

Tested

  • NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed.
  • cargo build --workspace, then XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests: 1092 passed, 0 failed, 44 ignored. SKIPPED (no wave64): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu, a_per_lane_2d_or_3d_group_runs_on_the_gpu, coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu, cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu, gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware, the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu.
  • The first run of the whole suite had one failure, hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure (VirtualQuery on the freed data buffer saw MEM_COMMIT (4096), not MEM_FREE). The test reads the state of an address after freeing it, so another test running in parallel can reuse the address. This PR changes only kernelx.rs. The rerun above, with nothing else running, passed it, and so did the AMD run.
  • The new tests ran and passed: xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility.
  • Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, XCL_ADAPTER=radeon), cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1: 1102 passed, 0 failed, 46 ignored. SKIPPED: f16_programs_on_the_gpu (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f16_programs_on_the_gpu (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), f32_programs_on_the_gpu (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • --skip leaves out tests that fail on main cbc296a too, not because of this PR. On NVIDIA: heap_window_out_of_memory_falls_back_to_the_switch_form (#1651), the four gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu tests, const_and_null_mask_operands_agree_with_hlsl_on_the_gpu and mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (follow-up on #1651) fail because runner::skip_test turns their skips into failures under XCL_REQUIRE_GPU=mesh, and gpu::dxil::fuzz_tests seeds 70, 545, 1019 and 1507 fail CreateComputePipelineState with E_OUTOFMEMORY on this card (drivers 616.64 and 621.40). On AMD: fuzz_validate_and_gpu_1 fails on seed 540 (res[833] 0x7 vs CPU 0x6). The AMD run does not set XCL_REQUIRE_GPU.

Not tested

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

AI use

  • Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
**@⁠futurepro62** on GitHub · 2026-11-25 03:37 UTC · [original](https://github.com/xcl-dev/xcl/pull/2048#issuecomment-7152092935) Full-suite run, since this PR has no test report yet. Tested exact head `7f0c1a3` (on its base `8f5fca5`). **Tested** - NVIDIA GeForce RTX 5070 Ti 16 GB (Blackwell, 32-lane waves only, mesh shaders), driver 621.40, Ryzen 7 9800X3D, Windows 11 Home 26300, Rust 1.100.0 MSVC, DXC + dxil.dll 1.9.2602.17 (Windows SDK 10.0.26100), debug, D3D12 debug layer installed. - `cargo build --workspace`, then `XCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4 --skip heap_window_out_of_memory_falls_back_to_the_switch_form --skip gpu::recomp::lower_dxil::tests::f16_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f32_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::integer_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::f64_programs_on_the_gpu --skip gpu::recomp::lower_dxil::tests::const_and_null_mask_operands_agree_with_hlsl_on_the_gpu --skip gpu::recomp::lower_dxil::tests::mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu --skip gpu::dxil::fuzz_tests`: **1092 passed, 0 failed, 44 ignored**. SKIPPED (no wave64): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu`, `a_per_lane_2d_or_3d_group_runs_on_the_gpu`, `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu`, `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu`, `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware`, `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu`. - The first run of the whole suite had one failure, `hle::acphal::tests::xapu_connect_returns_oom_and_cleans_up_on_failure` (`VirtualQuery` on the freed data buffer saw `MEM_COMMIT` (4096), not `MEM_FREE`). The test reads the state of an address after freeing it, so another test running in parallel can reuse the address. This PR changes only `kernelx.rs`. The rerun above, with nothing else running, passed it, and so did the AMD run. - The new tests ran and passed: `xmem_virtual_query_writes_the_whole_flag_field_and_gpu_visibility`. - Same head on the AMD Radeon integrated GPU (iGPU) of the Ryzen 7 9800X3D (RDNA2, `XCL_ADAPTER=radeon`), `cargo test --workspace -- --test-threads=4 --skip gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1`: **1102 passed, 0 failed, 46 ignored**. SKIPPED: `f16_programs_on_the_gpu` (f16 arithmetic, wave32, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 arithmetic, wave64, per-lane form: refused (unsupported V_MUL_F16 (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave32, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f16_programs_on_the_gpu` (f16 packed, wave64, per-lane form: refused (unsupported V_PK_MUL_F16: VOP3 modifiers (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave32, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `f32_programs_on_the_gpu` (f32 conversions, wave64, per-lane form: refused (unsupported V_CVT_F16_F32 (its #1426 semantics differ from the console's))), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `--skip` leaves out tests that fail on main `cbc296a` too, not because of this PR. On NVIDIA: `heap_window_out_of_memory_falls_back_to_the_switch_form` (#1651), the four `gpu::recomp::lower_dxil::tests::*_programs_on_the_gpu` tests, `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` and `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` ([follow-up on #1651](https://git.gtahub.st/github/xcl-dev--xcl/issues/1651)) fail because `runner::skip_test` turns their skips into failures under `XCL_REQUIRE_GPU=mesh`, and `gpu::dxil::fuzz_tests` seeds 70, 545, 1019 and 1507 fail `CreateComputePipelineState` with `E_OUTOFMEMORY` on this card (drivers 616.64 and 621.40). On AMD: `fuzz_validate_and_gpu_1` fails on seed 540 (`res[833]` 0x7 vs CPU 0x6). The AMD run does not set `XCL_REQUIRE_GPU`. **Not tested** - a release build, a game (test run only). **AI use** - Claude Code (Claude Opus 5.5) ran the tests and wrote this report. I checked it before posting.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 04:41 UTC · original

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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 04:41 UTC · [original](https://github.com/xcl-dev/xcl/pull/2048#issuecomment-7153079821) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
This discussion has been locked. Commenting is limited to contributors.
No description provided.