NVIDIA Quadro G-Sync II User Guide
The following are the basic steps:
1.Open a display connection to each X Screen you want to control in your frame lock cluster.
Make sure you have privileges to establish the X connection.
2. Query the NV_CTRL_FRAMELOCK attribute to determine if frame lock is supported on each X screen.
3.Set NV_CTRL_FRAMELOCK_MASTER to NV_CTRL_FRAMELOCK_ MASTER_TRUE on one node in the cluster; set it to NV_CTRL_ FRAMELOCK_MASTER_FALSE on every other node in the cluster.
¾ Set NV_CTRL_FRAMELOCK_POLARITY for each slave node in the cluster.
Most likely, you want NV_CTRL_FRAMELOCK_POLARITY_RISING_ EDGE.
¾Set NV_CTRL_FRAMELOCK_SYNC_DELAY as appropriate for each
node.
Most likely, you want 0.
¾Set NV_CTRL_FRAMELOCK_SYNC_INTERVAL as appropriate if you
are using a house sync. Most likely, you want 0.
¾Set NV_CTRL_FRAMELOCK_SYNC to NV_CTRL_FRAMELOCK_SYNC_ ENABLE on each X screen to enable frame lock.
¾(Optional) Set NV_CTRL_FRAMELOCK_TEST_SIGNAL to NV_CTRL_
FRAMELOCK_TEST_SIGNAL_ENABLE followed immediately by
NV_CTRL_FRAMELOCK_TEST_SIGNAL_DISABLE.
This guarantees accuracy of the Universal Frame Count (as returned by glXQueryFrameCountNV()).
¾When you are done, set NV_CTRL_FRAMELOCK_SYNC to NV_CTRL_
FRAMELOCK_SYNC_DISABLE on each X screen to disable frame lock.
50