How do I wait for VSYNC with binary nVidia driver?

Matthias Hopf mhopf at suse.de
Fri Sep 29 03:12:05 PDT 2006


On Sep 22, 06 10:14:09 +0100, Barry Scott wrote:
> I have an X11 client (not OpenGL) that needs to wait for VSYNC.
> With Intel and VIA I use drm to do this successfully and I want to
> support the binary nVidia driver.
> 
> I've failed to find out how to wait for VSYNC with the binary nVidia
> driver. Does any one know how to do this?

Set the __GL_SYNC_TO_VBLANK environment variable to a non-zero value.
This is described in the NVIDIA README.txt that is installed with the
driver.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>       __        __   __
Maxfeldstr. 5 / 90409 Nuernberg    (_   | |  (_   |__         mat at mshopf.de
Phone +49-911-74053-715            __)  |_|  __)  |__  labs   www.mshopf.de



More information about the xorg mailing list