From owner-freebsd-stable@FreeBSD.ORG Mon Jan 28 01:54:06 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB50016A417 for ; Mon, 28 Jan 2008 01:54:06 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8528713C461 for ; Mon, 28 Jan 2008 01:54:06 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from 98.79.171.66.subscriber.vzavenue.net (HELO homobox.opal.com) ([66.171.79.98]) by smtp.vzavenue.net with ESMTP; 27 Jan 2008 20:54:05 -0500 X-REPUTATION: None X-REMOTE-IP: 66.171.79.98 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAG6+nEdCq09i/2dsb2JhbACBWKhV X-IronPort-AV: i="4.25,257,1199682000"; d="asc'?scan'208"; a="175417526:sNHT22100760" Received: from linwhf.opal.com (localhost [127.0.0.1]) (authenticated bits=0) by homobox.opal.com (8.13.8/8.13.8) with ESMTP id m0S1s4om065406; Sun, 27 Jan 2008 20:54:04 -0500 (EST) (envelope-from fbsd@opal.com) Received: from linwhf.opal.com ([192.168.3.65] helo=linwhf.opal.com) by ASSP-nospam; 27 Jan 2008 20:54:04 -0500 Date: Sun, 27 Jan 2008 20:54:00 -0500 From: "J.R. Oldroyd" To: freebsd-x11@freebsd.org, freebsd-stable@freebsd.org, Thomas Dickey , eric@anholt.net Message-ID: <20080127205400.0a59507d@linwhf.opal.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/WCBzRpJNPliuNunr_Ab_P+_"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: Low CPU Freq responsible for xterm pixel corruption on RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 01:54:06 -0000 --Sig_/WCBzRpJNPliuNunr_Ab_P+_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Some weeks ago, I posted on the x11@ list of a problem of pixel corruption I am seeing in xterm windows. An example of the problem can still be seen here: http://opal.com/jr/xterm-corruption.gif Quick summary: Wide xterm windows (wider than 158 columns, 1440 pixels) have the problem shown, but only when at least that many columns are on the screen. That is, moving a wide window so that it is partially off the screen causes the corruption to cease when less than 158 columns are displayed. Further investigation has unearthed that this problem happens only when the CPU frequency is set to low levels, which was happening because of powerd. When the CPU frequency is set low, these pixel corruptions happen. When the CPU freq is raised they do not: everything is normal. Disabling powerd and manually adjusting the CPU frequency gives these resul= ts: # sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 3176/-1 2779/-1 2382/-1 1985/-1 1588/-1 1191/-1 794/= -1 397/-1 CPU freq from 3176 to 1191 causes no problems. CPU freq at 794 or 397 causes pixel corruptions. This problem did not happen on RELENG_6. -jr --Sig_/WCBzRpJNPliuNunr_Ab_P+_ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHnTW4ls33urr0k4kRAi91AJ9kFMJT6o5yVqE+sFHiVV0E0BavCwCfQ8xg lA9N8zDfUVB//044vfGvHeQ= =O9jf -----END PGP SIGNATURE----- --Sig_/WCBzRpJNPliuNunr_Ab_P+_--