Synchronize buffer swap with VSYNC

Dear fellows,

can I synchronize buffer swapping with refresh rate/vsync on XFree86 4 in Linux? If so, how do I do?

Specific HW/SW, RedHat 6.2, XFree86 4.0.0, nVidia OpenGL driver 0.9-3, Absolute Multimedia GeForce 2 (32 MB).

/ plg

Originally posted by plg:
can I synchronize buffer swapping with refresh rate/vsync on XFree86 4 in Linux? If so, how do I do?

Short answer: I don’t know.

Long answer: I believe swap control under Windows is done w/ a wgl extension, so the place to look for such functionality under Linux would be in the GLX extensions.

I’ve got a very similar setup to you and just tried to query the GLX extension string - it returned NULL. So either I did it wrong, or no extensions are exported yet by the NVIDIA driver. I was planning on playing around with the latest G400 and V3 DRI drivers this weekend, so maybe that will shed some light on things.

Cheers,
Mark

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