Bug 85183 - GLX_OML_sync_control broken under Xwayland 1.16.1
Summary: GLX_OML_sync_control broken under Xwayland 1.16.1
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
Depends on:
Reported: 2014-10-18 21:04 UTC by William Light
Modified: 2019-05-10 15:52 UTC (History)
1 user (show)

See Also:
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.