https://bugs.winehq.org/show_bug.cgi?id=43263
Bug ID: 43263 Summary: Wine cannot coexist with other ALSA programs, even with dmix Product: Wine Version: 2.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv Assignee: wine-bugs@winehq.org Reporter: sgilles@math.umd.edu Distribution: ---
Created attachment 58587 --> https://bugs.winehq.org/attachment.cgi?id=58587 .asoundrc
This machine runs Gentoo and ALSA + dmix (.asoundrc attached). I have observed this issue with wine installed from Gentoo's repositories, but also with wine built from git (I have observed this with commit 6ec3cd9434488ba5bc0fd271a47b7d46827477c5 for example, which is the latest at time of writing). Every native program on this machine (mpv, mpd, ffplay, firefox, etc) is able to play sound concurrently with every other such program.
My options under winecfg's audio tab are different depending on whether an ALSA-using program is currently running:
[A] (System default) [A] Out: default [A] Out: HDA NVidia - HDMI 3 [A] Out: HDA NVidia - HDMI 2 [A] Out: HDA NVidia - HDMI 0 [A] Out: HDA NVidia - HDMI 1 [B] Out: HDA Intel PCH-ALC887-VD Anal...
The entry marked [B] only appears if there is no such program running. The entries marked [A] cause the "Test Sound" to be truncated abruptly, while the entry marked [B] allows the test sound to fully die down. Furthermore, if an entry marked [A] is selected, running a program that produces sound will fail with lines like
err:dsound:DSOUND_ReopenDevice Initialize failed: 8889000f
in the output. I have attached a log created with wine from commit 6ec3cd9434488ba5bc0fd271a47b7d46827477c5, from a fresh, WINEARCH="win32" wineprefix, running Warning Forever 1.08, with "(System default)" selected (mpd is running in the background), and with
WINEDEBUG="+tid,+mmdevapi,+winmm,+driver,+midi,+dsound,+dsound3d,+dmusic,+mci,+oss,+alsa,+coreaudio"
The expected behavior is that, since I have dmix configured, wine should behave like other programs and play sound concurrently with them.
I've looked around for solutions to this, and people claim that wine has been able to coexist with other programs in the past (hence my reporting it as a bug), but every piece of advice I find seems to be outdated.
https://bugs.winehq.org/show_bug.cgi?id=43263
--- Comment #1 from sgilles@math.umd.edu --- Created attachment 58588 --> https://bugs.winehq.org/attachment.cgi?id=58588 output of Warning Forever described in inital post
https://bugs.winehq.org/show_bug.cgi?id=43263
--- Comment #2 from sgilles@math.umd.edu --- I realize I should clarify the original report. Programs can still be run if ALSA is in use, they just don't produce any sound (and spit out DSOUND_ReopenDevice errors every now and then).
https://bugs.winehq.org/show_bug.cgi?id=43263
Jo Gro cuelebra@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cuelebra@gmail.com
--- Comment #3 from Jo Gro cuelebra@gmail.com --- still broken
ubuntu 18.04, wine-staging 3.18
https://bugs.winehq.org/show_bug.cgi?id=43263
--- Comment #4 from Jo Gro cuelebra@gmail.com --- the issue is that right now winealsa.drv supposedly can't output into anything but the actual hardware device. I have set up a software alsa device with equalizer and some filters, set as default, utilizing dmix for simultaneous multiple outputs, and wine just completely bypasses it all and outputs straight into the card. Every other program works as expected.