Bug 108985 - Visual Novel "The Fruit of Grisaia" has flickering glitches
Summary: Visual Novel "The Fruit of Grisaia" has flickering glitches
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: 18.3
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-08 22:28 UTC by Fabian Maurer
Modified: 2019-09-25 18:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing a glitch (715.56 KB, image/png)
2018-12-08 22:28 UTC, Fabian Maurer
Details
Screenshot showing the issue, looking like tearing (607.54 KB, image/png)
2018-12-08 22:28 UTC, Fabian Maurer
Details
Screenshot showing it's not normal tearing (1.45 MB, image/png)
2018-12-08 22:29 UTC, Fabian Maurer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Maurer 2018-12-08 22:28:27 UTC
Created attachment 142757 [details]
Screenshot showing a glitch

This is a bug about a game run in wine. I've already submitted a wine bug, but after a lot of testing I assume it's more likely a mesa bug.

When played, the game as flickering/glitches where sometimes an old scene is partially shown over the current scene.

What I found out so far:
- apitrace always plays back perfectly fine
- "LIBGL_ALWAYS_SOFTWARE=1 wine grisaia" makes the issue disappear.
- slowing wine down with "WINEDEBUG=+relay" log spam makes the issue disappear
- "vblank_mode=0"  makes the issue disappear (when not in fullscreen)
- LIBGL_DRI3_DISABLE=1 makes the issue go away
- usage of gallium nine makes the issue disappear


As I said, not sure where the fault is, but I can provide more information if needed.

There's also a demo if you want to reproduce yourself: 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
5) 5) Screen tearing is pretty obvious (see attachments)


System the bug was tested on:
- Arch Linux 64bit
- Linux 4.19.08, AMDGPU driver
- Mesa 17.2.0-devel (git-ccf9669cc1) / Mesa 17.0.5
- Radeon R9 285
- KDE Plasma 5 with OpenGL compositor and regular X session
Comment 1 Fabian Maurer 2018-12-08 22:28:52 UTC
Created attachment 142758 [details]
Screenshot showing the issue, looking like tearing
Comment 2 Fabian Maurer 2018-12-08 22:29:12 UTC
Created attachment 142759 [details]
Screenshot showing it's not normal tearing
Comment 3 Fabian Maurer 2018-12-08 22:33:16 UTC
What I assume would help (like I said in the wine bug report), if it was tested with other drivers. Sadly apitrace doesn't reproduce the problem, so it's a lot more effort - and I don't have other drivers/hardware to test with.
Comment 4 Timothy Arceri 2018-12-10 02:33:26 UTC
(In reply to Fabian Maurer from comment #0)
> System the bug was tested on:
> - Arch Linux 64bit
> - Linux 4.19.08, AMDGPU driver
> - Mesa 17.2.0-devel (git-ccf9669cc1) / Mesa 17.0.5
> - Radeon R9 285
> - KDE Plasma 5 with OpenGL compositor and regular X session

Please test with a more recent version of Mesa before reporting bugs, otherwise you are just wasting the time of developers (we already have limited resources). You have an extremely odd setup, cutting edge Kernel with obsolete Mesa versions (almost 2 years old).

Please retest with Mesa git or at the very least Mesa 18.3.
Comment 5 Fabian Maurer 2018-12-10 18:35:47 UTC
Sorry, that's was a C&P bug.

I'm running mesa 18.3.0-1 and tested with 106052.95d62baac5-git.
Comment 6 GitLab Migration User 2019-09-25 18:36:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1347.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.