added vsync control on linux