https://bugs.winehq.org/show_bug.cgi?id=45168
Bug ID: 45168 Summary: Visual Novel "The Fruit of Grisaia" has flickering glitches Product: Wine Version: 3.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
Created attachment 61370 --> https://bugs.winehq.org/attachment.cgi?id=61370 Error log
The game works fine so far, but the graphics is often glitchy and doesn't seem to update properly.
It spams the output
fixme:d3d:wined3d_texture_add_dirty_region Ignoring dirty_region (
I guess this is the problem.
The game uses d3d9 AFAIK, although I couldn't get it to output an apitrace trace. I hope this is not a dupe, but I didn't find the issue.
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Created attachment 61371 --> https://bugs.winehq.org/attachment.cgi?id=61371 Screenshot showing a glitch
https://bugs.winehq.org/show_bug.cgi?id=45168
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Ok, I'm not sure if this is a wine bug anymore. I still think it is though. "LIBGL_ALWAYS_SOFTWARE=1 wine grisaia" makes the issue disappear. However, I did an opengl apitrace when the issue appeared, and replaying the trace does't reproduce the issue. When running "WINEDEBUG=+relay wine grisaia" it gets incredibly slow, but no glitches as far as I can see. An idea on how to debug this? Would some kind of detailed log help?
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Still relevant as of wine 3.20.
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Must be "still relevant as of wine-3.19" ofc.
Also, I managed to get a d3d9 apitrace now, but it still does replay fine under wine. It only has the artifacts when running the game itself. Probably due to the timing issues, maybe related to vsync? I tried setting "vblank_mode=0" (using mesa) and it seems to make it work, at least I couldn't get it to have artifacts yet. The fps seem to be not affected much, what is kinda strange to me.
An idea what's wrong here?
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Created attachment 62962 --> https://bugs.winehq.org/attachment.cgi?id=62962 Glitch in the demo
The game has a demo which can be used to reproduce the issue. Links to demo: http://frontwing.jp/product/grisaia/download.html
A direct link: http://suezou.dyndns.org/dl2010/frontwing/gurizaia/Grisaia_trial_web.zip (700MB and might take a while to download)
Guide to test: 0) Get the demo 1) Click through the installation. It installs to "C:\frontwing\SomeJapaneseFolder" 2) run wine "Grisaia", it opens a dialog where you should click the right option (windowed mode) 3) in the main menu click the first option, and then any of the scenes you can select. 4) Press left-ctrl to fast-forward or the mouse to advance one by one 5) Screen tearing is pretty obvious (see attachment)
I assume it might be related to the driver, so it would be great if someone could test! Using AMD R9 285 and mesa on ArchLinux x64.
https://bugs.winehq.org/show_bug.cgi?id=45168
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://suezou.dyndns.org/dl | |2010/frontwing/gurizaia/Gri | |saia_trial_web.zip Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- LIBGL_DRI3_DISABLE=1 also seems to fix the issue, at least I didn't manage to reproduce the glitches with that.
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #7 from Fabian Maurer dark.shadow4@web.de --- Created attachment 62963 --> https://bugs.winehq.org/attachment.cgi?id=62963 Another screenshot showing it's not normal tearing
https://bugs.winehq.org/show_bug.cgi?id=45168
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=108985
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Using gallium nine with wine also fixes the issue. No sure what's going wrong here, either wine does something weird or the mesa backend.
I also filed a mesa bug at https://bugs.freedesktop.org/show_bug.cgi?id=108985, since at this point I assume it's more likely a mesa issue .
https://bugs.winehq.org/show_bug.cgi?id=45168
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Confirming with wine-4.9.
https://bugs.winehq.org/show_bug.cgi?id=45168
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #10 from Fabian Maurer dark.shadow4@web.de --- Are you also using mesa? Still trying to find out if it's a wine or a mesa issue.
https://bugs.winehq.org/show_bug.cgi?id=45168
--- Comment #11 from joaopa jeremielapuree@yahoo.fr --- problem occurs with mesa. No glitch with the nvidia blob.
Although the cursor flickers on both.
https://bugs.winehq.org/show_bug.cgi?id=45168
sahelanthropus 3dw_50ssu16amyn7@byom.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |3dw_50ssu16amyn7@byom.de
--- Comment #12 from sahelanthropus 3dw_50ssu16amyn7@byom.de --- Can confirm this only happens with Mesa. Using a nvidia card with any driver works fine.
OS: Ubuntu 18.04.3 Tested mesa versions: 19.1 up to 19.3.0
https://bugs.winehq.org/show_bug.cgi?id=45168
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://suezou.dyndns.org/dl |https://web.archive.org/web |2010/frontwing/gurizaia/Gri |/20101228040521/http://suez |saia_trial_web.zip |ou.dyndns.org/dl2010/frontw | |ing/gurizaia/Grisaia_trial_ | |web.zip
--- Comment #13 from Fabian Maurer dark.shadow4@web.de --- Adding archived download, thanks to the kind soul who archived it. Will retest once the download is finished...
https://bugs.winehq.org/show_bug.cgi?id=45168
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |6181b0ea270dfe0be2a0246bb39 | |1568559cc01af Resolution|--- |FIXED
--- Comment #14 from Fabian Maurer dark.shadow4@web.de --- This is now fixed as of 6181b0ea270dfe0be2a0246bb391568559cc01af (wine-6.18)
Although the mesa issue is still there. What's a bit weird, even when reverting 6181b0ea270dfe0be2a0246bb391568559cc01af on top of current wine-git (and fixing the conflict) the issue is still not present.
https://bugs.winehq.org/show_bug.cgi?id=45168
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.
https://bugs.winehq.org/show_bug.cgi?id=45168
brunoaiss+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brunoaiss+winebugs@gmail.co | |m