[osg-users] Enabling Vsync gives dramatic increase in latency
Björn Blissing
bjorn.blissing at vti.se
Fri Apr 17 05:58:48 PDT 2015
Hi again,
I also tried Roberts suggestion about using the trunk and OSG_SYNC_SWAP_BUFFERS=ON.
To get better averages I took the measurements over 100 cycles:
Recorded data:
=========
OSG 3.2.1 + Nvidia Defaults + VSync On:
min_latency = 59ms
max_latency = 65ms
mean_latency = 62ms
OSG Trunk + Nvidia Defaults + VSync On + SYNC_SWAP_BUFFERS=OFF:
min_latency = 59ms
max_latency = 64ms
mean_latency = 62ms
OSG Trunk + Nvidia Defaults + VSync On + SYNC_SWAP_BUFFERS=ON:
min_latency = 42ms
max_latency = 48ms
mean_latency = 45ms
OSG Trunk + Custom Settings as previous + VSync On:
min_latency = 10ms
max_latency = 40ms
mean_latency = 21ms
Regards,
Björn
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63450#63450
More information about the osg-users
mailing list