From nobody@FreeBSD.org  Thu Aug  4 06:19:00 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9BACF106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Aug 2011 06:19:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8C8C38FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 Aug 2011 06:19:00 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p746J0Pr065327
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 4 Aug 2011 06:19:00 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p746J0Xo065326;
	Thu, 4 Aug 2011 06:19:00 GMT
	(envelope-from nobody)
Message-Id: <201108040619.p746J0Xo065326@red.freebsd.org>
Date: Thu, 4 Aug 2011 06:19:00 GMT
From: Martin <martin@sugioarto.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: gnome-panel causes high load with opacity settings
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         159512
>Category:       ports
>Synopsis:       x11/gnome-panel causes high load with opacity settings
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 04 06:20:11 UTC 2011
>Closed-Date:    Fri Mar 16 03:51:09 UTC 2012
>Last-Modified:  Fri Mar 16 03:51:09 UTC 2012
>Originator:     Martin
>Release:        FreeBSD-8.2R
>Organization:
Sugioarto
>Environment:
FreeBSD zelda.sugioarto.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Tue Mar 15 20:59:30 CET 2011     root@zelda.sugioarto.com:/usr/obj/usr/src/sys/ZELDA  amd64
>Description:
gnome-panel can cause high load (sends many messages to Xorg server) when its opacity settings are in use and some applets are being displayed.

If you have gnome-panel's built in fake transparency enabled, you won't be able to use Gnome. It won't log in to full Gnome desktop and the CPU load will be at 100%.

I don't know how to fix it, but there is a possibility to work around the problem by deleting the transparency settings from all your gnome-panel instances:

rm ~/.gconf/apps/panel/toplevels/*/background/%gconf.xml

Then kill your session and log in again.

>How-To-Repeat:
Right-click on a gnome-panel instance, properties, background and set opacity e.g. to 50%. Add at least 1 applet, e.g. clock applet.

Take a look at top output. You'll see gnome-panel and Xorg at high load.

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Aug 7 07:14:11 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=159512 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Fri Mar 16 03:49:41 UTC 2012 
State-Changed-Why:  
I can't reproduce it. You will need to use ktrace or whatever other tools to 
collect more info and file a new PR. 

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