add debug log for vsync 2