Patch Name: PHSS_8381 Patch Description: s700_800 10.20 Starbase/Hardcopy Development patch Creation Date: 96/10/23 Post Date: 96/10/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_8381 Symptoms: PHSS_8381: - See defect description. PHSS_7603: - see defect description. Defect Description: 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 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 what(1) Output: /opt/graphics/common/lib/libhpgfx1.a: GRAPHICS CORE R1020 BRANCH 961016 libsga $Revision: 550.5 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 GRAPHICS CORE R1020 BRANCH 961016 libddnull $Revisio n: 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 GRAPHICS CORE R1020 BRANCH 961016 libddvmx $Revision : 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 GRAPHICS CORE R1020 BRANCH 961016 libsb1.a $Revision : 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy 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 R1020 BRANCH 961016 libsb2.a $Revision : 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /opt/graphics/common/lib/libddhcrx.a: GRAPHICS CORE R1020 BRANCH 961016 libddhyper $Revisi on: 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /opt/graphics/common/lib/libddhcrx48.a: GRAPHICS CORE R1020 BRANCH 961016 libddhcrx48 $Revis ion: 550.1.100.2 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /opt/graphics/common/lib/libdl.a: GRAPHICS CORE R1020 BRANCH 961016 libsbdl.a $Revisio n: 550.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /opt/graphics/common/lib/libddgcrx.a: GRAPHICS CORE R1020 BRANCH 961016 libddgcrx $Revisio n: 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /opt/graphics/common/lib/libddcrx48z.a: GRAPHICS CORE R1020 BRANCH 961016 libddcrx48z $Revis ion: 550.1.100.1 $ PHSS_8380/PHSS_8381 Starbase/Hardcopy Periodic Patch for 10.20 /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: 96/08/14 13:48:02 $ /opt/graphics/starbase/include/dl.p1.h: sbdl.p1.h $Date: 96/08/14 13:48:02 $ /opt/graphics/starbase/include/dl.p2.h: sbdl.p2.h $Date: 96/03/19 19:29:41 $ /opt/graphics/starbase/include/dl.f1.h: sbdl.f1.h $Date: 96/03/19 19:29:41 $ /opt/graphics/starbase/include/dl.f2.h: sbdl.f2.h $Date: 96/08/14 13:48:02 $ cksum(1) Output: 3993577564 2715292 /opt/graphics/common/lib/libhpgfx1.a 4152258432 288718 /opt/graphics/common/lib/libhpgfx2.a 3157767800 350020 /opt/graphics/common/lib/libddhcrx.a 161785315 383756 /opt/graphics/common/lib/libddhcrx48.a 1383026043 684316 /opt/graphics/common/lib/libdl.a 1290344776 266680 /opt/graphics/common/lib/libddgcrx.a 1941784792 176152 /opt/graphics/common/lib/libddcrx48z.a 2502470145 66770 /opt/graphics/starbase/include/starbase.c.h 3991106398 20918 /opt/graphics/starbase/include/ starbase.p1.h 2634900586 36072 /opt/graphics/starbase/include/ starbase.p2.h 100170870 16144 /opt/graphics/starbase/include/starbase.f1.h 1969020757 37281 /opt/graphics/starbase/include/ starbase.f2.h 193959335 15967 /opt/graphics/starbase/include/dl.c.h 3006130976 16558 /opt/graphics/starbase/include/dl.p1.h 3061480941 9281 /opt/graphics/starbase/include/dl.p2.h 692211787 4529 /opt/graphics/starbase/include/dl.f1.h 2686644953 33559 /opt/graphics/starbase/include/dl.f2.h Patch Conflicts: None Patch Dependencies: s700: 10.20: PHSS_8380 s800: 10.20: PHSS_8380 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7603 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_8381 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_8381.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_8381.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_8381. 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_8381.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_8381.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None