News for hackers. Stuff that matters.
Re:Netflix and Spotify on a Raspberry Pi 4 with Chromium and... by swiley on Wednesday January 27, 2021 @07:37AM (#25927459)
You can write X11 code that double buffers and uses vsync. A lot of apps don't bother though.
Re:Netflix and Spotify on a Raspberry Pi 4 with Chromium and... by Const-me on Wednesday January 27, 2021 @09:58AM (#25928958)
I’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.