https://bugs.winehq.org/show_bug.cgi?id=57280
Bug ID: 57280 Summary: Invalid state is propagated through to pulse leading to no audio with pipewire-pulse Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winepulse.drv Assignee: wine-bugs@winehq.org Reporter: uselessthings@protonmail.com Distribution: ---
Created attachment 77217 --> https://bugs.winehq.org/attachment.cgi?id=77217 journalctl log of pipewire, pipewire-pulse and wireplumber units from the time the game is launched to the time it's closed down.
A sound stream is never created for some games using Wine's pulseaudio driver and pipewire-pulse as the backend. Booting the games with another audio stream playing, all audio cuts out for a few seconds before coming back, yet the sound stream for the game is never created and doesn't appear in /dev/snd/*. Games I noticed this in were Risk of Rain Returns (various versions of Proton) and FINAL FANTASY XIV (various versions of wine and proton ranging from 7.x to 9.x)
I've attached an extremely verbose log below of journalctl from pipewire, pipewire-pulse and wireplumber when the issue happens. The relevant piece of output where I'd start investigating is
Line 34598: loka 07 14:11:14 hypernova pipewire-pulse[15490]: mod.protocol-pulse: client 0x578d3de419c0 [FINAL FANTASY XIV]: ERROR command:-1 (invalid) tag:2 error:25 (Input/output error).
on the #pipewire IRC channel I was told this stems from winepulse.drv sending an invalid state through to pulse and therefore through to pipewire-pulse.
I cross-checked with pulseaudio rather than pipewire-pulse, and the issue does not appear.
Workaround: In the meantime I have fixed this issue by setting wine to use winealsa.drv for the affected games, which pipewire-alsa picks up as normal.
https://bugs.winehq.org/show_bug.cgi?id=57280
--- Comment #1 from uselessthings@protonmail.com --- Created attachment 77219 --> https://bugs.winehq.org/attachment.cgi?id=77219 Steam's Proton log with "PROTON_DEBUG=1" for FFXIV
https://bugs.winehq.org/show_bug.cgi?id=57280
--- Comment #2 from uselessthings@protonmail.com --- PROTON_LOG=1 rather
https://bugs.winehq.org/show_bug.cgi?id=57280
--- Comment #3 from Austin English austinenglish@gmail.com --- Can you reproduce this with upstream (not proton) wine?
https://bugs.winehq.org/show_bug.cgi?id=57280
--- Comment #4 from uselessthings@protonmail.com --- I tried various versions before, just now I also tried 9.18-2 that seems to be the newest available to me in the repo, with the same results.