Patch Name: PHSS_10215 Patch Description: s700_800 10.20 Starbase/Hardcopy Development patch Creation Date: 97/03/05 Post Date: 97/03/07 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_10215 Symptoms: PHSS_10215: - See defects description PHSS_9251: - See defects description PHSS_8381: - See defect description. PHSS_7603: - see defect description. Defect Description: PHSS_10215: - 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. 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 5003358606 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_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddnull $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE libddvmx $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 05-Mar-97.22:54: 05 $ $Revision: 19970305.27564 $ libhpgfx1.a GRAPHICS CORE libsb1.a $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 /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: 05-Mar-97.23:04: 31 $ $Revision: 19970305.28067 $ libhpgfx2.a GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 /opt/graphics/common/lib/libddhcrx.a: GRAPHICS CORE libddhyper $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ libddhcrx.a /opt/graphics/common/lib/libddhcrx48.a: GRAPHICS CORE libddhcrx48 $Revision: 550.1.100.2 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ libddhcrx48. a /opt/graphics/common/lib/libdl.a: GRAPHICS CORE libsbdl.a $Revision: 550.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ libdl.a /opt/graphics/common/lib/libddgcrx.a: GRAPHICS CORE libddgcrx $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ libddgcrx.a /opt/graphics/common/lib/libddcrx48z.a: GRAPHICS CORE libddcrx48z $Revision: 550.1.100.1 $ PHSS_10214/10215 Graphics core Periodic Patch for 10 .20 GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ 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: 28-Feb-97.23:04:55 $ */ /opt/graphics/starbase/include/dl.p1.h: sbdl.p1.h $Date: 28-Feb-97.23:04:59 $ /opt/graphics/starbase/include/dl.p2.h: sbdl.p2.h $Date: 28-Feb-97.23:05:35 $ /opt/graphics/starbase/include/dl.f1.h: sbdl.f1.h $Date: 28-Feb-97.23:05:20 $ /opt/graphics/starbase/include/dl.f2.h: sbdl.f2.h $Date: 28-Feb-97.23:05:04 $ /opt/graphics/common/lib/libXg.a: GRAPHICS CORE HP-UX 9.0 930315 libsbXg GRAPHICS CORE on HP-UX 10.20 $Date: 28-Feb-97.23:02: 20 $ $Revision: 19970228.6688 $ libXg.a cksum(1) Output: 1502679996 2766076 /opt/graphics/common/lib/libhpgfx1.a 3775905145 302654 /opt/graphics/common/lib/libhpgfx2.a 2136561495 389328 /opt/graphics/common/lib/libddhcrx.a 3709241829 392308 /opt/graphics/common/lib/libddhcrx48.a 2259275351 590404 /opt/graphics/common/lib/libdl.a 224527200 273828 /opt/graphics/common/lib/libddgcrx.a 4071536288 181208 /opt/graphics/common/lib/libddcrx48z.a 2228707419 66895 /opt/graphics/starbase/include/starbase.c.h 2839401827 21032 /opt/graphics/starbase/include/ starbase.p1.h 1758017918 36055 /opt/graphics/starbase/include/ starbase.p2.h 986343377 16127 /opt/graphics/starbase/include/starbase.f1.h 1737884097 37556 /opt/graphics/starbase/include/ starbase.f2.h 2457079322 15968 /opt/graphics/starbase/include/dl.c.h 809063628 16559 /opt/graphics/starbase/include/dl.p1.h 2264828882 9282 /opt/graphics/starbase/include/dl.p2.h 967638185 4530 /opt/graphics/starbase/include/dl.f1.h 2524540222 33560 /opt/graphics/starbase/include/dl.f2.h 1588964103 18168 /opt/graphics/common/lib/libXg.a Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_10214 s800: 10.20: PHSS_10214 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7603 PHSS_8381 PHSS_9251 Equivalent Patches: None Patch Package Size: 5130 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_10215 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_10215.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_10215.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_10215. 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_10215.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_10215.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None