[Bug 52391] New: No sound effects in Hyperdimension Neptunia Re;Birth 1 since import of FAudio
https://bugs.winehq.org/show_bug.cgi?id=52391 Bug ID: 52391 Summary: No sound effects in Hyperdimension Neptunia Re;Birth 1 since import of FAudio Product: Wine Version: 7.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xactengine Assignee: wine-bugs(a)winehq.org Reporter: j-r(a)online.de Distribution: --- Since the import of FAudio Hyperdimension Neptunia Re;Birth 1 (GOG version) triggers the following FAudio assertion since the import of FAUDIO in commit 6b45777121fcd50d9b7d5b649c6710063b549892 already on the title screen while highlighting or selecting a menu entry Assertion failed: (voice->src.wmadec != NULL && (pBufferWMA != NULL || (voice->src.format->wFormatTag == FAUDIO_FORMAT_XMAUDIO2)) || (voice->src.wmadec == NULL && (pBufferWMA == NULL && voice->src.format->wFormatTag != FAUDIO_FORMAT_XMAUDIO2) ), file libs/faudio/src/FAudio.c, line 2456 Note that this assertion was changed in the import of FAudio 21.12 in da89825f98e4f0cb3875735345a455512b36b665 (erronously declared as import of 21.11), without effect on this game (contrary to what https://bugs.winehq.org/show_bug.cgi?id=50757#c2 claims). There is still no sound in 7.0-rc5 (and reverting babaf916ab12c7a9128409f717878919ccc5826b which hides the assertion shows it still triggering the extended assertion condition). Sound works before 6b45777121fcd50d9b7d5b649c6710063b549892 (also see https://bugs.winehq.org/show_bug.cgi?id=50416 for caveats). Unfortunately 6b45777121fcd50d9b7d5b649c6710063b549892 suffers from frequent crashing already on the title screen (haven't tested ingame; might be the same as https://bugs.winehq.org/show_bug.cgi?id=50757; despite it claiming to be fixed with exactly that commit; afaict nobody ever confirmed it being fixed) . Fortunately this crashing seems to be fixed or at least much reduced with 7.0-rc5 on my (very old and slow) system. Sound works fine in 7.0-rc5 after winetricks xact and manually setting xactengine3_7 to native. Not sure about the relation to this bug, but 7.0-rc5 is showing the following error whenever the game attempts to play a sound 00c8:err:ole:com_get_class_object class {2eeb4adf-4578-4d10-bca7-bb955f56320a} not registered 00c8:err:ole:com_get_class_object no class object {2eeb4adf-4578-4d10-bca7-bb955f56320a} could be created for context 0x1 which I think wasn't there before the regression. -- 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=52391 j-r(a)online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |6b45777121fcd50d9b7d5b649c6 | |710063b549892 -- 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=52391 j-r(a)online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |x86 -- 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=52391 --- Comment #1 from j-r(a)online.de --- Created attachment 71624 --> https://bugs.winehq.org/attachment.cgi?id=71624 +xact3 log Afaict the +xact3 log doesn't add much information. The assert happens directly when trying to play a sound for the first time. -- 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=52391 --- Comment #2 from j-r(a)online.de --- (In reply to j-r from comment #1)
Created attachment 71624 [details] +xact3 log
It is a log from revision 76c9fc8a761c9faff72f97ab508a1afcb28eeb12 with babaf916ab12c7a9128409f717878919ccc5826b reverted. -- 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=52391 --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- A log without enabling assertions would probably be more useful. -- 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=52391 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com --- Comment #4 from Rémi Bernon <rbernon(a)codeweavers.com> --- The problem is likely that the game uses WMA/XMA audio, and the Win32 port of FAudio uses Media Foundation WMA decoder transform for that. Wine's Media Foundation doesn't currently implement any decoder transform. -- 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=52391 j-r(a)online.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71624|0 |1 is obsolete| | --- Comment #5 from j-r(a)online.de --- Created attachment 71630 --> https://bugs.winehq.org/attachment.cgi?id=71630 +xact3 log of 7aaeec35e2d7cc799461858edb788e412e9a1fbe without any local changes The same as the previous logs with more instances of not playing a sound marked by the failures to create a filter instance messages -- 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=52391 --- Comment #6 from j-r(a)online.de --- (In reply to Rémi Bernon from comment #4)
The problem is likely that the game uses WMA/XMA audio, and the Win32 port of FAudio uses Media Foundation WMA decoder transform for that. Wine's Media Foundation doesn't currently implement any decoder transform.
Makes sense, thanks. I can appreciate the architectural improvement of the win32 build, but am still a bit sad to have effectively wasted my yearly open source time budget on chasing after this. Adding the info that this is a functional downgrade to the commit message might have helped to direct me towards something more productive. See you next year:-) -- 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=52391 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |poweroverwhelming982(a)gmail. | |com --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- *** Bug 52512 has been marked as a duplicate of this bug. *** -- 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=52391 --- Comment #8 from poweroverwhelming982(a)gmail.com --- *** Bug 52512 has been marked as a duplicate of this bug. *** -- 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=52391 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|xactengine |winegstreamer Hardware|x86 |x86-64 Summary|No sound effects in |Multiple games are missing |Hyperdimension Neptunia |sound effects since FAudio |Re;Birth 1 since import of |import (Hyperdimension |FAudio |Neptunia Re;Birth 1, Skyrim | |Legendary Edition) -- 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=52391 --- Comment #9 from poweroverwhelming982(a)gmail.com --- (In reply to Rémi Bernon from comment #4)
The problem is likely that the game uses WMA/XMA audio, and the Win32 port of FAudio uses Media Foundation WMA decoder transform for that. Wine's Media Foundation doesn't currently implement any decoder transform.
Does this mean that all sounds would stop working, or only sound mixing? Not sure if it's relevant, but in Skyrim's case (duplicate bug 52512) only some sounds don't work while others still do. -- 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=52391 Sveinar Søpler <cybermax(a)dexter.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax(a)dexter.no --- Comment #10 from Sveinar Søpler <cybermax(a)dexter.no> --- (In reply to poweroverwhelming982 from comment #9)
Does this mean that all sounds would stop working, or only sound mixing? Not sure if it's relevant, but in Skyrim's case (duplicate bug 52512) only some sounds don't work while others still do.
I was under the impression that some games uses various audio "formats" (codec's), and the sounds that are encoded with WMA might not play, while other sounds would probably still play. If my understanding is correct, this would explain why some sounds seems to work, while others are silent. I think you would need to force wine to use systemlib libFAudio <= 22.01 - which would mean a recompile with some wine patches disabled to get WMA sound(s) back, but i have not really tested this with wine-7.1 You can play around with some of the demo's from here: https://github.com/walbourn/directx-sdk-samples. Needs win10 + SDK + Visual Studio to compile tho. XAudio2BasicSound plays a mix of WMA and xWMA encoded files using Xaudio, and can be used for testing purposes and possibly logging. -- 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=52391 --- Comment #11 from poweroverwhelming982(a)gmail.com --- (In reply to Sveinar Søpler from comment #10) Looks like you're right. I checked Skyrim's resource files and it uses .xwm for music, plain old .wav for sounds, and their own .fuz format for voices, which contains a .xwm and a lipsync file. So I can confirm that this is a WMA playback issue, not someting related to audio mixing as I initially assumed. I can also confirm that winetricks xact works here as well. I might try fiddling with the faudio patches, thanks for the additional info. -- 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=52391 Julian Rüger <jr98(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98(a)gmx.net -- 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=52391 Béla Gyebrószki <gyebro69(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69(a)gmail.com -- 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=52391 --- Comment #12 from Rémi Bernon <rbernon(a)codeweavers.com> --- I believe this should be fixed after e4258d529342cc1dc486a136d0f715520b3dd5da, would you mind trying again and confirm? -- 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=52391 --- Comment #13 from poweroverwhelming982(a)gmail.com --- (In reply to Rémi Bernon from comment #12)
I believe this should be fixed after e4258d529342cc1dc486a136d0f715520b3dd5da, would you mind trying again and confirm?
I can confirm that e4258d529342cc1dc486a136d0f715520b3dd5da fixes it for Skyrim Legendary Edition, all the sounds now work properly, thanks! The only issue I'm still having in Skyrim is the severe performance drop (bug 52334), just thought I'd mention it here just in case, but the sounds are completely fixed. -- 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=52391 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e4258d529342cc1dc486a136d0f | |715520b3dd5da Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Reported fixed. -- 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=52391 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.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