https://bugs.winehq.org/show_bug.cgi?id=42858
Bug ID: 42858 Summary: Stuttering sound setting the OS to Windows 7 and higher on FreeBSD Product: Wine Version: 2.4 Hardware: x86-64 OS: FreeBSD Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: adrien_fernandes2@hotmail.com
On every games I try, when I set to Windows XP, the sound is working correctly but if I set to Windows 7 and higher, the sound will stutter, whatever the game you are trying. It's a bit annoying when you have to set the OS to Windows 7 like with Enter the Gungeon to make it work.
I tried Resident Evil Revelations and Enter the Gungeon, they both have the same problem so I guess it's something related to FreeBSD (maybe more BSD OS)
https://bugs.winehq.org/show_bug.cgi?id=42858
Tod Jackson tod.jackson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tod.jackson@gmail.com
--- Comment #1 from Tod Jackson tod.jackson@gmail.com --- Hey, were you running Pulseaudio as well? Maybe pulled in because of Firefox? I can reproduce this bug not only on FreeBSD but a similar one in Linux, but with ALSA: If Pulseaudio is running but you set the sound driver to ALSA (say via winetricks sound=alsa) it's very choppy and almost robotic unless you set the Windows version to Windows XP, then it's perfect. (winepulse.drv doesn't work well for me.)
Do you think it's the same bug? This is about the extent of regular console messages: ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION fixme:ntdll:NtQuerySystemInformation (0x00000021,0x333c7128,0x00000010,0x32f0e0) stub fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x333c7128,0x00000020,0x32f0e0) stub fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_INTERRUPT_INFORMATION
The underrun happens immediately after sound starts. wine-staging 2.19 on both OS', 32-bit prefixes.
https://bugs.winehq.org/show_bug.cgi?id=42858
--- Comment #2 from Tod Jackson tod.jackson@gmail.com --- Oops, there was more interesting output. Do you see something similar, Adrien?
fixme:d3d:resource_check_usage Unhandled usage flags 0x40. fixme:alsa:AudioSessionControl_RegisterAudioSessionNotification (0x658c7e8)->(0xcafc0a4) - stub fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",0xcdfe918): stub fixme:avrt:AvSetMmThreadPriority (0x12345678)->(1) stub fixme:win:RegisterDeviceNotificationA (hwnd=0x30048, filter=0x1a244e0,flags=0x00000004) returns a fake device not ification handle! ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION fixme:ntdll:NtQuerySystemInformation (0x00000021,0x333c7128,0x00000010,0x32f0e0) stub fixme:ntdll:NtQuerySystemInformation (0x0000002d,0x333c7128,0x00000020,0x32f0e0) stub fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_INTERRUPT_INFORMATION
https://bugs.winehq.org/show_bug.cgi?id=42858
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=42858
jonny högsten frakswe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frakswe@gmail.com
--- Comment #3 from jonny högsten frakswe@gmail.com --- The bug is still present with Wine 5.0 and FreeBSD 12.1-Release.
According to "https://wiki.winehq.org/Sound" and the section "Help! My sound isn't working!" the reasoning is the different audio- backends in WinXP and Win7 and why selecting WinXP in the settings makes a difference.
It'd be curious to know if there's a way to force whatever backend is emulated in WinXP could be selected in a Win7 wine prefix if anyone has any insight.
Also if you want a test case then "Rogue Legacy" is as good as any to try with.
https://bugs.winehq.org/show_bug.cgi?id=42858
Alexander Vereeken Alexander88207@Protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Alexander88207@Protonmail.c | |om