On 22/Sep/2021 16:41, Ismael Luceno wrote: > On 22/Sep/2021 03:18, Ryan McClue wrote: > > I'm rendering with XRender: > > XRenderComposite(display, PictOpSrc, src_picwant, dst_pict, 0, 0, 0, 0, 0, > > 0, window_width, window_height); > > I want this to sync with the monitor's VBLANK, i.e. vsync. > > How can this be achieved? > > AFAIK XRender can't do vsync. You may want to use OpenGL for > everything, or even just for the presentation step in order to do > the vsync...
You may also want to try the XSync extension, but it never worked properly for me (might have been my fault though), so in practice you might need a fallback.