NVIDIA Frame Synchronization Under Linux

‰nvidia-settings -a [gpu:0]/FrameLockEnable=1

9.Enable frame lock on the slave devices.

‰nvidia-settings -a [gpu:1]/FrameLockEnable=1

‰nvidia-settings -a [gpu:2]/FrameLockEnable=1

‰nvidia-settings -a [gpu:3]/FrameLockEnable=1

10. Toggle the test signal.

‰nvidia-settings -a [gpu:0]/FrameLockTestSignal=1

‰nvidia-settings -a [gpu:0]/FrameLockTestSignal=0

Writing a Frame Lock

NV-CONTROL Client

The NVIDIA X driver exposes the nv-control X extension that allows the user to configure various features–including frame lock–from an X windows client.

This is a brief summary of some of the requirements for writing a Frame Lock NV-CONTROLclient.

Writing a Frame Lock Client for NV-CONTROL 1.8 (and earlier)

See the sample NV-CONTROLclients in the samples directory for basic examples of how to set integer attributes. See the file ctkframelock. c for a much more involved example of how the nvidia-settingsutility programs the frame lock attributes.

The constants referenced below are defined in NVCtrl.h. See the comments in that file for an explanation of each attribute. It may also be useful to search the ctkframelock.c file using a grep utility to see how each attribute is used.

49

Page 56
Image 56
Nvidia 2 manual Writing a Frame Lock NV-CONTROL Client, Writing a Frame Lock Client for NV-CONTROL 1.8 and earlier