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).
-- 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/xorg/xserver/issues/694.