Repository navigation
Audio: provide a silent spatial endpoint without a playback device - #887
broccolize wants to merge 1 commit into
Conversation
|
Hardware check of Tested
Regression run PR ( Not tested
AI use
|
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. 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 AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
|
Retail check on a PC with no active playback device: #887 removes the 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
The Not tested: the head's own 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. |
|
Test report for Tested
PR ( Both: exit Past the sign-in screen. A further 90 s head run with XCL's scripted press 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 Not tested
AI use |
|
Retail startup check with no active Windows playback endpoint Tested
Not tested — Active playback, 3D world rendering and in-world input. AI use — OpenAI Codex ( |
|
Test on the PC #695 was found on (Windows 10, no active playback device): #887 removes the trap, on today's All render endpoints of this PC are Tested
Not tested
AI use |
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)
|
Thanks for running the original smoke pair, @eizispark. I’ve rebased the silent-audio fix onto If you have time, could you rerun |
Empirical test report (a3b0ea0)Hardware / environment
Commands and results
Observed behavior
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 |
|
Verification on RTX 3060 Ti (Windows 11): merge conflict with current |
|
Test of the rebased candidate Setup
Tested
The peak commits are not comparable, because the Not tested
|
|
The full suite on the same merged tree (
The +3 are the new
|
|
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 |
|
@broccolize here is the pair. It uses the same PC, card and title as my run above, with a playback device active this time (
|
a3b0ea0 to
635f764
Compare
|
Test report for Tested
Regression run (retail title, main: this PR: Not tested
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. |
|
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. |
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
This PR includes the COM routing and renderer together so a volunteer can test the full startup path with one build.
Tested
Clean head
635f76463f9c27942849c7f7216ad24c04264dd7on 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 --workspacepassed.cargo test --locked -p xcl --lib hle::spatial_audio::tests -- --test-threads=1passed all three tests.cargo test --locked --workspace --no-fail-fast -- --test-threads=4reported 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_diskandexecute_indirect_reads_the_arguments_written_before_it, also reproduced in focused runs on upstreamcbc296a.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
mainPR head
Targeted no-playback-device startup
mainat1a0bbe3hit the Retail title 1.0.2.1: assert 0x80000003 at +0x4dcbc9d on the account prompt – a 96 KiB stream full (RTX 4060 Ti 8 GB, Windows 10) #695 breakpoint. A local merge of the rebased candidate onto thatmain(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.mainat47efa2ehit the Retail title 1.0.2.1: assert 0x80000003 at +0x4dcbc9d on the account prompt – a 96 KiB stream full (RTX 4060 Ti 8 GB, Windows 10) #695 breakpoint at 27.6 s. Heada3b0ea0activated the silent renderer, passed that point, and later hit D3D12 device removal0x887a0006at 105.3 s. The runner did not produce a head smoke block for this run. NVIDIA test report1ec4c98hit the same breakpoint at 31.0 s. Heada3b0ea0activated the silent renderer and reached the story-loading artwork. A later BVH address check (D3D12.X: GPU addresses above 2^40 make the title's BVH builder throw ("more than 40b of address set") #585) ended the run at 178.2 s. AMD test reportNot 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.