https://bugs.winehq.org/show_bug.cgi?id=50416
Bug ID: 50416 Summary: Hyperdimension Neptunia ReBirth 1 need native xactengine3_7 Product: Wine Version: 6.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xactengine Assignee: wine-bugs@winehq.org Reporter: j-r@online.de Distribution: ---
Created attachment 69037 --> https://bugs.winehq.org/attachment.cgi?id=69037 Log with +loaddll,+xact3
Hyperdimension Neptunia Rebirth 1 from GOG on 6.0-r3c exits early without message or backtrace (exception possibly handled by application) directly after loading builtin xactengine3_7.dll.
Using native xactengine3_7 works around the problem.
Attached is a (rather short) +loaddll,+xact3 log.
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #1 from j-r@online.de --- The log looked sufficiently different to the other xactengine bugs to open a new one. Sorry if this is a duplicate.
https://bugs.winehq.org/show_bug.cgi?id=50416
j-r@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Hyperdimension Neptunia |Hyperdimension Neptunia |ReBirth 1 need native |ReBirth 1 needs native |xactengine3_7 |xactengine3_7
https://bugs.winehq.org/show_bug.cgi?id=50416
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Game works fine here with wine-6.0-rc4 and FAudio-git. You might want to try with an updated FAudio. Your version, 20.04 is already quite old.
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #3 from j-r@online.de --- (In reply to Gijs Vermeulen from comment #2)
Game works fine here with wine-6.0-rc4 and FAudio-git. You might want to try with an updated FAudio. Your version, 20.04 is already quite old.
I cannot reproduce that result. Fails for me in the same way with current FAudio git (23470c393aca75c1deb18045dc0837bcdb5fdfe7) built both with and without gstreamer. Can you give me the commit and build options used?
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to j-r from comment #3)
I cannot reproduce that result. Fails for me in the same way with current FAudio git (23470c393aca75c1deb18045dc0837bcdb5fdfe7) built both with and without gstreamer. Can you give me the commit and build options used?
I used the same commit and I use this PKGBUILD to build FAudio: https://github.com/Frogging-Family/faudio-git/blob/master/PKGBUILD
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #5 from j-r@online.de --- (In reply to Gijs Vermeulen from comment #4)
(In reply to j-r from comment #3)
I cannot reproduce that result. Fails for me in the same way with current FAudio git (23470c393aca75c1deb18045dc0837bcdb5fdfe7) built both with and without gstreamer. Can you give me the commit and build options used?
I used the same commit and I use this PKGBUILD to build FAudio: https://github.com/Frogging-Family/faudio-git/blob/master/PKGBUILD
Thanks, still doesn't work for me using these flags, though.
But after some more debugging attempts (quite annoying because wine doesn't automatically load xactengine dll symbols; haven't looked yet whether that is a known problem): it works (at least the two times I tried) when single stepping using nexti starting from IXACT3EngineImpl_Initialize. Might be a race? Your system is probably much faster than mine (a nearly ten year old laptop). A clue might be the missing WAVEBANK_PREPARED notification implementation, but that is very much outside my area of expertise.
Any ideas?
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #6 from j-r@online.de --- It seems to be enough to single step through FACTAudioEngine_Initialize. Not sure if that is enough to rule out a wine bug (AFAIU FAudio uses callbacks).
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #7 from j-r@online.de --- (In reply to j-r from comment #6)
It seems to be enough to single step through FACTAudioEngine_Initialize. Not sure if that is enough to rule out a wine bug (AFAIU FAudio uses callbacks).
Opened https://github.com/FNA-XNA/FAudio/issues/234
https://bugs.winehq.org/show_bug.cgi?id=50416
orbea@riseup.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |orbea@riseup.net
--- Comment #8 from orbea@riseup.net --- I have a slightly different experience with this game.
Currently roughly 5.22 and newer the sound works fine as long as wine is built against FAudio, but the game is unstable and crashes frequently. This may be an unrelated issue?
Earlier (Roughly around 5.10) it would need xact installed with winetricks and to set the wine profile to XP.
Somewhere between that it would also need WINEDLLOVERRIDES='xactengine3_7=n' set in the environment.
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #9 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- (In reply to orbea from comment #8)
I have a slightly different experience with this game.
Currently roughly 5.22 and newer the sound works fine as long as wine is built against FAudio, but the game is unstable and crashes frequently. This may be an unrelated issue?
This is a 32-bit application and you probably encountered a common problem for them related to Out of Address Space. I can only say for the GOG-version of the game that, fortunately, by default the IMAGE_FILE_LARGE_ADDRESS_AWARE flag is not set for the executable file of this game. More info can be found in other related reports such as Bug 33858
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #10 from orbea@riseup.net ---
This is a 32-bit application and you probably encountered a common problem for them related to Out of Address Space.
I am sure this is not the case. As tested with wine-6.3 the game is stable when wine is built without faudio, but it fails to start without installing xact with winetricks and the sound breaks in the title screen and during gameplay unless setting the prefix to XP. There are reports of windows users also having to set it to use an XP compatibility mode.
This combination does not work when wine is built with faudio where it almost always crashes within the first few minutes in either battles or sometimes area maps. Other parts of the game crash as well, but its far less frequent. However it has working sound with a default prefix.
Additionally patching the game's executable to use more ram does not help and I have the GOG version.
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #11 from orbea@riseup.net --- I made an issue for the crashes after bisecting.
https://bugs.winehq.org/show_bug.cgi?id=50757
https://bugs.winehq.org/show_bug.cgi?id=50416
--- Comment #12 from Gijs Vermeulen gijsvrm@gmail.com --- Is this still an issue with wine-6.20 and up-to-date SDL2?
(looking at https://github.com/FNA-XNA/FAudio/issues/234 and https://github.com/libsdl-org/SDL/issues/3643)
https://bugs.winehq.org/show_bug.cgi?id=50416
j-r@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #13 from j-r@online.de --- (In reply to Gijs Vermeulen from comment #12)
Is this still an issue with wine-6.20 and up-to-date SDL2?
(looking at https://github.com/FNA-XNA/FAudio/issues/234 and https://github.com/libsdl-org/SDL/issues/3643)
I confirm that the problem doesn't happen anymore with wine 6.0.2 and sdl2 2.0.16.
There seems to be a new regression in this area with 7.0-rc. I'll open a new bug for that.
PS: I'm sorry that I'm incommunicado outside the calm new year period. I usually just don't have the energy after work and family obligations.
https://bugs.winehq.org/show_bug.cgi?id=50416
j-r@online.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Hyperdimension Neptunia |SDL2 before 2.0.16 has a |ReBirth 1 needs native |race condition possibly |xactengine3_7 |crashing applications using | |xact3 (e.g. Hyperdimension | |Neptunia ReBirth 1)
https://bugs.winehq.org/show_bug.cgi?id=50416
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to j-r from comment #13)
PS: I'm sorry that I'm incommunicado outside the calm new year period. I usually just don't have the energy after work and family obligations.
No worries, thanks for reporting back! Closing.