Nvidia 2 manual Buffer Swap Criteria, Window Buffer Swaps

Page 64

Using the OpenGL Extensions

Buffer Swap Criteria

The criteria for buffer swaps involves when a window is ready to swap and when a group is ready to swap.

Window Buffer Swaps

Any rendering surface that is not a window—such as a non-visible rendering buffer—is always ready, otherwise the following criteria must be satisfied before a buffer swap for a window can be performed:

‰The window itself must be ready, meaning:

A buffer swap command has been issued for it.

Its swap interval has elapsed.

‰If the window belongs to a group, all the windows in the group must be ready.

‰If the window belongs to a group and that group is bound to a barrier, all groups bound to that barrier must be ready.

Group and Barrier Buffer Swaps

‰Buffer swaps for all windows in a swap group take place concurrently and buffer swaps for all groups using a barrier take place concurrently. For barrier swaps, the vertical retraces of the screens of all the groups must also be synchronized, otherwise there is no guarantee of concurrency between groups.

‰An implementation may support a limited number of swap groups and barriers and may have restrictions on where the users of a barrier can reside.

For example, an implementation may allow the users to reside on different display devices or even hosts. An implementation may return zero for any of maxGroups and maxBarriers returned by QueryMaxSwapGroupsNV if swap groups or barriers are not available in that implementation or on that host.

57

Image 64
Contents 176-0002-000 Page Page Nvidia Quadro G-Sync Page Table of Contents References and Resources Introduction to Nvidia Quadro G-Sync About This GuideNvidia Quadro G-Sync II User Guide System Requirements Implementing SLI TechnologyNvidia Frame Synchronization UnpackingNvidia Quadro G-Sync II Equipment Two 2 Ribbon CablesSafety Instructions Installing Nvidia Quadro G-Sync II Card Quadro G-Sync Nvidia Frame Synchronization Under Windows XP How To Set Up Genlock Set Up the HardwareVID IA Q uadro G-Sync Onnector Bracket Sync Source Server Set Up the Software Basic Genlock SetupDetecting the House Sync Signal Click OK to save the settingsUsing the House Sync Signal Under The synchronization pulses are based on, clickOu tgo in g Sync trigg ered from lead in g and falling ed ge Restoring an Unstable Display How To Set Up Frame LockViewing the Connection Status Er ver Basic Server Setup Set Up the Server SoftwareClick Apply Changing the Timing Signal Frequency Click Edit Settings to open the Server Settings dialog boxSet Up the Client Software Basic Client SetupIntroducing a Timing Delay at Client Systems Yn c D elay SkewSwap Sync Setup Setting Up Genlock + Frame Lock Checking the Connection Status Swap Sync Nvidia Quadro G-Sync II User Guide Nvidia Frame Synchronization Under Linux Using the nvidia-settings Utility Nvidia Q uadro G-Sync Connector Bracket Syn c Sou rce Go to the nvidia-settingsframe lock panel An X Server is typically specified in the format systemmSynchronizing to the External House Signal Ou tgo in g Sync trigg ered from lead in g and falling ed ge Understanding the Status Indicators Sync and Connection Status for the Genlock Server Four frame locked systems An X Server is typically specified in the format systemm Test the Connections Sync and Connection Status for the Server Check the Use House Sync if Present check box Leveraging Frame Lock Genlock in OpenGL Frame Lock RestrictionsSupported Frame Lock Configurations ‰ Frame Lock + SLI SFR, AFR, or Sliaa Two Quadros, SingleGeneral Steps Sample ConfigurationsMake sure frame lock sync is disabled Query the enabled displays on the QuadroGenlock Example Check that the refresh rate is the one we wantEnable use of the house sync signal Configure the house sync signal video modeEnable framelocking Toggle the test signalFrame Lock Example Disable frame lock‰ First display from system Query the enabled displays on the Quadros Disable the house sync signal on the master deviceEnable frame lock on server Check the refresh rate is the same for all displaysEnable frame lock on slave devices Make sure frame lock is disabled for all QuadrosVerify that the refresh rate is the same for all displays Writing a Frame Lock NV-CONTROL Client Enable frame lock on the slave devicesWriting a Frame Lock Client for NV-CONTROL 1.8 and earlier Framelocksyncdisable on each X screen to disable frame lock Are using a house sync. Most likely, you wantNode Most likely, you want Writing a Frame Lock Client for NV-CONTROL 1.9 and later Querying the Frame Lock Capabilities of a System Configuring the Frame Lock GroupQuery the number of Quadro G-Sync II devices on Quadro G-Sync II device Most likely, you wantEnable frame lock on each Quadro by setting Nvctrlframelock Using a house sync. Most likely, you wantEnabling/Disabling Frame Lock Nvidia Quadro G-Sync II User Guide Using the OpenGL Extensions About Buffer Swaps Frame Synchronization Using the OpenGL ExtensionsKey Points and Definitions Buffer Swap Criteria Window Buffer SwapsFrame Counter Configuring for Swap SyncConfiguring Swap Groups Configuring Swap Barriers OpenGL Extensions‰ To bind a group to a barrier, call WglBindSwapBarrierNV GlxBindSwapBarrierNV WglJoinSwapGroupNV, glxJoinSwapGroupNVThis call binds a swap group to a barrier WglQuerySwapGroupNV GlxQuerySwapGroupNV WglQueryMaxSwapGroupsNV GlxQueryMaxSwapGroupsNVWglResetFrameCountNV,glxResetFrameCount WglQueryFrameCountNV,glxQueryFrameCountGetting Driver Updates Nvidia Quadro G-Sync II User Guide Registration, Support Warranty Registering Your Quadro SyncWarranty and Support Compliance and Certifications Copyright