[pkg-wine-party] Bug#807403: wine: Sound doesn't work anymore with Windows games

Javier Cantero jcantero at escomposlinux.org
Fri Dec 11 19:10:24 UTC 2015

Package: wine
Version: 1.8~rc3-1
Followup-For: Bug #807403

I can confirm this bug, from 1.7.55 (the first version with winepulse)
to the current 1.8-rc3. I can also confirm that the proposed solution
works fine.

Note that despite the bug, certain games with certain sound formats
(i.e. 8bit instead 32bit) the buffer size with PULSE_LATENCY_MSEC=60 can
be enough and the sound works (for instance this happens to me with the
intro part of certain game). For a 32bit-stereo format (4*2 = 8 bytes)
you need to set PULSE_LATENCY_MSEC=200 at least. I rather prefer to let
pulseaudio to calculate itself the size of the buffer automatically
(that's what the proposed fix is doing, getting rid of the environment
variable at all). There is so much documentation out there advising to
change that value that I think the problem is going to stay with us for
a while until all the people using winepulse change their configs. Maybe
it's worth to annotate this somewhere (in the Debian Wine wiki page?).

An alternative solution is to configure wine to use winealsa.drv again,
by changing the value of the "Audio" key to "alsa" in the
HKEY_CURRENT_USER\Software\Wine\Drivers directory of the registry. This
is usually done with the regedit.exe tool (wine regedit.exe). The value
"pulse" restore the use of winepulse.drv.

Using winealsa.drv the sound should work exactly as it worked in prior
versions to 1.7.55. It works even if you are using alsa-libs wrapper to
send the audio to pulseaudio daemon (so actually using PA, not ALSA)
with libasound2-plugins:i386 package. I don't think it's worth to use
with this configuration, it adds an extra level with no gain. However,
some people may prefer to use ALSA directly -without the wrapper thing-,
to avoid completely PA (note this has certain disadvantages which I will
not enumerate here).

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (600, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.6-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wine depends on:
ii  wine32  1.8~rc3-1

wine recommends no packages.

Versions of packages wine suggests:
pn  dosbox       <none>
pn  wine-binfmt  <none>

Versions of packages wine is related to:
ii  fonts-wine        1.8~rc3-1
ii  libwine           1.8~rc3-1
pn  libwine-dbg       <none>
pn  libwine-dev       <none>
ii  wine              1.8~rc3-1
ii  wine32            1.8~rc3-1
pn  wine32-preloader  <none>
pn  wine32-tools      <none>
pn  wine64            <none>
pn  wine64-preloader  <none>
pn  wine64-tools      <none>

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20151211/ac529deb/attachment.sig>

More information about the pkg-wine-party mailing list