[Bug 47916] New: Sound issues when using faudio in Wine Staging >=4.13
https://bugs.winehq.org/show_bug.cgi?id=47916 Bug ID: 47916 Summary: Sound issues when using faudio in Wine Staging >=4.13 Product: Wine-staging Version: 4.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: witold.baryluk+winehq(a)gmail.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Hi, This was tested on Overwatch game, but I had similar issues in other games. I have no issue with Wine Staging 4.12.1, however 4.13 - 4.17 doesn't work in terms of audio. I only have ALSA, and game starts without any sound, and then after about 10 seconds, it freeze at startup for about 2 minutes, waiting on synchronization. Eventually it figures things out and game continues to work, and sound is available. But often the game logs me out of the servers, and I need to restart a game. So I can't use it. It is easily reproducible. Wine Staging @ 8d19b3fc4b6e6ddaf7124048406d32662023d71d works. Wine Staging @ b95b9109b824d21d98329c76387c3983d6e27cc2 (next commit) doesn't commit b95b9109b824d21d98329c76387c3983d6e27cc2 Author: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Date: Mon Jul 15 09:35:57 2019 +1000 Use FAudio library now -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #1 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- Works: wine-4.12.1-857-g2aa701d0f5 (Staging) Doesn't work: wine-4.17-1051-ged9f07074a (Staging) Snippet of logs: 017a:fixme:mpr:WNetGetUniversalNameW (L"C:\\Program Files (x86)\\Overwatch\\_retail_\\cache\\casc", 0x00000001, 000000000022D840, 000000000022D800): stub 2019-10-10 02:58:46,341: Unable to read stat for process 94789 2019-10-10 02:58:46,341: Unable to read stat for process 94789 2019-10-10 02:58:46,341: Unable to read stat for process 94791 2019-10-10 02:58:46,341: Unable to read stat for process 94791 Waiting on children 017a:fixme:mpr:WNetGetUniversalNameW (L"C:\\Program Files (x86)\\Overwatch\\data\\casc\\data", 0x00000001, 000000000022C500, 000000000022C4C0): stub 0197:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0197:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported 017a:fixme:bcrypt:BCryptGenerateSymmetricKey ignoring object buffer 017a:fixme:bcrypt:BCryptGenerateSymmetricKey ignoring object buffer 017a:fixme:win:RegisterDeviceNotificationA (hwnd=0x70074, filter=0x22e2f0,flags=0x00000000) returns a fake device notification handle! 017a:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4 WARNING: Experimental compiler backend enabled. Here be dragons! Incorrect rendering, GPU hangs and/or resets are likely mesa_overlay: Output file: /tmp/mesa_overlay_overwatch_2019-10-10T02:58:46ZUTC_95202_mesa_git_aco.txt WARNING: Experimental compiler backend enabled. Here be dragons! Incorrect rendering, GPU hangs and/or resets are likely mesa_overlay: Output file: /tmp/mesa_overlay_overwatch_2019-10-10T02:58:47ZUTC_95202_mesa_git_aco.txt 017a:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS) 017a:fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS) 017a:fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS) 017a:fixme:dwmapi:DwmIsCompositionEnabled 000000000022EE60 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 017a:fixme:winsock:WS_setsockopt Ignoring WS_SO_RANDOMIZE_PORT 01d8:fixme:win:RegisterDeviceNotificationA (hwnd=0x40076, filter=0x3469fd60,flags=0x00000000) returns a fake device notification handle! 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 01c9:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 01c9, blocked by 01cb, retrying (60 sec) 01dc:fixme:wininet:InternetSetOptionW Option 77 STUB 01dc:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 15000 01d6:err:winsock:interface_bind Failed to bind to interface, receiving broadcast packets will not work on socket 084c. 01d6:err:winsock:interface_bind Failed to bind to interface, receiving broadcast packets will not work on socket 07f4. 01de:fixme:ver:GetCurrentPackageId (0x4f17fda0 (nil)): stub 01df:fixme:wininet:InternetSetOptionW Option 77 STUB 01df:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 15000 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 0186:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 0186, blocked by 01cb, retrying (60 sec) 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 // stuck process... 01c9:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 01c9, blocked by 01cb, retrying (60 sec) 0186:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 0186, blocked by 01cb, retrying (60 sec) 01d0:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 // stuck process... 01c9:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 01c9, blocked by 01cb, retrying (60 sec) 0186:err:ntdll:RtlpWaitForCriticalSection section 0x142e76e78 "?" wait timed out in thread 0186, blocked by 01cb, retrying (60 sec) 01e2:fixme:wininet:InternetSetOptionW Option 77 STUB 01e2:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 15000 0185:fixme:secur32:schan_QueryContextAttributesA Unhandled attribute 0x23 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented 017a:fixme:ntdll:NtQueryDirectoryObject multiple entries not implemented // recovery, and audio works back -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 Witold Baryluk <witold.baryluk+winehq(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b95b9109b824d21d98329c76387 | |c3983d6e27cc2 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|leslie_alistair(a)hotmail.com | |, z.figura12(a)gmail.com | Product|Wine-staging |Wine Regression SHA1|b95b9109b824d21d98329c76387 | |c3983d6e27cc2 | Component|-unknown |xaudio2 --- Comment #2 from Zebediah Figura <z.figura12(a)gmail.com> --- It's clearly a bug in xaudio2, so moving to the Wine product. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #3 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- My sound devices: $ time aplay -l **** List of PLAYBACK Hardware Devices **** card 0: M20 [MIYO USB Audio 2.0], device 0: USB Audio [USB Audio] Subdevices: 0/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4] Subdevices: 1/1 Subdevice #0: subdevice #0 card 2: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5] Subdevices: 1/1 Subdevice #0: subdevice #0 real 0m3.398s user 0m0.000s sys 0m0.005s $ (For some reasons aplay -l blocks for a moment before printing HDMI devices. Maybe it is relevant somehow). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #4 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- Attaching logs with WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #5 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- Created attachment 65413 --> https://bugs.winehq.org/attachment.cgi?id=65413 Ovwerwatch.exe from Lutris with WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 Witold Baryluk <witold.baryluk+winehq(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |b95b9109b824d21d98329c76387 | |c3983d6e27cc2 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #6 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- Created attachment 65414 --> https://bugs.winehq.org/attachment.cgi?id=65414 winecfg + audio tab + Test sound debug logs Captured with: WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 --- Comment #7 from Witold Baryluk <witold.baryluk+winehq(a)gmail.com> --- winecfg also is stuck for a moment when switching from main tab to "Audio" tab, but significantly shorter, just few seconds. Attached logs of this happening. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|b95b9109b824d21d98329c76387 | |c3983d6e27cc2 | --- Comment #8 from Zebediah Figura <z.figura12(a)gmail.com> --- Not a lot of point attaching a regression hash in this case. Thanks for narrowing down the cause, though. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47916 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Sound issues when using |Sound issues when using |faudio in Wine Staging |faudio |>=4.13 | -- 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.
participants (1)
-
WineHQ Bugzilla