Patch Name: PHSS_9250 Patch Description: s700_800 10.20 PEX 5.1/Starbase/Hardcopy Runtime patch Creation Date: 97/01/21 Post Date: 97/01/30 Warning: 97/02/14 - This Critical Warning has been issued by HP. This patch has two problems. First, PHIGS applications could get a segementation violation when using software double buffering on integrated color displays (8-bit devices on 712/715/725). Second, the patch failed to install a required transition link that enables 9.X and 10.10 PEX binaries to run on 10.20. PHSS_9250 will be immediately replaced by PHSS_9680. PHSS_9680 should be installed on any 10.20 systems that previously had PHSS_9250 installed and use PHIGS or pre-10.20 PEX applications. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: GraphicsCommon.STAR-RUN GraphicsCommon.STAR-SHLIBS GraphicsCommon.SBDL-SHLIBS GraphicsPEX5RT.PEX5-RUN Automatic Reboot?: No Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_9250 Symptoms: PHSS_9250: - See defect description PHSS_8380: - See defect description PHSS_7604: - see defect description Defect Description: PHSS_9250: - Starbase daemon ignores some of the special keys such as function keys and arrow keys. - When some vertices in a polygon or triangle strip wound up "behind the eyepoint" during perspective viewing, sometimes the polygon or triangle is not drawn. This typically occurrs on unaccelerated devices. - Performance improvement for fill area sets. - Parenting a child widget to the Starbase widget will no longer produce an X (BadMatch) error. - Phigs and PEX nurbs edges were sometimes being drawn incorrectly. - Under HP PEX, in the case where PEXBeginRendering is called with HLHSR enabled on a window that is later resized, the software zbuffer could be managed incorrectly, resulting in various kinds of "stitching" during rendering. - Enable starbase inquire_capabilities() to return if hardware texture mapping is supported on Visualize-48. - Using PEXOCCTriangle with lit triangles and no normals may render incorrectly on VISUALIZE-24 devices. - On VISUALZE-48XP, setting the environment variable HP_PHIGS_STD_BACK_FACING will cause polygons to be rendered with PHIGS SET OF FILL AREA SET (SOFAS) to be culled (not rendered). - PHIGS can dump core while rendering polyline elements, if the attribute caching traverser has been specifically disabled. - Some degenerate POLYLINE SET 3 WITH COLOUR (ppls3c, polyline_set3_colr) elements may have their non-degenerate components rendered, where the whole element should be ignored. - Performance may slow down due to some traversals of structures being edited. - Incorrect rendering of polyhedron_with_data primitives sometimes occurs when sending only vertices and normals. Also performance improvement in rendering small polygons. - Color changes that happened (when no other attributes changed) when fronts were being culled were not getting done properly. - Incorrect usage of global transform when calculating model clip planes/volumes. - Performance improvement in Starbase and PEX when "hollow" polygons (Starbase INT_HOLLOW, PEX PEXInteriorStyleEmpty) are drawn while the polygon offset feature is enabled. - Hardware texture mapping performance degrades when second file descriptor (fildes) is closed. - Performance improvement when large number of polygons are being rendered just after changing rendering state, during call to polytriangle_with_data and polyquad_with_data. - Improved performance for PEX API when rendering objects that use PEXTriangleStrip in locked structures. - PHIGS nameset operations perform faster. PHSS_8380: - Transition link for libPEXUt.sl in CGE utilities points to nothing, causing unexpected aborts. - PEXExtCreateFilteredTM* do not correctly do ARGB types. Call to PEXExtCreateFilteredTMFromWindow now handles PEXHPTexelAlphaRGBInt8 and PEXHPTexelAlphaRGBFloat types correctly. - Enhancement: Device independent way to read RGB values in Starbase, similar to OpenGL calls glReadPixels and glDrawPixels which allows getting RGB data easily. - Software texture mapping in highly perspective images appears blurry and distorted. - When picking polylines that contain move/draw flags, bogus hits may be reported. - PEXFillAreaSetWithData calls with Move/Draw (Edge) flags can sometimes render incorrectly on VISUALIZE-48 and VISUALIZE-48XP. - Texture mapping on Visualize-48 hangs system if certain large texture map sizes are used (2048x512 and 4096x1024). - Segmentation violation may occur when inserting PHIGS ISO Fill Area primitives that are non-convex into a structure before a PHIGS Workstation is opened. - PEXOCCTriangles sometimes does not draw all triangles on VISUALIZE-48. - Triangle Strips will infrequently render incorrecly or, on rare cases, cause segmentation violation on VISUALIZE-48 and VISUALIZE-48XP. - Locked structures or structures containing PEXNoop elements may dump core when traversed. - Performance enhancement: color changes that happen while lighting is on, is faster on Hyper and VISUALIZE devices. - Memory corruption/core dump may occur on VISUALIZE-24 and VISUALIZE-48 using SOFAs. - Clipping behavior has changed for 10.20. The new clipping behavior guarantees the following: * a polyline drawn at the clipping limits is always rendered, never clipped; * rendering can be done to the full extent of the region cleared by clear view surface, but not beyond. - PHIGS and other applications may hang on Hyper & Visualize devices for certain offscreen windows. - PHIGS Compliant backface lighting could cause core dump on VISUALIZE-24. PHSS_7604: - Facet normals are generated using non-xyz data on VISUALIZE-48 devices if a PEX OCC primitive specifies a non-zero xyz_offset. - VISUALIZE-48 can corrupt program data when front/back distinguish is enabled and when an application is compiled with -O or higher optimization. - User-defined linetypes could give wrong result on VMX and VISUALIZE-24 devices. - Sometimes bogus hits possible when picking and using polylines w/MD_flags. - Polytri/quad with move/draw flags on older devices (PVRX and TVRX devices) could render erroneously. - PEXOCCTriangleStrip missing triangles under certain conditions. - PHIGS LABEL (plb, plabel) performance is not adequate. - PHIGS lighting can dump core on VISUALIZE-24 devices under certain conditions. - The /dev/screen/wm file is sometimes not removed when gwindstop is used to close xwcreated windows. - xwcreate failing in CDE environment w/o xhost of local machine. - PHIGS NURB surfaces may render isoparametric curves in the wrong color on VRX-family devices. - An occasional timing defect, seen on CRX48Z when drawing triangle strips with the polygon offset feature enabled, has been fixed. - Performance increase on PA-8000 systems, rendering not affected. - The combination of backface culling and polygon offset may incorrectly cull facets from triangle strips that include user-supplied facet normals, when rendering on accelerated graphics displays in the Visualize family. SR: 5003304253 5003309682 1653171439 1653173104 1653181933 1653183731 5003269134 5003322271 1653180190 1653183327 Patch Files: /opt/graphics/common/lib/libhpgfx.1 /opt/graphics/common/lib/libhpgfx.2 /opt/graphics/common/lib/libddhcrx.1 /opt/graphics/common/lib/libddhcrx48.1 /opt/graphics/common/lib/libddvmx.1 /opt/graphics/common/lib/libdl.1 /opt/graphics/common/lbin/gwind /opt/graphics/PEX5/lib/libPEX5.1 /opt/graphics/PEX5/lib/libPEX5.2 /opt/graphics/common/lbin/timd /opt/graphics/common/lib/libddnull.1 /opt/graphics/common/lib/libddgcrx.1 /opt/graphics/common/lib/libddcrx48z.1 /opt/graphics/common/lib/libtdhcrx48.1 /opt/graphics/common/lbin/sb_daemon_10.0 /opt/graphics/common/lib/libXg.1 what(1) Output: /opt/graphics/common/lib/libhpgfx.1: GRAPHICS CORE libsb.sl $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libhpgfx.1 /opt/graphics/common/lib/libhpgfx.2: GRAPHICS CORE libsb.sl $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libhpgfx.2 /opt/graphics/common/lib/libddhcrx.1: GRAPHICS CORE libddhyper $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 27-Jan-97.14:45: 55 $ $Revision: 19970127.19570 $ libddhcrx.1 /opt/graphics/common/lib/libddhcrx48.1: GRAPHICS CORE libddhcrx48 $Revision: 550.1.100.2 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libddhcrx48.1 /opt/graphics/common/lib/libddvmx.1: GRAPHICS CORE libddvmx $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libddvmx.1 /opt/graphics/common/lib/libdl.1: GRAPHICS CORE libsbdl.a $Revision: 550.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libdl.1 /opt/graphics/common/lbin/gwind: FILE_VERSION GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ gwind /opt/graphics/PEX5/lib/libPEX5.1: $Revision: R10.20 $ $ libPEX5 PEX 5.1 v4 API Library PHSS_9250/9252 PEX5 Runtime/Development Patch for 10 .20 PEX 5.1 v2 API LIBRARY on HP-UX 10.20 $Date: 23-Jan- 97.23:08:30 $ $Revision: 19970123.22665 $ li bPEX5.1 /opt/graphics/PEX5/lib/libPEX5.2: $Revision: R10.20 $ $ libPEX5 PEX 5.1 v4 API Library PHSS_9250/9252 PEX5 Runtime/Development Patch for 10 .20 PEX 5.1 v2 API LIBRARY on HP-UX 10.20 $Date: 23-Jan- 97.23:08:30 $ $Revision: 19970123.22665 $ li bPEX5.2 /opt/graphics/common/lbin/timd: GRAPHICS CORE timd $Revision: 550.1.100.3 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ timd /opt/graphics/common/lib/libddnull.1: GRAPHICS CORE libddnull $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libddnull.1 /opt/graphics/common/lib/libddgcrx.1: GRAPHICS CORE libddgcrx $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libddgcrx.1 /opt/graphics/common/lib/libddcrx48z.1: GRAPHICS CORE libddcrx48z $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libddcrx48z.1 /opt/graphics/common/lib/libtdhcrx48.1: GRAPHICS CORE libtdhcrx48.sl $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libtdhcrx48.1 /opt/graphics/common/lbin/sb_daemon_10.0: GRAPHICS CORE libddgcrx $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddnull $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddhcrx48 $Revision: 550.1.100.2 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddhyper $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddcrx48z $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddvmx $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddsox11.a $Revision: 540.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libdd98735.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libdd98736.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddhil.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddhpterm.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddkbd.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddlkbd.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddhpgl.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libdd98704.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libddbyte.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libdd98705.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ sb_daemon_10. 0 GRAPHICS CORE libXwindow.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libXwindow.a GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsb1.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 PATCH_8.0X libdvio.a 700 66.4 91/11/05 /opt/graphics/common/lib/libXg.1: GRAPHICS CORE HP-UX 9.0 930315 libsbXg GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libXg.1 cksum(1) Output: 687227305 2723840 /opt/graphics/common/lib/libhpgfx.1 508736937 2760704 /opt/graphics/common/lib/libhpgfx.2 2647990609 450560 /opt/graphics/common/lib/libddhcrx.1 259121873 450560 /opt/graphics/common/lib/libddhcrx48.1 4167836575 221184 /opt/graphics/common/lib/libddvmx.1 2182890645 512000 /opt/graphics/common/lib/libdl.1 1967167705 28672 /opt/graphics/common/lbin/gwind 3221355097 1933312 /opt/graphics/PEX5/lib/libPEX5.1 597769648 1933312 /opt/graphics/PEX5/lib/libPEX5.2 4292161710 32768 /opt/graphics/common/lbin/timd 1486484628 20480 /opt/graphics/common/lib/libddnull.1 1008379838 323584 /opt/graphics/common/lib/libddgcrx.1 1689331758 229376 /opt/graphics/common/lib/libddcrx48z.1 694868083 16384 /opt/graphics/common/lib/libtdhcrx48.1 1039899435 2801664 /opt/graphics/common/lbin/sb_daemon_10.0 3271084318 28672 /opt/graphics/common/lib/libXg.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7604 PHSS_8380 Equivalent Patches: None Patch Package Size: 14210 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_9250 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_9250.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_9250.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_9250. 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_9250.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_9250.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None