https://bugs.winehq.org/show_bug.cgi?id=50757
Bug ID: 50757 Summary: (Regression) Hyperdimension Neptunia Re;Birth1 Crashes/freezes frequently with FAudio Product: Wine Version: 6.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xactengine Assignee: wine-bugs@winehq.org Reporter: orbea@riseup.net Distribution: ---
When playing the GOG version of Hyperdimension Neptunia ReBirth 1 (https://www.gog.com/game/hyperdimension_neptunia_rebirth1) it will frequently freeze/crash.
This only occurs when built wine is built against FAudio and happens most often during battles or less frequently the area maps. Sometimes it will also occur in other places such as during dialogue scenes or menus. It usually occurs within a few battles, but sometimes will take a bit longer. During the crashes the graphics will freeze and input will be unresponsive, but usually music continues to play only rarely stopping with the crash.
When wine is not built against FAudio there will be no sound in the title screen or during game play, but this can be worked around by installing xact with winetricks and setting the wine prefix to XP compatibility where after extensive testing it remains stable without crashing.
I tested FAudio versions 21.01 and 21.03 without changes.
With older wine versions (roughly 5.10 and older) the above workaround with native xact and XP compatibility is needed regardless if wine is built against FAudio and it does not crash.
So I bisected this and found the first bad commit:
-----
127ef80f0f9370a148357b7c1f001c3477a52264 is the first bad commit commit 127ef80f0f9370a148357b7c1f001c3477a52264 Author: Vijay Kiran Kamuju infyquest@gmail.com Date: Sat Jul 18 22:27:46 2020 +0200
xactengine3_7: Implement IXACT3SoundBank::Play function.
Based on patch from Ethan Lee.
Signed-off-by: Vijay Kiran Kamuju infyquest@gmail.com Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/xactengine3_7/xact_dll.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-)
-----
However the parent commit (568227cc039ce16f232008f34fb72fc6aecc5029) will crash just before the title screen consistently. This can be worked around with setting WINEDLLOVERRIDES='xactengine3_7=n' in the environment where sound will be missing in the title screen and during game play, but like above can be fixed with a native xact and using XP compatibility mode. Several preceding commits do not crash before the title screen, but require setting WINEDLLOVERRIDES='xactengine3_7=n' in the environment for the sound to not be missing.
With the first bad commit ( 127ef80f0f9370a148357b7c1f001c3477a52264) a default prefix works and there is no missing sound, but it introduces the issue with frequent crashes.
Issue https://bugs.winehq.org/show_bug.cgi?id=50416 may be related.