Repository navigation
Audio: provide a silent spatial endpoint without a playback device - #887
broccolize wants to merge 1 commit into
Conversation
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)
|
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 |
|
Thanks for running the original smoke pair, @eizispark. I’ve rebased the silent-audio fix onto If you have time, could you rerun |
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
a3b0ea0479e683e34bb10a439cb6668e1eff0e34, based on upstreammainat1ec4c98cda119432a4b3f205e146fba2d6f8379a. Windows 11 build 26300, 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 --workspace -- --test-threads=4 --show-outputreported 718 passed, 0 failed, 41 ignored. All three new spatial audio tests passed.mklink /Jwas unavailable.Regression run
eizispark’s retail title smoke reports were run for 60 seconds on Windows 11 with an AMD Radeon RX 9070 XT and an active playback device. Both runs finished with zero crashes and zero device removals.
Upstream
mainPR head
Targeted no-playback-device startup
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.