From Mark_Andrews@isc.org  Fri Dec 24 06:46:56 2004
Return-Path: <Mark_Andrews@isc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 67F1616A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Dec 2004 06:46:56 +0000 (GMT)
Received: from farside.isc.org (farside.isc.org [204.152.187.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 08D3B43D39
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Dec 2004 06:46:56 +0000 (GMT)
	(envelope-from Mark_Andrews@isc.org)
Received: from bsdi.dv.isc.org (localhost [IPv6:::1])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by farside.isc.org (Postfix) with ESMTP id 12AC367503
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Dec 2004 06:46:54 +0000 (UTC)
	(envelope-from marka@isc.org)
Received: from bsdi.dv.isc.org (localhost.dv.isc.org [127.0.0.1])
	by bsdi.dv.isc.org (8.13.1/8.13.1) with ESMTP id iBNNXeXZ063651
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 24 Dec 2004 10:33:40 +1100 (EST)
	(envelope-from marka@bsdi.dv.isc.org)
Received: (from marka@localhost)
	by bsdi.dv.isc.org (8.13.1/8.13.1/Submit) id iBNNXdSu063643;
	Fri, 24 Dec 2004 10:33:39 +1100 (EST)
	(envelope-from marka)
Message-Id: <200412232333.iBNNXdSu063643@bsdi.dv.isc.org>
Date: Fri, 24 Dec 2004 10:33:39 +1100 (EST)
From: Mark Andrews <Mark_Andrews@isc.org>
Reply-To: Mark Andrews <Mark_Andrews@isc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: XFree86-4 events not being flushed.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         75455
>Category:       ports
>Synopsis:       XFree86/X.Org: Screen updates not occurring with MGA 1064.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-x11
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 24 06:50:23 GMT 2004
>Closed-Date:    Sun Jan 02 00:17:06 GMT 2005
>Last-Modified:  Sun Jan 02 00:17:06 GMT 2005
>Originator:     Mark Andrews
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
ISC
>Environment:
System: FreeBSD bsdi.dv.isc.org 4.10-STABLE FreeBSD 4.10-STABLE #21: Wed Dec 22 11:57:51 EST 2004 marka@bsdi.dv.isc.org:/usr/obj/usr/src/sys/BSDI i386

XFree86-4.4.0_1,1   X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.4.0 XFree86-4 font server
XFree86-NestServer-4.4.0 XFree86-4 nested X server
XFree86-PrintServer-4.4.0 XFree86-4 print server
XFree86-Server-4.4.0_5 XFree86-4 X server and related programs
XFree86-VirtualFramebufferServer-4.4.0 XFree86-4 virtual framebuffer server
XFree86-clients-4.4.0_2 XFree86-4 client programs and related files
XFree86-documents-4.4.0 XFree86-4 documentation
XFree86-font100dpi-4.4.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.4.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.4.0 XFree86-4 Cyrillic fonts
XFree86-fontDefaultBitmaps-4.4.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.4.0 XFree86-4 font encoding files
XFree86-fontScalable-4.4.0_1 XFree86-4 scalable fonts
XFree86-libraries-4.4.0_2 XFree86-4 libraries and headers
XFree86-manuals-4.4.0 XFree86-4 man pages
atk-1.8.0           A GNOME accessibility toolkit (ATK)
bison-1.75_2        A parser generator from FSF, (mostly) compatible with Yacc
bitstream-vera-1.10 Bitstream Vera TrueType font collection
cvsup-16.1h         General network file distribution system optimized for CVS 
dri-5.0.2,2         OpenGL hardware acceleration drivers for the DRI
expat-1.95.8        XML 1.0 parser written in C
fontconfig-2.2.3,1  An XML-based font configuration API for X Windows
freetype2-2.1.7_4   A free and portable TrueType font rendering engine
fvwm-2.5.12_1       Popular virtual window manager for X
gettext-0.13.1_1    GNU gettext package
glib-2.4.8          Some useful routines of C programming (current stable versi
gmake-3.80_2        GNU version of 'make' utility
gnupg-1.2.6         The GNU Privacy Guard
gtk-2.4.14_2        Gimp Toolkit for X11 GUI (current stable version)
hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project
imake-4.4.0         Imake and other utilities from XFree86
intltool-0.32.1     Tools to internationalize various kinds of data files
isc-dhcp3-server-3.0.1.r14_6 The ISC Dynamic Host Configuration Protocol server
jpeg-6b_3           IJG's jpeg compression utilities
krb5-1.3.4_2        An authentication system developed at MIT, successor to Ker
lcms-1.13_1,1       Light Color Management System -- a color management library
libIDL-0.8.4        A library for creating trees of CORBA Interface Definition 
libXft-2.1.6        A client-sided font API for X applications
libiconv-1.9.2_1    A character set conversion library
libmng-1.0.8        Multiple-image Network Graphics (MNG) reference library
libtool-1.3.5_2     Generic shared library support script (version 1.3)
libtool-1.5.10      Generic shared library support script (version 1.5)
libungif-4.1.3      Tools and library routines for working with GIF images
libxml2-2.6.16      XML parser library for GNOME
linux_base-7.1_2    The base set of packages needed in Linux mode
m4-1.4.1            GNU m4
mozilla-1.7.5,2     The open source, standards compliant web browser
nspr-4.4.1_1        A platform-neutral API for system level and libc like funct
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.10 Perl interface to the SHA-1 Algorithm
p5-HTML-Parser-3.38 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.03 Some useful data table in parsing HTML
p5-Net-DNS-0.48     Perl5 interface to the DNS resolver, and dynamic updates
p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, expat
pango-1.6.0         An open-source framework for the layout and rendering of i1
perl-5.8.5          Practical Extraction and Report Language
pkg_install-devel-20040811 Development version of the FreeBSD 5.x package tools
pkgconfig-0.15.0_1  A utility used to retrieve information about installed libr
png-1.2.7           Library for manipulating PNG images
portaudit-0.5.9     Checks installed ports against a list of security vulnerabi
portupgrade-20040701_3 FreeBSD ports/packages administration and management tool s
rc_subr-1.31        Common startup and shutdown subroutines used by scripts
ruby-1.8.2.p2_2     An object-oriented interpreted scripting language
ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with full featu
shared-mime-info-0.15_1 A MIME type database from the FreeDesktop project
ssh2-3.2.9.1        Secure shell client and server for V.2 SSH protocol
tiff-3.7.0_2        Tools and library routines for working with TIFF images
unzip-5.51          List, test and extract compressed files in a ZIP archive
wrapper-1.0_3       Wrapper for XFree86-4 server
xautolock-1.15      Used to activate xlock after a user defined time of inactiv
xlockmore-5.14.1    Like XLock session locker/screen saver, but just more
xterm-197           Terminal emulator for the X Window System
zip-2.3_2           Create/update ZIP files compatible with pkzip
	
>Description:

	Post upgrade to XFree86-4.4.0_1,1 t appears that some X11
	events are not being flushed resulting in applications not
	updating until the focus changes / explicit screen refresh.

	It appears to be independent of window manager, tested w/
	twm and fvwm.

	This occurs for both local and remote application.  The remote
	applications have not been updated and were working correctly
	prior to the update.

	The X11 server was previously running 4.2.0 w/o problems.
	
>How-To-Repeat:

	run "xload -bg bisque3 -fg black -highlight red -update 5" with a
	    a load > 1.  The load lines are nolonger continious.
	run mozilla and display the following and then scroll up and down.
	    the page will be redrawn when the focus changes.
		http://www.freebsd.org/cgi/query-pr-summary.cgi?category=&severity=&priority=&class=&state=&sort=none&text=x11&responsible=&multitext=&originator=&release=
	move a xterm such that you partially land over the old border.
	     the old border is not removed. (w/ fvwm-2.5.12_1 only)
	Scrolling a xterm is not affected.
	
>Fix:



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 24 06:56:59 GMT 2004 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75455 

From: Mark Andrews <Mark_Andrews@isc.org>
To: freebsd-gnats-submit@FreeBSD.org, Mark_Andrews@isc.org
Cc:  
Subject: Re: ports/75455: XFree86-4 events not being flushed.
Date: Tue, 28 Dec 2004 14:14:44 +1100

 Further testing shows that the problem appears to be with the 
 acceleration of ScreenToScreen copy of the mga driver (MGA 1064SG).
 Setting XaaNoScreenToScreenCopy hides the problem.  It is also appears
 under Xorg.

From: Mark Andrews <Mark_Andrews@isc.org>
To: freebsd-gnats-submit@FreeBSD.org, Mark_Andrews@isc.org
Cc:  
Subject: Re: ports/75455: XFree86-4 events not being flushed.
Date: Sun, 02 Jan 2005 09:58:29 +1100

 A further upgrade seems to have fixed the problem (at least with Xorg). 
   I don't intend to switch back at this point.  The current set of
 packages is below.
 
 Mark
 
 atk-1.8.0           A GNOME accessibility toolkit (ATK)
 bison-1.75_2        A parser generator from FSF, (mostly) compatible 
 with Yacc
 bitstream-vera-1.10 Bitstream Vera TrueType font collection
 cvsup-16.1h         General network file distribution system optimized 
 for CVS
 dri-6.2_1,2         OpenGL hardware acceleration drivers for the DRI
 expat-1.95.8        XML 1.0 parser written in C
 fontconfig-2.2.3,1  An XML-based font configuration API for X Windows
 freetype2-2.1.7_4   A free and portable TrueType font rendering engine
 fvwm-2.5.12_1       Popular virtual window manager for X
 gettext-0.14.1      GNU gettext package
 glib-2.4.8          Some useful routines of C programming (current 
 stable versi
 gmake-3.80_2        GNU version of 'make' utility
 gnupg-1.4.0         The GNU Privacy Guard
 gtk-2.4.14_2        Gimp Toolkit for X11 GUI (current stable version)
 hicolor-icon-theme-0.5 A high-color icon theme shell from the 
 FreeDesktop project
 imake-6.8.1         Imake and other utilities from X.Org
 intltool-0.32.1     Tools to internationalize various kinds of data files
 isc-dhcp3-server-3.0.1.r14_6 The ISC Dynamic Host Configuration Protocol 
 server
 jpeg-6b_3           IJG's jpeg compression utilities
 krb5-1.3.6          An authentication system developed at MIT, successor 
 to Ker
 lcms-1.13_1,1       Light Color Management System -- a color management 
 library
 libIDL-0.8.4        A library for creating trees of CORBA Interface 
 Definition
 libXft-2.1.6        A client-sided font API for X applications
 libiconv-1.9.2_1    A character set conversion library
 libmng-1.0.8        Multiple-image Network Graphics (MNG) reference library
 libtool-1.3.5_2     Generic shared library support script (version 1.3)
 libtool-1.5.10      Generic shared library support script (version 1.5)
 libungif-4.1.3      Tools and library routines for working with GIF images
 libxml2-2.6.16      XML parser library for GNOME
 linux_base-7.1_2    The base set of packages needed in Linux mode
 m4-1.4.1            GNU m4
 mozilla-1.7.5_1,2   The open source, standards compliant web browser
 nspr-4.4.1_1        A platform-neutral API for system level and libc 
 like funct
 p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
 p5-Digest-SHA1-2.10 Perl interface to the SHA-1 Algorithm
 p5-HTML-Parser-3.38 Perl5 module for parsing HTML documents
 p5-HTML-Tagset-3.03 Some useful data table in parsing HTML
 p5-Net-DNS-0.48     Perl5 interface to the DNS resolver, and dynamic updates
 p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML 
 parser, expat
 pango-1.6.0         An open-source framework for the layout and 
 rendering of i1
 perl-5.8.5          Practical Extraction and Report Language
 pkg_install-devel-20040811 Development version of the FreeBSD 5.x 
 package tools
 pkgconfig-0.15.0_1  A utility used to retrieve information about 
 installed libr
 png-1.2.8           Library for manipulating PNG images
 portaudit-0.5.9     Checks installed ports against a list of security 
 vulnerabi
 portupgrade-20041226_1 FreeBSD ports/packages administration and 
 management tool s
 rc_subr-1.31        Common startup and shutdown subroutines used by scripts
 ruby-1.8.2_1        An object-oriented interpreted scripting language
 ruby18-bdb1-0.2.2   Ruby interface to Berkeley DB revision 1.8x with 
 full featu
 shared-mime-info-0.15_5 A MIME type database from the FreeDesktop project
 ssh2-3.2.9.1        Secure shell client and server for V.2 SSH protocol
 tiff-3.7.1          Tools and library routines for working with TIFF images
 unzip-5.51          List, test and extract compressed files in a ZIP archive
 wrapper-1.0_3       Wrapper for XFree86-4 server
 xautolock-1.15      Used to activate xlock after a user defined time of 
 inactiv
 xlockmore-5.14.1    Like XLock session locker/screen saver, but just more
 xorg-6.8.1          X.Org distribution metaport
 xorg-clients-6.8.1  X client programs and related files from X.Org
 xorg-documents-6.8.1 Documentation of X11 protocol and libraries from X.Org
 xorg-fonts-100dpi-6.8.1 X.Org 100dpi bitmap fonts
 xorg-fonts-75dpi-6.8.1 X.Org 75dpi bitmap fonts
 xorg-fonts-cyrillic-6.8.1 X.Org Cyrillic bitmap fonts
 xorg-fonts-encodings-6.8.1 X.Org font encoding files
 xorg-fonts-miscbitmaps-6.8.1 X.Org miscellaneous bitmap fonts
 xorg-fonts-truetype-6.8.1 X.Org TrueType fonts
 xorg-fonts-type1-6.8.1 X.Org Type1 fonts
 xorg-fontserver-6.8.1 X font server from X.Org
 xorg-libraries-6.8.1 X11 libraries and headers from X.Org
 xorg-nestserver-6.8.1 Nesting X server from X.Org
 xorg-printserver-6.8.1 X Print server from X.Org
 xorg-server-6.8.1   X.Org X server and related programs
 xorg-vfbserver-6.8.1 X virtual framebuffer server from X.Org
 xterm-197           Terminal emulator for the X Window System
 zip-2.3_2           Create/update ZIP files compatible with pkzip
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Sun Jan 2 00:15:44 GMT 2005 
State-Changed-Why:  
Submitter reported issue is gone with current X.Org.  Maybe 
related to the MGAISBUSY() change? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75455 
>Unformatted:
