kernelx: catch CPU writes to the views of physical pages, page by page #2294

Open
github-bot wants to merge 3 commits from github-bot/gh-2294 into main AGit
Owner

@⁠adiologydev on GitHub · 2026-11-25 12:45 UTC · original
adiologydev:kernelx/page-guards → main · +800 −11 · 7 files · 3 commits · open

Stacked on #2293; only the top two commits (6602a70, d660e30) belong here. Second part of the plan on #1031.

The upload of title memory to video memory (d3d12x::sparse) and title_textures learn what the CPU wrote from the write watch, and a view of a section cannot be write-watched. This keeps the views of a physical page read-only and catches the first write through any of them, so a write through one view is uploaded at all of them. Nothing watches a view yet.

What is in it

  • 6602a70 crates/xcl/src/hle/kernelx/guards.rs (new): watch(page, view) guards a view; a vectored handler opens a written view and notes its page; take_dirty hands over the 4 KiB pages of every view of each page written and guards them again before their bytes are read; forget, committed (a view the lazy handler committed counts as written). A write to a view not committed yet is left to the lazy handler (claimed here it would fault again for ever – a test calls the handler with that fault). lazy::commit and lazy::ensure call it; both take no lock until a view is watched.
  • d660e30 guards.rs, lazy.rs, vfs_hooks.rs, dstorage.rs, d3d12x/cpu_writes.rs: a kernel call does not fault into the handler, it fails – so guards::open returns Opened, which keeps its views writable until dropped (take_dirty uploads a pinned view without guarding it again), and lazy::ensure returns it to its callers, which hold it across their write. An overlapped ReadFile writes after the call returns: its views stay open until its OVERLAPPED is no longer STATUS_PENDING (read with ReadProcessMemory: the title may free it once done). A retail title reads 271 MB that way into the CPU view of its 24 GB reservation 8.5 s after start. guards::written counts a page written by page number.
  • 8 unit tests in guards.rs, among them 8 threads writing 64 guarded pages at once.

Tested

  • NVIDIA GeForce RTX 5090 32 GB (driver 621.40), AMD Ryzen 9 7950X, 64 GB RAM, Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.9.2609 (XCL_DXC_DIR), debug tests, release runs.
  • cargo test --workspace -- --test-threads=4 on d660e30: 1109 passed, 4 failed, 26 ignored. The 4 failures are gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3 (CreateComputePipelineState → E_OUTOFMEMORY on this card, #1905); main 568e7db fails the same 4 here (1094 passed, 4 failed, 26 ignored). SKIPPED (23, the same on main): 20 need 64-lane waves ("no wave64"), 3 per-lane f16 refusals in lower_dxil::tests::{f16,f32}_programs_on_the_gpu.
  • Parallel runs of cargo test -p xcl --lib kernelx:: repeat existing races that main has too (gpu_visible_fallback_memory_is_write_watched, virtual_free_ex_and_sparse_validation, a_page_whose_move_fails_stays_mapped_where_it_was; 3 failures in 40 runs of main 568e7db).

Regression run
scripts/smoke.ps1 -Game <retail title> -Seconds 60, no input, main first, same machine (each run's xcl.exe built from a clean checkout of its commit):

xcl-smoke v1
commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb
gpu: NVIDIA GeForce RTX 5090
title: 2c508222
seconds: 60
exit: 0x0
frames shown: 1015 (PresentX 1015)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16257 MB
xcl-smoke v1
commit: d660e3070bef6e3ae095393dc134ecd517ab4a35
gpu: NVIDIA GeForce RTX 5090
title: 2c508222
seconds: 60
exit: 0x0
frames shown: 1527 (PresentX 1528)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15776 MB

Not tested

  • AMD and Intel GPUs; Wine / Proton.
  • Nothing watches a view in this PR, so the smoke runs only show it changes nothing; the guards run in the title with #2307.

AI use

  • Claude Code (Claude Opus 5.5): wrote the code, the tests and this description, and made the runs above on this hardware. I read every line of the diff and checked it.
**@⁠adiologydev** on GitHub · 2026-11-25 12:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294) `adiologydev:kernelx/page-guards` → `main` · +800 −11 · 7 files · 3 commits · open Stacked on #2293; only the top two commits (`6602a70`, `d660e30`) belong here. Second part of the plan on #1031. The upload of title memory to video memory (`d3d12x::sparse`) and `title_textures` learn what the CPU wrote from the write watch, and a view of a section cannot be write-watched. This keeps the views of a physical page read-only and catches the first write through any of them, so a write through one view is uploaded at all of them. Nothing watches a view yet. **What is in it** - `6602a70` `crates/xcl/src/hle/kernelx/guards.rs` (new): `watch(page, view)` guards a view; a vectored handler opens a written view and notes its page; `take_dirty` hands over the 4 KiB pages of every view of each page written and guards them again before their bytes are read; `forget`, `committed` (a view the lazy handler committed counts as written). A write to a view not committed yet is left to the lazy handler (claimed here it would fault again for ever – a test calls the handler with that fault). `lazy::commit` and `lazy::ensure` call it; both take no lock until a view is watched. - `d660e30` `guards.rs`, `lazy.rs`, `vfs_hooks.rs`, `dstorage.rs`, `d3d12x/cpu_writes.rs`: a kernel call does not fault into the handler, it fails – so `guards::open` returns `Opened`, which keeps its views writable until dropped (`take_dirty` uploads a pinned view without guarding it again), and `lazy::ensure` returns it to its callers, which hold it across their write. An overlapped `ReadFile` writes after the call returns: its views stay open until its OVERLAPPED is no longer `STATUS_PENDING` (read with `ReadProcessMemory`: the title may free it once done). A retail title reads 271 MB that way into the CPU view of its 24 GB reservation 8.5 s after start. `guards::written` counts a page written by page number. - 8 unit tests in `guards.rs`, among them 8 threads writing 64 guarded pages at once. **Tested** - NVIDIA GeForce RTX 5090 32 GB (driver 621.40), AMD Ryzen 9 7950X, 64 GB RAM, Windows 11 Pro 26200, Rust 1.100.0 MSVC, DXC 1.9.2609 (`XCL_DXC_DIR`), debug tests, release runs. - `cargo test --workspace -- --test-threads=4` on `d660e30`: 1109 passed, 4 failed, 26 ignored. The 4 failures are `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3` (`CreateComputePipelineState` → `E_OUTOFMEMORY` on this card, #1905); `main` 568e7db fails the same 4 here (1094 passed, 4 failed, 26 ignored). SKIPPED (23, the same on `main`): 20 need 64-lane waves ("no wave64"), 3 per-lane f16 refusals in `lower_dxil::tests::{f16,f32}_programs_on_the_gpu`. - Parallel runs of `cargo test -p xcl --lib kernelx::` repeat existing races that `main` has too (`gpu_visible_fallback_memory_is_write_watched`, `virtual_free_ex_and_sparse_validation`, `a_page_whose_move_fails_stays_mapped_where_it_was`; 3 failures in 40 runs of `main` 568e7db). **Regression run** `scripts/smoke.ps1 -Game <retail title> -Seconds 60`, no input, `main` first, same machine (each run's `xcl.exe` built from a clean checkout of its commit): ``` xcl-smoke v1 commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb gpu: NVIDIA GeForce RTX 5090 title: 2c508222 seconds: 60 exit: 0x0 frames shown: 1015 (PresentX 1015) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16257 MB ``` ``` xcl-smoke v1 commit: d660e3070bef6e3ae095393dc134ecd517ab4a35 gpu: NVIDIA GeForce RTX 5090 title: 2c508222 seconds: 60 exit: 0x0 frames shown: 1527 (PresentX 1528) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15776 MB ``` **Not tested** - AMD and Intel GPUs; Wine / Proton. - Nothing watches a view in this PR, so the smoke runs only show it changes nothing; the guards run in the title with #2307. **AI use** - Claude Code (Claude Opus 5.5): wrote the code, the tests and this description, and made the runs above on this hardware. I read every line of the diff and checked it.
On the console a physical page mapped at several addresses is one page. XCL
keeps a page at one address at a time and copies it when the title maps it
elsewhere (`move_away`), so the other addresses go stale; a retail title maps
its streamed pages into a pool, into the CPU view of a 24 GB reservation and
into that reservation's GPU view (#1031).

`kernelx::sections` is the base for real aliasing: a block of physical pages
is one pagefile-backed SEC_RESERVE section, and a page is mapped as a view of
its 64 KiB slice into a placeholder (MapViewOfFile3 with
MEM_REPLACE_PLACEHOLDER). Every view of a slice is the same memory and a page
takes commit once, when it is committed through any view. Unmapping leaves a
placeholder for the next view. Ordinary reserved memory (write-watched if
asked) can replace part of a placeholder and go back to one.

Nothing calls it yet. Measured in a standalone program on Windows 11 26200
over 200 000 pages: map 2.2 us, unmap 2.75 us, commit 0.9 us a page.
GetWriteWatch refuses a range that holds a view (error 87), and one call
cannot span two neighbouring reservations either.
The upload of title memory to video memory (`d3d12x::sparse`) and the
textures kept in step with title memory learn what the CPU wrote from the
write watch, and a view of a section (`kernelx::sections`) cannot be
write-watched: GetWriteWatch refuses any range that holds one.

`kernelx::guards` keeps the views of a physical page read-only. The first
write through any of them faults; a vectored handler makes that view
writable, notes the page and lets the write go on. `take_dirty` hands over
the pages of every view of each page written – a write through one view is
a write to all of them – and guards those views again before their bytes are
read, so a later write is caught again and an earlier one is in what is read.

Kernel calls do not fault into the handler, they fail: `lazy::ensure`, which
XCL already calls before a kernel call or its own code writes title memory,
opens the guards there first and counts the write. A view committed by the
lazy handler is writable and counts as written. Both take no lock until a
view has been watched.

Nothing watches a view yet.
A guarded view of a physical page (`kernelx::guards`) is read-only until it
is written. Code of XCL's own that writes there faults into the guard and
goes on, but a kernel call does not fault: ReadFile into such a view fails.
`lazy::ensure` opened the views first, yet the submit thread's `take_dirty`
could guard them again before the write – between DirectStorage's check of
its destination and the copy, or before the kernel wrote a ReadFile buffer.

`guards::open` now returns `Opened`, which keeps its views writable until it
is dropped; `take_dirty` uploads a pinned view but does not guard it again,
and the end of the write counts as a write. `lazy::ensure` returns it and its
callers hold it across their write: the routed ReadFile for a synchronous
read, and the destination checks of DirectStorage and the CPU-side
bottom-of-pipe writes. An overlapped ReadFile writes after the call returns:
its views stay open until its OVERLAPPED is no longer STATUS_PENDING, which
`take_dirty` reads without faulting (the title may free it once done). A
retail title reads 271 MB that way into the CPU view of its 24 GB
reservation 8.5 s after start.

`guards::written` counts a page as written through all its views when XCL
writes it by page number.

Nothing watches a view yet, so nothing changes without views.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:26:04 +00:00
Author
Owner

@⁠nnonno91 on GitHub · 2026-11-25 14:56 UTC · original

Independent native Windows verification of d660e3070bef6e3ae095393dc134ecd517ab4a35, including a real file read across two guarded pages.

Tested

  • Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, unoptimized profile. CPU-side tests.
  • Ran cargo test --locked -p xcl --lib hle::kernelx::guards -- --nocapture --test-threads=4 in three separate processes. Each gave 8 passed, 0 failed, 0 ignored and no skips. The eight-thread write check and simulated pending-overlapped check passed each time.
  • A temporary test used std::fs::File::read_exact to read a 16-byte file across the boundary of two committed pages while their destination views were held open. A second view of the same pages immediately read back all 16 bytes. After the open guard was dropped and dirty pages were collected, all four views were reported and guarded again. cargo test --locked -p xcl --lib hle::kernelx::guards::tests::local_file_read_across_two_guarded_pages -- --exact --nocapture --test-threads=1 gave 1 passed, 0 failed, 0 ignored and no skips. The temporary test was removed.

Not tested

Real overlapped file I/O, GPU uploads, a retail title, Wine and the full workspace suite.

AI use

OpenAI Codex (GPT-6.2 Sol) added the temporary file-read check, ran the tests and wrote this report.

**@⁠nnonno91** on GitHub · 2026-11-25 14:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294#issuecomment-7166059911) Independent native Windows verification of `d660e3070bef6e3ae095393dc134ecd517ab4a35`, including a real file read across two guarded pages. **Tested** - Windows 11 25H2 build 26200.9974, Ryzen 7 9800X3D, Rust 1.100.0 MSVC, unoptimized profile. CPU-side tests. - Ran `cargo test --locked -p xcl --lib hle::kernelx::guards -- --nocapture --test-threads=4` in three separate processes. Each gave 8 passed, 0 failed, 0 ignored and no skips. The eight-thread write check and simulated pending-overlapped check passed each time. - A temporary test used `std::fs::File::read_exact` to read a 16-byte file across the boundary of two committed pages while their destination views were held open. A second view of the same pages immediately read back all 16 bytes. After the open guard was dropped and dirty pages were collected, all four views were reported and guarded again. `cargo test --locked -p xcl --lib hle::kernelx::guards::tests::local_file_read_across_two_guarded_pages -- --exact --nocapture --test-threads=1` gave 1 passed, 0 failed, 0 ignored and no skips. The temporary test was removed. **Not tested** Real overlapped file I/O, GPU uploads, a retail title, Wine and the full workspace suite. **AI use** OpenAI Codex (GPT-6.2 Sol) added the temporary file-read check, ran the tests and wrote this report.
Author
Owner

@⁠oni-swr on GitHub · 2026-11-25 16:05 UTC · original

amd-win test report for head d660e3070bef6e3ae095393dc134ecd517ab4a35 (exact PR head, not a merge; its merge-base with main is 568e7db7).

Hardware: AMD Radeon RX 7800 XT (driver 32.0.31035.1003), Ryzen 7 5700X3D, Windows 11 26200, Rust 1.100.0, debug for tests, release for the smoke runs.

Focused tests

  • cargo test -p xcl --lib kernelx::guards: 8 passed, 0 failed
  • cargo test -p xcl --lib kernelx::sections: 7 passed, 0 failed
  • cargo test -p xcl --lib kernelx::: 53 passed, 0 failed, 1 ignored

Full suite: cargo build --workspace, then cargo test --workspace --no-fail-fast -- --test-threads=4: 1168 passed, 1 failed, 46 ignored.

  • The failure is gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 (seed 722: res[30] = 0x1, CPU 0x7fffffff). It fails the same way on the merge-base 568e7db7 (1 failed, same seed and message), so it is not caused by this PR.
  • SKIPPED (adapter/semantics, not coverage): f16_programs_on_the_gpu and f32_programs_on_the_gpu (several forms, "unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32"), heap_window_out_of_memory_falls_back_to_the_switch_form ("no heap windows").

Regression run (retail title, 60 s, scripts/smoke.ps1 -Seconds 60, release builds of 568e7db7 and of the PR head; one run each, so run-to-run noise applies). These are not pasted xcl-smoke blocks: the script stamps the checkout's HEAD, and I ran both binaries from one checkout, so I quote the numbers instead.

frames shown presents per 2 s (last 3) device removals crashes peak commit
568e7db7 (main) 1495 60 60 60 0 0 17116 MB
PR head 1433 60 60 60 0 0 16411 MB

PR head is 96 % of main's frames, and its peak commit is 96 % of main's.

Not tested: NVIDIA, wave32-only GPUs, runs longer than 60 s, any title other than the one above. The smoke run reaches the title's world load, and I did not check whether it exercises the new write-watch path specifically.

AI use: this report was run and written by Claude Code (Claude Sonnet 5.5).

**@⁠oni-swr** on GitHub · 2026-11-25 16:05 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294#issuecomment-7167581311) **amd-win test report** for head `d660e3070bef6e3ae095393dc134ecd517ab4a35` (exact PR head, not a merge; its merge-base with `main` is `568e7db7`). Hardware: AMD Radeon RX 7800 XT (driver 32.0.31035.1003), Ryzen 7 5700X3D, Windows 11 26200, Rust 1.100.0, debug for tests, release for the smoke runs. **Focused tests** - `cargo test -p xcl --lib kernelx::guards`: 8 passed, 0 failed - `cargo test -p xcl --lib kernelx::sections`: 7 passed, 0 failed - `cargo test -p xcl --lib kernelx::`: 53 passed, 0 failed, 1 ignored **Full suite**: `cargo build --workspace`, then `cargo test --workspace --no-fail-fast -- --test-threads=4`: 1168 passed, 1 failed, 46 ignored. - The failure is `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` (`seed 722: res[30] = 0x1, CPU 0x7fffffff`). It fails the same way on the merge-base `568e7db7` (1 failed, same seed and message), so it is not caused by this PR. - SKIPPED (adapter/semantics, not coverage): `f16_programs_on_the_gpu` and `f32_programs_on_the_gpu` (several forms, "unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32"), `heap_window_out_of_memory_falls_back_to_the_switch_form` ("no heap windows"). **Regression run** (retail title, 60 s, `scripts/smoke.ps1 -Seconds 60`, release builds of `568e7db7` and of the PR head; one run each, so run-to-run noise applies). These are not pasted `xcl-smoke` blocks: the script stamps the checkout's HEAD, and I ran both binaries from one checkout, so I quote the numbers instead. | | frames shown | presents per 2 s (last 3) | device removals | crashes | peak commit | |---|---|---|---|---|---| | `568e7db7` (main) | 1495 | 60 60 60 | 0 | 0 | 17116 MB | | PR head | 1433 | 60 60 60 | 0 | 0 | 16411 MB | PR head is 96 % of main's frames, and its peak commit is 96 % of main's. **Not tested**: NVIDIA, wave32-only GPUs, runs longer than 60 s, any title other than the one above. The smoke run reaches the title's world load, and I did not check whether it exercises the new write-watch path specifically. **AI use**: this report was run and written by Claude Code (Claude Sonnet 5.5).
Author
Owner

@⁠safesearch77 on GitHub · 2026-11-25 16:30 UTC · original

Reviewed d660e30 (#2294, stacked on #2293) against main (0829441). Clean design using Opened pins for kernel writes where user-mode VEH won't fire — caught two subtle PAGE_READONLY races in the callers when XCL_PAGE_ALIAS=1 is turned on in #2307:

  1. dstorage/parallel.rs NtWriteVirtualMemory race (0x89240009 E_ACCESS_VIOLATION):

    • In dstorage::writable(p, n), let _open = lazy::ensure(p, n); drops Opened before writable returns. That works for serial execute()'s user-mode copy_nonoverlapping, but Pipeline::retire_one (parallel.rs:465, 488) writes file-backed zlib requests via the kernel syscall NtWriteVirtualMemory.
    • If a render thread runs ExecuteCommandLists -> title_textures::refresh_once -> guards::take_dirty between writable(at, n) returning and write_destination(at, ...), take_dirty re-arms PAGE_READONLY on at, causing NtWriteVirtualMemory to fail in the kernel (0x89240009) without invoking guards::handler. Returning Opened from writable and holding it across write_destination closes that window.
  2. d3d12x/cpu_writes.rs silently dropping Write32/64BitValueBottomOfPipeX on re-guarded views:

    • cpu_writes::writable(va, bytes) calls lazy::ensure at enqueue time, but write_now(va, words) (cpu_writes.rs:92-107) and u64_writable_now(va) (cpu_writes.rs:110-126) run later on the xcl-cpu-writes worker after GPU fence completion and check VirtualQuery for PAGE_READWRITE | PAGE_EXECUTE_READWRITE without calling lazy::ensure before executing the atomic store.
    • If take_dirty re-protected the view to PAGE_READONLY while GPU work was in flight, write_now / write_u64_now / max_u64_now see PAGE_READONLY and return early without writing the bottom-of-pipe fence value (never reaching the store that would fault into guards::handler). Holding let _open = lazy::ensure(va, bytes); inside write_now and u64_writable_now fixes this too.

AI use: Antigravity (Gemini 4 Carbon) helped trace Opened lifetimes across dstorage/parallel.rs and cpu_writes.rs; verified against the source by me.

**@⁠safesearch77** on GitHub · 2026-11-25 16:30 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294#issuecomment-7168088864) Reviewed `d660e30` (`#2294`, stacked on `#2293`) against `main` (`0829441`). Clean design using `Opened` pins for kernel writes where user-mode VEH won't fire — caught two subtle `PAGE_READONLY` races in the callers when `XCL_PAGE_ALIAS=1` is turned on in `#2307`: 1. **`dstorage/parallel.rs` `NtWriteVirtualMemory` race (`0x89240009` `E_ACCESS_VIOLATION`):** - In `dstorage::writable(p, n)`, `let _open = lazy::ensure(p, n);` drops `Opened` before `writable` returns. That works for serial `execute()`'s user-mode `copy_nonoverlapping`, **but `Pipeline::retire_one` (`parallel.rs:465, 488`) writes file-backed zlib requests via the kernel syscall `NtWriteVirtualMemory`**. - If a render thread runs `ExecuteCommandLists` -> `title_textures::refresh_once` -> `guards::take_dirty` between `writable(at, n)` returning and `write_destination(at, ...)`, `take_dirty` re-arms `PAGE_READONLY` on `at`, causing `NtWriteVirtualMemory` to fail in the kernel (`0x89240009`) without invoking `guards::handler`. Returning `Opened` from `writable` and holding it across `write_destination` closes that window. 2. **`d3d12x/cpu_writes.rs` silently dropping `Write32/64BitValueBottomOfPipeX` on re-guarded views:** - `cpu_writes::writable(va, bytes)` calls `lazy::ensure` at enqueue time, **but `write_now(va, words)` (`cpu_writes.rs:92-107`) and `u64_writable_now(va)` (`cpu_writes.rs:110-126`) run later on the `xcl-cpu-writes` worker after GPU fence completion and check `VirtualQuery` for `PAGE_READWRITE | PAGE_EXECUTE_READWRITE` *without* calling `lazy::ensure` before executing the atomic store**. - If `take_dirty` re-protected the view to `PAGE_READONLY` while GPU work was in flight, `write_now` / `write_u64_now` / `max_u64_now` see `PAGE_READONLY` and return early without writing the bottom-of-pipe fence value (never reaching the store that would fault into `guards::handler`). Holding `let _open = lazy::ensure(va, bytes);` inside `write_now` and `u64_writable_now` fixes this too. AI use: Antigravity (Gemini 4 Carbon) helped trace `Opened` lifetimes across `dstorage/parallel.rs` and `cpu_writes.rs`; verified against the source by me.
Author
Owner

@⁠upipibi on GitHub · 2026-11-25 17:07 UTC · original

NVIDIA test report for d660e30 (head as is, base 568e7db; stacked on #2293), for #1607's NVIDIA list. RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug, after cargo build --workspace:

  • cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2: 1160 passed, 0 failed, 46 ignored. The end-to-end title tests pass.
  • main 0829441 on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests).
  • Skipped hle::xaudio2, because its tests fail or hang on this machine on main too. The PR doesn't touch it.
  • SKIPPED lines: 25: 20 no wave64 on this card, 3 f16/f32 forms the per-lane path refuses, 1 no heap windows, and 1 PSO measurement that needs Developer Mode to turn the driver cache off.

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

**@⁠upipibi** on GitHub · 2026-11-25 17:07 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294#issuecomment-7169037177) NVIDIA test report for `d660e30` (head as is, base `568e7db`; stacked on #2293), for #1607's NVIDIA list. RTX 3070 8 GB (Ampere, 32-lane waves), driver 616.56, Windows 11, debug, after `cargo build --workspace`: - `cargo test --workspace --no-fail-fast -- --test-threads=4 --skip hle::xaudio2`: **1160 passed, 0 failed, 46 ignored**. The end-to-end title tests pass. - `main` `0829441` on the same machine, same command: 1263 passed, 0 failed, 46 ignored (the PR's base is older, so it has fewer tests). - Skipped `hle::xaudio2`, because its tests fail or hang on this machine on `main` too. The PR doesn't touch it. - SKIPPED lines: 25: 20 `no wave64` on this card, 3 f16/f32 forms the per-lane path refuses, 1 no heap windows, and 1 PSO measurement that needs Developer Mode to turn the driver cache off. AI-assisted (Claude Code, Claude Opus 5.5). Synthetic tests only; no title run.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 17:29 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 17:29 UTC · [original](https://github.com/xcl-dev/xcl/pull/2294#issuecomment-7169587513) 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 pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2294/head:github-bot/gh-2294'
git switch 'github-bot/gh-2294'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2294'
git switch 'github-bot/gh-2294'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2294'
git switch 'github-bot/gh-2294'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2294'
git switch 'main'
git merge --squash 'github-bot/gh-2294'
git switch 'main'
git merge --ff-only 'github-bot/gh-2294'
git switch 'main'
git merge 'github-bot/gh-2294'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.