From owner-freebsd-ports-bugs@freebsd.org Tue Oct 20 09:18:24 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E325A1A53C for ; Tue, 20 Oct 2015 09:18:24 +0000 (UTC) (envelope-from hoplaahei@openmailbox.org) Received: from smtp7.openmailbox.org (smtp7.openmailbox.org [62.4.1.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C79B8A9A for ; Tue, 20 Oct 2015 09:18:23 +0000 (UTC) (envelope-from hoplaahei@openmailbox.org) Received: by mail2.openmailbox.org (Postfix, from userid 1004) id 85B042AC1689; Tue, 20 Oct 2015 10:00:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1445328008; bh=ulFbQLj3Wzv6KUbyL/uywz5J4LeMHQm+FE1n0TzjUvg=; h=Date:From:To:Subject:From; b=D0zRmpNSOIGzcJu6Sjwptlg6NVLA+eIGQSSRQ9gZh2HkiX6aVm5HpgUDlKxVPazc1 gDB0xRFuUp3yixsesQSgkT/4SFe9CpWW+BKp7b5ZGDlR2ube9KkBRvHFZRmh38kPDB 5mvhNJBfsTMjxS6sHadYUTqvcREZRgWLh0V+zlQc= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on openmailbox-b2 X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=ALL_TRUSTED,BAYES_50, DKIM_ADSP_ALL autolearn=no autolearn_force=no version=3.4.0 Received: from www.openmailbox.org (openmailbox-b2 [10.91.69.220]) by mail2.openmailbox.org (Postfix) with ESMTP id DD7132AC1814 for ; Tue, 20 Oct 2015 10:00:07 +0200 (CEST) Authentication-Results: mail2.openmailbox.org; dkim=none reason="no signature"; dkim-adsp=fail (unprotected policy); dkim-atps=neutral MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 20 Oct 2015 09:00:06 +0100 From: hoplaahei@openmailbox.org To: freebsd-ports-bugs@freebsd.org Subject: Firefox 40.0.3 extremely high CPU usage on HTML 5 videos (Intel driver) Message-ID: X-Sender: hoplaahei@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 09:18:24 -0000 Machine is Thinkpad x230 i5-3320M HD 4000 graphics with Intel driver
glxinfo | grep render
direct rendering: Yes
     GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
     GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
     GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
     GL_NV_conditional_render, GL_NV_depth_clamp, 
GL_NV_packed_depth_stencil,
     GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
     GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,
     GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, 
GL_OES_mapbuffer,
Firefox CPU usage is extremely high playing HTML 5 videos (150% in htop) until recompiling audio/alsa-plugins with:
BLKCNT_P2=on: Restrict number of fragments to ^2 aligned
BUFSZ_P2=on: Restrict buffer size to ^2 aligned
This reduces CPU usage to around 25%, which is tolerable.