Patch-ID# 105789-05
Keywords: vis xil ffb 
Synopsis: VIS/XIL 2.5.1: Graphics Patch
Date: Feb/05/99

Solaris Release: 2.5.1

SunOS Release: 5.5.1

Unbundled Product: VIS

Unbundled Release: 2.5.1

Relevant Architectures: sun4u

Topic: VIS/XIL 2.5.1: Graphics Patch

	NOTE 1: Supplement this patch with 105790 (the Creator 2.5.1 Graphics
		patch) to obtain a complete patch baseline for the Creator
		graphics accelerator.

	NOTE 2: Supplement this patch with 105791 (the Elite3D 2.5.1 Graphics
		patch) to obtain a complete patch baseline for the Elite3D
		graphics accelerator.

BugId's fixed with this patch: 1239344 1240889 1241129 1242356 1244731 1244790 1245331 1247042 1247870 1249376 1249810 1251011 1251078 1252211 1252515 1253234 1255911 1255913 1256285 1256829 1257056 1257369 1258505 1258516 1258797 1258799 1259305 1259308 1205641 1252115 1257373 1257545 1258356 1258582 1259348 1261174 1261193 1263377 1264270 1264433 1265333 1265355 1265553 1266084 1266093 1267190 1261670 1266083 1266906 1267404 1267489 4004135 4004149 4005291 4006820 4006830 4006855 4007020 4007241 4007282 4007487 4007718 4007729 4008235 4008274 4008937 4009067 4009850 4010476 4010847 4011199 4011550 4012537 4012806 4007094 4013053 4013231 4013660 4016049 4016604 4017412 4014038 4016861 4016869 4016960 4017940 4022388 4022652 4024665 4025181 4013536 4010243 4014986 4017895 4029423 4030436 4027932 4031253 4031810 4031993 4033033 4031803 4032514 4034530 4034677 4036504 4037315 4038363 4038932 4050545 4051986 4053872 4055240 4016195 4055661 4057708 1234775 1260344 4031899 4056444 4068820 4069136 4069267
BugId's fixed with this patch: 4073650 4078453 4078479 4078759 4079390 4077853 4078894 4071500 4080117 4085947 4088276 1265376 4128929 4163883 4174063

Changes incorporated in this version: 4174063

Patches accumulated and obsoleted by this patch: 103796-19

Patches which conflict with this patch: 

Patches required with this patch:

Patches associated with this patch: 105790-01 (or newer), 105791-01 (or newer)

Obsoleted by: 

Files included with this patch: 
 
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputeJpeg_SUNWffb.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputeJpeg_SUNWvis.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputeMpeg1_SUNWffb.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputeMpeg1_SUNWvis.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputeSUNWffb.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilcomputevis.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilioSUNWffb.so.1
  /opt/SUNWits/Graphics-sw/xil/lib/pipelines/xilioSUNWafb.so.1

Problem Description: 

(from 105789-05)
  4174063 "frame buffer not of expected type" with tif file loaded by sdtimage.

(from 105789-04)
  4174063 "frame buffer not of expected type" with tif file loaded by sdtimage.

(from 105789-03)
  4163883 White screen displayed in sunvideo 24 bit and showmetv

(from 105789-02)
  4128929 Customer mpeg1 sequence crashes vis mpeg1 decoder (2.5.1 & 2.6)

(from 105789-01)
  This patch is result of the VIS/XIL component spin-off from
  the Creator 2.5.1 FFB Graphics jumbo patch 103796-19.
  This patch, in conjunction with 105790-01, obsoletes 103796-19.

-----------------

(from 103796-19)
  1265376 Xil1.2 needs to use FFB2's accelerated YCC->RGB, packed 16z & 8z modes
  4071500 FTC window borders flicker
  4080117 x11perf performance degradation on FFB2+ in comparison with FFB2
  4085947 Specular lighting is wrong when facet color is being used
  4088276 FFB2+ window system comes up in non-default widseperate mode

(from 103796-18)
  4078894 colormap is lost after multiply suspend/resume cycles

(from 103796-17)
  4078759 dga_db_grab alters the WID of a WID grabbed window
  4079390 ffb has a performance issue with gpc 2d and 3d wireframe
  4077853 SunVideo and showmetv fail on FFB2

(from 103796-16)
  4078453 ffb driver does not read the correct wid table for PAC2
  4078479 ffbconfig -res gives incorrect help instructions.

(from 103796-15)
  4068820 WidSep8: bad screen colors when running ogl_install_chk
  4069136 ffbconfig -propt after reboot puts screen in reverse video
  4069267 WidSep8: overlay damage not being repaired properly
  4073650 ffb loses colormap when cycled through a pm and cpr sequence

(from 103796-14)
  Changes to coordinate with Xserver patch 103566-20 for multiple hardware
  colormap support

(from 103796-13)
  4056444 Deadlock caused by double-locking when XGL programs linked with
	  libpthread 

(from 103796-12)
  4038932 Facet lighting is broken for triangle lists with Color Selector
          == Illum Indep
  1234775 Bilinear vl_affine introduces noise when rotating constant image
  1260344 VIS/XIL FFB molecules clip child images incorrectly
  4031899 fgr_ffb_regs.h has some incorrect mappings

(from 103796-11)
  4016195 Large cursor corrupted on ffb
  4055661 OpenGL conformance crashes Xserver on FFB/SB
  4057708 ffbconfig identifies FFB2 on Ultra-4 as FFB3

(from 103796-10)
  4037315 SaveUnder fails on ffb with double buffered xlib windows
  4038363 Window enter/exit events blank out a stereo window
  4050545 ffbconfig -defclass StaticGray -defdepth 8 -deflinear true does
	  TrueColor visual
  4051986 Gcopy function modified to conform to SPARC V9 processor specs.
  4053872 XGL/FFB pipeline overwrites memory resulting in Pro/E crashes
  4055240 Expose events crash the Xserver with patch 103796 installed

(from 103796-09)
  4031803 ffb/sb: Running a double-buffered index program crashes the server
  4032514 antiindex crashes the server on 2.5.1SHWP (B14 and B15), not 2.5.1
  4034530 filemgr gets a black patch under open folder view
  4034677 XQueryBestStipple don't return an appropriate value
  4036504 Xsun crashes on FFB

(from 103796-08)
  4027932 OGL viewperf test AWpwan01 gave X error. -- glXChooseVisual problem
  4031253 Security hole: ffbconfig susceptible to buffer overflow
  4031810 ffb/sb: there are no double buffered visuals with visual explosion
  4031993 Overlay visual w/ transparency type=0 is not in SERVER_OVERLAY_VISUAL
  4033033 W/ ffbconfig expvis and sov options, visual list behaves incorrectly

(from 103796-07)
  4010243 Second ffb head remains off after a suspend/resume cycle
  4014986 ffbv2 does not preserve resolution across a suspend/resume cycle
  4017895 FFB driver does not identify monitor resolutions correctly in attach
  4029423 gcopy/gswap should support negative linebyte values
  4030436 hi-res flag does not get reset on switching to normal video-modes

(from 103796-06)
  4013536 ffb driver needs ioctl to read prom version information
  Add opaque SOV visual in the root window SOV property

(from 103796-05)
  4014038 ffbconfig -res 1152x900x76 completely breaks the CDE window system
  4016861 FFB does not work at 1152x900x76 resolution
  4016869 ffbDpaGetPixelPointer() returns 8-bit values for 24-bit window
  4016960 SOV stops working if a DGA window is created and then ungrabbed
  4017940 Intermittent screen garbage on FFB display
  4022388 xil_scale() general produces incorrect output for larger kernel sizes
  4022652 Xterm window got damaged when putting vi to background on FFB/FFB2
  4024665 Gcopy should only use block loads to read data
  4025181 Fastfill thresholds are incorrect for both FFB1 and FFB2

(from 103796-04)
  4007094 xgl draws over the overlapped window
  4013053 Three simulated VIS functions are incorrect
  4013231 To further accelerate 16 bit and 8 bit general convolutions
  4013660 Exploded GLX visual list has incorrect order ... etc
  4016049 xterm scroll bar is not working properly
  4016604 16 bit separable convolution can be further accelerated
  4017412 double buffer prg crashes Xsun on Solaris 2.5.1

(from 103796-03)
  1261670 XilDeviceCompMpeg1FFB & XilDeviceCompMpeg1Vis failed on each of
  	  one frame
  1266083 FFB driver needs to support additional resolutions
  1266906 X server crashes when run defdepth 24 while opening XIL window
  1267404 Transpose for images with non-zero origins not handled by
          the VIS/FFB pipelines
  1267489 All SusPEX testcases crash the server on systems with ffb
          sunffbmiRegionValidate
  4004135 ffb_regs.h needs to be updated for ffb2
  4004149 add macros for differentiating between FFB2 and FFB1
  4005291 denizen test "clip_viewclip_nurbs_curve_2d" kills X server
  4006820 FFB ddx should make use of the new macro to detect FFB2 features
  4006830 FFB driver needs to support EDID
  4006855 rewrite gcopy to take advantage of ffb2 (phase I)
  4007020 Incorporate SME's separable convolution algorithms into vislib
  4007241 DirectColor with Ultra3D crashes Xsun
  4007282 Xil1.2 and Xil1.3 need to take advantage of FFB2's
          prefetching capabilities
  4007487 Xil1.2's FFB Capture always captures from (0,0)
  4007718 Make vis_proto.h compatible with C++
  4007729 FFB DDX not using Prefetch feature for gcopy on FFB2
  4008235 FFB driver does not allow one mapping into new frame buffer addresses
  4008274 Virtual Transparent pixel needed for SOV support
  4008937 X/Motif Color application experiences performance problems on Ultra
  4009067 vis_gswap.S contains invalid assembler instructions
  4009850 FFB pipeline doesn't work for FFB2
  4010476 vl_yuv2rgb_ffb() can produce incorrect results for FFB2
  4010847 FFB2: MDE web page has bad colors during scrolling
  4011199 Software workaround for FFB2 gcopy function prefetch bug (gswap.S)
  4011550 FFB2 fastfill isn't correct for stereo and hires resolutions
  4012537 Provide QDX support molecules.
  4012806 Disabling FFB2 prefetch after prefetch is enabled causes a system hang

(from 103796-02)
  1205641 Mpeg1 vis driver does not allow frame rewind under sunvideo-xil app
  1252115 Screen garbles when ffb is in stereo mode
  1257373 Bugs 1243345 and 1248627 are not completely fixed on Ultra Creator 3D
  1257545 Segment rendering fails for fillStyle = FillTiled   
  1258356 Primitive's color incorrect if rendered to overlay in 2d context
  1258582 Blend writes pixels in area outside of desired output roi when
          num bands = 3.
  1259348 DbSetup Should not be grabbing a WID. 
  1261174 Seg fault in xgl ffb using environment mapping calls from PEX 
  1261193 fnor1 and fnors1 in vis.il are incorrect
  1263377 Accelerate 16-bit Affine and Rotate atoms in XIL using VIS
  1264270 XCopyArea from a pixmap to the X11 MBE "backbuffer" fails
  1264433 Accelerate xil_transpose for XIL1.2
  1265333 Convolution kernels with 0 values are rejected and passed to memory
  1265355 Mpeg1 stream bicycle.mpeg1 dumps core in XIL1.2 & XIL1.3 VIS/FFB
  1265553 Line/text colors are not correct on Creator when
          fillStyle == FillOpaqueStippled
  1266084 FFB driver needs to support context switching for FFB2
  1266093 XDrawString can't draw properly when another window hides the corner
  1267190 Setting of non-zero origins for src or dest results in xilch fails
          in transpose

(from 103796-01)
  1239344 pixel spans intermittently fail in SDRC 2.1
  1240889 xil_blend doesn't check number of bands properly
  1241129 In PDGS ffb sometimes clips to the wrong clip rectangle
  1242356 sunfire with ffb gets  WID LUT error on sunvts
  1244731 UG crashes sometimes when environmental mapping on
  1244790 Small kernel values < 1/1024 give incorrect results in some cases
  1245331 Certain Xlib calls do not draw correctly on the FFB
  1247042 Form HTML pages in Netscape are extremely slow on FFB
  1247870 Polygons rendered with wrong colors when they are clipped
  1249376 Motorola discovered bug with CDE/Creator/MAE (Apple confirmed)
  1249810 complex clip case line clipping not correct if line fails GB testing
  1251011 XPutImage can't draw perfectly when many xclocks are executing
  1251078 VRETRACE new_frame option not implemented
  1252211 Speed drops 20 times with dynamic clipping on on Ultra/FFB
  1252515 Xildevicecompmpeg1Ffb exit without error when loading MPEG-1 data
  1253234 SDRC software crashes on Ultra's FFB
  1255911 In vis_mpeg1_close, a pointer is free'd multiple times.
          Leads to program crashes
  1255913 Performance hit due to lighting calculations being double precision
  1256285 Bogus destination bounds check when copy_buffer screen->mem
  1256829 Floating point exception in the ffb pipeline during texture mapping
  1257056 The xgli utility routine XgliUtModelClipMspg leaks memory
  1257369 xilcis_example makes MPEG1 data blurred on Ultra1Creator3D
  1258505 Dot markers don't work on 2D Contexts
  1258516 VIS/XIL Scale has a memory leak
  1258797 Need 16 bit version of Rescale->Threshold->Threshold->Display
  1258799 Rescale16FFB and Rescale8FFB don't initialize all FFB registers
  1259305 2D texturing broken for case of tlist that contains tstrip & tstar
  1259308 memory leak exposed by SDRC model clipping enhancements


Patch Installation Instructions: 
-------------------------------- 
Refer to the Install.info file for instructions on using the
generic 'installpatch' and 'backoutpatch' scripts provided with
each patch.  Any other special or non-generic installation
instructions should be described below as special instructions.


Special Install Instructions: 
----------------------------- 
	NOTE 1: Supplement this patch with 105790 (the Creator 2.5.1 Graphics
		patch) to obtain a complete patch baseline for the Creator
		graphics accelerator.

	NOTE 2: Supplement this patch with 105791 (the Elite3D 2.5.1 Graphics
		patch) to obtain a complete patch baseline for the Elite3D
		graphics accelerator.
