Audio: provide a silent spatial endpoint without a playback device #887

Open
github-bot wants to merge 1 commit from github-bot/gh-887 into main AGit
Owner

@⁠broccolize on GitHub · 2026-11-24 07:32 UTC · original
broccolize:audio/silent-spatial-endpoint → main · +978 −0 · 7 files · 1 commits · open

Fixes #695. With no active Windows playback device, the issue reporter found that the title stopped draining its audio commands at the account prompt and eventually crashed. This change gives the title a silent spatial audio endpoint when Windows reports zero active playback devices. Reporter’s diagnosis

What is in it

  • Provide a silent endpoint through the title’s Windows audio device discovery. Prefer a real default playback device if one becomes available.
  • Request 48 kHz mono float buffers on a timer and discard the samples.
  • Test COM routing, endpoint selection, and repeated buffer updates, including stopping and restarting the stream.

This PR includes the COM routing and renderer together so a volunteer can test the full startup path with one build.

Tested

Clean head 635f76463f9c27942849c7f7216ad24c04264dd7 on Windows 11 build 26300.9974, Intel Core i5-10300H, NVIDIA GeForce GTX 1650 driver 32.0.16.1714, Rust 1.100.0 MSVC, debug profile.

  • cargo build --locked --workspace passed.
  • cargo test --locked -p xcl --lib hle::spatial_audio::tests -- --test-threads=1 passed all three tests.
  • cargo test --locked --workspace --no-fail-fast -- --test-threads=4 reported 1,155 passed, 2 failed, and 46 ignored, with 25 runtime skip diagnostics. The two failures, console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk and execute_indirect_reads_the_arguments_written_before_it, also reproduced in focused runs on upstream cbc296a.

Regression run

NWProgramming00 ran both clean release builds for 60 seconds with the same retail title and settings on Windows 11 build 26300 and an RTX 5070 Ti with an active HDMI playback device. Both builds showed 862 frames and finished with zero crashes and zero device removals. Smoke reports

Upstream main

xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x0
frames shown: 862 (PresentX 862)
presents per 2 s (last 3): 30 30 30
device removals: 0
crashes: 0
peak commit: 15205 MB

PR head

xcl-smoke v1
commit: 635f76463f9c27942849c7f7216ad24c04264dd7
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x0
frames shown: 862 (PresentX 863)
presents per 2 s (last 3): 11 30 31
device removals: 0
crashes: 0
peak commit: 15186 MB

Targeted no-playback-device startup

  • On an RTX 5070 Ti with all playback devices disconnected, upstream main at 1a0bbe3 hit the #695 breakpoint. A local merge of the rebased candidate onto that main (3449911) activated the silent renderer and completed the 60-second run with 848 frames, zero crashes, and zero device removals. NVIDIA and Radeon workspace tests on the same merge added three passing spatial-audio tests and reproduced the same failures as upstream. Startup report and workspace test report.
  • On an RTX 3080 Ti, upstream main at 47efa2e hit the #695 breakpoint at 27.6 s. Head a3b0ea0 activated the silent renderer, passed that point, and later hit D3D12 device removal 0x887a0006 at 105.3 s. The runner did not produce a head smoke block for this run. NVIDIA test report
  • On an RX 9060 XT, the unmodified base 1ec4c98 hit the same breakpoint at 31.0 s. Head a3b0ea0 activated the silent renderer and reached the story-loading artwork. A later BVH address check (#585) ended the run at 178.2 s. AMD test report

Not tested

Sustained in-world gameplay with the silent endpoint.

AI use

Codex (GPT-6) implemented the fallback and synthetic tests and ran the Windows validation.

**@⁠broccolize** on GitHub · 2026-11-24 07:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/887) `broccolize:audio/silent-spatial-endpoint` → `main` · +978 −0 · 7 files · 1 commits · open Fixes #695. With no active Windows playback device, the issue reporter found that the title stopped draining its audio commands at the account prompt and eventually crashed. This change gives the title a silent spatial audio endpoint when Windows reports zero active playback devices. [Reporter’s diagnosis](https://git.gtahub.st/github/xcl-dev--xcl/issues/695) **What is in it** - Provide a silent endpoint through the title’s Windows audio device discovery. Prefer a real default playback device if one becomes available. - Request 48 kHz mono float buffers on a timer and discard the samples. - Test COM routing, endpoint selection, and repeated buffer updates, including stopping and restarting the stream. This PR includes the COM routing and renderer together so a volunteer can test the full startup path with one build. **Tested** Clean head `635f76463f9c27942849c7f7216ad24c04264dd7` on Windows 11 build 26300.9974, Intel Core i5-10300H, NVIDIA GeForce GTX 1650 driver 32.0.16.1714, Rust 1.100.0 MSVC, debug profile. - `cargo build --locked --workspace` passed. - `cargo test --locked -p xcl --lib hle::spatial_audio::tests -- --test-threads=1` passed all three tests. - `cargo test --locked --workspace --no-fail-fast -- --test-threads=4` reported **1,155 passed, 2 failed, and 46 ignored**, with 25 runtime skip diagnostics. The two failures, `console_mesh_caches_hlsl_compute_pass_in_memory_and_on_disk` and `execute_indirect_reads_the_arguments_written_before_it`, also reproduced in focused runs on upstream `cbc296a`. **Regression run** NWProgramming00 ran both clean release builds for 60 seconds with the same retail title and settings on Windows 11 build 26300 and an RTX 5070 Ti with an active HDMI playback device. Both builds showed 862 frames and finished with zero crashes and zero device removals. [Smoke reports](https://git.gtahub.st/github/xcl-dev--xcl/pulls/887) **Upstream `main`** ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x0 frames shown: 862 (PresentX 862) presents per 2 s (last 3): 30 30 30 device removals: 0 crashes: 0 peak commit: 15205 MB ``` **PR head** ``` xcl-smoke v1 commit: 635f76463f9c27942849c7f7216ad24c04264dd7 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x0 frames shown: 862 (PresentX 863) presents per 2 s (last 3): 11 30 31 device removals: 0 crashes: 0 peak commit: 15186 MB ``` **Targeted no-playback-device startup** - On an RTX 5070 Ti with all playback devices disconnected, upstream `main` at `1a0bbe3` hit the #695 breakpoint. A local merge of the rebased candidate onto that `main` (`3449911`) activated the silent renderer and completed the 60-second run with 848 frames, zero crashes, and zero device removals. NVIDIA and Radeon workspace tests on the same merge added three passing spatial-audio tests and reproduced the same failures as upstream. [Startup report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/887) and [workspace test report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/887). - On an RTX 3080 Ti, upstream `main` at `47efa2e` hit the #695 breakpoint at 27.6 s. Head `a3b0ea0` activated the silent renderer, passed that point, and later hit D3D12 device removal `0x887a0006` at 105.3 s. The runner did not produce a head smoke block for this run. [NVIDIA test report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/887) - On an RX 9060 XT, the unmodified base `1ec4c98` hit the same breakpoint at 31.0 s. Head `a3b0ea0` activated the silent renderer and reached the story-loading artwork. A later BVH address check (#585) ended the run at 178.2 s. [AMD test report](https://git.gtahub.st/github/xcl-dev--xcl/pulls/887) **Not tested** Sustained in-world gameplay with the silent endpoint. **AI use** Codex (GPT-6) implemented the fallback and synthetic tests and ran the Windows validation.
When Windows confirms that no render device is active, offer the title a silent spatial endpoint with timed buffer requests. This lets the title keep submitting audio instead of waiting on a playback device.

Synthetic Windows tests cover COM routing, device selection and streaming, including stopping and restarting the buffer clock.

Assisted-by: Codex (GPT-6)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:35:41 +00:00
Author
Owner

@⁠eizispark on GitHub · 2026-11-24 07:56 UTC · original

Hardware check of a3b0ea0479e683e34bb10a439cb6668e1eff0e34 (verified clean merge with main 1ec4c98): pass.

Tested

  • Hardware: AMD Radeon RX 9070 XT (RDNA4, driver 32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11, rustc 1.100.0 (0ef1bc386 2026-11-09), release + test profile
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 715 passed, 3 failed, 41 ignored (GPU tests skipped on this adapter: none); the 3 failures were the known concurrent --test-threads=4 VRAM contention flake in hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels plus two downstream mutex PoisonError cascades (transitions_apply_when_their_list_is_submitted and d32s8_targets_take_their_own_size_of_video_memory)
  • cargo test -p xcl --lib hle::d3d12x -- --test-threads=1: 114 passed, 0 failed, 1 ignored (GPU tests skipped on this adapter: none)
  • Verified hle::spatial_audio::tests::routes_guest_com_activation_through_the_fallback, hle::spatial_audio::tests::exposes_the_silent_endpoint_only_when_windows_reports_no_render_device, and hle::spatial_audio::tests::renders_repeated_silent_buffers_and_stops_signaling (ok)

Regression run
main (beaa245):

xcl-smoke v1
commit: beaa245ca04e212f064efc7cafcdce104bc5c0a2
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1660 (PresentX 1660)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14862 MB

PR (a3b0ea0):

xcl-smoke v1
commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34
gpu: AMD Radeon RX 9070 XT
title: GTA6.Xbox.v1.0.2.1
seconds: 60
exit: 0x0
frames shown: 1663 (PresentX 1663)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14730 MB

Not tested

  • wave32-only GPUs (NVIDIA / Intel); retail title startup with zero active Windows playback devices (this host has an active playback device); gameplay past the menus

AI use

  • Antigravity (Gemini 4 Carbon) ran the build, test suite, and scripts/smoke.ps1 harness on this machine and formatted this report.
**@⁠eizispark** on GitHub · 2026-11-24 07:56 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7125536536) Hardware check of `a3b0ea0479e683e34bb10a439cb6668e1eff0e34` (verified clean merge with `main` `1ec4c98`): **pass**. **Tested** - Hardware: AMD Radeon RX 9070 XT (RDNA4, driver 32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11, `rustc 1.100.0 (0ef1bc386 2026-11-09)`, release + test profile - `cargo test --workspace --no-fail-fast -- --test-threads=4`: `715 passed, 3 failed, 41 ignored` (GPU tests skipped on this adapter: `none`); the 3 failures were the known concurrent `--test-threads=4` VRAM contention flake in `hle::d3d12x::title_textures::tests::placed_title_textures_share_vram_and_preserve_pixels` plus two downstream mutex `PoisonError` cascades (`transitions_apply_when_their_list_is_submitted` and `d32s8_targets_take_their_own_size_of_video_memory`) - `cargo test -p xcl --lib hle::d3d12x -- --test-threads=1`: `114 passed, 0 failed, 1 ignored` (GPU tests skipped on this adapter: `none`) - Verified `hle::spatial_audio::tests::routes_guest_com_activation_through_the_fallback`, `hle::spatial_audio::tests::exposes_the_silent_endpoint_only_when_windows_reports_no_render_device`, and `hle::spatial_audio::tests::renders_repeated_silent_buffers_and_stops_signaling` (`ok`) **Regression run** `main` (`beaa245`): ``` xcl-smoke v1 commit: beaa245ca04e212f064efc7cafcdce104bc5c0a2 gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1660 (PresentX 1660) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14862 MB ``` PR (`a3b0ea0`): ``` xcl-smoke v1 commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34 gpu: AMD Radeon RX 9070 XT title: GTA6.Xbox.v1.0.2.1 seconds: 60 exit: 0x0 frames shown: 1663 (PresentX 1663) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14730 MB ``` **Not tested** - wave32-only GPUs (NVIDIA / Intel); retail title startup with zero active Windows playback devices (this host has an active playback device); gameplay past the menus **AI use** - Antigravity (Gemini 4 Carbon) ran the build, test suite, and `scripts/smoke.ps1` harness on this machine and formatted this report.
Author
Owner

@⁠SlopTart on GitHub · 2026-11-24 09:34 UTC · original

Linux / AMD RDNA3 datapoint.

Merged state: head a3b0ea0 onto main 077ce40, clean merge.

Full suite, cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 708 passed, 11 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). silent spatial endpoint green; mirror-upload flake hit.

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.

**@⁠SlopTart** on GitHub · 2026-11-24 09:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7127593553) Linux / AMD RDNA3 datapoint. **Merged state:** head `a3b0ea0` onto main `077ce40`, clean merge. **Full suite, `cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4`:** **708 passed, 11 failed, 41 ignored**; failures are the known Wine-lane set from my #42 rows plus this rig's title-textures flake family (see #718). silent spatial endpoint green; mirror-upload flake hit. **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
Author
Owner

@⁠vladbondarenko97 on GitHub · 2026-11-24 13:03 UTC · original

Retail check on a PC with no active playback device: #887 removes the +0x4dcbc9d trap.

Setup: RTX 3080 Ti 12 GB (driver 32.0.16.1060, 32-lane waves), i7-12700KF, 32 GB RAM, Windows 11 Pro 26300, rustc 1.100.0, release. Retail 1.0.2.1 (package hashes verified). This PC has no active render endpoint: speakers and HDMI audio are all Unknown in Get-PnpDevice -Class AudioEndpoint, which is the #695 case. Runs are scripts/smoke.ps1 -Seconds 600 with XCL_PSO_WAIT_MS=50 and XCL_PRESS_AT walking the first-run menus.

build audio end
main 47efa2e (none) 0x80000003 at game_scarlett_master.exe+0x4dcbc9d, 27.6 s (rax=0x17fb0 rbx=0x50 rsi=0x6c0 — the same registers as #695)
#887 head a3b0ea0 spatial audio: using XCL's silent renderer (5.1 s, again at 67.5 s) no trap; menus at 30 fps (60 presents / 2 s), DirectStorage loads at 66 s, then D3D12 device removed: 0x887a0006 at 105.3 s

main's block:

xcl-smoke v1
commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3
gpu: NVIDIA GeForce RTX 3080 Ti
title: GTA6.Xbox.v1.0.2.1
seconds: 600
exit: 0x80000003
frames shown: none logged (the run did not reach its end)
presents per 2 s (last 3): 60 60 47
device removals: 0
crashes: 2
peak commit: 14725 MB

The 0x887a0006 later in the #887 run is the NVIDIA world-path hang tracked in #505/#846. I don't read it as coming from this PR: the head is based on 1ec4c98, which predates the BCPack unpack (#905), and the log shows BCPack … unsupported before it. Our earlier runs on this machine with a VEH workaround for the trap reached the same stage.

Not tested: the head's own xcl-smoke block (my runner died after the run, before smoke.ps1 printed it; the numbers above are from that run's xcl.log). A PC with a playback device, AMD. I'm now running main + #887 merged and will add both blocks.

For anyone with the same trap: our #723 is this issue. The "game thread stream" I named there is the per-thread audio command stream that #695 explains.

AI use: Claude Code (Claude Opus 5.5) built and ran the test on my machine, read the logs and drafted this comment; I reviewed it.

**@⁠vladbondarenko97** on GitHub · 2026-11-24 13:03 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7132280693) **Retail check on a PC with no active playback device: #887 removes the `+0x4dcbc9d` trap.** **Setup:** RTX 3080 Ti 12 GB (driver 32.0.16.1060, 32-lane waves), i7-12700KF, 32 GB RAM, Windows 11 Pro 26300, rustc 1.100.0, release. Retail 1.0.2.1 (package hashes verified). This PC has **no active render endpoint**: speakers and HDMI audio are all `Unknown` in `Get-PnpDevice -Class AudioEndpoint`, which is the #695 case. Runs are `scripts/smoke.ps1 -Seconds 600` with `XCL_PSO_WAIT_MS=50` and `XCL_PRESS_AT` walking the first-run menus. | build | audio | end | |---|---|---| | `main` `47efa2e` | (none) | `0x80000003` at `game_scarlett_master.exe+0x4dcbc9d`, **27.6 s** (rax=0x17fb0 rbx=0x50 rsi=0x6c0 — the same registers as #695) | | #887 head `a3b0ea0` | `spatial audio: using XCL's silent renderer` (5.1 s, again at 67.5 s) | **no trap**; menus at 30 fps (60 presents / 2 s), DirectStorage loads at 66 s, then `D3D12 device removed: 0x887a0006` at 105.3 s | `main`'s block: ``` xcl-smoke v1 commit: 47efa2ecea0a12934719ae69b81930cf02a4b1c3 gpu: NVIDIA GeForce RTX 3080 Ti title: GTA6.Xbox.v1.0.2.1 seconds: 600 exit: 0x80000003 frames shown: none logged (the run did not reach its end) presents per 2 s (last 3): 60 60 47 device removals: 0 crashes: 2 peak commit: 14725 MB ``` The `0x887a0006` later in the #887 run is the NVIDIA world-path hang tracked in #505/#846. I don't read it as coming from this PR: the head is based on `1ec4c98`, which predates the BCPack unpack (#905), and the log shows `BCPack … unsupported` before it. Our earlier runs on this machine with a VEH workaround for the trap reached the same stage. **Not tested:** the head's own `xcl-smoke` block (my runner died after the run, before `smoke.ps1` printed it; the numbers above are from that run's `xcl.log`). A PC *with* a playback device, AMD. I'm now running `main` + #887 merged and will add both blocks. For anyone with the same trap: our #723 is this issue. The "game thread stream" I named there is the per-thread audio command stream that #695 explains. *AI use: Claude Code (Claude Opus 5.5) built and ran the test on my machine, read the logs and drafted this comment; I reviewed it.*
Author
Owner

@⁠iggyvilla on GitHub · 2026-11-24 13:04 UTC · original

Test report for a3b0ea0479e683e34bb10a439cb6668e1eff0e34 on an AMD RDNA2 card that has an active playback device: the 90 s smoke.ps1 pair the draft asks for, plus a check of what the title does after its sign-in screen. The smoke blocks were generated by scripts/smoke.ps1 and pasted unedited; the runs were measured by an agent (omp, DeepSeek V4.1 Flash), the text below was verified against the raw logs and written by Claude Code (Claude Sonnet 5.5).

Tested

  • AMD Radeon RX 6650 XT (RDNA2, 8 GB), driver 32.0.21045.29003; Ryzen 7 5700X, 32 GB; Windows 11 build 26300; rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC, release.
  • a3b0ea0 is one commit on 1ec4c98cda119432a4b3f205e146fba2d6f8379a (git merge-base confirms it), so the base below is the PR's own merge base, built in a separate clean worktree. cargo build --locked --release -p xcl in both.
  • The retail title, XCL_NETWORK=0. A 30 s warm-up on the base (672 frames, exit 0x0), then head and base at -Seconds 90, in that order.
  • This host has active playback devices (Digital Audio (S/PDIF) and 1 - Mi Monitor (AMD High Definition Audio Device)), so the silent endpoint is not selected: none of the head or base logs contains spatial audio: using XCL's silent renderer. The pair therefore only shows that routing the guest's CoCreateInstance through the new shim changes nothing on a host that has a device.
  • cargo test --release -p xcl --lib spatial_audio -- --test-threads=4 on the head: 3 passed, 0 failed, 695 filtered out (the three new tests).

main (1ec4c98):

xcl-smoke v1
commit: 1ec4c98cda119432a4b3f205e146fba2d6f8379a
gpu: AMD Radeon RX 6650 XT
title: retail
seconds: 90
exit: 0x0
frames shown: 2466 (PresentX 2466)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15156 MB

PR (a3b0ea0):

xcl-smoke v1
commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34
gpu: AMD Radeon RX 6650 XT
title: retail
seconds: 90
exit: 0x0
frames shown: 2469 (PresentX 2469)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15287 MB

Both: exit 0x0, no device removal, no crash; the PR shows 100.1 % of main's frames and 100.9 % of its peak commit. The standard harness sends no input, so both runs stop at the title's sign-in screen (a blank screen with the hints PLAYER1 (A), ACCOUNT PICKER (Y), SCREEN NARRATION (X)) at about 30 fps; the log shows XUserAddAsync(options=0x1) → local offline user 'Player1' at 6.9 s.

Past the sign-in screen. A further 90 s head run with XCL's scripted press XCL_PRESS_A_AT=45 (log: GameInput: gamepad buttons 0x4 pressed for the first time at 45.003 s) leaves the sign-in screen and shows the game's onboarding screen (NAVIGATION EXPERIENCE, CONTINUE (A), 29.5 FPS) at 85 s, with no crash and no device removal:

xcl-smoke v1
commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34
gpu: AMD Radeon RX 6650 XT
title: retail
seconds: 90
exit: 0x0
frames shown: 2468 (PresentX 2469)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15692 MB

Two earlier attempts at sending input from outside the process (a window-level key press and a held press) were not used as evidence; both ran 90 s with exit 0x0 and no crash.

Not tested

  • The path the PR adds: zero active playback devices. This machine has playback devices and none was disabled, so the silent endpoint, the timer-driven stream and the stop/drop path were not exercised by a retail run, only by the three synthetic tests above. The author reports 718 passed / 0 failed / 41 ignored; another report on this PR ran 715 / 3 / 41 with three failures it attributes to a VRAM-contention flake.
  • No full cargo test --workspace on this card; no base run with the scripted A press (the PR does not touch input); nothing past onboarding; no wave32-only host; no other title.
  • main has moved since; it was not merged into this head or run.

AI use
Claude Code, Claude Sonnet 5.5: checked the numbers above against the raw smoke files, logs and screenshots and wrote this text. The builds and runs were done by an agent (omp with DeepSeek V4.1 Flash); no code was changed.

**@⁠iggyvilla** on GitHub · 2026-11-24 13:04 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7132312813) Test report for `a3b0ea0479e683e34bb10a439cb6668e1eff0e34` on an AMD RDNA2 card that has an active playback device: the 90 s `smoke.ps1` pair the draft asks for, plus a check of what the title does after its sign-in screen. The smoke blocks were generated by `scripts/smoke.ps1` and pasted unedited; the runs were measured by an agent (omp, DeepSeek V4.1 Flash), the text below was verified against the raw logs and written by Claude Code (Claude Sonnet 5.5). **Tested** - AMD Radeon RX 6650 XT (RDNA2, 8 GB), driver 32.0.21045.29003; Ryzen 7 5700X, 32 GB; Windows 11 build 26300; rustc 1.100.0 (`0ef1bc386 2026-11-09`), MSVC, release. - `a3b0ea0` is one commit on `1ec4c98cda119432a4b3f205e146fba2d6f8379a` (`git merge-base` confirms it), so the base below is the PR's own merge base, built in a separate clean worktree. `cargo build --locked --release -p xcl` in both. - The retail title, `XCL_NETWORK=0`. A 30 s warm-up on the base (672 frames, exit `0x0`), then head and base at `-Seconds 90`, in that order. - This host has active playback devices (`Digital Audio (S/PDIF)` and `1 - Mi Monitor (AMD High Definition Audio Device)`), so the silent endpoint is **not** selected: none of the head or base logs contains `spatial audio: using XCL's silent renderer`. The pair therefore only shows that routing the guest's `CoCreateInstance` through the new shim changes nothing on a host that has a device. - `cargo test --release -p xcl --lib spatial_audio -- --test-threads=4` on the head: 3 passed, 0 failed, 695 filtered out (the three new tests). `main` (`1ec4c98`): ``` xcl-smoke v1 commit: 1ec4c98cda119432a4b3f205e146fba2d6f8379a gpu: AMD Radeon RX 6650 XT title: retail seconds: 90 exit: 0x0 frames shown: 2466 (PresentX 2466) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15156 MB ``` PR (`a3b0ea0`): ``` xcl-smoke v1 commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34 gpu: AMD Radeon RX 6650 XT title: retail seconds: 90 exit: 0x0 frames shown: 2469 (PresentX 2469) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15287 MB ``` Both: exit `0x0`, no device removal, no crash; the PR shows 100.1 % of main's frames and 100.9 % of its peak commit. The standard harness sends no input, so both runs stop at the title's sign-in screen (a blank screen with the hints `PLAYER1 (A)`, `ACCOUNT PICKER (Y)`, `SCREEN NARRATION (X)`) at about 30 fps; the log shows `XUserAddAsync(options=0x1) → local offline user 'Player1'` at 6.9 s. **Past the sign-in screen.** A further 90 s head run with XCL's scripted press `XCL_PRESS_A_AT=45` (log: `GameInput: gamepad buttons 0x4 pressed for the first time` at 45.003 s) leaves the sign-in screen and shows the game's onboarding screen (`NAVIGATION EXPERIENCE`, CONTINUE (A), 29.5 FPS) at 85 s, with no crash and no device removal: ``` xcl-smoke v1 commit: a3b0ea0479e683e34bb10a439cb6668e1eff0e34 gpu: AMD Radeon RX 6650 XT title: retail seconds: 90 exit: 0x0 frames shown: 2468 (PresentX 2469) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15692 MB ``` Two earlier attempts at sending input from outside the process (a window-level key press and a held press) were not used as evidence; both ran 90 s with exit `0x0` and no crash. **Not tested** - The path the PR adds: zero active playback devices. This machine has playback devices and none was disabled, so the silent endpoint, the timer-driven stream and the stop/drop path were not exercised by a retail run, only by the three synthetic tests above. The author reports 718 passed / 0 failed / 41 ignored; another report on this PR ran 715 / 3 / 41 with three failures it attributes to a VRAM-contention flake. - No full `cargo test --workspace` on this card; no base run with the scripted A press (the PR does not touch input); nothing past onboarding; no wave32-only host; no other title. - `main` has moved since; it was not merged into this head or run. **AI use** Claude Code, Claude Sonnet 5.5: checked the numbers above against the raw smoke files, logs and screenshots and wrote this text. The builds and runs were done by an agent (omp with DeepSeek V4.1 Flash); no code was changed.
Author
Owner

@⁠deepdev237 on GitHub · 2026-11-24 14:45 UTC · original

Retail startup check with no active Windows playback endpoint

Tested

  • AMD Radeon RX 9060 XT (RDNA4, driver 32.0.32015.7029), Ryzen 9 5950X, Windows 11 build 26300, Rust 1.100.0 MSVC, release.
  • Clean #887 head a3b0ea0479e683e34bb10a439cb6668e1eff0e34 against its unmodified base 1ec4c98cda119432a4b3f205e146fba2d6f8379a. Both used xcl.exe run "<retail-title>" with XCL_NETWORK=0, XCL_RUN_SECONDS=320, a warm DXIL cache and the same disposable profile and scripted A sequence starting at 44 s.
  • Base hit the #695 breakpoint 0x80000003 at +0x4dcbc9d at 31.000 s. #887 logged the silent renderer at 4.04 s and 65.50 s, registered the first scripted A at 44.02 s and reached story-loading artwork. A separate BVH address check (#585) ended that run at 178.244 s. The launcher exited after 189.21 s.
  • Re-ran the recorded release lib-test binary with hle::spatial_audio::tests --nocapture --test-threads=1: 3 passed, 0 failed, 0 ignored.

Not tested — Active playback, 3D world rendering and in-world input.

AI use — OpenAI Codex (gpt-6.2-sol) ran the tests, checked the local receipts and wrote this report.

**@⁠deepdev237** on GitHub · 2026-11-24 14:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7134909658) **Retail startup check with no active Windows playback endpoint** **Tested** - AMD Radeon RX 9060 XT (RDNA4, driver `32.0.32015.7029`), Ryzen 9 5950X, Windows 11 build 26300, Rust 1.100.0 MSVC, release. - Clean #887 head `a3b0ea0479e683e34bb10a439cb6668e1eff0e34` against its unmodified base `1ec4c98cda119432a4b3f205e146fba2d6f8379a`. Both used `xcl.exe run "<retail-title>"` with `XCL_NETWORK=0`, `XCL_RUN_SECONDS=320`, a warm DXIL cache and the same disposable profile and scripted A sequence starting at 44 s. - Base hit the #695 breakpoint `0x80000003` at `+0x4dcbc9d` at 31.000 s. #887 logged the silent renderer at 4.04 s and 65.50 s, registered the first scripted A at 44.02 s and reached story-loading artwork. A separate BVH address check (#585) ended that run at 178.244 s. The launcher exited after 189.21 s. - Re-ran the recorded release lib-test binary with `hle::spatial_audio::tests --nocapture --test-threads=1`: **3 passed, 0 failed, 0 ignored**. **Not tested** — Active playback, 3D world rendering and in-world input. **AI use** — OpenAI Codex (`gpt-6.2-sol`) ran the tests, checked the local receipts and wrote this report.
Author
Owner

@⁠Placebola on GitHub · 2026-11-24 19:34 UTC · original

Test on the PC #695 was found on (Windows 10, no active playback device): #887 removes the trap, on today's main too.

All render endpoints of this PC are Unknown in Get-PnpDevice -Class AudioEndpoint, as in #695. It is the first Windows 10 run in this thread.

Tested

  • RTX 4060 Ti 8 GB (driver 32.0.16.1664), i7-7700, 32 GB RAM, Windows 10 Home 22H2 (19045.6466) with the Agility SDK 1.620.2 (XCL_D3D12_DIR), rustc 1.100.0, release. Retail 1.0.2.1.
  • Head a3b0ea0 merged onto main c160d86: no conflicts. 4f4fe32 is that local merge commit, the one in the second block.
  • cargo test --release --workspace -- --test-threads=4 on 4f4fe32: 861 passed, 0 failed, 42 ignored, the three spatial_audio tests among them. SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • scripts/smoke.ps1 -Game <title> -Seconds 120, no input:
    • main c160d86: 0x80000003 at +0x4dcbc9d at 30.4 s, as in #695;
    • with #887: spatial audio: using XCL's silent renderer from 5.5 s (11 times, the last at 14.1 s), then the whole 120 s with no crash.

main:

xcl-smoke v1
commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0
gpu: NVIDIA GeForce RTX 4060 Ti
title: Game
seconds: 120
exit: 0x80000003
frames shown: none logged (the run did not reach its end)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 2
peak commit: 14709 MB

a3b0ea0 on main:

xcl-smoke v1
commit: 4f4fe3211eb5b2d30220556e78629625702634a1
gpu: NVIDIA GeForce RTX 4060 Ti
title: Game
seconds: 120
exit: 0x0
frames shown: 3204 (PresentX 3204)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14701 MB

Not tested

  • Past the first-run menus (no input was sent).
  • This PC with an active playback device (the reports above cover that case), and a debug build.

AI use
Claude Code (Claude Opus 5.5) did the builds, the test run and the two runs, and wrote this report.

**@⁠Placebola** on GitHub · 2026-11-24 19:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7142284484) **Test on the PC #695 was found on (Windows 10, no active playback device): #887 removes the trap, on today's `main` too.** All render endpoints of this PC are `Unknown` in `Get-PnpDevice -Class AudioEndpoint`, as in #695. It is the first Windows 10 run in this thread. **Tested** - RTX 4060 Ti 8 GB (driver 32.0.16.1664), i7-7700, 32 GB RAM, Windows 10 Home 22H2 (19045.6466) with the Agility SDK 1.620.2 (`XCL_D3D12_DIR`), rustc 1.100.0, release. Retail 1.0.2.1. - Head `a3b0ea0` merged onto `main` `c160d86`: no conflicts. `4f4fe32` is that local merge commit, the one in the second block. - `cargo test --release --workspace -- --test-threads=4` on `4f4fe32`: **861 passed, 0 failed, 42 ignored**, the three `spatial_audio` tests among them. SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `scripts/smoke.ps1 -Game <title> -Seconds 120`, no input: - `main` `c160d86`: `0x80000003` at `+0x4dcbc9d` at 30.4 s, as in #695; - with #887: `spatial audio: using XCL's silent renderer` from 5.5 s (11 times, the last at 14.1 s), then the whole 120 s with no crash. `main`: ``` xcl-smoke v1 commit: c160d86ef2efe3a07e4dfb473e4fa72eafb413c0 gpu: NVIDIA GeForce RTX 4060 Ti title: Game seconds: 120 exit: 0x80000003 frames shown: none logged (the run did not reach its end) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 2 peak commit: 14709 MB ``` `a3b0ea0` on `main`: ``` xcl-smoke v1 commit: 4f4fe3211eb5b2d30220556e78629625702634a1 gpu: NVIDIA GeForce RTX 4060 Ti title: Game seconds: 120 exit: 0x0 frames shown: 3204 (PresentX 3204) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14701 MB ``` **Not tested** - Past the first-run menus (no input was sent). - This PC with an active playback device (the reports above cover that case), and a debug build. **AI use** Claude Code (Claude Opus 5.5) did the builds, the test run and the two runs, and wrote this report.
Author
Owner

@⁠broccolize on GitHub · 2026-11-25 03:59 UTC · original

Thanks for running the original smoke pair, @⁠eizispark. I’ve rebased the silent-audio fix onto cbc296ab65a2661a61e3e2da109134bcd5319f60 and published the candidate at 635f76463f9c27942849c7f7216ad24c04264dd7.

If you have time, could you rerun scripts/smoke.ps1 -Seconds 60 on clean builds of those two commits with the same title and active playback device as before, then paste both unedited xcl-smoke blocks here? That gives me the reports for the exact commit I plan to push to #887.

**@⁠broccolize** on GitHub · 2026-11-25 03:59 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7152431585) Thanks for running the original smoke pair, @⁠eizispark. I’ve rebased the silent-audio fix onto `cbc296ab65a2661a61e3e2da109134bcd5319f60` and published the [candidate at `635f76463f9c27942849c7f7216ad24c04264dd7`](https://github.com/broccolize/xcl/commit/635f76463f9c27942849c7f7216ad24c04264dd7). If you have time, could you rerun `scripts/smoke.ps1 -Seconds 60` on clean builds of those two commits with the same title and active playback device as before, then paste both unedited `xcl-smoke` blocks here? That gives me the reports for the exact commit I plan to push to #887.
Author
Owner

@⁠JJAutoCompare on GitHub · 2026-11-25 05:38 UTC · original

Empirical test report (a3b0ea04)

Hardware / environment

  • STOR-WINLAB, Windows x64 build 26200, AMD64 Family 23 Model 113 Stepping 0 (12 logical processors).
  • Rust 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), DXC 1.9.2609.5 (01b62ad47). The test profile was unoptimized, with debug info and incremental compilation disabled.
  • The focused run used XCL_ADAPTER=NONE_CPU_ONLY and RUST_TEST_NOCAPTURE=1. Both commands ran outside Invoke-ArcTest.ps1 without holding the Arc GPU mutex.

Commands and results

  • cargo test --workspace --no-run exited 0 and built the workspace test binaries.
  • cargo test -p xcl --lib hle::spatial_audio::tests:: -- --nocapture exited 0. The log contains 3 passed, 0 failed, 0 ignored, and 0 SKIPPED lines. The filter excluded 695 tests.
  • Both commands emitted a deprecation warning for AtomicU32::fetch_update in the XGameRuntime module.

Observed behavior

  • The routing test resolved guest CoCreateInstance through the spatial-audio hook for the Windows COM libraries and preserved the native CoUninitialize lookup.
  • With a synthetic Windows endpoint enumerator, the fallback supplied an active render endpoint when the render count was zero and preserved the capture endpoint. The mock host render endpoint took precedence when the test marked it active, and a failed render query kept the original enumerator.
  • The synthetic spatial client acquired and wrote four 480-frame buffers and logged that it was using XCL's silent renderer. After stopping the stream, the test observed no buffer event during a 35 ms wait. A buffer event arrived after reset and restart.

Not tested

The full GPU workspace suite and game smoke runs were omitted. The endpoint-selection test used a synthetic enumerator, so the run did not exercise native Windows endpoint discovery or physical playback.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr887-focused.log and published.

**@⁠JJAutoCompare** on GitHub · 2026-11-25 05:38 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7153995320) ### Empirical test report (a3b0ea04) **Hardware / environment** - STOR-WINLAB, Windows x64 build 26200, AMD64 Family 23 Model 113 Stepping 0 (12 logical processors). - Rust 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc), DXC 1.9.2609.5 (01b62ad47). The test profile was unoptimized, with debug info and incremental compilation disabled. - The focused run used `XCL_ADAPTER=NONE_CPU_ONLY` and `RUST_TEST_NOCAPTURE=1`. Both commands ran outside `Invoke-ArcTest.ps1` without holding the Arc GPU mutex. **Commands and results** - `cargo test --workspace --no-run` exited 0 and built the workspace test binaries. - `cargo test -p xcl --lib hle::spatial_audio::tests:: -- --nocapture` exited 0. The log contains 3 passed, 0 failed, 0 ignored, and 0 `SKIPPED` lines. The filter excluded 695 tests. - Both commands emitted a deprecation warning for `AtomicU32::fetch_update` in the XGameRuntime module. **Observed behavior** - The routing test resolved guest `CoCreateInstance` through the spatial-audio hook for the Windows COM libraries and preserved the native `CoUninitialize` lookup. - With a synthetic Windows endpoint enumerator, the fallback supplied an active render endpoint when the render count was zero and preserved the capture endpoint. The mock host render endpoint took precedence when the test marked it active, and a failed render query kept the original enumerator. - The synthetic spatial client acquired and wrote four 480-frame buffers and logged that it was using XCL's silent renderer. After stopping the stream, the test observed no buffer event during a 35 ms wait. A buffer event arrived after reset and restart. **Not tested** The full GPU workspace suite and game smoke runs were omitted. The endpoint-selection test used a synthetic enumerator, so the run did not exercise native Windows endpoint discovery or physical playback. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr887-focused.log` and published.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 09:52 UTC · original

Verification on RTX 3060 Ti (Windows 11): merge conflict with current main — needs a rebase before it can be tested.

**@⁠DavidM1911** on GitHub · 2026-11-25 09:52 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7158917060) Verification on RTX 3060 Ti (Windows 11): **merge conflict with current `main`** — needs a rebase before it can be tested.
Author
Owner

@⁠NWProgramming00 on GitHub · 2026-11-25 13:58 UTC · original

Test of the rebased candidate 635f764 on a PC with no active playback device, on current main.

Setup

  • Windows 11 (26300), NVIDIA GeForce RTX 5070 Ti 16 GB, Rust 1.100 MSVC, release. Retail 1.0.2.1, XCL_NETWORK=0.
  • Get-PnpDevice -Class AudioEndpoint: all four render endpoints Unknown (monitor HDMI audio and two headsets, disconnected), 0 OK.
  • 635f764 merges cleanly onto main 1a0bbe3 (merge commit 3449911, local only).

Tested

  • cargo test --release -p xcl --lib spatial_audio on the merged tree: 3 passed, 0 failed.
  • scripts/smoke.ps1 -Seconds 60, same title and card. On main every run on this PC ends with the #695 assert. With 635f764 merged, the log has spatial audio: using XCL's silent renderer at 5.5 s, and the run reaches its end with no trap:

main 1a0bbe3:

xcl-smoke v1
commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x80000003
frames shown: none logged (the run did not reach its end)
presents per 2 s (last 3): 0 0 1
device removals: 0
crashes: 2
peak commit: 12603 MB

main + 635f764 (3449911):

xcl-smoke v1
commit: 34499112fc7bad2d203d21a40511ca4434ed36a7
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x0
frames shown: 848 (PresentX 849)
presents per 2 s (last 3): 27 26 26
device removals: 0
crashes: 0
peak commit: 16997 MB

The peak commits are not comparable, because the main run stops at about 44 s.

Not tested

  • The full workspace suite on the merged tree.
  • The Radeon iGPU.
  • A run with a playback device active.
  • Runs longer than 60 s.
**@⁠NWProgramming00** on GitHub · 2026-11-25 13:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7164561382) Test of the rebased candidate `635f764` on a PC with **no active playback device**, on current `main`. **Setup** - Windows 11 (26300), NVIDIA GeForce RTX 5070 Ti 16 GB, Rust 1.100 MSVC, release. Retail 1.0.2.1, `XCL_NETWORK=0`. - `Get-PnpDevice -Class AudioEndpoint`: all four render endpoints `Unknown` (monitor HDMI audio and two headsets, disconnected), 0 `OK`. - `635f764` merges cleanly onto `main` `1a0bbe3` (merge commit `3449911`, local only). **Tested** - `cargo test --release -p xcl --lib spatial_audio` on the merged tree: 3 passed, 0 failed. - `scripts/smoke.ps1 -Seconds 60`, same title and card. On `main` every run on this PC ends with the #695 assert. With `635f764` merged, the log has `spatial audio: using XCL's silent renderer` at 5.5 s, and the run reaches its end with no trap: `main` `1a0bbe3`: ``` xcl-smoke v1 commit: 1a0bbe3a2ba91ea8f5b6fc29130a053868d3c9e6 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x80000003 frames shown: none logged (the run did not reach its end) presents per 2 s (last 3): 0 0 1 device removals: 0 crashes: 2 peak commit: 12603 MB ``` `main` + `635f764` (`3449911`): ``` xcl-smoke v1 commit: 34499112fc7bad2d203d21a40511ca4434ed36a7 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x0 frames shown: 848 (PresentX 849) presents per 2 s (last 3): 27 26 26 device removals: 0 crashes: 0 peak commit: 16997 MB ``` The peak commits are not comparable, because the `main` run stops at about 44 s. **Not tested** - The full workspace suite on the merged tree. - The Radeon iGPU. - A run with a playback device active. - Runs longer than 60 s.
Author
Owner

@⁠NWProgramming00 on GitHub · 2026-11-25 14:00 UTC · original

The full suite on the same merged tree (3449911 = main 1a0bbe3 + 635f764), against 1a0bbe3 on the same machine. Both runs used cargo build --release --workspace, then cargo test --release --workspace --no-fail-fast -- --test-threads=4, with and without XCL_DIRECT_DXIL=all:

Adapter Mode main 1a0bbe3 + 635f764
RTX 5070 Ti default 1246 passed, 4 failed, 46 ignored 1249 passed, 4 failed, 46 ignored
RTX 5070 Ti XCL_DIRECT_DXIL=all 1245 passed, 5 failed, 46 ignored 1248 passed, 5 failed, 46 ignored
Radeon gfx1036 default 1249 passed, 1 failed, 46 ignored 1252 passed, 1 failed, 46 ignored
Radeon gfx1036 XCL_DIRECT_DXIL=all 1248 passed, 2 failed, 46 ignored 1251 passed, 2 failed, 46 ignored

The +3 are the new spatial_audio tests. The same tests fail on both sides, and all of them are tracked:

  • fuzz_validate_and_gpu_0..3 on NVIDIA (#1905);
  • fuzz_validate_and_gpu_1 on RDNA2 (#2115);
  • offline_compute_pipeline_is_reused_by_a_second_process with direct DXIL (#1674).
**@⁠NWProgramming00** on GitHub · 2026-11-25 14:00 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7164622409) The full suite on the same merged tree (`3449911` = `main` `1a0bbe3` + `635f764`), against `1a0bbe3` on the same machine. Both runs used `cargo build --release --workspace`, then `cargo test --release --workspace --no-fail-fast -- --test-threads=4`, with and without `XCL_DIRECT_DXIL=all`: | Adapter | Mode | `main` `1a0bbe3` | + `635f764` | |---|---|---|---| | RTX 5070 Ti | default | 1246 passed, 4 failed, 46 ignored | 1249 passed, 4 failed, 46 ignored | | RTX 5070 Ti | `XCL_DIRECT_DXIL=all` | 1245 passed, 5 failed, 46 ignored | 1248 passed, 5 failed, 46 ignored | | Radeon gfx1036 | default | 1249 passed, 1 failed, 46 ignored | 1252 passed, 1 failed, 46 ignored | | Radeon gfx1036 | `XCL_DIRECT_DXIL=all` | 1248 passed, 2 failed, 46 ignored | 1251 passed, 2 failed, 46 ignored | The +3 are the new `spatial_audio` tests. The same tests fail on both sides, and all of them are tracked: - `fuzz_validate_and_gpu_0..3` on NVIDIA (#1905); - `fuzz_validate_and_gpu_1` on RDNA2 (#2115); - `offline_compute_pipeline_is_reused_by_a_second_process` with direct DXIL (#1674).
Author
Owner

@⁠broccolize on GitHub · 2026-11-25 14:18 UTC · original

Thanks @⁠NWProgramming00. Your run confirms the fix clears the #695 crash with no active playback device.

If you can connect or enable a playback device, could you run a 60-second smoke pair on clean main at cbc296a and the exact staged commit 635f764? Please use the same title and settings for both runs and share both unedited xcl-smoke blocks. The exact commit matters for GitHub’s check.

**@⁠broccolize** on GitHub · 2026-11-25 14:18 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7165082091) Thanks @⁠NWProgramming00. Your run confirms the fix clears the #695 crash with no active playback device. If you can connect or enable a playback device, could you run a 60-second smoke pair on clean `main` at `cbc296a` and the exact staged commit `635f764`? Please use the same title and settings for both runs and share both unedited `xcl-smoke` blocks. The exact commit matters for GitHub’s check.
Author
Owner

@⁠NWProgramming00 on GitHub · 2026-11-25 14:24 UTC · original

@⁠broccolize here is the pair. It uses the same PC, card and title as my run above, with a playback device active this time (Get-PnpDevice -Class AudioEndpoint: monitor HDMI audio OK). Both are clean builds of the exact commits: scripts/smoke.ps1 -Seconds 60, XCL_NETWORK=0, release. The blocks are unedited.

main cbc296a:

xcl-smoke v1
commit: cbc296ab65a2661a61e3e2da109134bcd5319f60
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x0
frames shown: 862 (PresentX 862)
presents per 2 s (last 3): 30 30 30
device removals: 0
crashes: 0
peak commit: 15205 MB

635f764:

xcl-smoke v1
commit: 635f76463f9c27942849c7f7216ad24c04264dd7
gpu: NVIDIA GeForce RTX 5070 Ti
title: title-a
seconds: 60
exit: 0x0
frames shown: 862 (PresentX 863)
presents per 2 s (last 3): 11 30 31
device removals: 0
crashes: 0
peak commit: 15186 MB
**@⁠NWProgramming00** on GitHub · 2026-11-25 14:24 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7165242205) @⁠broccolize here is the pair. It uses the same PC, card and title as my run above, with a playback device active this time (`Get-PnpDevice -Class AudioEndpoint`: monitor HDMI audio `OK`). Both are clean builds of the exact commits: `scripts/smoke.ps1 -Seconds 60`, `XCL_NETWORK=0`, release. The blocks are unedited. `main` `cbc296a`: ``` xcl-smoke v1 commit: cbc296ab65a2661a61e3e2da109134bcd5319f60 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x0 frames shown: 862 (PresentX 862) presents per 2 s (last 3): 30 30 30 device removals: 0 crashes: 0 peak commit: 15205 MB ``` `635f764`: ``` xcl-smoke v1 commit: 635f76463f9c27942849c7f7216ad24c04264dd7 gpu: NVIDIA GeForce RTX 5070 Ti title: title-a seconds: 60 exit: 0x0 frames shown: 862 (PresentX 863) presents per 2 s (last 3): 11 30 31 device removals: 0 crashes: 0 peak commit: 15186 MB ```
Author
Owner

@⁠S1m0ne1997 on GitHub · 2026-11-25 14:58 UTC · original

Test report for 635f76463f9c27942849c7f7216ad24c04264dd7 (this PR's head), for #1607.

Tested

  • NVIDIA GeForce RTX 4090 24 GB (driver 621.40), AMD Ryzen 9 9950X3D, 47 GB RAM, Windows 11 Home 10.0.26300, rustc 1.100.0 (0ef1bc386 2026-11-09) x86_64-pc-windows-msvc, debug.
  • cargo build --workspace, then cargo test --workspace -- --test-threads=4 at the head: 1157 passed, 0 failed, 46 ignored.
  • SKIPPED (15): a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu (no wave64), coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu (no wave64), cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu (no wave64), the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu (no wave64), a_per_lane_2d_or_3d_group_runs_on_the_gpu (no wave64), const_and_null_mask_operands_agree_with_hlsl_on_the_gpu (const_mask, wave64: no wave64), 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 arithmetic, wave64: no wave64), f32_programs_on_the_gpu (f32 arithmetic, wave64: no wave64; f32 compares, wave64: no wave64), f64_programs_on_the_gpu (f64, wave64: no wave64), integer_programs_on_the_gpu (integer arithmetic, wave64: no wave64; integer carries, wave64: no wave64), mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu (mask_ff0_flbit, wave64: no wave64), gpu_geometry_wave32_prefix_count_over_a_mask (no wave64), gpu_wave32_program_in_wave64_hardware (no wave64), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (cannot disable the driver cache (Windows Developer Mode is required): L'applicazione ha richiesto un'operazione che dipende da un componente SDK mancante o non corrispondente. (0x887A002D)).

Regression run (retail title, scripts/smoke.ps1 -Seconds 60, release; main built from the commit in its block, this PR from its head with no changes to crates/, both run with the scripts/smoke.ps1 of main, which hashes the name of the game folder)

main:

xcl-smoke v1
commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324
gpu: NVIDIA GeForce RTX 4090
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1599 (PresentX 1599)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 16384 MB

this PR:

xcl-smoke v1
commit: 635f76463f9c27942849c7f7216ad24c04264dd7
gpu: NVIDIA GeForce RTX 4090
title: 9cc6a39e
seconds: 60
exit: 0x0
frames shown: 1549 (PresentX 1549)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 17641 MB

Not tested

  • AMD, other NVIDIA cards and drivers, Linux. I did not review the diff; this report is the build, the suite and the regression run only.

AI use: Claude Code with Claude Opus 5.5 ran the build, the suite and the regression run and wrote this report at my request.

**@⁠S1m0ne1997** on GitHub · 2026-11-25 14:58 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7166117609) Test report for `635f76463f9c27942849c7f7216ad24c04264dd7` (this PR's head), for #1607. **Tested** - NVIDIA GeForce RTX 4090 24 GB (driver 621.40), AMD Ryzen 9 9950X3D, 47 GB RAM, Windows 11 Home 10.0.26300, `rustc 1.100.0 (0ef1bc386 2026-11-09)` `x86_64-pc-windows-msvc`, debug. - `cargo build --workspace`, then `cargo test --workspace -- --test-threads=4` at the head: **1157 passed, 0 failed, 46 ignored**. - SKIPPED (15): `a_2d_or_3d_group_agrees_with_the_hlsl_path_on_the_gpu` (no wave64), `coalesced_guarded_runs_agree_with_the_hlsl_path_on_the_gpu` (no wave64), `cross_lane_reads_agree_with_the_hlsl_path_on_the_gpu` (no wave64), `the_wave64_lowering_agrees_with_the_hlsl_path_on_the_gpu` (no wave64), `a_per_lane_2d_or_3d_group_runs_on_the_gpu` (no wave64), `const_and_null_mask_operands_agree_with_hlsl_on_the_gpu` (const_mask, wave64: no wave64), `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 arithmetic, wave64: no wave64), `f32_programs_on_the_gpu` (f32 arithmetic, wave64: no wave64; f32 compares, wave64: no wave64), `f64_programs_on_the_gpu` (f64, wave64: no wave64), `integer_programs_on_the_gpu` (integer arithmetic, wave64: no wave64; integer carries, wave64: no wave64), `mask_ff0_and_flbit_agree_with_hlsl_on_the_gpu` (mask_ff0_flbit, wave64: no wave64), `gpu_geometry_wave32_prefix_count_over_a_mask` (no wave64), `gpu_wave32_program_in_wave64_hardware` (no wave64), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (cannot disable the driver cache (Windows Developer Mode is required): L'applicazione ha richiesto un'operazione che dipende da un componente SDK mancante o non corrispondente. (0x887A002D)). **Regression run** (retail title, `scripts/smoke.ps1 -Seconds 60`, release; `main` built from the commit in its block, this PR from its head with no changes to `crates/`, both run with the `scripts/smoke.ps1` of `main`, which hashes the name of the game folder) main: ``` xcl-smoke v1 commit: 06c9f5505f63f10c5ec49ef932d75b2c28177324 gpu: NVIDIA GeForce RTX 4090 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1599 (PresentX 1599) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 16384 MB ``` this PR: ``` xcl-smoke v1 commit: 635f76463f9c27942849c7f7216ad24c04264dd7 gpu: NVIDIA GeForce RTX 4090 title: 9cc6a39e seconds: 60 exit: 0x0 frames shown: 1549 (PresentX 1549) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 17641 MB ``` **Not tested** - AMD, other NVIDIA cards and drivers, Linux. I did not review the diff; this report is the build, the suite and the regression run only. *AI use: Claude Code with Claude Opus 5.5 ran the build, the suite and the regression run and wrote this report at my request.*
Author
Owner

@⁠throny on GitHub · 2026-11-25 16:35 UTC · original

Two contributors checked independently and found that #1233 solves the same problem (for #695) in a different way: #1607, group D83. You may want to compare them with the other author and agree on one, or say in the PR why both are needed.

This is a hint from the community triage in #1607, not a maintainer decision.

AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.

**@⁠throny** on GitHub · 2026-11-25 16:35 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7168220217) <!-- xcl-1607-hint:D83 --> Two contributors checked independently and found that #1233 solves the same problem (for #695) in a different way: #1607, group D83. You may want to compare them with the other author and agree on one, or say in the PR why both are needed. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table.
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 03:11 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 03:11 UTC · [original](https://github.com/xcl-dev/xcl/pull/887#issuecomment-7181475157) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
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/887/head:github-bot/gh-887'
git switch 'github-bot/gh-887'

Merge

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