Patch-ID# 105790-23 Keywords: security ffb ffbconfig window ddx xgl Synopsis: Creator 2.5.1: FFB Graphics Patch Date: Mar/30/00 Solaris Release: 2.5.1 SunOS Release: 5.5.1 Unbundled Product: Creator (graphics) Unbundled Release: 2.5.1 Relevant Architectures: sparc NOTE:sun4u Topic: Creator 2.5.1: FFB Graphics Patch NOTE:1 Supplement this patch with 105789 (the VIS/XIL 2.5.1 Graphics patch) to obtain a complete patch baseline for the Creator 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 1266083 1266084 1266093 1267190 1261670 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 4059126 4081549 4082494 4091241 4092009 4093080 4094007 4094981 4097557 4079085 4091979 4099666 4103064 4103083 4103199 4016327 4051347 4098468 4104671 4104743 4109634 4109883 4116544 4118733 4098067 4104656 4119398 4126032 4131845 4134646 4135626 4137885 4112752 4136686 4139395 4144005 4156098 4165396 4173830 4170600 4175013 4182420 4156144 4184467 4172537 4187303 4204070 4209616 4211614 4195102 4226313 4236011 4229091 4240890 4078671 4254846 4236720 4162107 4207853 4218824 4270470 4272768 4234045 4258012 4303885 Changes incorporated in this version: 4258012 4303885 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: 105789-06 NOTE: (or newer) Obsoleted by: Files included with this patch: /platform/sun4u/kernel/drv/ffb /usr/sbin/ffbconfig /usr/openwin/server/modules/ddxSUNWffb.so.1 /opt/SUNWits/Graphics-sw/xgl/lib/pipelines/xglSUNWffb.so.4 Problem Description: (from 105790-23) 4258012 17" monitor pn 365-1354 does not work on Creator3d ffb pn 501-4788 4303885 Huge polygon drawn on afb where it shouldn't (from 105790-22) 4234045 Ultra 10 Solaris 2.6 Creator 3D Double-Buffering displays incorrectly (from 105790-21) 4162107 override edid info for 24" monitors 4207853 filemgr does not display mouse cursor nor ghost icons on FFB2+ w/o overlay 4218824 ffbconfig erroneously reports 1920x1080x76 available 4270470 User's application locks up screen and Xsun grows upto 100% 4272768 ffbconfig.h's FFBVideoMode_Info_Init has 72hz for VIDMODE_1920x1080x76 (from 105790-20) 4236720 ffb hangs in glyph_rp_Wide() called from sunffb_glyph_rp_CsWide() (from 105790-19) 4078671 ffb2+ and afb need separate sync for VESA resolutions 4254846 ffb on Ultra60 gives composite signal and not separate sync (from 105790-18) 4229091 Performance regression from patch 105360-10 to 105360-23 for Catia 4240890 setting afb resolution to 1280x1024x85 on an 21" monitor shows horizontal lines (from 105790-17) 4226313 XGL/FFB pipeline crashes in Pro/E texture mapping 4236011 Incorrect write of MATCH_AB register when wid clipping enabled (from 105790-15) 4187303 Xserver crash when try to display LucidaSans Thai font w/ pt size <=12 4195102 CADDS5 graphics bleeding to xterm etc with FFB/Solaris 2.5.1 4204070 server crash when trying to run opengl screen saver on root window 4209616 server crash when trying to run opengl screen saver on root window 4211614 can't open app' windows more than 4 since 105790-05 (from 105790-14) 4172537 Clipping causes incorrect rendering of polygons (from 105790-13) 4156144 XFillArc not drawing correctly 4184467 Excessive stalled mutex locks with Sol 2.5.1 and Opengl 1.1. (from 105790-12) 4170600 Turning polygon edges on affects environment mapping display 4175013 XCopyPlane speed degradation in 103796-[14-xx]/2.5.1 & on 2.6 4182420 XIL double buffering is broken on 2.6/Solaris 7 (from 105790-11) 4173830 Bus error when depth cueing in environment mapping with polygon edges (from 105790-10) 4165396 Highlighting edged triangles causes memory access violation in XGL driver (from 105790-09) 4156098 Incorrect polygon edges drawn on FFB graphics devices (from 105790-08) 4144005 xfb does not set the raw passin register correctly for FFB2P (from 105790-07) 4112752 Memory leak in SUNPhigs 4136686 Transparency overlap not working on FFB2 -03 4139395 Random pixels printed on the screen when using an FFB card overlay (from 105790-06) 4134646 Many new failures with polygon in denizen both index and rgb 4135626 Sixteen new mspolygon and polygon failures for FFB_rgb related to FILL 4137885 Root window colormap and wid are lost causing a server crash. (from 105790-05) 4104656 Unisoft xtest crtwdw fails for overlay windows in extovl mode. 4119398 Double Buffering on 2.5.1 HW11_97 doesn't work properly 4126032 OpenGL glut-3.6 test3.c program crashes window system 4131845 colormap is not restored correctly after screenblank on ffb (from 105790-04) 4098067 Concave polygon is clipped incorrectly (from 105790-03) 4016327 Window system colormap lost when xgl writes to wrong color lut. 4051347 mmap'ing part of FFB causes kernel panic/hang. 4098468 NTSC and PAL resolutions do not display properly on PAC2 Ramdacs. 4104671 OpenGL window leaves dirt in the overlay of another OpenGL. 4104743 wid-clipping incorrect on pac2 boards in widsep8 4109634 XCopyArea fails on Creator 3D 4109883 wids overwritten in block/rectangle fill. 4116544 pop-up menu not displayed correctly after returning from PROM mode. 4118733 ftc test GLX/choosefb causes server crash on AFB-3. (from 105790-02) 4079085 RAMDAC test fails on FFB2+ 4091979 OpenGL program causes Xserver to crash 4099666 XGL application does not show gamma correction 4103064 Performance degradation in FFB2+ while running x11perf 4103083 incorrect PFC register value for 1280x1024x85 4103199 unisoft Xtest fails for CreateWindow operations (from 105790-01) 4059126 FFB2+ needs 2 new resolutions: 1920x1200x75, 1280x1024x85 4081549 sunvts ffbtest fails trying to post WID LUT 4082494 ffbconfig doesn't complain for unsupported resolution 4091241 Incorrect linear true color visual 4092009 XGL benchmark test crashes the Xserver 4093080 ffbconfig should not directly touch afb hardware 4094007 Large fonts not drawn on FFB 4094981 OGL program crashes Xserver 4097557 Transparent overlay visual shown with 256 colors instead of 255 ----------------- (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 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 4033033 W/ ffbconfig expvis and sov options, visual list behaves incorrectly 4031993 Overlay visual w/transparency type=0 is not in SERVER_OVERLAY_VISUALS (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 105789 (the VIS/XIL 2.5.1 Graphics patch) to obtain a complete patch baseline for the Creator graphics accelerator. After patch installation, reboot the system to load the newly installed driver.