Programs present video frames during VBlank to avoid tearing, since the monitor will happily switch to the new frame mid-draw. With the compositor in Windows Vista and later versions of Windows, these programs will still detect VBlank and only present frames during it, as they think they...
There's a repohttps://github.com/ad8e/vsync_blurbusters/that solves the issue without needing to wait for the vblank. You can see the Linux part athttps://github.com/ad8e/vsync_blurbusters/blob/main/platform_vsync_linux.cpp. The system gives you the timing. ...