Patch Name: PHSS_10244 Patch Description: s700_800 10.20 PEX 5.1/Starbase/Hardcopy Runtime patch Creation Date: 97/04/29 Post Date: 97/05/01 Warning: 97/05/19 - This Non-Critical Warning has been issued by HP. - The patch can cause a spurious message to be written to standard error on HCRX and Visualize graphics subsystems. The affected graphics subsystems are: HCRX-8, HCRX-8Z, HCRX-24, HCRX-24Z, Visualize-8, jisualize-8Z, Visualize-24, Visualize-24Z, Visualize-48, and Visualize-EG. The output message is ""SIMPLE LINE TYPE". While this may only be a minor annoyance to some customers, some graphics applications will fail to execute properly because of the output of this (or any) message to standard error. - The Graphics Software Lab (GSL) is developing a replacement patch which should be available by the end of the week. Until the replacement is available, it is advised that this patch not be distributed unless absolutely required. Advise the customer of the potential consequences of them installing this patch. - If the patch is currently installed, it should only be removed if the output of the message is causing a problem for the customer. If it is only an annoyance they can redirect standard error to /dev/null. - Four patches list PHSS_10244 as a dependency: PHSS_10245, PHSS_10246, PHSS_10247, and PHSS_10248. Until the replacement patch is available, these patches should also not be distributed. 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_10244 Symptoms: PHSS_10244: - See defect description PHSS_10214: - See defect description PHSS_9680: - See defect description PHSS_9250: - See defect description PHSS_8380: - See defect description PHSS_7604: - see defect description Defect Description: PHSS_10244: - Depth cue values could have incorrect values when software texture mapping is used. - line types on HP VISUALIZE-EG may not render correctly. - PHIGS attribute changes can fail to cause regenerations. - Replacing an element in a PHIGS structure could result in an incorrect picture, if the element being replaced is normally ignored during display (i.e. SET PICK ID or APPLICATION DATA) and the element replacing it is not. - The behavior of the display of structures that use SET FACE DISTINGUISHING MODE elements before SET BACK INTERIOR REFLECTANCE EQUATION elements may have been affected. This fix restores the older behavior. - When PHIGS compliant lighting is enabled, facet normals are generated when not needed. - Performance enhancement for PHIGS fill area sets with more than one set. - If the most recent edit of a PEX structure was done in Replace mode, and then the structure permission is set to PEXStructureLocked, certain optimizations could be performed incorrectly, possibly resulting in the loss of some geometry data. - User defined linetypes do not always work on VISUALIZE-EG - Patterned stroked widelines now look correct and errant pixels which were lit outside of the specified line width have been eliminated for horizontal and vertical lines. PHSS_10214: - unresolved symbol error due to missing symbols when using the -B,immediate flag. The unresolved symbol is from /opt/graphics/common/lib/libdl. - Text rendering can hang with tiny text sizes. - PEX declines to report some error messages. - Under certain conditions, face culling could be incorrect on PEX[OCC]FillAreaSet primitives, on VISUALIZE-8 and VISUALIZE-24 devices. - A defect has been fixed in PEX structure management: When using PEX WriteOnly structure permission, it may cause operations such as PEXSetElementPointer or PEXSetElementPointerAtLabel to be incorrectly performed, leading to incorrect editing and/or PEX errors. - If depth cueing is toggled on/off while texture mapping (in hardware), the primitive color may become polluted with the depth cue color. PHSS_9680: - The Jaunuary patch (PHSS_9250) had a problem where PHIGS applications could get a segmentation violation when using software double buffering on integrated color displays (8-bit devices on HP712/715/725). - Except for the above defect fix, this patch is the same graphics bits as the previous patch, PHSS_9250. The only other change is to the "postinstall" control script which correctly creates the required transition link, which is needed to support 9.x and 10.10 PEX binaries on a 10.20 system. The attempted fix (on PHSS_8380) for this problem, namely, the transition link for libPEXUt.sl in CGE utilities points to nothing, causing unexpected aborts was inadequate. This patch fixed the problem. Native 10.20 binaries are not affected by this problem. 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 5003358606 5003350314 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_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libhpgfx.1 /opt/graphics/common/lib/libhpgfx.2: GRAPHICS CORE libsb.sl $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libhpgfx.2 /opt/graphics/common/lib/libddhcrx.1: GRAPHICS CORE libddhyper $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddhcrx.1 /opt/graphics/common/lib/libddhcrx48.1: GRAPHICS CORE libddhcrx48 $Revision: 550.1.100.2 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddhcrx48 .1 /opt/graphics/common/lib/libddvmx.1: GRAPHICS CORE libddvmx $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddvmx.1 /opt/graphics/common/lib/libdl.1: GRAPHICS CORE libsbdl.a $Revision: 550.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libdl.1 /opt/graphics/common/lbin/gwind: FILE_VERSION GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ gwind /opt/graphics/PEX5/lib/libPEX5.1: $Revision: R10.20 $ $ libPEX5 PEX 5.1 v4 API Library PHSS_10244/10246 PEX5 Runtime/Development Patch for 10.20 PEX 5.1 v2 API LIBRARY on HP-UX 10.20 $Date: 29-Apr- 97.18:14:31 $ $Revision: 19970429.23014 $ li bPEX5.1 /opt/graphics/PEX5/lib/libPEX5.2: $Revision: R10.20 $ $ libPEX5 PEX 5.1 v4 API Library PHSS_10244/10246 PEX5 Runtime/Development Patch for 10.20 PEX 5.1 v2 API LIBRARY on HP-UX 10.20 $Date: 29-Apr- 97.18:14:31 $ $Revision: 19970429.23014 $ li bPEX5.2 /opt/graphics/common/lbin/timd: GRAPHICS CORE timd $Revision: 550.1.100.3 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ timd /opt/graphics/common/lib/libddnull.1: GRAPHICS CORE libddnull $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddnull.1 /opt/graphics/common/lib/libddgcrx.1: GRAPHICS CORE libddgcrx $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddgcrx.1 /opt/graphics/common/lib/libddcrx48z.1: GRAPHICS CORE libddcrx48z $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libddcrx48z .1 /opt/graphics/common/lib/libtdhcrx48.1: GRAPHICS CORE libtdhcrx48.sl $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libtdhcrx48 .1 /opt/graphics/common/lbin/sb_daemon_10.0: GRAPHICS CORE libddgcrx $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddnull $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddhcrx48 $Revision: 550.1.100.2 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddhyper $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddcrx48z $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddvmx $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddsox11.a $Revision: 540.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libdd98735.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libdd98736.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddhil.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddhpterm.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddkbd.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddlkbd.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddhpgl.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libdd98704.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddbyte.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libdd98705.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ sb_daemon_1 0.0 GRAPHICS CORE libXwindow.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libXwindow. a GRAPHICS CORE libsga $Revision: 550.5 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsb1.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 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: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libXg.1 cksum(1) Output: 153137010 2772992 /opt/graphics/common/lib/libhpgfx.1 2866780552 2772992 /opt/graphics/common/lib/libhpgfx.2 1758365715 450560 /opt/graphics/common/lib/libddhcrx.1 1592279912 450560 /opt/graphics/common/lib/libddhcrx48.1 3587123872 221184 /opt/graphics/common/lib/libddvmx.1 212590630 507904 /opt/graphics/common/lib/libdl.1 3307113960 28672 /opt/graphics/common/lbin/gwind 4252846309 1933312 /opt/graphics/PEX5/lib/libPEX5.1 3955497509 1933312 /opt/graphics/PEX5/lib/libPEX5.2 2743875832 32768 /opt/graphics/common/lbin/timd 3969370689 20480 /opt/graphics/common/lib/libddnull.1 3840190767 323584 /opt/graphics/common/lib/libddgcrx.1 1043376110 229376 /opt/graphics/common/lib/libddcrx48z.1 1136363604 16384 /opt/graphics/common/lib/libtdhcrx48.1 1258393146 2801664 /opt/graphics/common/lbin/sb_daemon_10.0 2335058327 28672 /opt/graphics/common/lib/libXg.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7604 PHSS_8380 PHSS_9250 PHSS_9680 PHSS_10214 Equivalent Patches: None Patch Package Size: 14260 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_10244 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_10244.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_10244.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_10244. 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_10244.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_10244.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None