Software Installation Guide For HP-UX 9.03, 9.05, 9.07,and 10.10 CD-ROM Release 1.0










Part No. 917-050569, Rev. A

Welcome!

Congratulations on your purchase of one of Parallax Graphics premier workstation video cards. Please check the Release Notes for important updates, install your video card (see your Hardware Installation Guide), then use this guide to lead you through the software installation process. © Copyright Parallax Graphics, Inc. 1996.All rights reserved. Printed in the USA. Parallax Graphics, Inc., 2500 Walsh Street, Santa Clara, CA 95051 USA, Phone 408-727-2220, Fax 408-727-2367, World Wide Web: http://www.parallax.com, E-mail: info@parallax.com No part of this manual or the accompanying software may be reproduced or transmitted in any form or by any means--electronic or mechanical, including photocopying and recording--without the prior written permission of Parallax Graphics, Inc. VideoStream, XVideo, XVideo Xtra,PowerVideo, MultiVideo, Video Development Environment, Software Essentials, MovieTool, VideoTool, and Parallax Graphics are trademarks or registered trademarks of Parallax Graphics, Inc. All other trademarks or servicemarks are owned by their respective holders.

Table of Contents

Before You Install Required Hardware, Software, et Cetera Removing A Previous Version of Parallax Software Installation Installing the Software Calibrating the Digital Video Image Installing from a Remote CD-ROM Troubleshooting

What's on This CD

  • Parallax Version 9.2 for HP-UX 9.03/9.05/9.07.
  • Parallax Version 9.3 for HP-UX 9.03/9.05/9.07, with improvements.
  • Parallax Version 10.10 for HP-UX 10.10, similar to Version 9.3.

    Font/Usage Conventions

    TypewriterFont Indicates code and text in terminal windows. <Words> Indicates code and on-screen text that is variable (such as <your home directory>). [Words] Indicates code and on-screen text that is optional or conditional (such as [SE or VDE]).

    Before You Install

    Required Hardware, Software, et Cetera

    To complete this software installation,you will need the following:
  • UNIX system administration experience.
  • Root accounts and password permissions for each system.
  • Access to a CD-ROM drive. Before you install, make sure you have the following on each workstation: 1. An installed XVideo700, PowerVideo700, or MultiVideo700 video overlay card. See your Hardware Installation Guide for instructions. 2. A supported monitor display resolution and refresh rate (see your Hardware Installation Guide, Appendix A for a complete list of system requirements or your Release Notes for tested systems). 3. The following operating and windowing systems: HP-UX 9.03, 9.05, 9,07, 10.10, or 10.20. 20 Megabytes (MB) of storage space on local hard disks for Software Essentials and for Video Development Environment on version 9.2. 35 MB of storage space for Video Development Environment on version 9.3 or 10.10. You will also need system RAM (32 MB recommended, 16 MB minimum) and swap space (60 MB recommended, 32 MB minimum). If you are using HPVUE/HP MPOWER, you need release 2.0 or higher.

    Removing A Previous Version of Parallax Software

    If you have a previous version of Parallax Graphics video software on your workstation, you must remove it before installing the new version: 1. Exit the windowing environment, get into command line mode, and login as root. (Because this software includes server and driver software, you must be outside the windowing environment--in command line mode--for this de-install to work correctly.) 2. Removing the Parallax version 9.x software and not upgrading: If you are removing Parallax version 9.x, the RemoveFileSets program deletes libraries that may be necessary to run your system without Parallax software. If you did not make backup copies of the libraries, "/usr/lib/X11/extensions/libxv.sl" and "libhprop.sl" when you first installed version 9.x software, then make backup copies now. 3. Removing Parallax software --or-- upgrading from Parallax version 9.2 or earlier to version 9.x: You must use eisa_config to disengage the Parallax card. To do this, exit the server, run "/etc/eisa_config" to determine the slot number of the Parallax card, type the command "remove <slot number of videocard>", type "save" to save the new configuration,and "quit" to exit eisa_config. 4. Remove the Parallax Graphics software. Since the swremove and RemoveFileSets (rmfn) programs do not remove all Parallax files and directories, you need to manually delete some files in "/opt/parallax" as shown below: HP-UX 10.x users: # swremove # rm -rf /opt/parallax NOTE: Software Essentials users enter SE. Video Development Environment users enter VDE. HP-UX 9.x users: # rmfn -l <ParallaxBasic or ParallaxVDE> # rm -rf /opt/parallax NOTE: Software Essentials users enter ParallaxBasic. Video Development Environment users enter ParallaxVDE. 5. Upgrading: Reboot your system to complete the de-installation. You are now ready to install your software--go to Installation. Removing the Parallax software and not upgrading: The following additional steps apply only if you are removing the Parallax software (if you are upgrading, go to Installation): 6. Removing version 9.x: Copy the "/etc/master.preParallax" file to "/etc/master", and copy "/etc/newconfig/master.preParallax" to "/etc/newconfig/master". 7. Removing version 9.x: Perform the command "rm -r /dev/plx*" 8. Removing version 9.x: Run SAM. Select Kernel_Configuration/Drivers/Actions/Create_a_New_Kernel. This will auto-reboot your system. 9. Removing version 9.x: You need to restore the libraries you backed up ("/usr/lib/X11/extensions/libxv.sl" and "libhprop.sl") back to their original file names. 10. Removing Parallax software: Shut down your system and remove the Parallax videocard/s. NOTE: If you reboot after removing the video card/s and get messages that the boards for any slots were not found, you need to repeat step 3. above.

    Installation

    Before you install, read the Release Notes and review Before You Install to make sure you have the hardware, software, etc. you need.
  • For HP-UX 10.10,start below.
  • For HP-UX 9.03,9.05, or 9.07, start here.

    Installing the Software on HP-UX 10.10

    1. Upgrades: If you haven't removed any previous version of Parallax Graphics video software, do so now. See here. 2. Log in as root. 3. Access the software files. Insert the CD into the CD-ROM drive, and mount the CD. For example, if your CD-ROM device is "/dev/dsk/c0t5d0" and your mountpoint is /CD_ROM, then use the command: # mount /dev/dsk/c0t5d0 /CD_ROM NOTE: If you are using a remote CD-ROM drive, see here. 4. Start installing the software: # swinstall NOTE: A "Note" window may appear on-screen with the message, "The default source 'var/spool/sw' does not exist or is not..." You can ignore this message. Click OK to continue. 5. The "Specify Source" window appears. a. Next to "Source Host Name" type the name of your system. b. Next to "Source Depot Path type the location of the software you want to load (for example "/CD_ROM/10.10"). c. Next to "Software Filter" type "None." d. When you are finished, click "OK." 6. The "SD Install-Software Selection" window appears. a. Click on the line with SE or VDE to select it. That line will be highlighted. (SE for Software Essentials users, VDE for Video Development Environment users). b. At the top ofthe window, pull down the "Actions" menu and select "Mark forInstall". The word "yes" will appear next to SE or VDE. c. Pull down the "Actions" menu again and select "Install (Analysis...)". 7. The "Install Analysis" window will appear. In the "InstallAnalysis" window, click "OK" to continue. 8. A "Confirmation" window will appear. In the "Confirmation" window, click "Yes" to continue. 9. Another "Confirmation" window will appear. In this window, click "Yes" to give permission to rebuild the kernel and reboot the machine. (You need to reboot because the Parallax software includes a server extension and driver modules. You need to rebuild the kernel to configure the video card into the kernel before using the software.) 10. The "Install" window will appear and the software will start loading, which should take approximately 3-5 minutes. When the software has finished loading, the "Status..." line will read "Status: Ready..." Click "Done" to continue. NOTE: If the status is "Ready with Warnings", the installation is probably fine. If you wish you can verify this by clicking on the "Logfile" button to read the warnings. 11. The "Reboot" window will appear. Click "OK" to reboot your system (and rebuild the kernel). NOTE: The basic installation should be finished at this point. But if the reconfiguration during reboot fails for some reason, you may get an error message such as, "Xserver can't be started... Suspending HPVUE..." and the window system will not launch. If this happens, log in as root, and type the command "swconfig <SE or VDE>" using SE if you use Software Essentials or VDE if you use the Video Development Environment. 12. Now you need to set your user environment and calibrate your video image. Go to here to continue.

    Installing the Software on HP-UX 9.03, 9.05, or 9.07

    1. Upgrades: If you haven't removed any previous version of Parallax Graphics video software, do so now. See here. 2. First-time installations (on this system): The installation program replaces two libraries that may be necessary to run your system without Parallax software. In case you ever remove the Parallax software from your system, please make backup copies of the files "/usr/lib/X11/extensions/libxv.sl" and "libprop.sl" before installation. 3. Access the software files: Insert the CD into the CD-ROM drive, and mount the CD. For example, if your CD-ROM device is "/dev/dsk/c201d5s0" and your mountpoint is "/CD_ROM" then use the command: mount /dev/dsk/c201d5s0 /CD_ROM NOTE: If you are using a remote CD-ROM drive, see here. 4. Log in as root. (And if you prefer using HP VUE, click on the Tools icon in the HP VUE front panel.) 5. To update your system (start installing the software), in a console window, type: # update (If you prefer using HP VUE, double-click on theUpdateFilesets icon in the Personal Toolbox screen.) 6. The UpdateFilesets Main_Menu screen appears. Change_Source_or_Destination is highlighted. Press the Return key or click on the Select_Item button at the bottom of the Main_Menu screen. 7. The Change_Source_or_Destination screen appears. The option From_Tape_Device_to_Local_System is highlighted. This is the option you want to select even for installing from CD. Press the Return key. This selects From_Tape_Device_to_Local_System. 8. The From_Tape_Device_to_Local_System screen appears. Use the tab or arrow keys to move the cursor to the Source line and replace the existing line with the following line (where "/CD_ROM" is the mount point for the CD. Use the space bar to remove older text: /CD_ROM/<9.2 or 9.3>/<updateBasic or updateVDE> NOTE: Choose "9.3" to install Parallax version 9.3, or "9.2" for version9.2. Choose "updateBasic" for the Software Essentials or "updateVDE" for the Video Development Environment.

    No figure available.

    Figure A Changing the Source line.
    9. Use the tab or arrow keys to move the cursor to the Destination_Directory line. It might contain information from a previous installation or be blank. Delete any information on this line and add ``/'' to the beginning of the line (Figure A). When you are finished, click on the Done button.

    10. The Update_Filesets_Main_Menu screen appears. Use the arrow keys or space bar to move the selection bar to Select_All_Filesets_on_the_Source_Media. Press the Return key.

    11. The Select_All_Filesets_on_the_Source_Media screen appears. The Start_Loading_Now option is highlighted. Press the Return key to start loading software.

    12. A warning box appears. Press "n" to continue installation.

    NOTE: If you press "y", a screen appears that provides more information about the software installation. 13. Another warning box appears. This is your last chance to discontinue the software installation. Press "y" to continue.

    14. The Loading_Partitions_and_Filesets screen appears. Wait a few minutes for the software installation to complete. The system will automatically rebuild the kernel and reboot the system.

    NOTE: If the kernel build fails, follow the steps for rebuilding the kernel in Troubleshooting.

    Setting User Environment

    Modifying your .cshrc or .profile file.

    Before you can use video, you need to set up your environment so it will run Parallax Graphics server extension and driver modules. The best place to set this environment is in your .cshrc or .profile file.

    Shown here arerecommended sample lines for users of the C Shell, Bourne Shell, and Korn Shell. "/opt/parallax" is the location of the Parallax software.

    C Shell users:

    1. Log in and move to your home directory. Use your preferred editor to add the following to the end of your .cshrc file:

    setenv PARALLAX_HOME /opt/parallax
    set path=($PARALLAX_HOME/bin $path)
    2. When you are finished, source the newly compiled changes to reset your environment:

    % source .cshrc
    Bourne Shell and Korn Shell users:

    1. Log in and move to your home directory. Use your preferred editor to add the following to the end of your .profile file:


    PARALLAX_HOME=/opt/parallax
    PATH=$PARALLAX_HOME/bin:$PATH
    export PARALLAX_HOME PATH

    2. When you are finished, source the newly compiled changes to reset your environment:

    % . ./.profile

    Configuring Multiple Video Cards

    For multiple video cards in one system: you need to make sure that your system has correctly allocated memory space and interrupt levels for each card. 1. Get into command line (console) mode and log in as root. Type:

    # eisa_config This program will list the eisa slots (0, 1, 2, etc.) and the eisa cards that are installed in your system. Check that all the Parallax Graphics video cards that you have installed appear on this listing (they will appear as ``!PLX0001''). Note which slot numbers have video cards in them.

    If any video card is not listed, you need to add it with the command, EISA: add !PLX0001 <slot number>

    NOTE: The slot numbers with video cards are listed by eisa_config above. eisa_config also refers to slot numbers as "board numbers." 2. Set up the memory space and interrupt levels. In eisa_config, type the command below. You will get a listing that looks like the one following.

    # EISA: show board <slot number> XVideo Overlay CFG file: !PLX0001 Slot 2 Manufacturer ................. Parallax ID ........................... PLX0001 Board type ................... OTH (Other) Board slot type .............. EISA Readable ID .................. Yes Skirt ........................ No Length ....................... 213 millimeters Current Required ............. 3100 milliamps Function names and possible choices: F1: Parallax Memory Space Select CH1: Video Memory Space 01000000h [** current **] CH2: Video Memory Space 01800000h CH3: Video Memory Space 02000000h CH4: Video Memory Space 02800000h F2: Interrupt Level Select CH1: IRQ Select 5 [** current **] CH2: IRQ Select 9 CH3: IRQ Select 10 CH4: IRQ Select 15 3. Check that the Parallax Memory Space Select matches the Interrupt Level Select (they should both have the same choice number: CH#). For example, the above listing is correct, because both of these are using CH3.

    4. Repeat steps 2. and 3. for each of the video cards. In addition to checking that the CH#s are consistent for each individual card, you also need to check that no two cards are using the same memory space and interrupt levels (if one card uses CH1, another card can't use CH1 but must use CH2, CH3, or CH4 instead).

    5. If you detect any problems in steps 3. and 4. above, you should remove all the video cards from the eisa_config list and then add them again (in ascending numerical order of slot numbers) as in this example (the video cards are in slots 2, 3, and 4):

    EISA: remove 2 EISA: remove 3 EISA: remove 4 EISA: add !PLX0001 2 EISA: add !PLX0001 3 EISA: add !PLX0001 4 Repeat steps 1. through 3. to verify that the video cards are allocated the right memory space and interrupt levels.

    6. When you are done modifying the configuration, type:

    EISA: save 7. Exit the eisa_config program:

    EISA: quit

    Setting Up the Device Nodes for Multiple Video Cards


    For multiple video cards in one system: you must make sure that the device driver and server can communicate with your cards through device nodes.


    Check to see that the device nodes are set up. Type:


    You should get a listing that looks similar to this:


    This is set up for a one, two, or three video card system, and you do not need to change it. For example, if you are setting up a 2-card system, you will only need "/dev/plxv0" and "/dev/plxv2", but the unused node "/dev/plxv4" will not be active, so you can ignore it.


    If you have accidentally deleted a node and need to re-create it or you need additional nodes, follow this example. This example creates a node called "/dev/plxv2" for Parallax version 9.x:

      • The last number in the first line should be "0" for plxv0, "2" for plxv2, or "4" for plxv4. For Parallax version 10.x, type the command "lsdev" to find out the second to last number in the first line. To get the number, look in the "Character" column next to "plxv driver."

    Setting Up xvconfig for Multiple Video Cards


    For multiple video cards in one system: you need to make sure that the Parallax software will know how many video cards are available on your system, so that it will access video inputs from more than one card. And the system needs to know how to map each video card to a display.


    You need to modify xvconfig to take care of these needs.


    Open the "/etc/xvconfig" file. When you open it, it should look like this:


    As shown above, xvconfig is set up to run one video card.


    To use two video cards, you need to un-comment the second line. To use three video cards, you need to un-comment the second and third lines.


    Calibrating the Digital Video Image


    You need to calibrate your digital video display to place video in the right place in your video window. This is because this Parallax Graphics video card is a video overlay card, which must be synchronized with your workstation's framebuffer.


    Calibration involves adjusting the horizontal and vertical alignment of the Parallax Graphics video overlay card (magenta grid) with the host framebuffer card (green grid). You have achieved proper alignment when the magenta and green grids overlay each other, producing a single white grid. Calibration must be done for both standard (Zoom 1x) video display and Zoom 2x video display.


    If you have more than one video card in your system, you must calibrate each one separately.


    For multiple video cards in one system: Edit the "/etc/xvconfig" file so all lines are commented out except the line ending in ".../plxv2" for a two-video-card system or ".../plxv4" for a three-card system (the last board must be calibrated first). Re-start the window server.


    Before you start Calibrate, you must be in the window server. If needed, start the window server.


    Start the Calibrate program with the following command:


    The Calibrate window appears.

      • If you did not set your path correctly in Setting User Environment then you will need to change directories to ``/opt/parallax/bin'' before you run Calibrate.
      • For a detailed description of the options available to you in the Calibrate program, pull down the Help menu in the upper right corner of the Calibrate window.
    no figure available.

    Figure B Displaying the File menu in the Calibrate screen.
    Move the Calibrate window so that the left edge of the Calibrate window is at the left edge of your monitor screen.

      • The Calibrate window and grid may be wider than your display and run off the right edge so you can't see the Help pull-down menu. You can ignore this or resize the window to fit in your display.
    Select File to see the File pull-down menu. In the pull-down menu, click on Default.

    View the Default_Settings scroll menu. Select your display resolution and frequency. Click OK to apply the default settings for your choice.

    No figure available.

    Figure C Use Default_Settings to select your display resolution and frequency.
      • If you do not know the display resolution you are using, in a terminal window type the command xwininfo. At the prompt, click on the root (background) window. The window/display width and height (and a lot of other data) will appear in the terminal window. Example: "... Width: 1280 Height: 1024"

    If you select the wrong display resolution or frequency the grid may not synchronize. The grid may jitter or roll vertically, or tear horizontally. If your grid jitters, rolls, or tears, re-select a display resolution and frequency and click OK. If you have problems, contact technical support.
    When you have selected and applied (OK'd) a display resolution and frequency that is stable, you are ready to close the Default_Settings menu. Click Cancel to close the menu.


    If you see any magenta or green grid lines in your Calibrate window, you need to move the magenta (video overlay) grid onto the green (framebuffer) grid until all the grid lines are on top of each other and look white. If your grid is already 100% white, go to step 8.


    Correct the vertical alignment by using the <up/down arrow> keys to move the magenta grid onto the green grid, until the horizontal lines are white.


    Correct the horizontal alignment of the vertical grid line closest to the right edge of your display (move the farthest right magenta line onto the farthest right green line) by using the <left/right arrow> keys for large adjustments, and then <shift><left/right arrow> for fine adjustments, until the farthest right vertical grid line is white.


    Correct the horizontal size of the magenta grid by using the <s> and <shift><s> keys to align the farthest left magenta line onto the farthest left green line. <s> moves the magenta line to the left, and <shift><s> moves the magenta line right. When you are fin-ished with this step, all of the grid lines should be lined up and white.


    So you won't need to re-calibrate every time you log in, pull down the File menu and select "Save" to save the Calibration settings.


    Pull down the Zoom menu (in the upper left corner of the Calibrate window) and choose Zoom_2.


    Use the arrow keys to align the two grids (repeat step 7 for Zoom_2).


    Pull down the File menu and select Save to save the Calibration settings for Zoom_2.


    Pull down the File menu again and select Exit to exit Calibrate.


    For multiple cards in one system: Change directories to "/opt/parallax/etc" and rename ("mv") the file "plxv0" to either "plxv2" if you just calibrated the second card, or "plxv4" if you calibrated the third card. If you just calibrated the first card, do not rename the file.


    For multiple cards in one system: If you have not calibrated all of the video cards yet, edit the "/etc/xvconfig" file, comment out the line for the video card you just calibrated, and uncomment the line before it. Re-start the server. Repeat steps 3 through 14.


    If you have already calibrated all the video cards, edit the "/etc/xvconfig" file and uncomment the lines for each video card (".../plxv0" and ".../plxv2" for two cards, plus ".../plxv4" for three cards).


    Restart the server. Congratulations! You are now ready to use video.


    Installing from a Remote CD-ROM


    If your system does not have a local CD-ROM drive, you can install the software from a remote system with a CD-ROM drive. Both machines must have NFS configured into the kernel. (By default, HP ships systems with NFS configured into the kernel.)


    On the system with the CD-ROM drive (the "server"), add and export the CD-ROM file system to the system with the video card (the "client").


    On the "client" system with the video card, mount the exported CD-ROM file system, and install the software:


      • For HP-UX 10.10, refer to here
      • For HP-UX 9.x, refer to here

    After installation is complete, unmount the CD.


    Troubleshooting


    Here are a few tips to help you solve common problems. If you need further technical assistance, please contact Parallax technical support at:



    World Wide Web: http://www.parallax.com/support/


    Parallax Graphics Technical Support, Herndon, Virginia


    Phone: 703-450-7718, Fax: 703-450-7719


    E-mail: tsupport@parallax.com


    Software Installation (Kernel Build) Failed


    If the software installation fails (if the kernel build fails or the system does not reboot), you get a warning message starting, "Kernel build failed..." To resolve this:


    Exit the shell by typing "y"


    Change the directory by typing the command "# cd /etc/conf "


    Use the text editor of your choice to open the file called "dfile".


    Below the last line of text in the file, add the line "plxv"


    Save dfile and exit the text editor.


    Exit the shell by typing the command "# exit"


    A message box appears asking if you wish to proceed with the update and
    build a new kernel.

    Continue with the update by typing "y"


    The Loading_Partitions_and_Filesets screen appears. If the software installation continues to fail or the system does not reboot, check that the Parallax board is installed correctly. Call Parallax Graphics technical support for assistance.


    Other Software Installation Problems


    You can troubleshoot your installation as follows:


    In the "/opt/parallax/diag" directory, there is a program called "why_no_xv". Its output will provide information such as your system configuration, and if you had problems with installation, useful information about what may be in error.


    Calibrate is not Working


    If you have tried selecting the available default files for Calibrate and are unable to manipulate any of them into properly aligning the grids, the following may help:


    Launch Calibrate with the command, "Calibrate -hv". This will allow the following additional measures to align the grids:


    • You should only use the "-hv" option if you can't get the normal Calibrate procedure to work, and you should use the "-hv" commands (h, shift-h, v, and shift-v) to the minimum extent required for Calibration.

    Follow the normal Calibration procedure up to step 7-a.


    Calibrate Step 7-a:
    If the magenta grid is rolling or jittering vertically, use the <v> and <shift><v> keys to stabilize it. <v> adds 5 pixels vertically; <shift><v> removes 5 pixels. Once you get the magenta grid locked in place vertically, then use the up and down arrow keys to align it with the green grid.


    Calibrate Step 7-c:
    If the magenta grid is not the same horizontal size as the green grid and the difference is such that <s> and <shift><s> commands are inadequate, you can use <h> and <shift><h>. <h> adds 5 horizontal pixels. <shift><h> removes 5 horizontal pixels. Use <h> and <shift><h> to resize the grid to the correct width, then use the left and right arrows to align the grids.


    Complete the Calibration as usual.


    What's Next?


    You have finished the installation of the Parallax Graphics software. We invite you to explore the capabilities of your XVideo700, PowerVideo700, or MultiVideo700 video overlay card through our applications, VideoTool, MovieTool, and MovieCat. VideoTool, MovieTool, and MovieCat are fully described in your Multimedia User's Guide.


    Part No. 917-050560, Rev. A