Grisaia freezes after playing/clicking to skip video

Questions about Wine on Linux
Locked
waterflame
Newbie
Newbie
Posts: 2
Joined: Thu Nov 26, 2020 7:12 am

Grisaia freezes after playing/clicking to skip video

Post by waterflame »

Hello, I'm trying to play the first Grisaia game - https://appdb.winehq.org/objectManager. ... &iId=29209

wine versions tested: 5.0.3 32-bit prefix/64-bit prefix & 5.22 slight testing
os: ubuntu 18.04LTS
logs:
* The log is starting the game up and going to extras to play the opening movie. At the end of the log is where the video ends and I have to ctrl+c to kill it. Minus Aikotoba which is just booting as the splashscreen is a video.

LAVFilter-0.74.1 only(32bit prefix): https://pastebin.com/5pvgWhQk
LAVFilter-0.74.1 + winetricks devenum(32bit prefix): https://pastebin.com/tj2PxgLk
LAVFilter-0.74.1 + winetricks devenum(64bit prefix): https://pastebin.com/L8kyTTfB
LAVFilter-0.74.1 + winetricks devenum(64bit prefix) - Aikotoba: https://pastebin.com/xT5S3FZm
LAVFilter-0.74.1 + winetricks devenum(64bit prefix)(Wine 5.22): while video works... sound doesn't nor does being able to skip/go beyond the video: https://pastebin.com/Bp9ZJv4a

Problem:
As noted in the report above if you just install the latest version of LAVFilters it'll work. Well this was back in 2017 with wine 2.18 ... So I tried with both 70.2(the newest release as of that report) and 74.1 the newest release. The video plays back fine until you either click to skip or it gets to the end where it softlocks on a black screen. There is also no audio...

If you only use winetricks to install quartz over the one version that comes with wine(no LAV Filter or with LAV Filter) it'll only play the audio but no video it'll just be a black screen. The thing is that the black rectangle keeps appearing on top of anything you put over the window... So maybe there are two renders fighting each other or something? Like the video is there underneath. It will allow you to click or wait for it to finish and will continue without soft locking. So that is odd.

If you install LAVFilter and devenum(winetricks) it'll play the video as it should but it'll freeze if you click to skip or when the video ends and tries to progress giving two errors(If you wait 60 seconds the same message will print):

0044:fixme:quartz:DSoundRender_UpdatePositions Underrun of data occurred!
0042:err:ntdll:RtlpWaitForCriticalSection section 0x66516ec "filtergraph.c: IFilterGraphImpl.cs" wait timed out in thread 0042, blocked by 0035, retrying (60 sec)

So I'm wondering if anyone knows what is happening here. Depending on the version of quartz there seems to be something different(well the version used by winetricks vs the bultin one). Also the issue about the video softlocking when ending or being skipped.

I've read through this bug thread on MPEG-I splitter support but besides the magic of gstreamer dependency hell... nothing of not really came up - https://bugs.winehq.org/show_bug.cgi?id=9127

How to reproduce:
So while Grisaia has a demo/trial version... it doesn't feature a video. But no worry! Since the game uses CatSystem2(engine) we can look for another game using the same engine. This is where that random Aikotoba log above comes from. In this game's trial it actually starts with a video splash screen! (Mega win)

While going to website for the download link/launching the game to view the splash screen you won't see anything of such nature(at time of writing) but... I thought I should mention that on the website it does read "This trial version cannot be played by anyone under the age of 18."(But in Japanese)

What you'll need:
* wine version 5.0.3
* http://azarashi-soft.nexton-net.jp/aikotoba/download/ - right under the text that has "R18" you should see four brown buttons. Hover over and they should link to google drive. Pick one and download the demo.
* https://github.com/Nevcairiel/LAVFilters/releases - For most testing(and all logs above) I used version 74.1 but the winehq report above uses 70.2(assumed based of dates)
* Possible LANG=ja_JP.UTF-8 support - At least on ubuntu-like OS you can do so by running locale-gen (ex. sudo locale-gen). I believe you may need to mention what locale to gen(mine gens all locales) so possibly "sudo locale-gen ja_JP.UTF-8" or something along those lines
** While most Japanese games seem to need this (I have an alias set up for shorten form "jp")... this game trial(Aikotoba) seems to run fine in a en_US.UTF-8 locale... though I'm not sure if this is because I have all the locale's gen'd(Normally when played in non-jp locale it'll only produce garbled text/romaji break... maybe I just normally play older games Aikotoba is from 2019 so it's fairly new)

Building/Running the prefix:
* WINEPREFIX=~/.vt wine wineboot
* WINEPREFIX=~/.vt wine LAVFilters-0.74.1-Installer.exe (default options)
* WINEPREFIX=~/.vt winetricks devenum
* unzip -O shift-jis aikotoba_trial.zip (use whatever you want, I just but the filenames are in shift-jis which the default gui unzipper can't seem to handle)
* WINEPREFIX=~/.vt wine aikotoba_trial.exe (a little window will popup in the middle of your screen. The left button is for fullscreen and the right button is windowed. Click right.)
* A video should play with a cute seal
* ctrl-c to kill the program from terminal
Locked