https://bugs.winehq.org/show_bug.cgi?id=50950
Bug ID: 50950 Summary: Her Story: intermittent hangs/crashes when video stops playing Product: Wine Version: 6.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sa@whiz.se Distribution: ---
Created attachment 69775 --> https://bugs.winehq.org/attachment.cgi?id=69775 Video played to the end
The video clips in the game Her Story (the GOG version) frequently causes the game to hang and crash:
01c4:err:quartz:DSoundRender_SendSampleData 0 01c4:err:ntdll:RtlpWaitForCriticalSection section 016F24E8 "dlls/quartz/filtergraph.c: filter_graph.cs" wait timed out in thread 01c4, blocked by 0024, retrying (60 sec)
This is not 100% reproducible, the attached playthrough.log for this issue contains one successful playthrough before the hang.
Letting a video play through by itself seems to be the easiest way to reproduce the bug. It does happen, but less often, if the video is closed manually (click once on the video to bring up the close button).
This isn't a clear regression. The problem exists on 5.6 (earliest Wine version for the game to be playable AFAICT) but seems to have gotten worse with later releases.
https://bugs.winehq.org/show_bug.cgi?id=50950
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.gog.com/game/he | |r_story
https://bugs.winehq.org/show_bug.cgi?id=50950
Julian RĂ¼ger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=50950
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- I can't reproduce a hang. I can reproduce a crash, though, which occurs due to the game apparently calling ID3D11DeviceContext::UpdateSubResource() with some pointer and then freeing the pointer while the function is executing. I'm not sure what's going wrong here.
https://bugs.winehq.org/show_bug.cgi?id=50950
--- Comment #2 from Sven Arvidsson sa@whiz.se --- Hi,
Thank you so much for looking into this and fixing #50906
The hangs no longer seems to happen on my system either, only crashes.
https://bugs.winehq.org/show_bug.cgi?id=50950
--- Comment #3 from Sven Arvidsson sa@whiz.se --- FWIW, there are no crashes when dxvk is used. This obviously doesn't help Wine, but it is pertinent to Proton and a workaround to enjoy the game.
Also, disabling the d3d11/d3d10 dlls and forcing the game to use the d3d9 renderer still exhibits the hangs. But the backtraces now point to the video plugin used by Unity (avprowindowsmedia).
https://bugs.winehq.org/show_bug.cgi?id=50950
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- My guess is that the crashes get less likely because DXVK performs UpdateSubResource() asynchronously [and therefore is stuck inside of UpdateSubResource() for less time]. We should do that in wine as well, although it doesn't leave me confident that there's not another bug keeping the game from synchronizing correctly.