Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Questions about Wine on Linux
Locked
bealsc
Newbie
Newbie
Posts: 3
Joined: Sat Nov 21, 2020 9:43 pm

Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Post by bealsc »

Hi, I'm new to the forum and have a bug to report. Wine-Staging was just updated from 5.21 to 5.22 on my desktop and now audio playback is broken in foobar2000. Any attempt to play audio in foobar results in really loud static noise overlaying the music that makes playback unbearable. My sound setup is ALSA only, not sure if PulseAudio is affected too. My desktop runs Debian 10 with KDE Plasma. Windows 7 set as Windows version. 5.21 worked just fine without any issues.

Here is the terminal output when opening foobar and playing sound in case it's of any use:

Code: Select all

wine foobar2000.exe 
002c:err:seh:check_bpf_jit_enable BPF JIT is not enabled in the kernel, enable it to reduce syscall emulation overhead.
002c:fixme:winediag:LdrInitializeThunk wine-staging 5.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0104:err:seh:check_bpf_jit_enable BPF JIT is not enabled in the kernel, enable it to reduce syscall emulation overhead.
0024:fixme:msvcrt:MSVCRT__set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0024:fixme:win:RegisterShellHookWindow (00020048): stub
0024:fixme:win:SetGestureConfig (00010084 00000000 1 0031F114 12): stub
011c:fixme:ntdll:NtCreatePowerRequest (0x402f8e4, 0x402f8e8): stub
011c:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0402FB1C): stub
0128:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",04B3FEE0): stub
011c:fixme:avrt:AvRevertMmThreadCharacteristics (12345678): stub
0128:fixme:avrt:AvRevertMmThreadCharacteristics (12345678): stub
I attempted to run under a clean 32-bit prefix to no avail.
If any more information is needed please let me know, thanks.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Post by spoon0042 »

Oh yeah that's weird. And it is just staging 5.22, devel 5.22 seems fine.

I can try to track it down when I get some time, there's some info on doing that if you want to give it a shot yourself: https://wiki.winehq.org/Wine-Staging
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Post by spoon0042 »

well that's annoying. either it's already fixed or it works on 32-bit for some reason. or possibly something else.

e: not 32-bit, I think.

e: checked out 5.22 and it's broke, so hopefully it's fixed and stays that way in 5.23?

e: and just for completeness sake it's most likely this bug: https://bugs.winehq.org/show_bug.cgi?id=50162
bealsc
Newbie
Newbie
Posts: 3
Joined: Sat Nov 21, 2020 9:43 pm

Re: Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Post by bealsc »

Thanks for checking this, that does indeed look like the same bug. I am almost positive I dealt with the same or similar issue around 2017-18 while trying to get some games working. I ended up using Stable or Devel until it was fixed. Guess it came back yet again for the 2020 crapshow :lol:
Quppa
Level 1
Level 1
Posts: 5
Joined: Sun Feb 19, 2017 12:41 am

Re: Wine-Staging 5.22: foobar2000 ALSA sound playback broken

Post by Quppa »

I'm getting this now with Wine 5.22 in Fedora 33 - high sample rate audio (e.g. 192 KHz) is the most affected for me. Interestingly, the foobar2000 spectrum visualizer shows that something funky is happening:
Screenshot_20201203_225906.png
I've downgraded to Wine 5.18 (trying to figure out how to go back to Wine 5.21, the version I was using before today...).
Locked