Page 1
Quadro Professional Drivers Quadro FX 4800/5800 and Quadro CX SDI User’s Guide Version 1.0...
Page 2
NVIDIA Corporation. Specifications mentioned in the software are subject to change without notice. NVIDIA Corporation products are not authorized for use as critical components in life support devices or systems without express written approval of NVIDIA Corporation. NVIDIA, the NVIDIA logo, Detonator, Digital Vibrance Control, ForceWare, GeForce, nForce, nView, NVKeystone, NVRotate, Personal Cinema, PowerMizer, Quadro, RIVA, TNT, TNT2, TwinView, and Vanta are registered trademarks or trademarks of NVIDIA Corporation in the United States and/or other countries.
Installing and Preparing the NVIDIA Quadro FX SDI ....... 6...
Page 4
N V I D I A D r i v e r s Q u a d r o F X 4 8 0 0 / 5 8 0 0 a n d Q u a d r o C X S D I U s e r ’ s G u i d e V e r s i o n 1 . 0 N V I D I A C o r p o r a t i o n...
For details on using the NVIDIA Control Panel, see the Guide. 1. In the rest of this document, “NVIDIA Quadro FX SDI” refers to the NVIDIA Quadro CX SDI, NVID- IA Quadro FX 4800 SDI, and the NVIDIA Quadro FX 5800 SDI. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 6
• The following operating systems are supported: Windows ® XP. • • Linux • NVIDIA Quadro CX SDI, NVIDIA Quadro FX 4800 SDI, or NVIDIA Quadro FX 5800 SDI Graphics Card • PCI‐Express Motherboard • NVIDIA Professional Graphics Driver • For Windows, version 178.xx or later. • For Linux, version 178.00.xx or later. Revision History Revision Date Description 10/25/08 Initial Release. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
HAPTER NVIDIA Graphics-to-SDI H A P T E R NVIDIA G -SDI RAPHICS This chapter provides an overview of the NVIDIA graphics‐to‐SDI functionality, described in the following sections: • “Feature Overview” on page 4 lists the hardware connections, supported SDI formats, and additional SDI support features of the NVIDIA Quadro FX SDI graphics card. • “Installing and Preparing the NVIDIA Quadro FX SDI” on page 6 describes how to install the NVIDIA Quadro FX SDI card and prepare it for use. • “Operating NVIDIA SDI” on page 10 provides an overview of SDI operation. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
HAPTER NVIDIA Graphics-to-SDI Supported Output Modes • Clone Mode • Dualview Mode • Application‐controlled Mode using NVIDIA SDI APIs Desktop Region Adjustment Capability When in Clone mode, lets you define a portion of the desktop to convert to SDI output. Genlock and Frame Lock Capability Lets you synchronize the SDI output to an external digital or analog sync source. Note: The NVIDIA Quadro FX SDI card does not support SLI mode at this time. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Installing and Preparing the NVIDIA Quadro FX SDI About Your NVIDIA Quadro FX SDI The following describes the components included in your NVIDIA Quadro FX SDI product package: Cards The NVIDIA Quadro FX SDI consists of the following two cards: • NVIDIA Quadro CX, NVIDIA Quadro FX 4800, or NVIDIA Quadro FX 5800 graphics card • NVIDIA SDI Output Card Cables In addition, you need the following cables, which should be provided with your NVIDIA Quadro FX SDI package: • (Qty 1 ea.) 14‐Pin Ribbon Cable This cable connects the NVIDIA Quadro CX / FX 4800/5800 card to the SDI Output card for genlock and frame‐lock functionality. • (Qty 1 ea.) DVI‐to‐DVI Cable This cable connects the video output from the graphics card to the SDI output card. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Insert the graphics card into the x16 PCI‐express slot and use a screw to secure the card’s bracket to the system chassis. b Connect the power cable to the auxiliary power connector(s). The NVIDIA Quadro FX 5800 requires power to two auxiliary power connections. 3 Install the NVIDIA SDI Output card. a Insert the NVIDIA SDI Output card into any available type of expansion slot within six inches of the NVIDIA Quadro FX G‐Sync connector, and use a screw to secure the card’s bracket to the system chassis. b Connect the power cable to the auxiliary power connector. 4 Connect one end of the 14‐pin ribbon cable to the G‐Sync connector on the NVIDIA Quadro FX card, and the other end to the NVIDIA SDI Output card. NVIDIA Quadro FX card NVIDIA SDI Output card 5 Close the chassis cover. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 12
DVI Connection between the SDI Output card and the Quadro CX/QuadroFX 4800 Figure 2.1 Quadro FX 5800 “north” connector SDI-Output Card DVI Connector Figure 2.2 DVI Connection between the SDI Output card and the Quadro FX 5800 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 13
Digital Connectors Available for Displays Figure 2.3 Step 3: Install the NVIDIA Graphics Drivers If you will be installing new graphics drivers for the NVIDIA Quadro FX SDI card, it is highly recommended that you uninstall any previous version of the NVIDIA ForceWare graphics driver software before installing updated graphics drivers. 1 Follow the instructions on the NVIDIA.com Web site driver download page to locate the appropriate driver to download, based on your hardware and operating system. 2 Click the driver download link. The license agreement dialog box appears. 3 Click Accept if you accept the terms of the agreement, then either open the file or save the file to your PC and open it later. Opening the EXE file launches the NVIDIA InstallShield Wizard. 4 Follow the instructions in the NVIDIA InstallShield Wizard to complete the installation. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Fill portion Fill portion SDI/Composite of a single-link of a single-link Sync Signal SDI output SDI output “INPUT” “KEY” “FILL” NVIDIA Quadro FX SDI Connectors Figure 2.4 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
SDI • Composite, which can be one of the following: Composite Bi‐level (NTSC or PAL sources use bi‐level composite signals.) Composite Tri‐level (HDTV sources commonly use tri‐level composite signals.) • To use an external sync source, connect the sync signal to the INPUT BNC connector as indicated in Figure 2.4, then select the corresponding signal type (SDI or composite) using the NVIDIA Control Panel. About the Software The NVIDIA SDI software lets you specify the • SDI signal format • Color formats • Synchronization method • Gamma correction • Color‐space conversion Graphics‐to‐SDI functionality can be set up and controlled in two basic ways—using the NVIDIA Control Panel for 8‐bit SDI output from the desktop, or using the NVIDIA SDI API for 8‐, 10‐, or 12‐bit SDI output from an application. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 16
Programming the NVIDIA Quadro FX 4800/5800 SDI • Also, refer to the document for instructions on using the APIs. Using the Control Panel When the SDI output is not being controlled by an application, the SDI software works on top of existing applications, and the active workstation desktop or full screen application display is automatically forwarded to the SDI video outputs. This is accomplished under either Clone or Dualview mode. In this mode, you can use the NVIDIA Graphics to SDI property page to • Configure the external synchronization signal if needed. • Specify the SDI signal format, output format, and then enable the SDI output. For detailed instructions under Windows, see the chapter “Windows–Using the Graphics to SDI Control Panel” on page For detailed instructions under Linux, see the chapter “Linux—Using the Graphics to Video Out Control Panel” on page NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
3 Verify the video quality 4 Close the Graphics to SDI control panel 5 Go on air To avoid visual disturbances while broadcasting live, DO NOT • Start or stop the graphics or video application • Turn on or off the SDI output • Make changes to the SDI signal format Changing Applications To avoid visual disturbances while switching applications, observe the following sequence: 1 Stop the live broadcast (go off air) 2 Stop the application 3 Start the new application 4 Verify video quality 5 Resume the live broadcast NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 18
4 Resume the live broadcast When Using the Control Panel NVIDIA recommends the following • Set the desktop to the same or higher resolution than the SDI output for better image quality. • Close all background applications—such as virus scan, backup, and archiving applications—before starting the SDI output and going on air. • Close the Display Properties panel before going on air. • When running multiple OpenGL applications, tearing may occur if the applications are not synchronized. In general, NVIDIA does not recommend running multiple OpenGL applications when starting the SDI output or when going live. Running Multiple OpenGL Applications To maximize the system resources and bandwidth available for converting graphics to SDI output, NVIDIA recommends broadcasting only one OpenGL application at a time. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
SING THE RAPHICS TO ONTROL ANEL This chapter explains how to set up the NVIDIA Quadro FX SDI graphics card for Windows under Clone or Dualview mode using the NVIDIA Control Panel Send Graphics to SDI output page. It contains the following sections: • “How to Set Up the Graphics‐to‐SDI Output” on page 16 provides step‐by‐step instructions for using the control panel to set up the SDI output. • “Advanced Adjustments” on page 22 explains additional adjustments you can make to the SDI output. • “About Dualview Mode” on page 26 • “Enabling Multiple SDI Cards” on page 27 • “Allowing Application Control of the SDI Output” on page 28 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
SDI output and going on air. • Close the control panel before going on air. • When running multiple OpenGL applications, synchronize them, otherwise tearing may occur. 1 From the NVIDIA Control Panel navigation tree pane, under Workstation, click Send graphics to SDI output. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 21
2 If you are using more than one NVIDIA Quadro FX SDI card, under Select a display to configure SDI output click the display icon corresponding to the display you want to configure, then follow the remaining instructions for that display. • This option does not appear if your system contains only one NVIDIA Quadro FX SDI card. • If this option does not appear and your system does contain more than one NVIDIA Quadro FX SDI card, see “Enabling Multiple SDI Cards” on page 27 for instructions on enabling the cards. 3 Under Send SDI output using, select the SDI output mode that you want to use. • Clone mode: In Clone mode, the SDI output is a clone of the display output. • Dualview mode: In Dualview mode, you can define one large desktop that extends from the display to the SDI output. This lets you move windows between the SDI output and the graphics (DVI) display part of the extended desktop. • Do not send SDI output: With this option, no signal is sent to the SDI output. The remaining controls on the page are disabled. Choose this option if you want an application to control the SDI output. Once the application is running, this page does not let you change the settings, but only shows the settings established by the application. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 22
HAPTER Windows–Using the Graphics to SDI Control Panel 4 Click the SDI Settings bar to open the SDI Signal Settings dialog box. 5 Choose a method for determining the format of the SDI output ‐ either using internal timing or synchronized to an external signal source. • To use internal timing, select Free running (internal timing), then click the list arrow and choose from the list of available SDI signal formats. • To synchronize to an external signal source, make sure the house sync is connected to the INPUT BNC connector on the graphics card, then select the Synchronized to a house sync signal radio buttion and set up the synchronization and signal formats as follows: • Select the House sync type radio button (SDI or Composite) that corresponds to the sync signal type you are using. • To synchronize the pixel scanning of the SDI output to the external signal using genlock, select Pixel‐accurate synchronization. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 23
Windows–Using the Graphics to SDI Control Panel • To synchronize the frame rate of the SDI output to the external signal using frame lock, select Frame‐accurate synchronization using this format, then click the list arrow and choose from the list of available SDI signal formats. • To introduce a delay in the SDI output, enter the pixel or line delay values in the appropriate HSYNC or VSYNC delay boxes. See “Synchronizing the SDI Output to an External Source” on page 20 for additional information. 6 Check the Terminate the analog signal at this connector check box if • the system is a standalone system synchronized to a house sync signal, or • the system is the last in a chain of systems connected to the same house sync signal. 7 Choose the SDI output data format by clicking the SDI output format list arrow and then selecting from the list of available color formats. 8 Click OK when done to close the dialog box. 9 Click Apply. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Supported Synchronization Signals The NVIDIA driver supports the following external synchronization signal types: • SDI • Composite Bi‐level (NTSC or PAL sources use bi‐level composite signals.) • Composite Tri‐level (HDTV sources commonly use tri‐level composite signals.) Connecting to an External Synchronization Source To use an external sync source: 1 Connect the sync signal to the INPUT BNC connector. You can connect multiple systems to the same house sync by daisy‐chaining the house sync cable to each card using BNC T‐connectors. 2 Follow the instructions in Basic SDI Setup for setting up your SDI system to use the external sync signal. The driver will not detect a valid sync signal until the correct signal type is configured in the NVIDIA Control Panel. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
SDI output has power. SDI output is active. Blinking Green • Input Status Meaning Off (gray) SDI input synchronization is disabled. Blinking Green Valid SDI synchronization signal is detected. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Graphics to SDI Output page: • “Adjusting the Desktop Area” on page 22 • “Applying Gamma Correction” on page 24 • “Setting Up the Color Space Conversion” on page 25 • “Synchronizing the SDI Output to an External Source” on page 20 Adjusting the Desktop Area By default, the entire desktop is converted to SDI output. If the desktop is smaller than the size of the SDI output, it will be scaled to fit. If the desktop is larger than the SDI output, it will be cropped to fit. Instead of using the entire desktop, you can specify a region of the desktop to convert to SDI output as follows: 1 From the NVIDIA Control Panel navigation tree pane, under Workstation, click Send graphics to SDI output. 2 Click the Change Desktop Region bar. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 27
Superimposed over the desktop is a rectangular outline that shows the region that will be used for the SDI output. Desktop Region Adjustment Figure 3.2 3 Click the Select Region to use option. 4 Adjust the region size. • Click and drag within the rectangular outline to adjust its position on the desktop. • Click and drag the appropriate corner or side handles to resize the outline. • You can also adjust the region size by specifying the X, Y, Width, and Height values in the SDI Output dialog box. Either enter pixel values directly into the corresponding text boxes or click the up and down arrows by the appropriate box. Note: The X and Y values indicate the distance, in pixels, between the upper‐left corner of the desktop and the upper‐left corner of the output box. 5 Click OK when finished. The desktop graphic image shows a thumbnail preview of the desktop region that you have set up for SDI output. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Windows–Using the Graphics to SDI Control Panel Applying Gamma Correction To specify the gamma correction to use for the source stream: 1 From the NVIDIA Control Panel navigation tree pane, under Workstation, click Send graphics to SDI output. 2 Click the Color Settings bar to open the Color Settings dialog box. 3 Click the Gamma Correction tab. 4 Specify the RGB Gamma values using one or more of the following methods: • Click and drag each R, G, or B slider to the appropriate value. • Enter the R, G, or B value in the respective boxes or use the up and down arrows. To keep all gamma channels at the same value while you adjust them simultaneously, click the Lock all channels check box. 5 Click OK when finished. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Windows–Using the Graphics to SDI Control Panel Setting Up the Color Space Conversion 1 From the NVIDIA Control Panel navigation tree pane, under Workstation, click Send graphics to SDI output. 2 Click the Color Settings button to open the Color Settings dialog box. 3 Click the Color Space Conversion tab. 4 Check Override the default color space conversion. 5 Click the Initialize the color space conversion matrix with list arrow and then click one of the pre‐defined color‐space standards to use as a starting point. 6 In each color‐space text box, either enter values directly or use the corresponding up and down arrows to change the values. 7 Click OK when finished. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Windows–Using the Graphics to SDI Control Panel About Dualview Mode In the default configuration, the SDI output is a clone of the display output. The NVIDIA Quadro FX SDI graphics cards also supports Dualview mode, where the desktop extends across two monitors. Under Dualview mode, you can define one large desktop that extends from the display to the SDI output. This lets you move windows between the SDI output and the graphics (DVI) display part of the extended desktop. With applications that use video overlay or Microsoft VMR, you can also display the video full‐screen on the SDI output. Area displayed on primary display Area displayed on the SDI output Use Full‐Screen Video Mirror to present a video overlay or Microsoft VMR video full screen on the SDI output. Application windows can be dragged from one display to the other. Figure 3.3 Extended Desktop with Dualview Mode The display and the SDI output do not need to be the same resolution and refresh rate. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
2 Open the Windows Display Properties page. a Right‐click the desktop, then click Properties from the pop‐up menu. b Click the Settings tab. 3 Determine which monitor icon corresponds to the graphics card that you want to enable. There should be two monitor icons for each graphics card in the system. Typically, monitors 1 and 3 are connected to one graphics card and monitors 2 and 4 are connected to the other. For example, if monitor 1 is already attached, then monitor 2 would be grayed out, indicating that it is connected to the graphics card that is not yet enabled. 4 Right‐click the grayed‐out monitor icon corresponding to the graphics card you want to enable, then click Attached from the pop‐up menu. ‐ or ‐ Click the monitor icon, then click the Extend my Windows desktop onto this monitor check box. 5 Click OK. You can now configure the SDI output for each SDI card as described in Basic SDI Setup. Open the View System Topology page (see “Viewing the SDI Connection Status Using the Topology Viewer” on page 30) to verify your display‐to‐graphics card connections. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
2 If you are using more than one NVIDIA Quadro FX SDI card, under Select a display to configure SDI output, click the display icon corresponding to the display you want to configure. • This option does not appear if your system contains only one NVIDIA Quadro FX SDI card. • If this option does not appear and your system does contain more than one NVIDIA Quadro FX SDI card, see “Enabling Multiple SDI Cards” on page 27 for instructions on enabling the cards. 3 Under Send SDI output using, select Do not send SDI output. Step 2: Close the NVIDIA Control Panel. Step 3: Start the application. Once the application is running and the SDI output is under application control, you can view the SDI settings and check the status using the Send Graphics to SDI Output page. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 33
HAPTER Windows–Using the Graphics to SDI Control Panel To view the SDI status, open the NVIDIA Control Panel and click Send graphics to SDI output from the Select a Task pane. Figure 3.4 Graphics to SDI Page—Application Control NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Windows–Using the Graphics to SDI Control Panel Viewing the SDI Connection Status Using the Topology Viewer For workstation systems, a graphical topological view of the system is available to let you quickly check the status of your particular graphics environment. The View System Topology page provides SDI status information for each display, the graphics card‐to‐SDI card pairing, and the connection status information for the NVIDIA Quadro FX SDI cards. In addition to viewing status information, you can also change various settings using the View System Topology page. To view the system topology for your graphics‐to‐SDI setup, 1 From the NVIDIA Control Panel Select a Task pane, under Workstation, click View system topology. 2 Click any of the icons to view connection and signal status details. 3 You can also right‐click the SDI output card icon to access the context menu where you can open the SDI signal settings or color settings dialog boxes. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
This chapter explains how to set up the NVIDIA Quadro FX SDI graphics cards under Linux using the NVIDIA Graphics to Video Out properties page . It contains the following sections: • “How to Set Up the SDI Output” on page 32 provides step‐by‐step instructions for using the control panel to set up the SDI output. • “Advanced Setups” on page 41 explains other controls that are available besides the basic setup controls. 1. This method of controlling the SDI output is also known as ‘transparent mode’. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
SDI output and going on air. • Close the control panel before going on air. • When running multiple OpenGL applications, synchronize them, otherwise tearing may occur. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 37
Step 1: Open the NVIDIA Graphics to Video Out Property Page 1 From the command line, enter “nvidia-settings” The NVIDIA X Server Settings page appears. Figure 4.1 NVIDIA X Server Settings Page 2 Click the Graphics to Video Out tree item from the side menu. The Graphics to Video Out page appears. Graphics to Video Out Page Figure 4.2 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 38
Step 2: Choose a Synchronization Method 1 Click the Graphics to Video Out: Synchronization Options tree item from the side menu. The Sync Options page appears. 2 From the Sync Options group box, click the Sync Mode list arrow and then click the method you want to use to synchronize the SDI output: • Free Running: The SDI output will be synchronized with the timing chosen from the SDI signal format list. • Genlock: The SDI output will be synchronized with the external sync signal. • Frame Lock: The SDI output will be synchronized with the timing chosen from the SDI signal format list. This list is limited to timings that can be synchronized with the detected external sync signal. 3 Check the Enable Composite Termination check box if • the system is a standalone system synchronized to a house sync signal, or • the system is the last in a chain of systems connected to the same house sync signal. For more information regarding genlock and frame lock, see the section “Synchronizing the SDI Output to an External Source” on page NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 39
• If you chose , the sync source controls the output video format. The list box will be grayed out, preventing you from choosing another format. frame lock synchronization • If you chose , only those modes that are compatible with the detected sync signal will appear in the Output Video Format list. 3 Specify the Data Format Click the Output Data Format arrow and then click the color format you want to use. Data Format controls the color model, data packing, and alpha or z components in the outgoing video stream. Step 4: Begin SDI Output Click Enable Clone Mode. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
When running multiple OpenGL applications, synchronize them, otherwise tearing may occur. Step 1: Configure the Display for Dualview or X-Screen 1 From the command line, enter “nvidia-settings” The NVIDIA X Server Settings page appears. NVIDIA X Server Settings Page Figure 4.3 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 41
HAPTER Linux—Using the Graphics to Video Out Control Panel 2 Click X Server Display Configuration from the side view menu tree and then configure the display for Dualview mode. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 42
HAPTER Linux—Using the Graphics to Video Out Control Panel or x‐screen mode NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 43
Linux—Using the Graphics to Video Out Control Panel Step 2: Choose a Synchronization Method 1 Click the Graphics to Video Out: Synchronization Options tree item from the side menu. The Sync Options page appears. 2 From the Sync Options group box, click the Sync Mode list arrow and then click the method you want to use to synchronize the SDI output: • Free Running: The SDI output will be synchronized with the timing chosen from the SDI signal format list. • Genlock: The SDI output will be synchronized with the external sync signal. • Frame Lock: The SDI output will be synchronized with the timing chosen from the SDI signal format list. This list is limited to timings that can be synchronized with the detected external sync signal. For more information regarding genlock and frame lock, see the section “Synchronizing the SDI Output to an External Source” on page NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 44
HAPTER Linux—Using the Graphics to Video Out Control Panel Step 3: Choose Data Formats 1 Click the Graphics to Video Out tree item from the side menu. 2 Specify the Data Format Click the Output Data Format arrow and then click the color format you want to use. Data Format controls the color model, data packing, and alpha or z components in the outgoing video stream. Note: The video format should already have been set up from the display configuration screen. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
• “Synchronizing the SDI Output to an External Source” on page 44 Understanding the Status Indicators The Graphics to SDI property page banner indicates the status of the SDI output as well as the external synchronization signals. Figure 4.4 shows the correlation between the indicators on the banner and the actual connectors. Graphics to Video Out banner Quadro FX SDI Connector Bracket LEDs Connection Status Indicators Figure 4.4 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Off (gray) SDI input synchronization is disabled. Valid SDI synchronization signal is detected. Blinking Green Adjusting the Desktop Area By default, the entire desktop is converted to SDI output. If the desktop is smaller than the size of the SDI output, it will be scaled to fit. If the desktop is larger than the SDI output, it will be cropped to fit. Instead of using the entire desktop, you can specify a region of the desktop to convert to SDI output as follows: On the main Graphics to Video Out page, adjust the region size by specifying the X Offset and Y Offset values. The X and Y values indicate the pixel distance of the upper left corner of the output box from the upper left corner of the desktop. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Linux—Using the Graphics to Video Out Control Panel Customizing the Color Space Conversion To set your own RGB color space conversion: 1 Click the Color Space Conversion tree item from the side menu. The Color Space Conversion page appears. 2 Check Override default Color Space Conversion. 3 Click the Initialize Color Space Conversion with list arrow and then click one of the standards to use as a starting point: ITU‐601, 709, 177, or Identity. 4 Either enter values directly in the text boxes or use the corresponding up and down arrows to change any of the settings. 5 Click Apply to apply the settings. To apply the settings as you change them, check Apply Changes Immediately. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Genlock Versus Frame Lock The Graphics to SDI page provides two methods for synchronizing the SDI output to a common sync source—Genlock and Frame lock. Using Genlock Genlock synchronizes the pixel scanning of the SDI output to an external synchronization source. When using genlock, the SDI refresh rate is determined by the sync source, so any refresh rates that you may have chosen in the Output Video Format list do not apply. Using Frame Lock Frame lock synchronizes the frame rate of the SDI output to an external synchronization source. When using frame lock, only modes that are valid for the frame rate of the sync source can be used for the SDI output. The valid modes will appear in the Output Video Format list. Supported Synchronization Signals NVIDIA Genlock supports the following external synchronization signal types: • SDI • Composite Bi‐level (NTSC or PAL sources use bi‐level composite signals.) • Composite Tri‐level (HDTV sources commonly use tri‐level composite signals.) NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 49
10 for instructions on connecting the external sync signal to the graphics card. 2 Configure the sync source. a Open the Graphics to Video Out: Synchronization Options page. Synchronization Options Page Figure 4.5 a Click the Sync Mode list arrow and then click either Genlock or Framelock synchronizing modes. b Click the Sync Format list arrow and then click the format that matches external sync source that you connected ‐ SDI Sync or Composite. The software should automatically detect the external sync signal. When it does, the sync format information appears in the Input Video Format text box. If the software loses the external sync signal or does not detect it automatically, click Detect to force detection of the sync signal. c If you chose frame lock synchronization, select the signal format you want to use as described under Step 3: Choose the Video and Data Formats. Only those modes that are compatible with the detected sync signal will appear in the SDI signal format list. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 50
HAPTER Linux—Using the Graphics to Video Out Control Panel Adding a Delay to the Signal You can introduce a slight delay in the genlocked or frame locked SDI output. For example, if delivery of video from other equipment is delayed because of greater cable length, you can introduce a delay in the SDI output from this card so that both deliveries are in sync. To introduce a synchronization delay: 1 Open the Graphics to Video Out page and click Synchronization Options. 2 In the Synchronization Delay group box, introduce delays in the HSYNC and VSYNC signals as needed by clicking the appropriate up and down arrows. You can also enter values directly into the text boxes. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
This chapter gives a brief introduction to this method of implementing graphics to SDI, and includes the following sections: • “SDI Application Programming Overview” on page 48 • “Windows XP NvGvo API Description” on page 49 • “Linux CONTROL X Extension API” on page 69 Refer to the following documents for additional information on using the APIs: Programming the NVIDA Quadro FX 4800/5800 SDI • NVGVOSDK • , which can be obtained from NVIDIA. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
API Control SDI Application Programming Overview Application programming of the NVIDIA Quadro FX SDI consists of two principle parts– device control and data transfer. • Device control handles the hardware configuration as well as the starting and stopping of data transfers. This chapter covers the APIs related to data control. • Data transfer is the sequence of operations that send graphics data to the video device for output. Under WindowsXP • Device control is handled by the NvGvo API, described in this chapter. • Data transfer operations are performed by the OpenGL extension WGL_NV_video_out. Under Linux • Device control is handled by the NV‐CONTROL X extension, described in this chapter. • Data transfer operations are performed by the OpenGL extension GLX_NV_video_output. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
NvGvoStop() Enumerate the supported SDI signal formats. NvGvoEnumSignalFormats() Verify whether a mode is compatible with frame NvGvoIsFrameLockModeCompatible() lock mode. Enumerate the supported SDI data formats. NvGvoEnumDataFormats() NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 54
IN, UINT nReserved DWORD dwClass DWORD dwAccessRights IN, NVGVOHANDLE* phGvoHandle OUT); NvGvoClose() //--------------------------------------------------------------------- // Function: NvGvoClose // Description: Closes graphics adapter for Graphics to Video operations NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 55
- TRUE to release device when handle closes FALSE to remain in desktop mode when handle closes (other clients can open using NvGvoDesktopOpen and release using NvGvoDesktopClose) // Returns: NV_OK - Success NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 56
- Handle to graphics adapter pConfig - Pointer to Graphics to Video configuration // Returns: NV_OK - Success //--------------------------------------------------------------------- NVRESULT NVAPIENTRY NvGvoConfigGet(NVGVOHANDLE hGvoHandle IN, NVGVOCONFIG* pConfig OUT); NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 57
- Handle to graphics adapter // Returns: NV_OK - Success NV_ACCESSDENIED - Access denied (no write access) NV_RUNNING - Graphics to Video already running //--------------------------------------------------------------------- NVRESULT NVAPIENTRY NvGvoStart(NVGVOHANDLE hGvoHandle IN); NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 58
- Success NV_NOMORE - No more signal formats to enumerate NV_NOTSUPPORTED - Unsupported NVSIGNALFORMAT_ enumeration //--------------------------------------------------------------------- NVRESULT NVAPIENTRY NvGvoEnumSignalFormats( NVGVOHANDLE hGvoHandle nEnumIndex BOOL bByEnum NVGVOSIGNALFORMATDETAIL* pSignalFormatDetail OUT); NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 59
- Success NV_NOMORE - No more data formats to enumerate NV_NOTSUPPORTED - Unsupported NVDATAFORMAT_ enumeration //--------------------------------------------------------------------- NVRESULT NVAPIENTRY NvGvoEnumDataFormats( NVGVOHANDLE hGvoHandle nEnumIndex BOOL bByEnum NVGVODATAFORMATDETAIL* pDataFormatDetail OUT); NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 63
(full size) NVGVOOUTPUTAREA_SAFEACTION , // Output to centered 90% of video resolution (safe action) NVGVOOUTPUTAREA_SAFETITLE , // Output to centered 80% of video resolution (safe title) NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 64
// Genlock in use, format mismatch with output NVGVOSYNCSTATUS_COMPOSITE // Composite sync NVGVOSYNCSTATUS_SDI_SD // SDI sync (standard-definition) NVGVOSYNCSTATUS_SDI_HD // SDI sync (high-definition) Device Capabilities Defines #define NVGVOCAPS_VIDOUT_SDI 0x00000001 // Supports Serial Digital Interface NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 65
// Caller sets to sizeof(NVGVOCAPS) char szAdapterName[NVADAPTERNAME_MAXLEN]; // Graphics adapter name DWORD dwClass; // Graphics adapter classes // (NGVOCLASS_* mask) DWORD dwCaps; // Graphics adapter capabilities NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 66
// Data integrity check status enabled BOOL bDataIntegrityCheckFailed; // Data integrity check status failed BOOL bSyncSourceLocked; // genlocked to framelocked to ref signal BOOL bPowerOn; // TRUE: indicates there is sufficient power NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 67
(10-bit index, 16-bit values) } NVGAMMARAMP10; Sync Delay Structure typedef struct tagNVGVOSYNCDELAY WORD wHorizontalDelay; // Horizontal delay in pixels WORD wVerticalDelay; // Vertical delay in lines NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 71
// range when using composite output Composite Range Structure #define MAX_NUM_COMPOSITE_RANGE // maximum number of ranges per channel typedef struct tagNVGVOCOMPOSITERANGE DWORD dwRange; BOOL bEnabled; DWORD dwMin; DWORD dwMax; } NVGVOCOMPOSITERANGE; NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 72
// Enable composite BOOL bEnableAlphaKeyComposite; // Enable Alpha key composite NVGVOCOMPOSITERANGE compRange; // Composite ranges BYTE reservedData[256]; // Indicates last stored SDI output state TRUE-ON / FALSE-OFF } NVGVOCONFIG; NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
HAPTER API Control Linux CONTROL X Extension API This section describes the NvGvo APIs inthe following sections: • “NV‐Control X Functions” on page 70 • “NV_CTRL_GVO Attributes” on page 75 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Queries the color conversion matrix XNVCTRLQueryGvoColorConversion() XNVCTRLQueryExtension() Bool XNVCTRLQueryExtension ( Display *dpy, int *event_basep, int *error_basep This function returns True if the extension exists, False otherwise. event_basep and error_basep are the extension event and error bases. Currently, no extension specific errors or events are defined. XNVCTRLQueryVersion() Bool XNVCTRLQueryVersion ( Display *dpy, int *major, int *minor NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 75
This function sets the attribute to the given value. Not all attributes require the display_mask parameter. See “NV_CTRL_GVO Attributes” on page 75 for details. Possible errors: • BadValue ‐ The screen or attribute doesnʹt exist. • BadMatch ‐ The NVIDIA driver is not present on that screen. XNVCTRLSetAttributeAndGetStatus() Bool XNVCTRLSetAttributeAndGetStatus ( Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, int value NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 76
75 for details. Possible errors: • BadValue ‐ The screen doesnʹt exist. • BadMatch ‐ The NVIDIA driver is not present on that screen. XNVCTRLQueryStringAttribute() Bool XNVCTRLQueryStringAttribute ( Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, char **ptr This function returns True if the attribute exists, otherwise False. If XNVCTRLQueryStringAttribute returns True, *ptr will point to an allocated string containing the string attribute requested. It is the callerʹs responsibility to free the string when done. Possible errors: NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 77
• BadValue ‐ The screen doesnʹt exist. • BadMatch ‐ The NVIDIA driver is not present on that screen. • BadAlloc ‐ Insufficient resources to fulfill the request. XNVCTRLQueryValidAttributeValues() Bool XNVCTRLQueryValidAttributeValues ( Display *dpy, int screen, unsigned int display_mask, unsigned int attribute, NVCTRLAttributeValidValuesRec *values This function returns True if the attribute exists. otherwise False. If XNVCTRLQueryValidAttributeValues returns True, values will indicate the valid values for the specified attribute. See the description of NVCTRLAttributeValidValues in NVCtrl.h. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 78
colorMatrix[1][0] // r.Cr • colorMatrix[1][1] // g.Cr • colorMatrix[1][2] // b.Cr • colorMatrix[2][0] // r.Cb • colorMatrix[2][1] // g.Cb • colorMatrix[2][2] // b.Cb • colorOffset[0] // Y • colorOffset[1] // Cr • colorOffset[2] // Cb • colorScale[0] // Y • colorScale[1] // Cr • colorScale[2] // Cb where the data is used according to the following formulae: • Y = colorOffset[0] + colorScale[0] * (R * colorMatrix[0][0] + G * colorMatrix[0][1] + B * colorMatrix[0][2]); NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Display *dpy, int screen, float colorMatrix[3][3], float colorOffset[3], float colorScale[3] This function retrieves the color conversion matrix and color offset that are currently being used for GVO (Graphic to Video Out). The values are ordered within the arrays according to the comments for XNVCTRLSetGvoColorConversion(). Possible errors: • BadMatch ‐ The NVIDIA driver is not present on that screen. • BadImplementation ‐ GVO is not available on that screen. NV_CTRL_GVO Attributes The NV_CTRL_GVO* integer attributes are used to configure GVO (graphics to video out) functionality on the Quadro FX 4800/5800 SDI graphics board. The following is a typical usage pattern for the GVO attributes: • Query NV_CTRL_GVO_SUPPORTED to determine if the X screen supports GV0. • Specify NV_CTRL_GVO_SYNC_MODE (either FREE_RUNNING, GENLOCK, or NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 80
• Specify any custom Color Space Conversion (CSC) matrix, offset, and scale with XNVCTRLSetGvoColorConversion(). • If using the GLX_NV_video_out extension to display one or more pbuffers, call glXGetVideoDeviceNV() to lock the GVO output for use by the GLX client, then bind the pbuffer(s) to the GVO output with glXBindVideoImageNV() and send pbuffers to the GVO output with glXSendPbufferToVideoNV(). See the GLX_NV_video_out spec for more details. • If, rather than using the GLX_NV_video_out extension to display GLX pbuffers on the GVO output, you wish display the X screen on the GVO output, set NV_CTRL_GVO_DISPLAY_X_SCREEN to NV_CTRL_GVO_DISPLAY_X_SCREEN_ENABLE. • Setting most GVO attributes only causes the value to be cached in the X server. The values will be flushed to the hardware either when NV_CTRL_GVO_DISPLAY_X_SCREEN is enabled, or when a GLX pbuffer is bound to the GVO output (with glXBindVideoImageNV()). • GLX_NV_video_out and NV_CTRL_GVO_DISPLAY_X_SCREEN are mutually exclusive. If NV_CTRL_GVO_DISPLAY_X_SCREEN is enabled, then glXGetVideoDeviceNV will fail. Similarly, if a GLX client has locked the GVO output (via glXGetVideoDeviceNV), then NV_CTRL_GVO_DISPLAY_X_SCREEN will fail. The NV_CTRL_GVO_GLX_LOCKED event will be sent when a GLX client locks the GVO output. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 81
#define NV_CTRL_GVO_SYNC_MODE_GENLOCK #define NV_CTRL_GVO_SYNC_MODE_FRAMELOCK NV_CTRL_GVO_SYNC_SOURCE * NV_CTRL_GVO_SYNC_SOURCE - if NV_CTRL_GVO_SYNC_MODE is set to either * GENLOCK or FRAMELOCK, this controls which sync source is used as NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 83
#define NV_CTRL_GVO_VIDEO_FORMAT_1080I_23_98_SMPTE372 NV_CTRL_GVO_INPUT_VIDEO_FORMAT * NV_CTRL_GVO_INPUT_VIDEO_FORMAT - indicates the input video format * detected; the possible values are the NV_CTRL_GVO_VIDEO_FORMAT * constants. #define NV_CTRL_GVO_INPUT_VIDEO_FORMAT /* R-- */ NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 84
* that due to the inherit race conditions in this locking strategy, * NV_CTRL_GVO_DISPLAY_X_SCREEN can fail unexpectantly. In the * failing situation, X will not return an X error. Instead, you NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 85
#define NV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECT_MODE_AUTO #define NV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECT_MODE_BI_LEVEL #define NV_CTRL_GVO_COMPOSITE_SYNC_INPUT_DETECT_MODE_TRI_LEVEL NV_CTRL_GVO_SYNC_INPUT_DETECTED * NV_CTRL_GVO_SYNC_INPUT_DETECTED - indicates whether SDI Sync input * is detected, and what type. #define NV_CTRL_GVO_SDI_SYNC_INPUT_DETECTED /* R-- */ NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 86
* NV_CTRL_GVO_SYNC_DELAY_PIXELS - controls the delay between the * input sync and the output sync in numbers of pixels from hsync; * this is a 12 bit value. #define NV_CTRL_GVO_SYNC_DELAY_PIXELS /* RW- */ NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 87
* not happen immediately and will instead be cached. The GVO resource will * need to be disabled/released and re-enabled/claimed for the values to be * flushed. These attributes are: NV_CTRL_GVO_OUTPUT_VIDEO_FORMAT NV_CTRL_GVO_DATA_FORMAT NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 88
These attributes can be updated while * GVO output is enabled, or before enabling GVO output. The pan * values will be clamped so that GVO output is not panned beyond the NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
Page 89
HAPTER API Control * end of the X screen. #define NV_CTRL_GVO_X_SCREEN_PAN_X /* RW- */ #define NV_CTRL_GVO_X_SCREEN_PAN_Y /* RW- */ NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 90
HAPTER API Control NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...
(7) Auto Switch (See Table A.3) (5-6) Sync Source (See Table A.2) (1-4) Output Video Format (See Table A.1) Onboard DIP Switch Positions Figure 1.1 NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide – Version 1.0...
Page 92
Reserved Auto Switch Settings Table A.3 Switch Position Auto Switch Setting Do not auto switch Automatically switch to the new video format based on the source sync. NVIDIA Corporation Quadro FX 4800/5800 and Quadro CX SDI User’s Guide– Version 1.0...