<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 - GLX_OML_sync_control broken under Xwayland 1.16.1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85183">85183</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GLX_OML_sync_control broken under Xwayland 1.16.1
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>waylandbugzilla@wrl.illest.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have some XCB OpenGL code which, in the meantime until I port it to Wayland,
I would like to be able to use under Xwayland.

I use the OML_sync_control extension to discover refresh rate (with
glXGetMscRateOML()) and I use glXSwapBuffersMscOML() instead of
glXSwapBuffers(). Unfortunately, neither of these functions seem to work under
XWayland 1.16.1. The Xwayland window shows up black, but when I switch back to
glXSwapBuffers(), rendering and display proceeds as expected.

I am also getting garbage results from glXGetMscRateOML(). Under Xorg on this
machine, I get a (numerator, denominator) pair of (687500, 11457) (~60.006hz).
Under XWayland, I get a variety of numerators and denominators, none of which
are close to 60hz. Several samples of the return values I get are (1,
22259776), (1, 11782208), (1, 9910336), and (1, 22751296).</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>