Non-gpu suite under Wine: xma2_source_voice_decodes_and_manages_lifetime fails deterministically on two Wine setups #2671
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#2671
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@SlopTart on GitHub · 2026-11-26 05:43 UTC · original
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_lifetimefails 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-gnurun 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, freshvkd3d-proton.cacheeach run):Result: fails 3/3 on machine A (head
caed44ec=origin/main+ PR #2656) and on machine B on bothorigin/mainb49be183andcaed44ec. 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 oncaed44ec. Besides this one: the promoted-UAV-clear driver-lenience red (see PR #2490) appears on both, and machine B additionally haswrite_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.
@oni-swr on GitHub · 2026-11-26 06:19 UTC · original
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 on GitHub · 2026-11-26 06:30 UTC · original
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.