Bug 85183

Summary: GLX_OML_sync_control broken under Xwayland 1.16.1
Product: Wayland Reporter: William Light <fdorg>
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description William Light 2014-10-18 21:04:46 UTC
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).
Comment 1 GitLab Migration User 2019-05-10 15:52:24 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/xorg/xserver/issues/694.

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.