You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Non-gpu suite under Wine: xma2_source_voice_decodes_and_manages_lifetime fails deterministically on two Wine setups #2671
Summary: the XMA2 decode path returns 0 samples under Wine on two independent setups (different Wine versions, different GPU vendors), so hle::xaudio2::tests::xma2_source_voice_decodes_and_manages_lifetime fails deterministically. Both machines fail at the same assertion with the same numbers.
Machine A (primary rig): AMD Ryzen 9 9900X (12 cores), 96 GB DDR5, Radeon RX 7900 XT 20 GB (Navi 31), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29). Machine B (secondary rig): Intel Core i5-10600K (6 cores), 16 GB DDR4, NVIDIA GeForce GTX 1070 8 GB (driver 550.163.01), Debian 13 (kernel 6.12.117), wine-10.0 (Debian), rustc 1.100.0, vkd3d-proton 3.1 with the XCL patch (XCL_DXC_DIR set to the official DXC kit). The two machines share nothing except Wine and the vkd3d-proton build, which is what makes the identical failure informative.
Repro (identical on both, XCL_NETWORK=0, fresh vkd3d-proton.cache each run):
Result: fails 3/3 on machine A (head caed44ec = origin/main + PR #2656) and on machine B on both origin/mainb49be183 and caed44ec. Panic signature is byte-identical on both machines:
Context (suite level): full non-gpu run (-- --skip gpu:: --test-threads=2) gives 596 passed / 3 failed / 4 ignored / 734 filtered on both machines on caed44ec. Besides this one: the promoted-UAV-clear driver-lenience red (see PR #2490) appears on both, and machine B additionally has write_buffer_immediate_on_open_existing_heap_visible_to_cpu (NVIDIA-side; passes on RADV).
Not tested: native Windows (no Windows machine on these lanes), so I cannot say whether this is Wine-only or also fails natively; the two tested environments share Wine and XMA2 under hle::xma2.
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
Claiming the native Windows control for the reported XMA2 test failure. I’ll run the existing synthetic fixture and check whether the reported zero-sample result is specific to Wine.
AI use: Codex (gpt-6.2-sol).
Duplicate of #2481, which pablogonz12 filed about 10 hours before this one. I missed it pre-filing because their body words the failure differently from my search terms. Closing here to consolidate.
Root cause posted on #2481: the FAudio vendored by Wine builds older than 26.05 gates pCurrentBufferContext behind actual playback start (newBuffer flag, src/FAudio.c:2931 at tag 25.12), so a stopped voice with queued buffers answers BuffersQueued = 2, pCurrentBufferContext = NULL. Instrumented raw return on both rigs above: cur=0x0 q=2 sp=0. Native Windows passes the same assertion (luckyteagirl on #2481). Not XMA2-specific, not a regression, not xcl-caused.
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
Activity
oni-swr commentedon Nov 26, 2026
Claiming the native Windows control for the reported XMA2 test failure. I’ll run the existing synthetic fixture and check whether the reported zero-sample result is specific to Wine.
AI use: Codex (gpt-6.2-sol).
SlopTart commentedon Nov 26, 2026
Duplicate of #2481, which pablogonz12 filed about 10 hours before this one. I missed it pre-filing because their body words the failure differently from my search terms. Closing here to consolidate.
Root cause posted on #2481: the FAudio vendored by Wine builds older than 26.05 gates
pCurrentBufferContextbehind actual playback start (newBufferflag,src/FAudio.c:2931at tag 25.12), so a stopped voice with queued buffers answersBuffersQueued = 2, pCurrentBufferContext = NULL. Instrumented raw return on both rigs above:cur=0x0 q=2 sp=0. Native Windows passes the same assertion (luckyteagirl on #2481). Not XMA2-specific, not a regression, not xcl-caused.AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.