<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 - [Regression] Xwayland/Present: Black window with "World of Warcraft" under Wine"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107757">107757</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression] Xwayland/Present: Black window with "World of Warcraft" under Wine
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>XWayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>subdiff@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141381" name="attach_141381" title="PresentDebug logs">attachment 141381</a> <a href="attachment.cgi?id=141381&action=edit" title="PresentDebug logs">[details]</a></span>
PresentDebug logs

Description:

WoW with Wine shows a black output window when run on Xwayland 1.20-rc2 and
later (including 1.20.1 and master). 

Xwayland 1.20-rc1 worked fine.

The issue first occured with the introduction of Present support in Xwayland
(commit be087778).

Steps to reproduce:

1. Download Wow for free
   (trial version
<a href="https://battle.net/account/creation/tos.html?theme=wow&style=wow-trial">https://battle.net/account/creation/tos.html?theme=wow&style=wow-trial</a>)
2. Configure Wine to emulate Windows 7 (otherwise WoW won't install ...)
3. Run "wine World-of-Warcraft-Setup.exe"
4. Play the game

Actual result:

A black window shows up, while sounds plays.

Expected result:

The output window shows some content

Additional data:

xserver-1.20rc1 worked, xserver-1.20rc2 fails and first bad commit seems to be
the enabling of Present support in Xwayland:

commit be087778a0eae3093ffdbba3ff7c9f3863d8e1d4
Author: Roman Gilg <<a href="mailto:subdiff@gmail.com">subdiff@gmail.com</a>>
Date:   Tue Mar 13 16:00:57 2018 +0100

    xwayland: Activate Present flips in rootless mode with Glamor

    Link the newly introduced support for Present flips. For now flips can only
    be used in rootless mode together with Glamor.


Running Xwayland with PresentDebug enabled while the issue occurs gives (see
attachment)</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>