dankcushions
Posts: 27
Joined: Sat Jun 13, 2015 10:40 am

VSync always on for Raspberry Pi 3 - any test programs to verify?

Fri Jul 05, 2019 10:52 am

I think I’ve found a bug with SDL 2.0.8 (I will test with latest master at some point!) on Raspberry Pi (3, using standard ) where VSync is always enabled regardless of SDL_GL_SetSwapInterval calls. However, my proof is a bit convoluted, with too many moving parts.

Does anyone know of a simple SDL GLES2 test program I can run at command line, that would test SDL_GL_SetSwapInterval on/off? Eg, something that outputs X frames as fast as it can, and I can see if it’s limited by the current display Hz or not?

Thanks :)

dankcushions
Posts: 27
Joined: Sat Jun 13, 2015 10:40 am

Re: VSync always on for Raspberry Pi 3 - any test programs to verify?

Thu Aug 01, 2019 2:44 pm

PS, for anyone curious about this, there is a gles2test program included in SDL2 that you can use. i did that and found my issue; https://github.com/mupen64plus/mupen64p ... e/pull/670

Return to “OpenGLES”