How do I wait for vertical retrace?

Rui Tiago Cação Matos tiagomatos at
Mon May 5 09:09:54 PDT 2008

On 05/05/2008, Doug Larrick <doug at> wrote:
> You can use DRM's drm_wait_vblank ioctl, or OpenGL's GLX_SGI_video_sync
>  extension, to wait for vblank.  Neither of these work on all hardware.

Do any of those work if you're using X protocol requests? I don't
think so since the server is ultimately who decides when to draw.


More information about the xorg mailing list