is it possible to synchronize rendering with vsync under linux, and how ist this done?



There’s an GLX extension available that seems to work like WGL_ext_swap_control but I think it isn’t used by any of the most common graphic cards:

Perhaps there’s a way to do that through the X-Server?

See you,

For nVidias drivers I think there is some env variable that you can set. That means that you do not have SW control over it

Perhaps it is possible to change the env variable from your program before you open your window, but I don’t know when the variable is read by the drivers. Also, this is vendor specific and not a very nice solution.

I’m pretty sure nVidia does not support GLX_SGI_swap_control.

seems to work in my app… before setting up the GLX context

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.