[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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


Attachment: signature.asc
Description: PGP signature


Reply to: