[Bug 43263] New: Wine cannot coexist with other ALSA programs, even with dmix

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 30 19:55:32 CDT 2017


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 at winehq.org
          Reporter: sgilles at 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.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list