VSync on other platforms than Windows lazarus / 70-OpenGL ---------------------------------------------------------------------- Pascal · 2017-07-12 21:51 How can i do swap buffers syncronized to VSync on Linux or MacOS. If there is a way to do so, i could add it to TCustomOpenGLControl. ---------------------------------------------------------------------- Thaddy · 2017-07-13 04:41 Newer linux kernels have framebuffer support. fbdev (not directfb, which old) ---------------------------------------------------------------------- User137 · 2017-07-14 00:11 For what i understood from that thread: https://unix.stackexchange.com/questions/182801/why-is-video-tearing- such-a-problem-in-linux , is that it's a OS problem, not software. In MacOS it seems to be opposite, that you need to install some 3rd party tool to disable VSync. Other discussion there: https://stackoverflow.com/questions/589064/how-to-enable-vertical- sync-in-opengl .. and i don't think this is related to framebuffers. ---------------------------------------------------------------------- Thaddy · 2017-07-14 06:28 Quote from: User137 on July 14, 2017, 02:11:45 am.. and i don't think this is related to framebuffers. Ultimately it is... (almost) all higher level code eventually falls through to it (EGL, OpenGL, OpenVG, OpenGles, CGL, etc usually are built on top of it. Even X11). I refer to it because the fbdev is already vsynced in many cases (by necessity!) at the kernel driver level , but it depends on videocard hardware: even with fb tearing can occur. I will add an example to the wiki. Also direct rendering.