background image

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 satis

fi

 ed 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.

Using the OpenGL Extensions

58

Summary of Contents for QUADRO G-SYNC II

Page 1: ...DU 02796 001_v02 User Guide NVIDIA QUADRO G SYNC II...

Page 2: ......

Page 3: ...Hardware 10 Set Up the Software 12 How To Set Up Frame Lock 16 Set Up the Hardware 17 Set Up the Server Software 18 Changing the Timing Signal Frequency 19 Set Up the Client Software 20 Swap Sync Setu...

Page 4: ...49 Writing a Frame Lock Client for NV CONTROL 1 8 49 Writing a Frame Lock Client for NV CONTROL 1 9 51 Using the OpenGL Extensions 55 Frame Synchronization Using the OpenGL Extensions 56 About Buffer...

Page 5: ...els of realism visualization and collaborative capabilities by enabling advanced multi system and multi device visualization environments Note It is important to register your NVIDIA Quadro G Sync II...

Page 6: ...2 NVIDIA Quadro G Sync II User Guide...

Page 7: ...s x86 Processor Intel Pentium 4 or Xeon processor or higher AMD Opteron processor or higher RAM 2 GB minimum 4 GB recommended System Interface 1 open expansion slot Implementing SLI Technology To take...

Page 8: ...nother example applications presented on multiple displays must be synchronized in order to complete the illusion of a larger virtual canvas The NVIDIA Quadro G Sync II option card and Frame Synchroni...

Page 9: ...c II Option Card Installs into an open expansion slot in your computer Two 2 Ribbon Cables Used to connect the primary G Sync connector on the G Sync II option card to the G Sync connector on the Quad...

Page 10: ...ces that could block the ventilation slots and cause overheating Do not place this product near a heating register or radiator Place this product securely on a stable surface Serious damage to this pr...

Page 11: ...used only in conjunction with an NVIDIA Quadro 6000 5000 FX 5800 or FX 4800 graphics board 1 Install the Quadro G Sync II option card into any available expansion slot within six inches of the G Sync...

Page 12: ...8 NVIDIA Quadro G Sync II User Guide...

Page 13: ...nchronization Under Windows This section describes how to set up frame synchronization under Windows It contains the following sections How To Set Up Genlock How To Set Up Frame Lock Setting Up Genloc...

Page 14: ...o establish the system as the server to choose the sync source and configure the sync pulse Set Up the Hardware 1 Start the system then connect the external source signal to the House Sync connector B...

Page 15: ...d you can proceed to the next step An occasional red flash is OK A solid red LED means the hardware can t detect the timing signal Check the signal source and correct the problem before proceeding NVI...

Page 16: ...the House Sync Signal Using the House Sync Signal Restoring an Unstable Display Basic Genlock Setup 1 Right click the desktop and then from the pop up menu click NVIDIA Control Panel 2 From the NVIDI...

Page 17: ...l Normally the software automatically detects the signal type that is being used If necessary you can force the software to detect the signal type as follows 1 On the system that you have set up to be...

Page 18: ...n click Synchronize Displays 2 Make sure that the On this system radio button under The timing server is selected 3 Open the Server Settings dialog box using one of the following methods From the Sync...

Page 19: ...n interlaced signal check box This causes the first field of an interlaced signal to be used to synchronize the display For example for a 60Hz interlaced signal the effective 120 Hz field sync is conv...

Page 20: ...page 17 Set Up the Hardware Connect all the systems together using standard CAT5 patch cabling Note WARNING The voltage and signal on the frame lock ports are different from Ethernet signals Do not c...

Page 21: ...an input and a flashing yellow LED indicates an output If there is no server assigned and connected then both LEDs are a steady green Note WARNING The voltage and signal on the frame lock ports are di...

Page 22: ...ktop and then from the pop up menu click NVIDIA Control Panel 2 From the NVIDIA Control Panel Select a Task pane under the Workstation heading click Synchronize displays to open that page 3 Under The...

Page 23: ...d you want to change the timing signal frequency 1 From the NVIDIA Control Panel Select a Task pane under the Workstation heading click Synchronize displays 2 Make sure that the On this system radio b...

Page 24: ...s s s s s s s s s s s s s s s s s s s se er er er er e er er er er er er er e e er e er er er e er e e e e er e er r r er e er e er er er r er er e er e er er r e e er r er er r er r r r rve ve ve ve...

Page 25: ...cing a Timing Delay at Client Systems You can introduce a sync offset or a delay between the source trigger point coming into the client system and the actual sync pulse The value can be in the range...

Page 26: ...atus page 24 Swap Sync Setup The application controls synchronization of buffer swaps swap sync between applications Proper connection and synchronization of the timing signal are required for proper...

Page 27: ...etup a set of client systems are connected to a system that is designated as the server as described in How To Set Up Frame Lock The difference is that the server system is genlocked to an external ho...

Page 28: ...dro G Sync II option card In addition to viewing status information you can also change various settings using the View System Topology page 1 Right click the desktop and then from the pop up menu cli...

Page 29: ...page The G Sync II card status box shows Whether or not the frame lock ports are used The direction of the timing signal at each frame lock port either IN or OUT Whether or not a house sync signal is...

Page 30: ...26 NVIDIA Quadro G Sync II User Guide...

Page 31: ...set up frame synchronization under Linux It contains the following sections Using the nvidia settings Utility How To Set Up Genlock How To Set Up Frame Lock Setting Up Genlock Frame Lock Leveraging F...

Page 32: ...enable or disable frame lock and genlock For information about the page click Help at the lower right corner of the interface How To Set Up Genlock The following are the basic steps to genlocking a sy...

Page 33: ...evel composite signals Composite Tri level HDTV sources commonly use tri level composite signals 2 Check the LED on the connector panel A green LED means the hardware has detected the timing signal an...

Page 34: ...shows the X server name the graphics card attached to the X server and the displays attached to the graphics board 3 Check the Server check box for one of the displays connected to the system in order...

Page 35: ...s Synchronizing to the External House Signal This section describes other steps you may need to take after connecting a house sync signal Adjusting for Interlaced External House Signals If the externa...

Page 36: ...lick the Sync Edge list arrow and then select both leading and falling edges Detecting the Incoming Signal Type Quadro G Sync II supports the following external synchronization signal types TTL 3 3 vo...

Page 37: ...gnal type cannot be detected click the Video Mode list box arrow and then click the item corresponding to the signal source 4 Click Composite Auto if you want the frame lock board to classify the sign...

Page 38: ...rver device In In indicates that the system is not selected as a server or client and is not frame lock enabled How To Set Up Frame Lock Set Up the Hardware 1 Daisy chain the graphics cards together u...

Page 39: ...trary number of Quadro G Sync II systems Note All displays connected to the same GPU to be included in the frame lock group must be configured with identical display mode timings and refresh rates Any...

Page 40: ...ions configured to use the GDM login manager may need to set DisallowTCP false in the GDM configuration file e g etc gdm custom conf etc X11 gdm gdm conf or etc gdb gdb conf the exact configuration fi...

Page 41: ...group The system driving nvidia settings can locate and has display privileges on the X server that is to be included for frame lock An X Server is typically specified in the format system m For examp...

Page 42: ...stabilize If they do not stabilize you may have selected mode timings that one or more of the systems cannot support In this case you should disable synchronization by clicking Disable Frame Lock and...

Page 43: ...nc signal Green The timing is locked to the signal on the frame lock conector Red Either no signal on the frame lock connector is detected or the lock to the signal has been lost Stereo Steady green i...

Page 44: ...nal house sync as described in How To Set Up Genlock 1 Follow the instructions under How To Set Up Frame Lock and then attach an external sync source to one of the systems included in the frame lock g...

Page 45: ...me refresh rate as the frame lock server master display device If a House Sync signal is used instead of internal timings all client display devices must have the same refresh rate as the incoming hou...

Page 46: ...or the GLX_NV_swap_group extension Frame Lock TwinView Xinerama One or more Quadro s Multiple X Screens Multiple Display Devices with or without OpenGL applications that make use of Quad Buffered Ste...

Page 47: ...which Quadro display device is to be the master 4 Configure the house sync if applicable 5 Configure the slave display devices 6 Enable frame lock on the master Quadro 7 Enable frame lock on the slav...

Page 48: ...ery the enabled displays on the Quadro nvidia settings q gpu 0 EnabledDisplays 3 Check that the refresh rate is the one we want nvidia settings q gpu 0 RefreshRate 4 Set the master display device to C...

Page 49: ...idia settings a framelock 0 FrameLockUseHouseSync 1 6 Configure the house sync signal video mode nvidia settings a framelock 0 FrameLockVideoMode 0 7 Set the slave display device to none This is to av...

Page 50: ...ros Two Displays one per Quadro Sync Source First display from system 1 Frame Lock Example Scripts 1 Disable frame lock nvidia settings a myserver 0 gpu 0 FrameLockEnable 0 nvidia settings a myserver...

Page 51: ...eshRate 4 Make sure the display device we want as master is masterable nvidia settings q myserver 0 gpu 0 FrameLockMasterable 5 Set the master display device CRT 0 nvidia settings a myserver 0 gpu 0 F...

Page 52: ...ver 0 gpu 0 FrameLockTestSignal 0 Frame Lock Example 2 Hardware Configuration System 1 Two Quadro G Sync II Option Cards Four Quadros Eight Displays two per Quadro Sync Source First display on the fir...

Page 53: ...le nvidia settings q myserver 0 gpu 0 FrameLockMasterable 5 Set the master display device CRT 0 nvidia settings a gpu 0 FrameLockMaster 0x00000001 6 Disable the house sync signal on the master device...

Page 54: ...t This is a brief summary of some of the requirements for writing a Frame Lock NV CONTROL client Writing a Frame Lock Client for NV CONTROL 1 8 and earlier See the sample NV CONTROL clients in the sam...

Page 55: ...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 usin...

Page 56: ...w selected as the clients and slaves of a frame lock group Frame lock attributes should now be set queried on Quadros NV _ CTRL _ TARGET _ TYPE _ GPU and Quadro G Sync II frame lock devices NV _ CTRL...

Page 57: ...e of the Quadros using the NV_CTRL_FRAMELOCK_MASTER attribute 2 Set the rest of the display devices as slaves using the NV_CTRL_FRAMELOCK_SLAVES attribute 3 Set NV_CTRL_USE_HOUSE_SYNC to NV_CTRL_USE_H...

Page 58: ...y This guarantees accuracy of the Universal Frame Count as returned by glXQueryFrameCountNV 3 When you are done set NV_CTRL_FRAMELOCK_SYNC to NV_CTRL_ FRAMELOCK_SYNC_DISABLE on each Quadro to disable...

Page 59: ...55 NVIDIA Quadro G Sync II User Guide...

Page 60: ...driver for accomplishing frame synchronization of applications Frame Synchronization Using the OpenGL Extensions explains the principles behind swap groups and describes the OpenGL extensions to use t...

Page 61: ...iming signals A mechanism for binding several windows together so that buffer swaps can be synchronized across all windows About Buffer Swaps Key Points and Definitions Buffer swaps are performed on w...

Page 62: ...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 F...

Page 63: ...d as a master device Configuring for Swap Sync Configuring Swap Groups You can assign an OpenGL window to a swap group There is a maximum number of allowable swap groups that can be created for any pa...

Page 64: ...ion describes the relevant OpenGL NV_swap_ group extensions supported by the NVIDIA display driver and shipped with the Quadro G Sync II hardware These are exported in the WGL extension string which o...

Page 65: ...n 0 and maxGoups see wglQueryMzxSwapGroupsNV glxyQueryMaxSwapGroupsNV Parameters Out N A Return Values TRUE Success FALSE Failure wglBindSwapBarrierNV glxBindSwapBarrierNV This call binds a swap group...

Page 66: ...ess FALSE Failure In this case group and barrier are undefined wglQueryMaxSwapGroupsNV glxQueryMaxSwapGroupsNV This call returns the maximum number of swap groups and swap barriers that are supported...

Page 67: ...rent frame count of the swap group Return Values TRUE Frame count successfully retrieved FALSE Frame count retrieved failed wglResetFrameCountNV glx ResetFrameCountNV This call resets to zero the fram...

Page 68: ...Driver Updates During NVIDIA software installation the installation wizard provides an option to check for updated software online You can also download software updates by visiting http www nvidia co...

Page 69: ...65 NVIDIA Quadro G Sync II User Guide...

Page 70: ...option card you have priority access to NVIDIA Customer Care by using your assigned user ID and password to log on You can also elect to receive automatic notification of special promotions and softwa...

Page 71: ...from NVIDIA s main Web site at www nvidia com Upon registration you will receive an acknowledgement e mail that includes a toll free phone number sign on information for NVIDIA Customer Care and other...

Page 72: ...ick China Compulsory Certification CCC Conformit Europ enne CE Federal Communications Commission FCC Class B Interference Causing Equipment Standard ICES Ministry of Information and Communication MIC...

Page 73: ...NVIDIA Corporation Specifications mentioned in this publication are subject to change without notice This publication supersedes and replaces all information previously supplied NVIDIA Corporation pro...

Reviews: