https://bugs.winehq.org/show_bug.cgi?id=50607
Bug ID: 50607 Summary: Ghostrunner hangs when exit from Echoes level Product: Wine-staging Version: 6.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lvb.crd@protonmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 69292 --> https://bugs.winehq.org/attachment.cgi?id=69292 terminal output wine-staging-6.1.r2.g32b29ad4.log
Not sure if the problem is specifically related to Gstreamer, the `mfplat-streaming-support` patchset, or opens the problem in Wine itself.
The game freezes, if you load the level, wait until the video on the first billboard will be played 1 time (for this one it is 22 seconds and the zone with it is close enough to the starting point, so that the video starts playing almost immediately. You can try to rely by the in-game timer or verbose terminal output), and then try to end/leave the zone (continue the game by going to Cybervoid or exit to the Main menu).
I did some tests and found that using Wine + `mfplat-streaming-support` from Staging is enough to reproduce the problem.
Inside the game, videos on billboards are played only 2 times (I'm not sure if this is correct because in this case, you will not even have the opportunity to see them, while you get to them in the game way), but despite the fact that the video is repeated a second time, the game will definitely freeze if you tried to exit at that moment or when it finishes showing the video a second time and stops.
So, the minimal steps for repro: 1. will load into the Echoes level. 2. do not move and wait until the in-game timer (lower right corner) is more than 23 seconds. 3. press Esc and exit to the Main menu.
I'm attachig some (add +timestamp,+tid,warn+mfplat and GST_DEBUG="3") terminal output timestamp 330.821 - loading on the level timestamp ~332-354 - this 22 seconds video (PROPAGANDA_FLASH6.mp4) (already after 354 the game definitely will be freeze if try exit) timestamp 372.887 - exit to the Main menu and hang also at the beginning the game plays 2 intro videos gstreamer: 1.18.3 (patched for mfplat-streaming-support) wine version: wine-staging-6.1.r2.g32b29ad4 game version: 0.32091.426
(I suppose it is possible to shorten or replace the video if the wait 22 seconds is too long for the terminal output)
I also found that removing Ghostrunner/Content/Movies/LA/PROPAGANDA_FLASH6.mp4 (first billboard) Ghostrunner/Content/Movies/LA/PROPAGANDA_ANIM_DRONE2M.mp4 (it video for second billboard what is next on this level) - helps as workaround. (I was able to finish the whole game, after deleting these two files. There were no more such problems with video on billboards at other levels.)
It also seems that the game does not swear at the substitution of these video files, so I tried: - replace video with a adjacent file from the same directory. - compress video with cfr=28 (file size less than 2MB) - https://github.com/ValveSoftware/wine/commit/3af15c54a6d8c781cbe32faa61b274e... - delete audio stream. but none of this seems to help.
I only have the Epic Games Store version of the game. (the launcher requires: WINEDLLOVERRIDES="libglesv2=d" wine64 EpicGamesLauncher.exe -opengl -SkipBuildPatchPrereq) Also to fully complete the game, in addition to mfplat-streaming-support, I had to use esync and vkd3d-proton (third-party dll). But I managed to reproduce the problem also on wined3d (dx11 mode) (but this is complicated by the fact that textures are not rendered on wined3d (opengl) so wined3d (vulkan) will sometimes be preferable because he has no such problem) and on dxvk (third-party dll).
Please check it.
https://bugs.winehq.org/show_bug.cgi?id=50607
Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=49692
https://bugs.winehq.org/show_bug.cgi?id=50607
--- Comment #1 from Dmitry Skvortsov (Iglu47) lvb.crd@protonmail.com --- I can't repro the initial issue on wine-staging-6.12.1.r1.gfcf7b801. Probably fixed by updating the mfplat-streaming-support patchset. Thanks, I guess the issue can be closed now.
https://bugs.winehq.org/show_bug.cgi?id=50607
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- Marking fixed then.
https://bugs.winehq.org/show_bug.cgi?id=50607
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Closing bugs fixed in wine-staging 6.13.