3 ms·
You can write X11 code that double buffers and uses vsync. A lot of apps don't bother though.
by swiley 6y ago
You can write X11 code that double buffers and uses vsync. A lot of apps don't bother though.
- Const-me 6y agoI’m not an expert in Linux graphics, but I spent about a day trying to fix that but failed. eglSwapInterval does nothing. The GPU driver exposes no *_swap_control extensions anywhere. There’re 3 extendable parts, EGL, GLES client and GLES server with many extensions each, but nothing resembling GLX_EXT_swap_control/GLX_MESA_swap_control/GLX_SGI_swap_control. Other applications on that Pi4 who render many FPS (web browser or VLC player) also have screen tearing. I assume these people know way more about Linux GPU stuff, yet they failed too. Do you have an advice how I can do that on that Pi4, with EGL 1.1 and GLES 3.1? P.S. Based on the internets, the problem was introduced in Pi4. In earlier versions things were good.