C H A P T E R 3 |
Configuring Multiple Frame Buffers |
This chapter describes procedures for setting up multiple frame buffers.
To run more than one frame buffer you must modify your Xservers file. The
Sun XVR-300 x8 graphics accelerator device name is nfb (for example, nfb0 and nfb1 for two Sun XVR-300 x8 graphics accelerator devices).
To Modify the Xservers File |
1. Become superuser and open the /etc/dt/config/Xservers file.
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 |
2. Modify the file by adding the device locations for the applicable frame buffers being used. See the following examples:
Enter the Xservers file content in one long line.
The following examples are on a Solaris 10 Operating System.
This example shows the Xservers configuration file modified for one
Sun XVR-2500 graphics accelerator (kfb0) and one Sun XVR-300 x8 graphics accelerator (nfb0):
This example shows how to remove two Sun XVR-2500 graphics accelerators and add one Sun XVR-300 x8 graphics accelerator in the Xservers configuration file.
When the window system is started in Xinerama mode, all windows can be seamlessly moved across screen boundaries, thus creating one large, super high-resolution, virtual display. With Sun OpenGL 1.3 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.
Refer to the proper Xservers(1) man page and Xservers documentation for further information.
To Enable Xinerama |
Add +xinerama to the command line in the /etc/dt/config/Xservers file.
See the following example on a Solaris 10 Operating System.
Note - Ensure that you enter +xinerama after /usr/X11/bin/Xserver in the command line. |
For example, as superuser, type:
Enter the Xservers file content in one long line.
To Set Up Two Video Outputs Over One Large Frame Buffer, in Chapter 4, describes an alternative to Xinerama, useful in some cases, where performance might be better.
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.