<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Visual Novel "The Fruit of Grisaia" has flickering glitches"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108985">108985</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Visual Novel "The Fruit of Grisaia" has flickering glitches
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>18.3
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dark.shadow4@web.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=142757" name="attach_142757" title="Screenshot showing a glitch">attachment 142757</a> <a href="attachment.cgi?id=142757&action=edit" title="Screenshot showing a glitch">[details]</a></span>
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:
<a href="http://suezou.dyndns.org/dl2010/frontwing/gurizaia/Grisaia_trial_web.zip">http://suezou.dyndns.org/dl2010/frontwing/gurizaia/Grisaia_trial_web.zip</a> (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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>