From owner-freebsd-x11@FreeBSD.ORG Mon Dec 2 03:20:02 2013 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D9E2A8F8 for ; Mon, 2 Dec 2013 03:20:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C64F56CB6 for ; Mon, 2 Dec 2013 03:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB23K2Dj082934 for ; Mon, 2 Dec 2013 03:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB23K2sm082933; Mon, 2 Dec 2013 03:20:02 GMT (envelope-from gnats) Date: Mon, 2 Dec 2013 03:20:02 GMT Message-Id: <201312020320.rB23K2sm082933@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: Callum Gibson Subject: Re: ports/183435: x11/xorg: 100% CPU use of xorg using firefox when showing large images (say 20 Mpixel) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Callum Gibson List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 03:20:02 -0000 The following reply was made to PR ports/183435; it has been noted by GNATS. From: Callum Gibson To: bug-followup@FreeBSD.org, w-info2@xs4all.nl Cc: Subject: Re: ports/183435: x11/xorg: 100% CPU use of xorg using firefox when showing large images (say 20 Mpixel) Date: Mon, 2 Dec 2013 14:17:42 +1100 You might find this is related to pixmap caching. I don't think it's video driver specific. Ironically the variable to disable this is called: MOZ_DISABLE_IMAGE_OPTIMIZE https://wiki.mozilla.org/Mobile/MemoryReduction#Disable_X_image_caching_on_Unix.2FLinux Maybe at some time in the past with smaller images and slower networks it hurt performace, but now displaying large, modern images in firefox causes it to stuff an enormous pixmap into the X server which is used once, and eats all the CPU whilst firefox is just hanging there waiting for it to finish. Setting this variable fixes it for me. C -- Callum Gibson @ home