Patch Name: PHSS_9251 Patch Description: s700_800 10.20 Starbase/Hardcopy Development patch Creation Date: 97/01/21 Post Date: 97/01/30 Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: GraphicsSBaseDK B.10.20 HP-UX Starbase Graphics Development Filesets: GraphicsSBaseDK.STAR-PRG GraphicsSBaseDK.SBDL-PRG Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_9251 Symptoms: PHSS_9251: - See defects description PHSS_8381: - See defect description. PHSS_7603: - see defect description. Defect Description: PHSS_9251: - 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. - Enable starbase inquire_capabilities() to return if hardware texture mapping is supported on Visualize-48. - 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). - 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 when "hollow" polygons 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. PHSS_8381: - 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. - Texture mapping on Visualize-48 hangs system if certain large texture map sizes are used (2048x512 and 4096x1024). - Triangle Strips will infrequently render incorrecly or, on rare cases cause segmentation violation on VISUALIZE-48 and VISUALIZE-48XP. - 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_7603: - 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. SR: 5003304253 5003309682 1653171439 1653173104 1653183731 5003322271 1653180190 1653183327 5003269134 Patch Files: /opt/graphics/common/lib/libhpgfx1.a /opt/graphics/common/lib/libhpgfx2.a /opt/graphics/common/lib/libddhcrx.a /opt/graphics/common/lib/libddhcrx48.a /opt/graphics/common/lib/libdl.a /opt/graphics/common/lib/libddgcrx.a /opt/graphics/common/lib/libddcrx48z.a /opt/graphics/starbase/include/starbase.c.h /opt/graphics/starbase/include/starbase.p1.h /opt/graphics/starbase/include/starbase.p2.h /opt/graphics/starbase/include/starbase.f1.h /opt/graphics/starbase/include/starbase.f2.h /opt/graphics/starbase/include/dl.c.h /opt/graphics/starbase/include/dl.p1.h /opt/graphics/starbase/include/dl.p2.h /opt/graphics/starbase/include/dl.f1.h /opt/graphics/starbase/include/dl.f2.h /opt/graphics/common/lib/libXg.a what(1) Output: /opt/graphics/common/lib/libhpgfx1.a: GRAPHICS CORE libsga $Revision: 550.5 $ 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 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 $ libhpgfx1.a GRAPHICS CORE libsb1.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 /opt/graphics/common/lib/libhpgfx2.a: GRM Library HP-UX 8.0 A.01 Protocol PROTO_VER F ILE_VERSION GRAPHICS CORE on HP-UX 10.20 $Date: 23-Jan-97.21:14: 16 $ $Revision: 19970123.727 $ libhpgfx2.a GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_9250/9251 Graphics core Periodic Patch for 10.2 0 /opt/graphics/common/lib/libddhcrx.a: 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.a /opt/graphics/common/lib/libddhcrx48.a: 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.a /opt/graphics/common/lib/libdl.a: 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.a /opt/graphics/common/lib/libddgcrx.a: 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.a /opt/graphics/common/lib/libddcrx48z.a: 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.a /opt/graphics/starbase/include/starbase.c.h: None /opt/graphics/starbase/include/starbase.p1.h: None /opt/graphics/starbase/include/starbase.p2.h: None /opt/graphics/starbase/include/starbase.f1.h: None /opt/graphics/starbase/include/starbase.f2.h: None /opt/graphics/starbase/include/dl.c.h: sbdl.c.h $Date: 23-Jan-97.21:15:17 $ */ /opt/graphics/starbase/include/dl.p1.h: sbdl.p1.h $Date: 23-Jan-97.21:15:23 $ } /opt/graphics/starbase/include/dl.p2.h: sbdl.p2.h $Date: 23-Jan-97.21:15:40 $ } /opt/graphics/starbase/include/dl.f1.h: sbdl.f1.h $Date: 23-Jan-97.21:15:34 $ /opt/graphics/starbase/include/dl.f2.h: sbdl.f2.h $Date: 23-Jan-97.21:15:28 $ /opt/graphics/common/lib/libXg.a: 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.a cksum(1) Output: 2084721916 2734556 /opt/graphics/common/lib/libhpgfx1.a 24188513 289810 /opt/graphics/common/lib/libhpgfx2.a 1751206510 389332 /opt/graphics/common/lib/libddhcrx.a 2113669834 392280 /opt/graphics/common/lib/libddhcrx48.a 2398971735 586036 /opt/graphics/common/lib/libdl.a 1476060490 273836 /opt/graphics/common/lib/libddgcrx.a 1839877183 181200 /opt/graphics/common/lib/libddcrx48z.a 677919014 66895 /opt/graphics/starbase/include/starbase.c.h 3430242856 21032 /opt/graphics/starbase/include/ starbase.p1.h 2027458347 36055 /opt/graphics/starbase/include/ starbase.p2.h 3715713804 16127 /opt/graphics/starbase/include/ starbase.f1.h 1013747623 37556 /opt/graphics/starbase/include/ starbase.f2.h 484877123 15968 /opt/graphics/starbase/include/dl.c.h 3112607577 16559 /opt/graphics/starbase/include/dl.p1.h 259422823 9282 /opt/graphics/starbase/include/dl.p2.h 1798461809 4530 /opt/graphics/starbase/include/dl.f1.h 4233426231 33560 /opt/graphics/starbase/include/dl.f2.h 987863415 18168 /opt/graphics/common/lib/libXg.a Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_9250 s800: 10.20: PHSS_9250 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7603 PHSS_8381 Equivalent Patches: None Patch Package Size: 5080 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_9251 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_9251.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_9251.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_9251. 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_9251.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_9251.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None