Advertisement

ForceWare Graphics Drivers
Frame Synchronization
User's Guide
Version 3.0
NVIDIA Corporation
August 14, 2006

Advertisement

Table of Contents
loading

Summary of Contents for Nvidia Frame Synchronization

  • Page 1 ForceWare Graphics Drivers Frame Synchronization User’s Guide Version 3.0 NVIDIA Corporation August 14, 2006...
  • Page 2 NVIDIA Corporation. Trademarks NVIDIA, the NVIDIA logo, 3DFX, 3DFX INTERACTIVE, the 3dfx Logo, STB, STB Systems and Design, the STB Logo, the StarBox Logo, NVIDIA nForce, GeForce, NVIDIA Quadro, NVDVD, NVIDIA Personal Cinema, NVIDIA Soundstorm, Vanta, TNT2, TNT, RIVA, RIVA TNT, VOODOO, VOODOO GRAPHICS, WAVEBAY, Accuview Antialiasing, the Audio &...
  • Page 3: Table Of Contents

    Table of Contents 1.About NVIDIA Frame Synchronization ....... . . 1 2.NVIDIA Frame Synchronization .
  • Page 4 N V I D I A D r i v e r s F r a m e S y n c h r o n i z a t i o n U s e r ’ s G u i d e V e r s i o n 3 . 0 N V I D I A C o r p o r a t i o n...
  • Page 5: About Nvidia Frame Synchronization

    Other Documents For details on using the NVIDIA Display Properties, see the latest version of the ForceWare Graphics Drivers User’s Guide. NVIDIA Corporation...
  • Page 6: System Requirements

    NVIDIA Quadro FX 3000G • NVIDIA Quadro G-Sync (must be used in conjunction with an NVIDIA Quadro FX 4400, NVIDIA Quadro FX 4500, or an NVIDIA Quadro FX 5500 graphics card) • NVIDIA Forceware Graphics Driver version 52.72 or later.
  • Page 7 This chapter explains how the NVIDIA Frame Lock graphics cards and Frame Synchronization software lets you synchronize windows and displays for various visual computing applications.
  • Page 8: Frame Synchronization Principles

    Genlock Genlock is the process of synchronizing the pixel scanning of one or more displays to an external synchronization source. NVIDIA genlock requires the external signal to be either TTL or composite, such as used for NTSC, PAL, or HDTV.
  • Page 9: Before You Begin

    NVIDIA Frame Synchronization Before You Begin • Make sure that the graphics card and NVIDIA drivers are correctly installed. Refer to the instructions that came with your graphics card or drivers. • The following is additional information concerning installation of the NVIDIA Quadro G-Sync card: •...
  • Page 10: How To Set Up Genlock

    Connect the external sync source to the BNC connector on the graphics card. Set Up the Software Use the Frame Synchronization property page to establish the system as the server, to choose the sync source, and configure the sync pulse.
  • Page 11: Detailed Setup Instructions

    Check the signal source and correct the problem before proceeding. Figure 2.2 illustrates a system that is connected to an external sync source. Quadro FX 3000G Server Quadro G-Sync Connector Bracket Sync Source Example of Genlock Hardware Connections Figure 2.2 NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 12: Set Up The Software

    Using the NVIDIA Classic Control Panel 1 Open the Windows Display Properties control panel and click Settings>Advanced to navigate to the NVIDIA graphics display properties page. 2 Click the Frame Synchronization tree item from the slide-out tray. Figure 2.3 Frame Synchronization Page 3 Click the Treat this system as list arrow and then click Server.
  • Page 13 Using the New NVIDIA Control Panel If your driver version includes the new NVIDIA Control Panel, you can set up the software as follows: 1 Right-click the desktop and then from the pop-up menu click NVIDIA Control Panel.
  • Page 14: Additional Setup Instructions

    If the external sync frequency is not support by your display because it is too high, you can use the external house signal to generate a sync signal of a reduced frequency by sampling the external signal. NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 15 This action overrides any refresh rate that you may have selected from the refresh rate list. Detecting the Incoming Signal Type NVIDIA Genlock supports the following external synchronization signal types: • TTL (3.3 volt level): • Composite Bi-level (NTSC or PAL sources use bi-level composite signals.) •...
  • Page 16 Note: The Quadro FX 3000G card typically takes a couple of seconds to achieve stereo sync. The Quadro G-Sync card, because it provides more accurate synchronization, typically requires about 30 seconds to achieve stereo sync. NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 17: How To Set Up Frame Lock

    Use the Frame Synchronization property page to establish the system as the server. Set Up the Clients Use the Frame Synchronization property page for each client to enable frame lock on that system, and to add an optional delay to the sync pulse before transmitting to other clients.
  • Page 18: Detailed Setup Instructions

    The server determines the trigger pulse for the client devices. The trigger pulse is derived from the V-sync of the server video. Figure 2.6 shows an example of four frame locked systems. Server Client Client Client Example of Frame Lock Hardware Connections Figure 2.6 NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 19 1 Start the system that you have designated as the server, then open the Windows Display Properties control panel and click Settings>Advanced to navigate to the NVIDIA graphics display properties page. 2 Click the Frame Synchronization tree item from the slide-out tray. Frame Synchronization Page Figure 2.7 3 Click the Treat this system as list arrow and then click Server.
  • Page 20 1 Right-click the desktop and then from the pop-up menu click NVIDIA Control Panel. 2 From the NVIDIA Control Panel Select a Category page on the system that you have designated to be the timing server, click Workstation.
  • Page 21 Page 1 For each client system, start the system and then open the Windows Display Properties control panel and click Settings>Advanced to navigate to the NVIDIA graphics display properties page. 2 Click the Frame Synchronization tree item from the slide-out tray.
  • Page 22: Testing The Connections

    The connector is receiving the sync signal from another card. The connector is sending the sync signal to another card. Sync and Connection Status Figure 2.10 NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 23: Swap Sync

    Proper connection and synchronization of the timing signal are required for proper synchronization of buffer swaps. “Using the OpenGL Extensions” on page 22 for instructions on how an application can use the extensions to accomplish swap sync. NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 24: Setting Up Genlock + Frame Lock

    NVIDIA Frame Synchronization Setting Up Genlock + Frame Lock The procedures in the previous two sections describe the more common uses of NVIDIA Frame Sync. A third use involves a combination of genlock and frame lock. In this setup, 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”...
  • Page 25: Using The Opengl Extensions

    H A P T E R GL E SING THE XTENSIONS This chapter explains how to use the OpenGL extensions supported by the NVIDIA driver for accomplishing frame synchronization of applications. • “Frame Synchronization Using the OpenGL Extensions” on page 23...
  • Page 26: Frame Synchronization Using The Opengl Extensions

    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. NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 27: Enabling And Configuring Genlock

    • To obtain the current frame count, call QueryFrameCountNV(). • To reset the frame count back to zero, call, ResetFrameCountNV(). In a system that has an NVIDIA frame-lock device installed and enabled, ResetFrameCountNV() succeeds only when the frame lock device is configured as a Master device.
  • Page 28 Set the sync pulse as a function of samplings of the source signal, by calling wglGenlockSampleRateI3D() 1. The current hardware does not support triggering on field data, so you cannot specify triggering on left- only or right-only frames. NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 29: Configuring For Swap Sync

    If hDC is already a member of a different group, it is implicitly removed from that group. If the swap group number is zero, the hDC is removed from the current group. To query the current swap group, call QuerySwapGroupNV(). NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 30 • To bind a group to a barrier, call BindSwapBarrierNV() and specify the group and barrier numbers. If the barrier number is zero, then the group in unbound from the current barrier. To query the current barrier, call QuerySwapGroupNV(). NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 31: Opengl Extensions

    Using the OpenGL Extensions OpenGL Extensions This section describes the relevant OpenGL extensions supported by the NVIDIA display driver (to be shipped with the NVIDIA frame-lock hardware). The set of extensions supported for frame lock are exported as WGL_I3D_genlock and WGL_NV_swap_group.
  • Page 32: Opengl Extensions

    - Device context for the frame lock card, or a window residing on the Parameters In frame lock card. *pFlag: - Parameters Out 0 = Genlock is disabled. 1 = Genlock is enabled. Return Values TRUE: Success FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 33 Parameters In frame lock card. Parameters Out *uSource - WGL_GENLOCK_SOURCE_MULTIVIEW_I3D The internal sync signal is the sync source. WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D The external house sync is the sync source. Return Values TRUE: Success FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 34 *uEdge - WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D Selects the falling edge of the source. WGL_GENLOCK_SOURCE_EDGE_RISING_I3D Selects the rising edge of the source. WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D Selects both edges of the source. Return Values TRUE: Success FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 35 - Device context for the frame lock card, or a window residing on the frame lock card. uDelay - The delay, in pixels, from the sync source trigger edge to the actual trigger pulse. Parameters Out Return Values TRUE: Success FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 36 *uMaxPixelDelay - The maximum number of pixels per raster scan line. This includes all visible and non-visible pixels such as horizontal blank. Return Values TRUE: Success FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 37: Exported Wgl_Nv_Swap_Group Functions

    - Barrier number to which the swap group is to be bound. Value must be between 0 and maxBarrier (see “QueryMaxSwapGroupsNV” on page 35). Parameters Out TRUE: Success Return Values FALSE: Failure NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...
  • Page 38 - Device context for the frame lock card, or for a window residing on the frame lock card. *count - The current frame count of the swap group. Parameters Out Return Values TRUE: Frame count successfully retrieved. FALSE: Frame count retrieval failed. NVIDIA Corporation Frame Synchronization User’s Guide – Version 3.0...
  • Page 39 - Device context for the frame lock card, or a window residing on the Parameters In frame lock card. Parameters Out Return Values TRUE: Frame counter is successfully reset. FALSE: Frame counter not successfully reset. NVIDIA Corporation Frame Synchronization User’s Guide– Version 3.0...

This manual is also suitable for:

Forceware graphics drivers frame synchronization

Table of Contents