Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054 U.S.A.
650-960-1300
Part No. 816-1330-11
June 2002, Revision A
Send comments about this document to: docfeedback@sun.com
Copyright 2002Sun Microsystems, Inc.,4150 NetworkCircle, SantaClara, California95054, U.S.A.All rightsreserved.
Sun Microsystems, Inc.has intellectualproperty rightsrelating totechnology embodiedin theproduct that is described in this document. In
This document and the productto whichit pertainsare distributedunder licensesrestricting theiruse, copying,distribution, and
decompilation. No part of the product orof thisdocument maybe reproducedin anyform byany meanswithout priorwritten authorizationof
Sun and its licensors, if any.
Third-partysoftware, includingfont technology,is copyrightedand licensedfromSun suppliers.
Parts of the product maybe derivedfrom BerkeleyBSD systems,licensed fromthe Universityof California.UNIX isa registeredtrademark in
the U.S. and in other countries, exclusively licensed throughX/Open Company,Ltd.
Sun, Sun Microsystems,the Sunlogo, SunBlade, docs.sun.com,SunService, OpenBoot,Ultra, UltraSPARC,JumpStart, andSolaris are
trademarks or registeredtrademarks ofSun Microsystems,Inc. inthe U.S.and inother countries.
All SPARCtrademarks areused underlicense andare trademarksor registeredtrademarks ofSPARCInternational, Inc.in theU.S. andin other
countries. Products bearingSPARCtrademarks arebased uponan architecturedeveloped bySun Microsystems,Inc.
The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems,Inc. forits usersand licensees. Sun acknowledges
the pioneering effortsof Xeroxin researchingand developing the concept of visual or graphical user interfaces for the computer industry.Sun
holds a non-exclusive license fromXerox tothe XeroxGraphical UserInterface, whichlicense alsocovers Sun’slicensees whoimplement OPEN
LOOK GUIs and otherwise comply with Sun’s written license agreements. OpenGLis aregistered trademarkof SiliconGraphics, Inc
Use,duplication, ordisclosure bythe U.S.Government issubject to restrictionsset forthin theSun Microsystems,Inc.license agreementsand as
providedin DFARS227.7202-1(a) and227.7202-3(a) (1995),DFARS252.227-7013(c)(1)(ii) (Oct.1998), FAR 12.212(a) (1995), FAR 52.227-19, or
FAR52.227-14 (ALT III), as applicable.
DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
INCLUDING ANYIMPLIED WARRANTYOF MERCHANTABILITY,FITNESS FORA PARTICULARPURPOSE ORNON-INFRINGEMENT,
ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Copyright 2002 Sun Microsystems, Inc.,4150 NetworkCircle, SantaClara, California95054, Etats-Unis.Tousdroits réservés.
Sun Microsystems, Inc.a lesdroits depropriété intellectuelsrelatants à la technologie incorporée dans le produit quiest décritdans ce
document. En particulier,et sans la limitation, ces droits depropriété intellectuelspeuvent inclureun ouplus desbrevets américains énumérés
à http://www.sun.com/patentset unou lesbrevets plussupplémentaires oules applicationsde breveten attente dans les Etats-Unis et dans
les autres pays.
Ce produit oudocument estprotégé parun copyrightet distribuéavec deslicences quien restreignentl’utilisation, la copie, la distribution, et la
décompilation. Aucune partie de ce produit oudocument nepeut êtrereproduite sous aucune forme, parquelquemoyen quece soit,sans
l’autorisation préalable et écrite de Sun et de ses bailleurs de licence, s’il y ena.ls
Le logiciel détenu par des tiers, et qui comprendla technologierelative auxpolices decaractères, estprotégé par un copyright et licencié par des
fournisseurs de Sun.
Des parties de ce produitpourront êtredérivées dessystèmes BerkeleyBSD licenciéspar l’Universitéde Californie.UNIX estune marque
déposée aux Etats-Unis et dans d’autres payset licenciéeexclusivement parX/Open Company,Ltd.
Sun, Sun Microsystems,le logoSun, SunBlade, docs.sun.com,SunService, OpenBoot,Ultra, UltraSPARC,JumpStart, etSolarissont des
marquesde fabriqueou desmarques déposéesde SunMicrosystems, Inc.aux Etats-Uniset dansd’autres pays.
Toutesles marquesSPARCsont utiliséessous licenceet sontdes marquesde fabrique ou des marquesdéposées deSPARCInternational, Inc.
aux Etats-Unis et dans d’autrespays. Lesproduits protantles marquesSPARCsont baséssur unearchitecture développéepar Sun
Microsystems,Inc.
L’interfaced’utilisation graphique OPEN LOOK et Sun™ a été développée par Sun Microsystems, Inc.pour sesutilisateurs etlicenciés. Sun
reconnaîtles effortsde pionniersde Xeroxpour larechercheet ledéveloppment duconcept desinterfaces d’utilisationvisuelle ougraphique
pour l’industrie de l’informatique. Sun détient une license non exclusive do Xerox surl’interface d’utilisationgraphique Xerox,cette licence
couvrant également les licenciées de Sun qui mettent en place l’interface d ’utilisation graphique OPEN LOOK et qui en outre seconforment
aux licences écrites de Sun. OpenGL est une marquedéposée deSilicon Graphics,Inc.
LA DOCUMENTATION EST FOURNIE "EN L’ÉTAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES
OU TACITES SONT FORMELLEMENTEXCLUES, DANSLA MESUREAUTORISEE PARLA LOIAPPLICABLE, YCOMPRIS NOTAMMENT
TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A
L’ABSENCE DE CONTREFAÇON.
Please
Recycle
Regulatory Compliance Statements
Your Sun product is marked to indicate its compliance class:
•Federal Communications Commission (FCC) — USA
•Industry Canada Equipment Standard for Digital Equipment (ICES-003) — Canada
•Voluntary Control Council for Interference (VCCI) — Japan
•Bureau of Standards Metrology and Inspection (BSMI) — Taiwan
Please read the appropriate section that corresponds to the marking on your Sun product before attempting to install the
product.
FCC Class A Notice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment
is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy, and if it is
not installed andused in accordance with theinstruction manual, it may causeharmful interference to radio communications.
Operation of thisequipment in a residentialareais likely to causeharmful interference, in which casethe user will be required
to correct the interference at his own expense.
Shielded Cables: Connections between the workstation and peripherals mustbemadeusing shielded cables to comply with
FCC radio frequency emission limits. Networking connections can be made using unshielded twisted-pair (UTP) cables.
Modifications:Anymodifications made tothis device thatare not approvedby SunMicrosystems,Inc. mayvoid the authority
granted to the user by the FCC to operate this equipment.
FCC Class B Notice
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions:
1. This device may not cause harmful interference.
2. This device must accept any interference received, including interference that may cause undesired operation.
Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of
the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential
installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee
that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or
television reception,which can be determined byturning the equipment offand on, the user isencouraged to try to correctthe
interference by one or more of the following measures:
•Reorient or relocate the receiving antenna.
•Increase the separation between the equipment and receiver.
•Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
•Consult the dealer or an experienced radio/television technician for help.
Shielded Cables: Connections between the workstation and peripherals must be made using shielded cables in order to
maintain compliance with FCC radio frequency emission limits. Networking connections can be made using unshielded
twisted pair (UTP) cables.
Modifications:Anymodifications made tothis device thatare not approvedby SunMicrosystems,Inc. mayvoid the authority
granted to the user by the FCC to operate this equipment.
iii
ICES-003 Class A Notice - AvisNMB-003, ClasseA
This Class A digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe A est conforme à la norme NMB-003 du Canada.
ICES-003 Class B Notice - AvisNMB-003, ClasseB
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
ivSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
BSMI Class A Notice
The following statement is applicable to products shipped to Taiwan and marked as Class A on the product compliance
label.
v
viSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Contents
Prefacexv
1.Sun XVR-1000 Graphics Accelerator Overview1
Installation Kit1
Sun XVR-1000 Graphics Accelerator Features2
System Configurations3
Screen Resolutions4
Using Sun XVR-1000 Graphics Accelerator With Other UPA Graphics Boards6
Window System Support and Supported Visuals7
Technical Support7
2.Installing the Sun XVR-1000 Graphics Accelerator Software9
Software Requirements9
Sun XVR-1000 Graphics Accelerator Software Packages10
Software Package Locations11
Software Package Names11
Patches for JumpStart Users12
Installing the Software13
Removing the Software16
Multiple Frame Buffer Configuration17
vii
Changing the Monitor Screen Resolution19
Man Pages19
3.Installing the Sun XVR-1000 Graphics Accelerator Hardware21
Before Installation21
Installing the Hardware22
Removing the Hardware23
System Configurations24
4.Using Sun XVR-1000 Graphics Accelerator Features25
Sun XVR-1000 Graphics Accelerator Multistreaming25
Multistream Options26
Setting Up Option 1 (Default)28
Setting Up Option 229
Setting Up Option 330
Setting Up Option 431
Port Selection32
Multicard Setup33
Dynamic Multisample Antialiasing34
Enabling Multisampling for a Specific OpenGL Application34
Enabling Multisampling for All OpenGL Applications35
5.Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap
Synchronization39
Sun XVR-1000 Graphics Accelerator Frame Lock System39
Buffer Swap Synchronization40
Creating a Multiscreen Application41
Configuring Sun XVR-1000 Graphics Accelerators for Frame Locking42
Frame Lock Cable Assembly44
Stereo Connector Pinout for Frame Lock45
viiiSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Sun XVR-1000 Graphics Accelerator I/O Ports49
Screen Resolution Matrix51
B.Setting Up S-Video53
S-Video Configuration Option 153
S-Video Configuration Option 254
S-Video Configuration Option 355
Example for Using Two Sun XVR-1000 Graphics Accelerators56
Daughter Board Interactions57
C.Xinerama59
D.Setting the Default Console Display61
Contentsix
xSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Figures
FIGURE 1-1Sun XVR-1000 Graphics Accelerator3
FIGURE 3-1Installing the Sun XVR-1000 Graphics Accelerator22
FIGURE 3-2Removing the Sun XVR-1000 Graphics Accelerator23
FIGURE 5-1Frame Lock Cable Assembly44
FIGURE 5-2Sun XVR-1000 Graphics Accelerator Backplate Stereo Connector45
FIGURE 5-3Sun XVR-1000 Graphics Accelerator and Frame Lock Cable Assembly47
FIGURE A-1Sun XVR-1000 Graphics Accelerator External I/O Port Connectors49
FIGURE A-2Sun XVR-1000 Graphics Accelerator Backplate Stereo Connector50
xi
xiiSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
xivSun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Preface
This guide describes how to install the SunTMXVR-1000 graphics accelerator and
associated software in a Sun system.
How This Book Is Organized
Chapter 1 provides an overview of the Sun XVR-1000 graphics accelerator product
and includes the graphics board models, supported Sun systems, and supported
screen resolutions.
Chapter 2 describes how to install and remove Sun XVR-1000 graphics accelerator
software.
Chapter 3 provides Sun XVR-1000 graphics accelerator hardware installation
information.
Chapter 4 provides information on using Sun XVR-1000 graphics accelerator
features, including multistreams and dynamic multisample antialiasing.
Chapter 5 describes Sun XVR-1000 graphics accelerator frame locking.
Appendix A provides information on the Sun XVR-1000 graphics accelerator I/O
ports and screen resolution matrix.
Appendix B provides information for setting up S-video (NTSC and PAL video
formats) on the Sun XVR-1000 graphics accelerator.
Appendix C provides information on Xinerama.
Appendix D describes how to set the default console display.
xv
Using UNIX Commands
This document might not contain information on basic UNIX®commands and
procedures such as shutting down the system, booting the system, and configuring
devices.
See one or more of the following for this information:
■ Solaris Handbook for Sun Peripherals
■ AnswerBook2™ online documentation for the Solaris™ operating environment
■ Other software documentation that you received with your system
Typographic Conventions
TypefaceMeaningExamples
AaBbCc123The names of commands, files,
and directories; on-screen
computer output
AaBbCc123
AaBbCc123Book titles, new words or terms,
What you type, when contrasted
with on-screen computer output
words to be emphasized.
Replace command-line variables
with real names or values.
Edit your.login file.
Use ls -a to list all files.
% You have mail.
% su
Password:
Read Chapter 6 in the User’s Guide.
These are called class options.
You must be superuser to do this.
To delete a file, type rm filename.
xvi Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Shell Prompts
ShellPrompt
C shellmachine-name%
C shell superusermachine-name#
Bourne shell and Korn shell$
Bourne shell and Korn shell superuser#
Accessing Sun Documentation Online
A broad selection of Sun system documentation is located at:
A complete set of Solaris documentation and many other titles are located at:
http://docs.sun.com
Sun Welcomes Your Comments
Sun is interested in improving its documentation and welcomes your comments and
suggestions. You can email your comments to Sun at:
docfeedback@sun.com
Please include the part number (816-1330-11) of your document in the subject line of
your email.
Prefacexvii
xviii Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
CHAPTER
1
Sun XVR-1000 Graphics Accelerator
Overview
This chapter provides an overview of the Sun XVR-1000 graphics accelerator.
■ “Installation Kit” on page 1
■ “Sun XVR-1000 Graphics Accelerator Features” on page 2
■ “System Configurations” on page 3
■ “Screen Resolutions” on page 4
■ “Using Sun XVR-1000 Graphics Accelerator With Other UPA Graphics Boards” on
page 6
■ “Window System Support and Supported Visuals” on page 7
■ “Technical Support” on page 7
Installation Kit
The Sun XVR-1000 graphics accelerator installation kit includes:
■ Sun XVR-1000 graphics accelerator
■ Sun XVR-1000 graphics accelerator software (CD-ROM)
■ Antistatic wrist strap
■ Sun XVR-1000 Graphics Accelerator Installation and User’s Guide, this document
See Chapter 5, “Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap
Synchronization,” to order a frame lock cable assembly, if required.
1
Sun XVR-1000 Graphics Accelerator
Features
The Sun XVR-1000 graphics accelerator is an UltraSPARCTMport architecture (UPA)
bus high-resolution, high-performance graphics frame buffer that provides 30-bit
color and 3D acceleration. The graphics board has full hardware support for 2D and
3D texture mapping, as well as dynamic multisample antialiasing and an S-video
port.
The Sun XVR-1000 graphics accelerator is supported on the following systems:
■ Sun Ultra
■ Sun Ultra 80 system
■ Sun Blade
■ Sun Blade 2000 system
Features include:
■ Up to 120 MHz UPA interface
■ Resolution up to 1920 × 1200 × 75 at 30-bit color
■ 72 Mbytes of 3DRAM64 frame buffer memory
■ 256 Mbytes of texture memory
■ 10-bit per color DAC located on the 13W3 and HD-15 connectors
■ Stereo output
■ Digital output from second head daughter board
■ S-video output from main board
■ Support for programmable video resolutions
TM
60 system
TM
1000 system
2Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • April 2002
FIGURE 1-1 shows the Sun XVR-1000 graphics accelerator.
FIGURE 1-1Sun XVR-1000 Graphics Accelerator
System Configurations
TABLE 1-1 shows the maximum number of Sun XVR-1000 graphics accelerators
supported in Sun systems. See Chapter 5 for information on using multiple displays.
TABLE 1-1Sun XVR-1000 Graphics Accelerators System Configurations
Maximum Number of
Sun System
Sun Ultra 60 system1
Sun Ultra 80 system2
Sun Blade 1000 system2
Sun Blade 2000 system2
Devices Supported
Chapter 1 Sun XVR-1000 Graphics Accelerator Overview3
Screen Resolutions
Sun XVR-1000 graphics accelerator supports full 30-bit 3D (double/z-buffered)
graphics at all supported resolutions.
for the Sun XVR-1000 graphics accelerator. To get a list of available resolutions for
your display device, type
Note – Resolutions with refresh rates marked “d” are only suitable for LCDs and
other digital devices. These refresh rates have reduced blanking times which are
unsuitable for CRTs and other analog devices.
Resolutions with refresh rates marked “fsc” are only used for special “field
sequential color” displays.
Note – The Sun XVR-1000 graphics accelerator supports two streams of video
information. Refer to “Screen Resolution Matrix” on page 51 for pairs of resolutions
supported by both Stream A (13W3) and Stream B (HD-15, DVI-D, S-video).
Chapter 1 Sun XVR-1000 Graphics Accelerator Overview5
Using Sun XVR-1000 Graphics
Accelerator With Other UPA Graphics
Boards
You can mix the Sun XVR-1000 graphics accelerator with other UPA frame buffers.
TABLE 1-3 lists rules in using UPA slots.
■ Sun XVR-1000 graphics accelerator and Sun Elite3D m6 requires a double-width
UPA slot
■ Sun Elite3D m3 and Sun Creator3D require single-width UPA slots
TABLE 1-3Sun System UPA Bus Slots
SystemUPA Slot Widths
Sun Ultra 60 system1 single-width UPA plus 1 double width UPA slot
Sun Ultra 80 system2 single- or double-width UPA slots
Sun Blade 1000 system2 single- or double-width UPA slots
Sun Blade 2000 system2 single- or double-width UPA slots
Note – Xinerama requires that all frame buffers be identical and are configured to
the same resolution. (See Appendix C, “Xinerama.”)
6Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • April 2002
Window System Support and Supported
Visuals
The Sun XVR-1000 graphics accelerator models support 8-bit PseudoColor in the
overlay as the X window system default.
The window system offers combinations of the common X visuals in the following:
■ Single/double buffered
■ Stereo/mono (dependent on the resolution selected)
■ Standard and gamma corrected
■ Stored alpha
The Sun XVR-1000 graphics accelerator supports the following visuals:
■ 8-bit PseudoColor
■ 8-bit StaticGray in the Red plane (10-bit internal)
■ 8-bit PseudoColor in the Red plane (10-bit internal)
■ 24-bit TrueColor (30-bit in the frame buffer)
■ 24-bit DirectColor (30-bit in the frame buffer)
■ 24-bit TrueColor with stored alpha in the overlay
■ StaticGray and TrueColor with additional gamma corrected visuals
Technical Support
For assistance and other information not found in this document concerning the
Sun XVR-1000 graphics accelerator, see Support Services at:
http://www.sun.com/service/online/
For the most up-to-date version of the installation guide, go to :
http://www.sun.com
Chapter 1 Sun XVR-1000 Graphics Accelerator Overview7
8Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • April 2002
CHAPTER
2
Installing the Sun XVR-1000
Graphics Accelerator Software
This chapter provides Sun XVR-1000 graphics accelerator software installation
information.
■ “Software Requirements” on page 9
■ “Sun XVR-1000 Graphics Accelerator Software Packages” on page 10
■ “Patches for JumpStart Users” on page 12
■ “Installing the Software” on page 13
■ “Removing the Software” on page 16
■ “Multiple Frame Buffer Configuration” on page 17
■ “Man Pages” on page 19
■ “Changing the Monitor Screen Resolution” on page 19
Software Requirements
The Solaris 8 10/01 operating environment or a subsequent compatible version of
the operating environment is required on your system before installing the
Sun XVR-1000 graphics accelerator software:
Note – If your system does not have the Solaris 8 10/01 operating environment
installed, you must install it. Refer to the main Solaris installation manuals for this
information.
®
Updated versions of Sun OpenGL
http://www.sun.com/software/graphics/OpenGL/
for Solaris are available at:
9
Note – The Sun XVR-1000 graphics accelerator software must be installed on the
system before you can install the graphics board. If the software is not installed prior
to installing the graphics board, the Sun XVR-1000 graphics accelerator will not be
recognized by the system.
Sun XVR-1000 Graphics Accelerator
Software Packages
Install the required software packages for your Solaris operating environment from
the CD provided with your Sun XVR-1000 graphics accelerator installation kit.
TABLE 2-1 lists the Sun XVR-1000 graphics accelerator CD directories:
TABLE 2-1Sun XVR-1000 Graphics Accelerator CD Directories
Directory nameDescription
LicenseBinary Code License
XVR-1000/Solaris_8/Packages/Solaris 8 graphics accelerator software packages
XVR-1000/Solaris_9/Packages/Solaris 9 graphics accelerator software packages
Docs/Sun XVR-1000 graphics accelerator documentation
CopyrightU.S. version of copyright
FR_CopyrightFrench version of copyright
Install/Installation support files
installProduct installation script
removeProduct removal script
OpenGL/Packages/OpenGL 1.2.3 packages
10Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Software Package Locations
The Sun XVR-1000 graphics accelerator software packages are located in the
directories listed in
TABLE 2-2Location of Sun XVR-1000 Graphics Accelerator Software Packages
Software packagesDirectory location
Solaris 8 software/cdrom/cdrom0/XVR-1000/Solaris_8/Packages
Solaris 9 software/cdrom/cdrom0/XVR-1000/Solaris_9/Packages
TABLE 2-2.
Software Package Names
TABLE 2-3 lists the Sun XVR-1000 graphics accelerator software package names and
and microcode (gfb.ucode)
SUNWgfbrSun XVR-1000 graphics accelerator system startup support
SUNWgfbwX-server loadable module for Sun XVR-1000 graphics accelerator
SUNWvidMonitor video timing information
Chapter 2 Installing the Sun XVR-1000 Graphics Accelerator Software11
Patches for JumpStart Users
If you are adding the Sun XVR-1000 graphics accelerator Solaris 8 operating
environment packages to a JumpStart
patches (located on the installation kit CD-ROM in
XVR-1000/Solaris_8/Patches) in the following order:
1. 112334-01
2. 108528-13
3. 109888-16
If you are adding these packages to a Solaris 8 2/02 operating environment
JumpStart image, only patch 109888-16 is required. No patches are required for the
Solaris 9 operating environment. After you have applied the required patches, install
the Sun XVR-1000 graphics accelerator packages in the following order:
1.SUNWgfb.u
2. SUNWgfbx.u
3. SUNWgfbw
4. SUNWgfbr
TM
server, you must first add the following
5. SUNWgfbcf
12Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Installing the Software
Use the install utility on the CD-ROM to install the Sun XVR-1000 graphics
accelerator software. This utility installs all necessary driver software and patches.
Note – Install the Sun XVR-1000 graphics accelerator software before installing the
graphics board in your Sun system. If the software is not installed prior to installing
the graphics board, the Sun XVR-1000 graphics accelerator will not be recognized by
the system.
1. Log in as superuser.
2. Insert the Sun XVR-1000 graphics accelerator CD into the drive.
■ If the drive is already mounted, type the following, and go to Step 3:
# cd /cdrom/cdrom0
■ If the CD is not already mounted, type:
# mount -F hsfs -O -o ro /dev/dsk/c0t6d0s0 /cdrom
# cd /cdrom
Note – The CD-ROM device might be different on your system. For example,
/dev/dsk/c0t2d0s2.
Chapter 2 Installing the Sun XVR-1000 Graphics Accelerator Software13
3. To install the Sun XVR-1000 graphics accelerator software, type:
# ./install
The following is displayed:
*** Checking if Sun XVR-1000 Graphics Accelerator support is already
installed...
*** Checking if Sun OpenGL is installed...
Select one of the following Sun OpenGL installation options:
1) Install Sun OpenGL 1.2.3
2) Do not install Sun OpenGL
Select an option:
The installation program checks if Sun XVR-1000 graphics accelerator software is
already installed. If a version of graphics board software is installed, the program
checks to determine the version.
4. Select Sun OpenGL 1.2.3 to install the product.
The following is displayed:
*** Checking if Sun OpenGL 1.2.3 support for Sun XVR-1000 Graphics
Accelerator is installed...
About to take the following actions:
- Install Sun XVR-1000 Graphics Accelerator support for Solaris 8
- Install Sun OpenGL 1.2.3
To cancel installation of this software, press ’q’.
Press any other key to begin installation:
14Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
5. Press any key and Return to start installation.
Once complete, the following is displayed and the program provides the location of
an installation log file along with configuration and reboot instructions.
*** Installing Sun XVR-1000 Graphics Accelerator support for Solaris 8...
*** Installing Sun OpenGL 1.2.3 support for Sun XVR-1000 Graphics Accelerator...
*** Adding P1CL environment file for Sun Blade 1000...
*** Installation complete.
To remove this software, use the ’remove’ script on this CDROM, or
the following script:
/var/tmp/XVR-1000.remove
A log of this installation can be found at:
/var/tmp/XVR-1000.install.2000.09.27
To configure a Sun XVR-1000 Graphics Accelerator accelerator, use the fbconfig
utility. See the fbconfig(1m) and SUNWgfb_config(1m) manual
pages for more details.
*** IMPORTANT NOTE! ***
This system must be rebooted for the new software to take effect.
Shutdown the system using the shutdown command and then reboot the system using
the ’boot -r’ PROM command at the ’ok’ prompt. See the shutdown(1M) and boot(1M)
manual pages for more details.
6. For multiple graphics boards, modify the /etc/dt/config/Xservers file.
This file tells your system to run the X server on each of the frame buffers listed in
your Xservers file.
If you remove graphics boards from your system, you also need to modify your
Xservers file.
Go to “Multiple Frame Buffer Configuration” on page 17.
7. Shut down the system after the Sun XVR-1000 graphics accelerator software is
installed:
# shutdown
See the shutdown(1M) and boot(1M) man pages for more details.
8. Install the Sun XVR-1000 graphics accelerator hardware (see Chapter 3).
Chapter 2 Installing the Sun XVR-1000 Graphics Accelerator Software15
9. Boot your system at the ok prompt:
Halt (Stop-A) your system for the ok prompt.
ok boot -r
Removing the Software
1. Log in as superuser.
2. Insert the Sun XVR-1000 graphics accelerator CD into the drive.
3. Mount the CD-ROM drive.
■ If the drive is already mounted, type the following, and go to Step 4:
# cd /cdrom/cdrom0
■ If the CD-ROM is not already mounted, type:
# mount -F hsfs -O -o ro /dev/dsk/c0t6d0s0 /cdrom
# cd /cdrom
4. To remove the Sun XVR-1000 graphics accelerator software, become superuser and
type:
#
./remove
The following list of options is displayed:
1) Remove Sun XVR-1000 support
2) Remove OpenGL
3) Remove All (Sun XVR-1000 Graphics Accelerator and OpenGL)
4) Quit
Select an option:
16Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
5. Select Option 3 to remove all listed software packages.
The following text is displayed:
About to take the following actions:
- Remove Sun XVR-1000 Graphics Accelerator support
- Remove OpenGL
Press ’q’ to quit, or press any other key to continue:
6. Press any key and Return to start the removal process.
Once complete, the following is displayed and the program provides the location of
a removal file:
*** Removing packages...
*** Done. A log of this removal can be found at:
/var/tmp/XVR-1000.remove.2000.09.27
Multiple Frame Buffer Configuration
To run more than one frame buffer, you must modify your
/etc/dt/config/Xservers file. The Sun XVR-1000 graphics accelerator device is
identified as gfbx (for example, gfb0 and gfb1 for two Sun XVR-1000 graphics
accelerator devices). To do this:
1. Become superuser and open the /etc/dt/config/Xservers file.
#
cd /etc/dt/config
# vi Xservers
If the /etc/dt/config/Xservers file does not exist, create the /etc/dt/config
directory and copy the Xservers file from /usr/dt/config/Xservers to
/etc/dt/config.
# mkdir -p /etc/dt/config
cp /usr/dt/config/Xservers /etc/dt/config
#
# cd /etc/dt/config
# vi Xservers
Chapter 2 Installing the Sun XVR-1000 Graphics Accelerator Software17
2. Modify the file by adding the device locations for the applicable frame buffers
being used. See the following examples:
■ This example shows the Xservers configuration file modified for one
Sun Creator board and one Sun XVR-1000 graphics accelerator:
:0 Local local_uid@console root /usr/openwin/bin/Xsun -dev /dev/fbs/ffb0
-dev /dev/fbs/gfb0
■ This example shows how to remove two Creator3D boards and add one
Sun XVR-1000 graphics accelerator in the Xservers configuration file.
■ Old Xservers configuration file with two Creator3D boards:
:0 Local local_uid@console root /usr/openwin/bin/X -dev /dev/fb0 defdepth 24
-dev /dev/fb1 defdepth 24
■ New Xservers configuration file with one Sun XVR-1000 graphics accelerator:
:0 Local local_uid@console root /usr/openwin/bin/X -dev /dev/fb
Note that the defdepth 24 was removed from the Xservers file so that the
X server does not take performance away from applications.
3. Install the Sun XVR-1000 graphics accelerator hardware (see Chapter 3).
4. Boot your system at the ok prompt:
Halt (Stop-A) your system for the ok prompt.
ok boot -r
18Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Changing the Monitor Screen Resolution
For most installations, the Sun XVR-1000 graphics accelerator device automatically
configures itself to the proper screen resolution and refresh rate for your monitor. If
it is not a Sun monitor, however, that is connected to the Sun XVR-1000 graphics
accelerator device, the monitor might have the wrong screen resolution. To change
the screen resolution, use the fbconfig utilities.
Man Pages
The Sun XVR-1000 graphics accelerator man pages describe how you can query and
set frame buffer attributes such as screen resolutions and visual configurations.
Use the fbconfig(1M) man page for configuring all Sun graphics accelerators.
SUNWgfb_config(1M) contains Sun XVR-1000 device-specific configuration
information. fbconfig is included in the Solaris 8 and Solaris 9 operating
environments. SUNWgfb_config is included in the Solaris 9 operating environment.
For operating environments prior to the Solaris 9 operating environment, refer to the
postscript file SUNWgfb_config.ps on the Sun XVR-1000 graphics accelerator CD.
Use the help option to display the attributes and parameters information of the
man page.
● To access the fbconfig man page, type:
# man fbconfig
● To access the SUNWgfb_config man page, type:
# man SUNWgfb_config
Chapter 2 Installing the Sun XVR-1000 Graphics Accelerator Software19
20Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
CHAPTER
3
Installing the Sun XVR-1000
Graphics Accelerator Hardware
This chapter provides Sun XVR-1000 graphics accelerator hardware installation
information.
■ “Before Installation” on page 21
■ “Installing the Hardware” on page 22
■ “Removing the Hardware” on page 23
■ “System Configurations” on page 24
Before Installation
Refer to the Solaris Handbook for Sun Peripherals (806-6086-10) that corresponds to
your operating environment. The handbook describes how to shut down the system
safely before installing any internal boards and how to reboot the system after
installation. A complete set of Solaris documentation is located at:
http://docs.sun.com
Refer to the following hardware documentation provided with your Sun system for
instructions on installing Sun UPA bus graphics boards:
■ Sun Ultra 60 Service Manual
■ Sun Ultra 80 Service Manual
■ Sun Blade 1000 Service Manual
■ Sun Blade 2000 Service Manual
21
Installing the Hardware
1. Turn off the power to your system, disconnect cabling, and open the enclosure.
2. Position the Sun XVR-1000 graphics accelerator over the UPA bus connector slot.
3. Holding the two upper corners of the graphics board, carefully push the board
straight down into the UPA bus connector until the board is fully seated
(
FIGURE 3-2).
Caution – When installing the Sun XVR-1000 graphics accelerator into your system
UPA slot, do not touch the graphics board heatsinks. Only apply pressure to the
graphics board as indicated by the arrows shown in FIGURE 3-1.
Installation
instruction
label
Insert can straight into
1
slot.
Push down firmly on
2
card until it is completely
inserted. Gold contacts
must not be visible.
double check that card
3
is completely inserted.
microsystems
Heatsinks
FIGURE 3-1Installing the Sun XVR-1000 Graphics Accelerator
The Sun XVR-1000 graphics accelerator shroud also contains labeling with
installation instructions. See
FIGURE 3-1.
22Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • April 2002
Removing the Hardware
1. Turn off the power to your system, disconnect cabling, and open the enclosure.
2. Remove the Sun XVR-1000 graphics accelerator by pulling on the ends and gently
rocking the board until you remove the graphics board from the UPA slot
(
FIGURE 3-2).
Insert can straight into
1
slot.
Push down firmly on
2
card until it is completely
inserted. Gold contacts
must not be visible.
double check that card
3
is completely inserted.
microsystems
FIGURE 3-2Removing the Sun XVR-1000 Graphics Accelerator
Chapter 3 Installing the Sun XVR-1000 Graphics Accelerator Hardware23
System Configurations
TABLE 3-1 shows possible Sun XVR-1000 graphics accelerator configurations in the
supported Sun systems.
TABLE 3-1Sun XVR-1000 Graphics Accelerator and System Hardware Configurations
Sun SystemUPA SlotsMaximum Graphics Board Configuration
Sun Ultra 60 system
(see Note below)
Sun Ultra 80 system22
Sun Blade 1000 system22
Sun Blade 2000 system22
21
Note – Although the Sun Ultra 60 system has two UPA bus connector slots, the UPA
slots are too close together to accommodate more than one Sun XVR-1000 graphics
accelerator.
24Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • April 2002
CHAPTER
4
Using Sun XVR-1000 Graphics
Accelerator Features
This chapter provides Sun XVR-1000 graphics accelerator feature information.
■ “Sun XVR-1000 Graphics Accelerator Multistreaming” on page 25
■ “Dynamic Multisample Antialiasing” on page 34
Sun XVR-1000 Graphics Accelerator
Multistreaming
The Sun XVR-1000 graphics accelerator has two possible video streams which may
drive one of four output ports (13W3, DVI-D, HD-15 and S-video). This section
describes how to tell the configuration program “fbconfig” which stream to
program and how to direct that stream output to the desired port.
When there are two Sun XVR-1000 graphics accelerators in the system, they are
numbered from 0.
trailing component to serve as a shorthand, such as “gfb0” for “/dev/fbs/gfb0”.
/dev/fbs/gfb0Use explicitly for graphics board 1.
/dev/fbs/gfb1Use explicitly for graphics board 2.
TABLE 4-1 gives the device names to use. fbconfig allows the
25
Multistream Options
There are four options from which to choose.
Option 1
In Option 1, only one output is active.
■ Benefits — Maximum resolution 1920 × 1200
■ Drawbacks — None
Frame Buffer
Stream A
13W3
Option 2
In Option 2, only one output is active.
■ Benefits — Maximum resolution 1920 × 1200
■ Drawbacks — Not all resolutions are supported (see TABLE A-2).
Frame Buffer
Stream B
DVI-D
S-video
HD15
26Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Option 3
In Option 3, two outputs are active where one large frame buffer is displayed across
both monitors.
■ Benefits — Two monitor support without the use of Xinerama software.
Can move windows between screens or a window across screens.
■ Drawbacks — Maximum resolution of 1280 × 1024 on each monitor.
Both resolutions must be identical.
Frame Buffer
Stream B
HD15
13W3
Stream A
DVI-DS-video
Option 4
In Option 4, two outputs are active and independent.
■ Benefits — Two monitor support.
The resolutions need not be identical.
■ Drawbacks — Cannot move windows between displays (no Xinerama mode).
Slowest mode of operation.
Frame Buffer
Stream A
Frame Buffer
Stream B
13W3
DVI-D
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features27
S-video
HD15
Setting Up Option 1 (Default)
This option enables the 13W3 port output only. This is the mode the system uses if
no other fbconfig commands have been given.
Example
The following example returns the system to Option 1.
1. Disable doublewide mode. Type:
fbconfig -dev gfb0 -doublewide disable
2. Enable Stream A. Type:
fbconfig -dev gfb0 -active a
3. Select the desired screen resolution. Type:
fbconfig -dev gfb0 -res SUNW_STD_1280x1024x76
To find all possible Sun XVR-1000 graphics accelerator resolutions, type:
fbconfig -res \?
28Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Setting Up Option 2
This option enables the DVI-D or HD-15 port output.
Example
The following example sets up this option.
1. Disable doublewide mode. Type:
fbconfig -dev gfb0 -doublewide disable
2. Enable Stream B. Type:
fbconfig -dev gfb0 -active b
3. Select either the DVI-D or HD-15 port. Type:
fbconfig -dev gfb0 -stream b -port dvid
or
fbconfig -dev gfb0 -stream b -port hd15
4. Select the desired screen resolution. Type:
fbconfig -dev gfb0 -res SUNW_STD_1280x1024x76
To find all possible Sun XVR-1000 graphics accelerator resolutions, type:
fbconfig -res \?
To set up the S-video port, see Appendix B.
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features29
Setting Up Option 3
This option enables two monitor support without the use of Xinerama software. This
means that the Sun XVR-1000 graphics accelerator creates one wide frame buffer,
displayed across two screens.
Example
The following example sets up this option.
1. Enable both streams, sharing a single frame buffer. Type:
fbconfig -dev gfb0 -doublewide enable
2. Select either the DVI-D or HD-15 port for the second monitor screen. Type:
fbconfig -dev gfb0 -stream b -port dvid
or
fbconfig -dev gfb0 -stream b -port hd15
3. Select the desired screen resolution. Type:
fbconfig -dev gfb0 -res SUNW_STD_1280x1024x76
To find all possible Sun XVR-1000 graphics accelerator resolutions, type:
fbconfig -res \?
30Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Setting Up Option 4
This option allows independent resolution setting of each stream.
Note – Stream option 4 is not supported in Xinerama. X windows and Sun OpenGL
for Solaris performance may be noticeably degraded in this mode. Many resources
(for example, Color LUTs and WID entries) are managed independently and the two
streams compete with each other.
Use stream option 3 whenever possible for a dual stream configuration.
Example
The following example sets up this option.
1. Select either the DVI-D or HD-15 port for the second monitor screen. Type:
fbconfig -dev gfb0 -stream b -port dvid
or
fbconfig -dev gfb0 -stream b -port hd15
2. Select an independent screen resolution for each frame buffer. Type:
3. To enable both streams, both devices /dev/fbs/gfb0a and /dev/fbs/gfb0b
must appear in the /etc/dt/config/Xservers file.
For example:
:0 Local local_uid@console root /usr/openwin/bin/Xsun -dev
/dev/fbs/gfb0a -dev /dev/fbs/gfb0b
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features31
To find all possible Sun XVR-1000 graphics accelerator resolutions, type:
fbconfig -res \?
TABLE A-2 in Appendix A for all valid screen resolution combinations.
See
To set up the S-video port, see Appendix B.
Port Selection
Stream B allows three different ports to be selected.
● To route Stream B to the HD-15 connector on the daughter board, use this
command:
# fbconfig -stream b -port hd15
● To route Stream B to the DVI-D connector on the daughter board, use this
command:
# fbconfig -stream b -port dvid
● Selecting the S-video port Stream B is automatic when the following video
resolutions are selected for Stream B:
■ SUNW_NTSC_640x480x66
■ SUNW_PAL_640x480x60
Note – For stream B to be active, it must be selected as described in the stream
section (“Multistream Options” on page 26). You must turn on doublewide mode,
or set the active stream to “b.”
32Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Multicard Setup
To use three (or four) video streams (monitors), you need to use two graphics
boards, and link those boards with Xinerama.
With three streams, one would be doublewide and one would be “normal.” For four
streams, both would be doublewide. For example, for the steps to create the
following monitor setup:
gfb0 (13W3) to monitor 1
gfb0 (HD15) to monitor 2
gfb1 (13W3) to monitor 3
1. Configure each Sun XVR-1000 graphics accelerator as follows:
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features33
Dynamic Multisample Antialiasing
Multisampling (full-scene dynamic multisample antialiasing) removes the jagged
edges on 3D data. An image is sampled at a higher resolution than the screen,
typically four to 16 samples per pixel. This method yields improved images, but at
the price of increased render time.
The Sun XVR-1000 graphics accelerator has 72 Mbytes of memory for the frame
buffer so that the image can be multisampled at up to 16 samples per pixel in a
single pass, depending on the resolution. The higher number of samples per pixel,
the better the image quality but the longer the display time. Depending on the
screen resolution (
improve image quality.
You can get better sample densities with dynamic mode if the window is smaller
then the screen size.
Use a combination of the fbconfig command and/or environmental variables to
invoke multisampling. You can enable multisample mode for a particular OpenGL
application or for all OpenGL applications.
Enabling Multisampling for a Specific OpenGL
TABLE 4-3), the number of samples per pixel can be increased to
Application
1. Set the multisample environmental variable.
This enables multisampling for the current window:
# setenv ZFB_USE_MSB
2. For this example, set the maximum sample usage to four samples per pixel:
# setenv ZFB_USE_MSB 4
34Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
3. Set the ZFB_SHOW_DENSITY environment to display sample density when an
application is launched.
# setenv ZFB_SHOW_DENSITY
The output also shows value changes as the window is resized.
4. Launch your application.
The followings shows an example of setting the environments, launching the
application, and its output.
ogl_zfb: Auto multisample buffer mode
ogl_zfb: report sample density changes
multisample (s,b,p,tp,w,h):5,0,12,12,512,436
multisample (s,b,p,tp,w,h):8,0,12,12,426,350
Where: s = sample density, b = reserved, p = reserved, tp = reserved, w = window
width, h = window height.
)
Note – In the above example, the window was resized from 512 × 436 to 426 × 350.
Enabling Multisampling for All OpenGL
Applications
1. Use fbconfig to enable all OpenGL application windows for dynamic
multisampling.
# fbconfig -dev /dev/fbs/gfb0 -multisample auto dynamic -samples max
Note – When using the auto option switch, all OpenGL applications are
multisampled. If you use the enable switch, only those that use the multisample
APIs will be multisampled.
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features35
2. Log out, then log back in to restart the X-server for the changes to take effect.
This enables multisampling for all OpenGL applications. The maximum sample size
is 16 samples per pixel. The sample size is automatically allocated based on available
memory when each application is started or resized. This means that each
application is at lower than 16 samples per pixel. You can set the sample to a smaller
size so that the first application does not use up the most memory.
If you set the environmental variable ZFB_SHOW_DENSITY in each application
window before you launch an application, the previously shown multisample
information for that application is displayed.
TABLE 4-2 describes the fbconfig -multisample options.
disableNo multisample is possible.
enableMultisample is possible but is selected on a per application basis.
autoAll OpenGL applications are rendered using multisampling.
staticMultisample allocation occurs at startup/configuration load time.
The configuration samples-per-pixel parameter specifies the depth
that is pre-allocated.
dynamicA buffer is allocated for each OpenGL task.
TABLE 4-3 lists how many samples per pixel are supported at various maximum 3D
resolutions:
TABLE 4-3Sun XVR-1000 Graphics Accelerator Multisampling Support
Maximum 3D resolutionSingle displayDual displayStereo (112 Hz)
1920 × 1200
× 1200
1600
× 10002
1600
× 102422
1280
× 90032
1152
× 768524
1024
36Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
TABLE 4-3Sun XVR-1000 Graphics Accelerator Multisampling Support (Continued)
Maximum 3D resolutionSingle displayDual displayStereo (112 Hz)
960 × 680N/A6
× 600848
800
× 48016612
640
Note – TABLE 4-3 is for static mode multisampling but is applicable for dynamic
mode if the application is running the whole screen size. You can get better sample
densities with dynamic mode if the window is smaller then the screen size.
Chapter 4 Using Sun XVR-1000 Graphics Accelerator Features37
38Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
CHAPTER
5
Sun XVR-1000 Graphics Accelerator
Frame Locking and Buffer Swap
Synchronization
This chapter describes Sun XVR-1000 graphics accelerator frame locking and buffer
swap synchronization.
■ “Configuring Sun XVR-1000 Graphics Accelerators for Frame Locking” on
page 42
■ “Frame Lock Cable Assembly” on page 44
■ “Connecting the Frame Lock Cable Assembly” on page 46
Sun XVR-1000 Graphics Accelerator
Frame Lock System
The frame lock synchronization feature enables vertical retracing to occur
simultaneously on each Sun XVR-1000 graphics accelerator subsystem. The frame
lock cable assembly is used to daisy-chain two or more Sun XVR-1000 graphics
accelerator subsystems. Vertical retrace synchronization eliminates flicker between
multiscreen displays. You can frame lock two or more Sun XVR-1000 graphics
accelerator subsystems across two or more computer systems.
Frame locking is often necessary when running in stereo in a multihead
environment. All the displays can be synchronized so that the left and right views
can be seen correctly through one set of LCD stereo glasses.
39
When frame buffers are frame locked, you should make sure they are all running at
the same video resolution and vertical retrace rate (see fbconfig -help for details).
See “Configuring Sun XVR-1000 Graphics Accelerators for Frame Locking” on
page 42.
To use the frame lock features, the frame lock cable assembly is required. See “Frame
Lock Cable Assembly” on page 44 for installation.
To order the frame lock cable assembly, call Sun telesales at 1-800-786-0404 and
request spare part number 530-2754. You can also order the frame lock cable
assembly through the Sun store (http://store.sun.com) by ordering this part
number under spare parts.
By default, two channels are not frame locked.
Buffer Swap Synchronization
Buffer swap synchronization enables a simultaneous swap of buffer memory
contents on all Sun XVR-1000 graphics accelerator subsystems to maintain image
quality and to enable continuity between scenes on all applicable displays. This
feature, however, is not applicable across two or more systems. The display can be a
monitor or a large wall screen image displayed by a projector. See “Creating a
Multiscreen Application” on page 41 in this section for an example of creating a
multiscreen application.
Note – if you frame lock multiple computer systems, only the frame lock feature
will operate (that is, the Buffer Swap Synchronization feature is not available across
multiple computer systems).
40Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Creating a Multiscreen Application
The following is a programming example of how to create a Buffer Swap
Synchronization (multiscreen) application.
Main program:
1. Create n full screen windows, one per screen.
2. Create n rendering threads and associate one thread per screen.
3. Create a master thread to synchronize rendering threads.
4. Execute main window system event loop.
Master Thread run method:
1. Do the following in a loop:
a. Notify all rendering threads to render a frame (possibly in response to an
event).
b. Wait for all rendering threads to finish rendering.
c. Notify all rendering threads to swap buffers.
d. Wait for all rendering threads to finish swapping.
Render Thread(s) run method:
1. Create OpenGL context for this thread’s window.
2. Make context current to this thread.
3. Initialize OpenGL context state.
4. Do the following in a loop:
a. Wait for master thread notification.
b. Render image to back buffer for this screen.
c. Notify master thread that this thread is done rendering.
d. Wait for master thread notification.
e. Swap buffers.
f. Notify master thread that this thread is done swapping.
Chapter 5 Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap Synchronization41
Configuring Sun XVR-1000 Graphics
Accelerators for Frame Locking
1. Designate a Sun XVR-1000 graphics accelerator as the master.
You may use the Sun XVR-1000 graphics accelerator that serves as the boot/console
head for that system.
Refer to the boot -r man page for device location and device numbering
information for how devices are numbered based on their physical location. For
frame lock, you may select any device (that is, gfb0, gfb1, gfb2,...and so on) to be
the master Sun XVR-1000 graphics accelerator device.
2. Make sure that each Sun XVR-1000 graphics accelerator installed has the same
monitor resolution as the one in master mode.
a. Check the resolution of an Sun XVR-1000 graphics accelerator by using the
fbconfig command.
For example:
# fbconfig -dev /dev/fbs/gfb0 -prconf
You must repeat this command for each Sun XVR-1000 graphics accelerator in the
system or systems.
b. Change the resolution of a Sun XVR-1000 graphics accelerator using the
fbconfig command.
If the resolution on each Sun XVR-1000 graphics accelerator is not the same, you
must change it to match the Sun XVR-1000 graphics accelerator in master mode.
You must configure each board separately (that is, for gfb1, gfb2, gfb3, and so
on).
For example:
# fbconfig -dev /dev/fbs/gfb0 -active a -res 1280x1024x76
# fbconfig -dev /dev/fbs/gfb1 -active a -res 1280x1024x76
Log out of the X window system, and then log back in for the resolutions to take
effect.
42Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
3. Set the master and slave graphics boards.
For example,
# fbconfig -dev /dev/fbs/gfb0 -master a -stream a -slave disable
# fbconfig -dev /dev/fbs/gfb1 -master input -stream a -slave enable external
You need to run these last two commands, setting each master and slave graphics
board, each time you log into your X window system.
Note – The -master and -slave options are only implemented as immediate
commands. They take effect when you run the fbconfig command, and are not
saved when you exit the X window system. When you restart the X window system,
all graphics boards and streams return to -master a and -slave disable modes.
4. Connect the frame lock cable to each Sun XVR-1000 graphics accelerator.
Make sure to first connect the frame lock cable master mode connector to the master
Sun XVR-1000 graphics accelerator, gfb0 in the above example. See the section
“Frame Lock Cable Assembly” on page 44.
Your system is now ready for frame locking.
Chapter 5 Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap Synchronization43
Frame Lock Cable Assembly
The frame lock cable assembly, FIGURE 5-1, is a Y-shaped cable assembly with three
connectors. Use this assembly to daisy-chain multiple Sun XVR-1000 graphics
accelerators within a computer system.
Connects into the stereo connector located on the Sun XVR-1000
graphics accelerator that is designated as the master device. Also
plugs into the daisy-chain connector for slave Sun XVR-1000
graphics accelerators.
Connects into the stereo connector located on the Sun XVR-1000
graphics accelerator that is designated as a slave device.
Can connect a pair of stereo glasses directly into this connector. Or
the connector can be used to daisy-chain to other frame lock cables
for slave Sun XVR-1000 graphics accelerator devices.
Note – There can only be one master Sun XVR-1000 graphics accelerator device. You
must configure all other Sun XVR-1000 graphics accelerator devices as slaves. See
the section “Configuring Sun XVR-1000 Graphics Accelerators for Frame Locking”
on page 42.
44Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Stereo Connector Pinout for Frame Lock
FIGURE 5-2 and TABLE 5-2 show the Sun XVR-1000 graphics accelerator stereo
Chapter 5 Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap Synchronization45
Typical Cable Wiring Application
TABLE 5-3 shows a typical wiring schematic for a master Sun XVR-1000 graphics
accelerator device and one or more slave Sun XVR-1000 graphics accelerator devices.
You should wire the second to nth slave devices exactly as the “Slave Male DIN7”
column in this table.
TABLE 5-3Wiring Schematic for Frame Lock Cable Assembly
Master Male DIN7Slave Male DIN7Glasses Female DIN7
Note – Use the “Glasses” connector to daisy-chain multiple cables to additional
slave Sun XVR-1000 graphics accelerator devices.
Connecting the Frame Lock Cable
Assembly
1. Locate the master Sun XVR-1000 graphics accelerator I/O backplate on the rear of
your system and connect the top of the frame lock cable assembly stereo
connector.
2. Connect the slave cable connector to a slave Sun XVR-1000 graphics accelerator
stereo connector.
3. Connect a second slave Sun XVR-1000 graphics accelerator, if applicable, or stereo
glasses to the daisy-chain/stereo connector (
FIGURE 5-3).
46Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
First and second slave
Sun XVR-1000 graphics accelerators
Sun XVR-1000
graphics accelerator
stereo
connector
Designated
master Sun XVR-1000
graphics accelerator (M)
Top of frame lock
cable assembly
to master Sun XVR-1000
graphics accelerator
(S1)
Daisy-chain/stereo
connector
Cabling for second
slave Sun XVR-1000
graphics accelerator
(S2)
M
S1
S2
Slave cables
Optional
slave stereo glasses
FIGURE 5-3Sun XVR-1000 Graphics Accelerator and Frame Lock Cable Assembly
Chapter 5 Sun XVR-1000 Graphics Accelerator Frame Locking and Buffer Swap Synchronization47
48Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
APPENDIX
A
Sun XVR-1000 Graphics Accelerator
Specifications
This appendix provides information on the Sun XVR-1000 graphics accelerator I/O
ports and screen resolution matrix.
■ “Sun XVR-1000 Graphics Accelerator I/O Ports” on page 49
■ “Screen Resolution Matrix” on page 51
Sun XVR-1000 Graphics Accelerator
I/O Ports
FIGURE A-1 shows the external I/O port connectors for the Sun XVR-1000 graphics
accelerator
FIGURE A-1 Sun XVR-1000 Graphics Accelerator External I/O Port Connectors
.
DVI-D port
Stereo portS-video port
13W3 port
HD-15 monitor port
49
The Sun XVR-1000 graphics accelerator provides a secondary video output stream
from either a DVI-D or HD-15 connector. The primary video output is through a
standard 13W3 connector. The secondary output is through one of the following:
■ HD-15 video connector for analog displays
■ DVI-D for digital input displays like flat panels
■ S-video connector for video devices like TV monitors or recording devices
The 13W3, HD-15, and DVI-D connectors all provide a DDC2B link. A DDC2B link
provides monitor query and control functions.
Note – If you are connecting a Sun XVR-1000 graphics accelerator HD-15 connector
to a 13W3-based display, an HD-15 to 13W3 video adapter is required.
Main Board Stereo Connector Pinout
FIGURE A-1 and TABLE A-1 show the Sun XVR-1000 graphics accelerator stereo
connector and pinout signals.
7
4
2
FIGURE A-2 Sun XVR-1000 Graphics Accelerator Backplate Stereo Connector
The daughter board DVI-D port shares the same video source as the daughter board
HD-15 and main board S-video ports. Only one of the main board S-video, daughter
board HD-15, or daughter board DVI-D ports can be active at any time.
The Sun XVR-1000 graphics accelerator supports the same resolutions for the
daughter board DVI-D port as for the daughter board HD-15 port.
When the main board 13W3 port is active at the same time as the DVI-D port, there
are restrictions on the supported combinations of resolutions. See “Screen Resolution
Matrix” on page 51.
Daughter Board HD-15 Port
The daughter board HD-15 port shares the same video source with the main board
S-video and daughter board DVI-D ports. Only one of the main board S-video,
daughter board HD-15, or daughter board DVI-D ports can be active at any time.
Screen Resolution Matrix
The Sun XVR-1000 graphics accelerator, with daughter board, supports two channels
of frame buffer area.
Channel 1 (main board 13W3 monitor port) and Channel 2 (daughter board HD-15
and DVI-D ports) frame buffer areas.
The first column of
resolution numbers correspond with the numbers representing the Channel 2
supported resolutions. A bullet indicates a combination of resolutions on Channel 1
and Channel 2 supported by the system.
TABLE A-2 lists the pairs of resolution supported by both
TABLE A-2 lists the Channel 1 supported resolutions. These
* S-video output supports only640 x480 forNTSC outputand 800 x 600 for PALoutput.
52 Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
APPENDIX
B
Setting Up S-Video
This appendix provides information for setting up S-video (NTSC and PAL video
formats) on the Sun XVR-1000 graphics accelerator.
■ “S-Video Configuration Option 1” on page 53
■ “S-Video Configuration Option 2” on page 54
■ “Example for Using Two Sun XVR-1000 Graphics Accelerators” on page 56
■ “Daughter Board Interactions” on page 57
Note – With S-video, you can cause the NTSC and PAL output to be a subwindow
of the main (13W3 channel) video outputs. It also allows you to pan the subwindow
within the full frame. No other secondary channel port (DVI-D or HD15) is available
while using S-video.
S-Video Configuration Option 1
This option allows S-video on video data stream 2, displaying nothing on
stream 1.
This setup dedicates all memory resources of the graphics board to the S-video port.
This is required for the largest multisampling depth of 16 samples per pixel. Another
board may be used if a large workspace is required for other purposes beyond the
one 640 × 480 window.
Note – This procedure assumes that you are setting up the first board as gfb0.
4. Add or change the Xservers file to include these devices.
You need to add device entries for /dev/fbs/gfb0a and /dev/fbs/gfb0b to the
/etc/dt/config/Xservers file. If an entry for /dev/fbs/gfb0 exists already,
delete it and add the two described devices, gfb0a and gfb0b. All other devices
should remain the same.
Note – Refer to the proper Xservers(1) man page and Xservers documentation
for further information.
5. Log out to restart Xserver and verify the configuration data.
S-Video Configuration Option 3
This option allows the S-video port and Stream B to be set up to capture any
subregion of Stream A after the window system is already running.
● Use the svideotool GUI application to set up and select this subregion:
% cd /opt/SUNWvidtools/bin/svideotool
Note – Stream B must not currently be in use for svideotool to be activated.
Appendix BSetting Up S-Video55
Example for Using Two Sun XVR-1000
Graphics Accelerators
In this example the first board (gfb0) is used for S-video exclusively and the second
board (gfb1) is used normally.
1. Create the Xservers file:
:0 Local local_uid@console root /usr/openwin/bin/Xsun \
Note – By default, the first board in Xservers is the monitor on the left, and then
they are laid out left to right.
Daughter Board Interactions
If a daughter board is attached, video also might be visible on the HD-15 (VGA) or
DVI-D connectors. This raw RGB signal is also going to the NTSC/PAL encoder.
This signal is not meant to be used by normal monitors. The signal has an odd
aspect ratio and synchronization signals.
Appendix BSetting Up S-Video57
58 Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
APPENDIX
C
Xinerama
Xinerama is an X windows feature available in Solaris 8 system software and
subsequent compatible releases for Sun graphics boards including the Sun XVR-1000
graphics accelerator.
When the window system is started in Xinerama mode, all windows can be
seamlessly moved across screen boundaries, thus creating one large, super highresolution, virtual display. With Sun OpenGL 1.2.1 for Solaris or subsequent
compatible releases, this functionality is extended to OpenGL applications. No
recompilation is necessary for a legacy application to work with Xinerama mode
across multiple screens, even if the application was compiled with an older version
of Sun OpenGL for Solaris.
To enable Xinerama mode (single logical screen) on multiscreen displays, add
+xinerama to the /usr/dt/config/Xservers file. For example:
:0 Local local_uid@console root /usr/openwin/bin/Xsun +xinerama
-dev /dev/fb0 -dev /dev/fb1
You need to install Sun OpenGL for Solaris version 1.2.1 (or later release) in order to
run your OpenGL-based applications seamlessly in multiscreen Xinerama mode;
older releases of OpenGL render only to one screen in the display.
59
60 Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
APPENDIX
D
Setting the Default Console Display
The console device defaults to the Sun XVR-1000 graphics accelerator. If another
frame buffer is installed, such as a PCI bus or UPA bus frame buffer, you may need
to change the default console display.
To set the Sun XVR-1000 graphics accelerator as the default console display:
1. At the ok prompt, type:
ok show-displays
The output prompts you to select a display device. For example:
a) /SUNW,gfb@1d,0
b) /SUNW,ffb@1e,0
q) NO SELECTION
2. Select the Sun XVR-1000 graphics accelerator device to be the default console
display.
In this example, select a, where SUNW,gfb is the Sun XVR-1000 graphics accelerator
device and 1d is the slot.
Enter Selection, q to quit: a
/SUNW,gfb@1d,0 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for
/pci@1f,0/pci@5/SUNW,gfb@1d,0
61
3. Create an alias name for the Sun XVR-1000 graphics accelerator device.
The example output above shows mydev as the alias device name.
See Step 8 for instructions on renaming the device alias.
ok nvalias mydev <Control-Y> <Return>
4. Set the device that you selected to be the default console display device.
ok setenv output-device mydev
5. Store the alias name that you have created.
ok setenv use-nvramrc? true
6. Reset the output device environment.
ok reset
7. Rename an alias name for the Sun XVR-1000 graphics accelerator device
(optional).
You can simplify future OpenBoot
TM
PROM commands by creating an alias for the
Sun XVR-1000 graphics accelerator device. To do this,
a. Select the Sun XVR-1000 graphics accelerator device from the
show-displays menu.
b. Name the device (this example names the device as screen1).
ok nvalias screen1 <Control-Y> <Return>
c. Store the name as the alias.
ok nvstore
62 Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
d. Verify the alias.
ok devalias
The selected alias is displayed.
You can now refer to screen1 for the Sun XVR-1000 graphics accelerator device.
For example:
ok setenv output-device screen1
8. Reset the output device environment.
ok reset
9. Connect your monitor cable to the Sun XVR-1000 graphics accelerator monitor
connector on your system back panel (see
FIGURE A-1).
Appendix DSetting the Default Console Display63
64 Sun XVR-1000 Graphics Accelerator Installation and User’s Guide • June 2002
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.