Patch Name: PHSS_12459 Patch Description: s700 10.20 OpenGL 1.1 Revision 1.02 Runtime patch Creation Date: 97/09/13 Post Date: 97/10/16 Hardware Platforms - OS Releases: s700: 10.20 Products: OpenGLRunTime B.10.20 OpenGL 1.0 Runtime Environment Filesets: OpenGLRunTime.OPENGL-DEMO OpenGLRunTime.OPENGL-RUN OpenGLRunTime.OPENGL-SHLIBS Xserver.AGRM Automatic Reboot?: Yes Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700/10.X/PHSS_12459 Symptoms: PHSS_12459: - See defect description. PHSS_11405: - See defect description. Defect Description: PHSS_12459: - Fixes problem with Interleaved Array pointers not always being updated correctly. PHSS_11405: - Fragments that lose the alpha test were nonetheless updating the depth and stencil buffers when using VMD/VGL or when texture mapping without TM hardware. - Fixes problem with lines of width < 0.5 not being rendered when using VMD/VGL or texture mapping with no TM hardware. - Fixes problems with writing stencil values in VMD/VGL or when texture mapping with no TM hardware. - Fixes glCopyPixels from incorrectly performing a copy when copying from one color buffer to the other. - Under some corner case timing situations when using indirect contexts with HP OpenGL Release 1.0, incorrect X or GLX error messages can be reported from the X Server. - If a memory allocation error occurs while processing glXUseXFont(), the PixelStore attribute values are not restored as they should be. - VMD/VGL and texture mapping w/o hw texture support could incorrectly clip filled primitives if glViewport mapped NDC to an area larger than the window size. This was causing incorrect rendering and core dumps. - For Release 1.0 of OpenGL, if an X Server is run in multi-screen mode with an HP_VISUALIZE_?X screen and a non HP_VISUALIZE_?X screen, the non HP_VISUALIZE-?X screen will not operate with HP OpenGL unless the HPOGL_FORCE_VGL environment is set in the client environment. - When using occlusion culling the test may indicate that the object was completely occluded when it actually wasn't. This is because we didn't wait for all the pixels to get written before looking at the HW status. - When running in indirect (protocol) mode, large OpenGL replies such as glReadPixels() may fail and generate improper Xlib errors. - Texture coordinates are not getting correctly reset to the default values of 0,0,0,1. - Autogen mipmap memory corruption fix. - If a customer closes one X Display connection that has been used for OpenGL, and then immediately opens and attempts to use another for OpenGL, their application may abort because an attempt is made to access global last context and drawable information that was freed during the close display operation and may have been re-used. - This will fix a small offset that when mipmap selection for filters NEAREST_MIPMAP_NEAREST and LINEAR_MIPMAP_NEAREST. - This will fix mipmap calculation coming very near horizontal or vertical lines. - This will fix texture mapping running over the edge when linear interpolated and using clamp to edge. SR: 0000000000 Patch Files: /opt/graphics/OpenGL/ReleaseNotes /opt/graphics/OpenGL/demos/chess/Chess /opt/graphics/OpenGL/demos/chess/Data/bishop.dat /opt/graphics/OpenGL/demos/chess/Data/black_top.dat /opt/graphics/OpenGL/demos/chess/Data/chassis.dat /opt/graphics/OpenGL/demos/chess/Data/king.dat /opt/graphics/OpenGL/demos/chess/Data/knight.dat /opt/graphics/OpenGL/demos/chess/Data/pawn.dat /opt/graphics/OpenGL/demos/chess/Data/queen.dat /opt/graphics/OpenGL/demos/chess/Data/rook.dat /opt/graphics/OpenGL/demos/chess/Data/white_top.dat /opt/graphics/OpenGL/demos/chess/README /opt/graphics/OpenGL/demos/chess/crafty /opt/graphics/OpenGL/demos/occlusion_cull/README /opt/graphics/OpenGL/demos/occlusion_cull/ocComplex /opt/graphics/OpenGL/demos/occlusion_cull/ocSimple /opt/graphics/OpenGL/demos/occlusion_cull/screwdriver.gz /opt/graphics/OpenGL/demos/verify.uid /opt/graphics/OpenGL/demos/verify_install /opt/graphics/OpenGL/demos/verify_viewer /opt/graphics/OpenGL/lbin/ogld /opt/graphics/OpenGL/lib/lib2fc1066b.sl /opt/graphics/OpenGL/lib/libGL.1 /opt/graphics/OpenGL/lib/libGL.sl /opt/graphics/OpenGL/lib/libGLU.1 /opt/graphics/OpenGL/lib/libGLU.sl /opt/graphics/OpenGL/lib/libddvisxgl.1 /opt/graphics/OpenGL/lib/libddvisxgl.sl /opt/graphics/OpenGL/lib/libddvmd.1 /opt/graphics/OpenGL/lib/libddvmd.sl /opt/graphics/OpenGL/lib/nls/msg/C/glu.cat /opt/graphics/OpenGL/lib/nls/msg/en_US.roman8/glu.cat /opt/graphics/common/lib/2fc1066block.1 /opt/graphics/common/lib/dilocking.1 /usr/lib/X11/Xserver/brokers/extensions/Glx.1 /usr/lib/X11/Xserver/modules/extensions/hp/glx.1 what(1) Output: /opt/graphics/OpenGL/ReleaseNotes: None /opt/graphics/OpenGL/demos/chess/Chess: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ /opt/graphics/OpenGL/demos/chess/Data/bishop.dat: None /opt/graphics/OpenGL/demos/chess/Data/black_top.dat: None /opt/graphics/OpenGL/demos/chess/Data/chassis.dat: None /opt/graphics/OpenGL/demos/chess/Data/king.dat: None /opt/graphics/OpenGL/demos/chess/Data/knight.dat: None /opt/graphics/OpenGL/demos/chess/Data/pawn.dat: None /opt/graphics/OpenGL/demos/chess/Data/queen.dat: None /opt/graphics/OpenGL/demos/chess/Data/rook.dat: None /opt/graphics/OpenGL/demos/chess/Data/white_top.dat: None /opt/graphics/OpenGL/demos/chess/README: None /opt/graphics/OpenGL/demos/chess/crafty: HP92453-02A.10.00 HP-UX SYMBOLIC DEBUGGER (END.O) $R evision: 74.03 $ /opt/graphics/OpenGL/demos/occlusion_cull/README: None /opt/graphics/OpenGL/demos/occlusion_cull/ocComplex: None /opt/graphics/OpenGL/demos/occlusion_cull/ocSimple: None /opt/graphics/OpenGL/demos/occlusion_cull/screwdriver.gz: None /opt/graphics/OpenGL/demos/verify.uid: None /opt/graphics/OpenGL/demos/verify_install: None /opt/graphics/OpenGL/demos/verify_viewer: OpenGL 1.1 Revision 1.0 on HP-UX 10.20 $Date: 13-May -97.19:46:38 $ $Revision: 19970513.24094 $ v erify_viewer /opt/graphics/OpenGL/lbin/ogld: OpenGL 1.1 Revision 1.01 on HP-UX 10.20 $Date: 15-Ju l-97.17:16:26 $ $Revision: 19970715.9925 $ o gld /opt/graphics/OpenGL/lib/lib2fc1066b.sl: OpenGL 1.1 Revision 1.02 on HP-UX 10.20 $Date: 29-Se p-97.11:29:35 $ $Revision: 19970929.7461 $ l ibddvisxgl.1 /opt/graphics/OpenGL/lib/libGL.1: OpenGL 1.1 Revision 1.02 on HP-UX 10.20 $Date: 22-Se p-97.15:31:24 $ $Revision: 19970922.23327 $ libGL.1 /opt/graphics/OpenGL/lib/libGL.sl: OpenGL 1.1 Revision 1.02 on HP-UX 10.20 $Date: 22-Se p-97.15:31:24 $ $Revision: 19970922.23327 $ libGL.1 /opt/graphics/OpenGL/lib/libGLU.1: OpenGL 1.1 Revision 1.0 on HP-UX 10.20 $Date: 13-May -97.16:05:57 $ $Revision: 19970513.10823 $ l ibGLU.1 /opt/graphics/OpenGL/lib/libGLU.sl: OpenGL 1.1 Revision 1.0 on HP-UX 10.20 $Date: 13-May -97.16:05:57 $ $Revision: 19970513.10823 $ l ibGLU.1 /opt/graphics/OpenGL/lib/libddvisxgl.1: OpenGL 1.1 Revision 1.02 on HP-UX 10.20 $Date: 29-Se p-97.11:29:35 $ $Revision: 19970929.7461 $ l ibddvisxgl.1 /opt/graphics/OpenGL/lib/libddvisxgl.sl: OpenGL 1.1 Revision 1.02 on HP-UX 10.20 $Date: 29-Se p-97.11:29:35 $ $Revision: 19970929.7461 $ l ibddvisxgl.1 /opt/graphics/OpenGL/lib/libddvmd.1: OpenGL 1.1 Revision 1.01 on HP-UX 10.20 $Date: 15-Ju l-97.15:31:26 $ $Revision: 19970715.23179 $ libddvmd.1 /opt/graphics/OpenGL/lib/libddvmd.sl: OpenGL 1.1 Revision 1.01 on HP-UX 10.20 $Date: 15-Ju l-97.15:31:26 $ $Revision: 19970715.23179 $ libddvmd.1 /opt/graphics/OpenGL/lib/nls/msg/C/glu.cat: None /opt/graphics/OpenGL/lib/nls/msg/en_US.roman8/glu.cat: None /opt/graphics/common/lib/2fc1066block.1: Graphics Lock Library on HP-UX 10.20 $Date: 13-Sep-9 7.00:01:02 $ $Revision: 19970913.150 $ 2fc10 66block.1 /opt/graphics/common/lib/dilocking.1: Graphics Lock Library on HP-UX 10.20 $Date: 12-Sep-9 7.23:59:30 $ $Revision: 19970912.150 $ diloc king.1 /usr/lib/X11/Xserver/brokers/extensions/Glx.1: HP_GLX Extension Broker $Revision: /main/4 $ $D ate: 1996/10/29 17:09:27 $ X Window System, Version 11 HP-UX Daily -O 10.20 R6 (build date: Mon Mar 24 15:56:34 MST 1997) /usr/lib/X11/Xserver/modules/extensions/hp/glx.1: HP_GLX Extension $Revision: /main/10 $ $Da te: 1996/11/26 16:52:49 $ OpenGL 1.1 Revision 1.01 on HP-UX 10.20 $Date: 15-Ju l-97.15:56:58 $ $Revision: 19970715.1678 $ g lx.1 cksum(1) Output: 2639267034 12860 /opt/graphics/OpenGL/ReleaseNotes 3107025431 1378200 /opt/graphics/OpenGL/demos/chess/Chess 105277693 43047 /opt/graphics/OpenGL/demos/chess/Data/ bishop.dat 1992097329 2612 /opt/graphics/OpenGL/demos/chess/Data/ black_top.dat 1706800071 9945 /opt/graphics/OpenGL/demos/chess/Data/ chassis.dat 3334234123 38937 /opt/graphics/OpenGL/demos/chess/Data/ king.dat 3966834931 39729 /opt/graphics/OpenGL/demos/chess/Data/ knight.dat 4046673916 38943 /opt/graphics/OpenGL/demos/chess/Data/ pawn.dat 2703849897 45783 /opt/graphics/OpenGL/demos/chess/Data/ queen.dat 2210638602 36207 /opt/graphics/OpenGL/demos/chess/Data/ rook.dat 1025791741 2748 /opt/graphics/OpenGL/demos/chess/Data/ white_top.dat 281545028 4174 /opt/graphics/OpenGL/demos/chess/README 739186593 1761800 /opt/graphics/OpenGL/demos/chess/crafty 3449587546 2614 /opt/graphics/OpenGL/demos/occlusion_cull/ README 62622350 139766 /opt/graphics/OpenGL/demos/occlusion_cull/ ocComplex 1480044779 148005 /opt/graphics/OpenGL/demos/occlusion_cull/ ocSimple 1929283584 2419155 /opt/graphics/OpenGL/demos/ occlusion_cull/screwdriver.gz 2362410819 16384 /opt/graphics/OpenGL/demos/verify.uid 1338441258 1255 /opt/graphics/OpenGL/demos/verify_install 2655830905 881227 /opt/graphics/OpenGL/demos/verify_viewer 12369815 228183 /opt/graphics/OpenGL/lbin/ogld 3782676110 1083728 /opt/graphics/OpenGL/lib/lib2fc1066b.sl 1705518971 1658328 /opt/graphics/OpenGL/lib/libGL.1 1705518971 1658328 /opt/graphics/OpenGL/lib/libGL.sl 1128177379 444280 /opt/graphics/OpenGL/lib/libGLU.1 1128177379 444280 /opt/graphics/OpenGL/lib/libGLU.sl 3782676110 1083728 /opt/graphics/OpenGL/lib/libddvisxgl.1 3782676110 1083728 /opt/graphics/OpenGL/lib/libddvisxgl.sl 3813743821 766826 /opt/graphics/OpenGL/lib/libddvmd.1 3813743821 766826 /opt/graphics/OpenGL/lib/libddvmd.sl 366412750 2168 /opt/graphics/OpenGL/lib/nls/msg/C/glu.cat 366412750 2168 /opt/graphics/OpenGL/lib/nls/msg/ en_US.roman8/glu.cat 244812022 24674 /opt/graphics/common/lib/2fc1066block.1 1881398630 24637 /opt/graphics/common/lib/dilocking.1 1170169062 12310 /usr/lib/X11/Xserver/brokers/extensions/ Glx.1 4022272647 36934 /usr/lib/X11/Xserver/modules/extensions/hp/ glx.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_11405 Equivalent Patches: None Patch Package Size: 11150 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_12459 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_12459.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_12459.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_12459. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_12459.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_12459.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None