Patch Name: PHSS_10245 Patch Description: s700_800 10.20 Starbase/Hardcopy Development patch Creation Date: 97/04/29 Post Date: 97/05/01 Warning: 97/05/20 - 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 for applications linked with the archived copy of libddhcrx.a included in this patch. 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. 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 GraphicsSBaseDK.STAR-DEMO GraphicsSBaseDK.SBDL-DEMO Automatic Reboot?: No Status: General Superseded With Warnings Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_10245 Symptoms: PHSS_10245: - See defects description PHSS_10215: - See defects description PHSS_9251: - See defects description PHSS_8381: - See defect description. PHSS_7603: - see defect description. Defect Description: PHSS_10245: - Depth cue values could have incorrect values when software texture mapping is used. - line types on HP VISUALIZE-EG may not render correctly. - 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. - 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_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 5003350314 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 /opt/graphics/starbase/demos/starbase/SBUTILS/wsutils.h /opt/graphics/starbase/demos/starbase/SBUTILS/wsutils.c /opt/graphics/starbase/examples/dl/AppData.c /opt/graphics/starbase/examples/dl/ArchiveDL.c /opt/graphics/starbase/examples/dl/CC /opt/graphics/starbase/examples/dl/Culling.c /opt/graphics/starbase/examples/dl/EleHouse.c /opt/graphics/starbase/examples/dl/HitCheck.c /opt/graphics/starbase/examples/dl/House.c /opt/graphics/starbase/examples/dl/HouseEle.c /opt/graphics/starbase/examples/dl/HousePlan.c /opt/graphics/starbase/examples/dl/NewHouse.c /opt/graphics/starbase/examples/dl/PickHouse.c /opt/graphics/starbase/examples/dl/Pruning.c /opt/graphics/starbase/examples/dl/README /opt/graphics/starbase/examples/dl/SegHouse.c /opt/graphics/starbase/examples/dl/arc_aux_c.c /opt/graphics/starbase/examples/dl/arc_aux_f.f /opt/graphics/starbase/examples/dl/archive_c.c /opt/graphics/starbase/examples/dl/archive_f.f /opt/graphics/starbase/examples/dl/archive_p.p /opt/graphics/starbase/examples/dl/cpdir /opt/graphics/starbase/examples/dl/house_plan.c /opt/graphics/starbase/examples/dl/makefile /opt/graphics/starbase/examples/dl/pr_aux_c.c /opt/graphics/starbase/examples/dl/pr_aux_f.f /opt/graphics/starbase/examples/dl/pr_seg_c.c /opt/graphics/starbase/examples/dl/pr_seg_p.p /opt/graphics/starbase/examples/dl/simple_c.c /opt/graphics/starbase/examples/dl/simple_f.f /opt/graphics/starbase/examples/dl/simple_p.p /opt/graphics/starbase/examples/dl/stick_leg_c.c /opt/graphics/starbase/examples/dl/stick_leg_f.f /opt/graphics/starbase/examples/dl/stick_leg_p.p /opt/graphics/starbase/examples/dl/template_c.c /opt/graphics/starbase/examples/dl/template_f.f /opt/graphics/starbase/examples/dl/template_p.p what(1) Output: /opt/graphics/common/lib/libhpgfx1.a: GRAPHICS CORE libsga $Revision: 550.5 $ 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 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 $ libhpgfx1.a GRAPHICS CORE libsb1.a $Revision: 550.1.100.1 $ PHSS_10244/10245 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: 29-Apr-97.16:40: 43 $ $Revision: 19970429.20893 $ libhpgfx2.a GRAPHICS CORE libsb2.a $Revision: 550.1.100.1 $ PHSS_10244/10245 Graphics core Periodic Patch for 10 .20 /opt/graphics/common/lib/libddhcrx.a: 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.a /opt/graphics/common/lib/libddhcrx48.a: 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 .a /opt/graphics/common/lib/libdl.a: 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.a /opt/graphics/common/lib/libddgcrx.a: 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.a /opt/graphics/common/lib/libddcrx48z.a: 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 .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: 29-Apr-97.16:42:11 $ /opt/graphics/starbase/include/dl.p1.h: sbdl.p1.h $Date: 29-Apr-97.16:42:15 $ /opt/graphics/starbase/include/dl.p2.h: sbdl.p2.h $Date: 29-Apr-97.16:42:55 $ /opt/graphics/starbase/include/dl.f1.h: sbdl.f1.h $Date: 29-Apr-97.16:42:39 $ /opt/graphics/starbase/include/dl.f2.h: sbdl.f2.h $Date: 29-Apr-97.16:42:24 $ /opt/graphics/common/lib/libXg.a: 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.a /opt/graphics/starbase/demos/starbase/SBUTILS/wsutils.h: None /opt/graphics/starbase/demos/starbase/SBUTILS/wsutils.c: None /opt/graphics/starbase/examples/dl/AppData.c: None /opt/graphics/starbase/examples/dl/ArchiveDL.c: None /opt/graphics/starbase/examples/dl/CC: None /opt/graphics/starbase/examples/dl/Culling.c: None /opt/graphics/starbase/examples/dl/EleHouse.c: None /opt/graphics/starbase/examples/dl/HitCheck.c: None /opt/graphics/starbase/examples/dl/House.c: None /opt/graphics/starbase/examples/dl/HouseEle.c: None /opt/graphics/starbase/examples/dl/HousePlan.c: None /opt/graphics/starbase/examples/dl/NewHouse.c: None /opt/graphics/starbase/examples/dl/PickHouse.c: None /opt/graphics/starbase/examples/dl/Pruning.c: None /opt/graphics/starbase/examples/dl/README: None /opt/graphics/starbase/examples/dl/SegHouse.c: None /opt/graphics/starbase/examples/dl/arc_aux_c.c: None /opt/graphics/starbase/examples/dl/arc_aux_f.f: None /opt/graphics/starbase/examples/dl/archive_c.c: None /opt/graphics/starbase/examples/dl/archive_f.f: None /opt/graphics/starbase/examples/dl/archive_p.p: None /opt/graphics/starbase/examples/dl/cpdir: None /opt/graphics/starbase/examples/dl/house_plan.c: None /opt/graphics/starbase/examples/dl/makefile: None /opt/graphics/starbase/examples/dl/pr_aux_c.c: None /opt/graphics/starbase/examples/dl/pr_aux_f.f: None /opt/graphics/starbase/examples/dl/pr_seg_c.c: None /opt/graphics/starbase/examples/dl/pr_seg_p.p: None /opt/graphics/starbase/examples/dl/simple_c.c: None /opt/graphics/starbase/examples/dl/simple_f.f: None /opt/graphics/starbase/examples/dl/simple_p.p: None /opt/graphics/starbase/examples/dl/stick_leg_c.c: None /opt/graphics/starbase/examples/dl/stick_leg_f.f: None /opt/graphics/starbase/examples/dl/stick_leg_p.p: None /opt/graphics/starbase/examples/dl/template_c.c: None /opt/graphics/starbase/examples/dl/template_f.f: None /opt/graphics/starbase/examples/dl/template_p.p: None cksum(1) Output: 3481543034 2769572 /opt/graphics/common/lib/libhpgfx1.a 4173761859 302922 /opt/graphics/common/lib/libhpgfx2.a 2181102510 392792 /opt/graphics/common/lib/libddhcrx.a 1794486021 392628 /opt/graphics/common/lib/libddhcrx48.a 3632280722 592832 /opt/graphics/common/lib/libdl.a 3082093080 273940 /opt/graphics/common/lib/libddgcrx.a 1094683671 180664 /opt/graphics/common/lib/libddcrx48z.a 4248617000 67042 /opt/graphics/starbase/include/starbase.c.h 1837703542 21167 /opt/graphics/starbase/include/ starbase.p1.h 3098650968 36055 /opt/graphics/starbase/include/ starbase.p2.h 496032764 16127 /opt/graphics/starbase/include/starbase.f1.h 1246357171 37898 /opt/graphics/starbase/include/ starbase.f2.h 2254666768 15968 /opt/graphics/starbase/include/dl.c.h 2397128463 16559 /opt/graphics/starbase/include/dl.p1.h 3850506443 9282 /opt/graphics/starbase/include/dl.p2.h 2617094810 4530 /opt/graphics/starbase/include/dl.f1.h 2527172593 33560 /opt/graphics/starbase/include/dl.f2.h 2865993136 18168 /opt/graphics/common/lib/libXg.a 2176480958 12431 /opt/graphics/starbase/demos/starbase/ SBUTILS/wsutils.h 683610585 31693 /opt/graphics/starbase/demos/starbase/ SBUTILS/wsutils.c 1918792174 5188 /opt/graphics/starbase/examples/dl/AppData.c 3242758533 8051 /opt/graphics/starbase/examples/dl/ ArchiveDL.c 1300836098 288 /opt/graphics/starbase/examples/dl/CC 2760206814 7104 /opt/graphics/starbase/examples/dl/Culling.c 1400342086 4558 /opt/graphics/starbase/examples/dl/ EleHouse.c 1623303921 10945 /opt/graphics/starbase/examples/dl/ HitCheck.c 2625378221 5085 /opt/graphics/starbase/examples/dl/House.c 2157567389 6312 /opt/graphics/starbase/examples/dl/ HouseEle.c 4243985335 16370 /opt/graphics/starbase/examples/dl/ HousePlan.c 367654600 4312 /opt/graphics/starbase/examples/dl/NewHouse.c 4026004567 7168 /opt/graphics/starbase/examples/dl/ PickHouse.c 2869967226 5106 /opt/graphics/starbase/examples/dl/Pruning.c 1205112842 8050 /opt/graphics/starbase/examples/dl/README 3281132698 7922 /opt/graphics/starbase/examples/dl/ SegHouse.c 2781365852 7620 /opt/graphics/starbase/examples/dl/ arc_aux_c.c 876280621 6620 /opt/graphics/starbase/examples/dl/ arc_aux_f.f 722100402 4427 /opt/graphics/starbase/examples/dl/ archive_c.c 1238693907 4317 /opt/graphics/starbase/examples/dl/ archive_f.f 4097466732 11220 /opt/graphics/starbase/examples/dl/ archive_p.p 1317054316 459 /opt/graphics/starbase/examples/dl/cpdir 4226840838 23534 /opt/graphics/starbase/examples/dl/ house_plan.c 1957269075 2161 /opt/graphics/starbase/examples/dl/makefile 3576752909 11011 /opt/graphics/starbase/examples/dl/ pr_aux_c.c 3380664715 12291 /opt/graphics/starbase/examples/dl/ pr_aux_f.f 11631113 2471 /opt/graphics/starbase/examples/dl/pr_seg_c.c 2661139473 3283 /opt/graphics/starbase/examples/dl/ pr_seg_p.p 397966999 701 /opt/graphics/starbase/examples/dl/simple_c.c 1138784881 1173 /opt/graphics/starbase/examples/dl/ simple_f.f 3118602439 1289 /opt/graphics/starbase/examples/dl/ simple_p.p 3143434828 12707 /opt/graphics/starbase/examples/dl/ stick_leg_c.c 260083849 14728 /opt/graphics/starbase/examples/dl/ stick_leg_f.f 264090300 14937 /opt/graphics/starbase/examples/dl/ stick_leg_p.p 912970339 198 /opt/graphics/starbase/examples/dl/ template_c.c 1069276631 977 /opt/graphics/starbase/examples/dl/ template_f.f 2656706001 485 /opt/graphics/starbase/examples/dl/ template_p.p Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_10244 s800: 10.20: PHSS_10244 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7603 PHSS_8381 PHSS_9251 PHSS_10215 Equivalent Patches: None Patch Package Size: 5450 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_10245 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_10245.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_10245.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_10245. 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_10245.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_10245.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None