From owner-freebsd-chromium@FreeBSD.ORG Sat Feb 2 17:31:12 2013 Return-Path: Delivered-To: freebsd-chromium@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 26822E7 for ; Sat, 2 Feb 2013 17:31:12 +0000 (UTC) (envelope-from fbsd@opal.com) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) by mx1.freebsd.org (Postfix) with ESMTP id F2E72D1F for ; Sat, 2 Feb 2013 17:31:11 +0000 (UTC) Received: from pool-151-203-245-187.bos.east.verizon.net ([151.203.245.187] helo=homobox.opal.com) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U1gvh-000CcM-1k for freebsd-chromium@freebsd.org; Sat, 02 Feb 2013 17:31:05 +0000 Received: from shibato (shibato.opal.com [IPv6:2001:470:8cb8:4:221:63ff:fe5a:c9a7]) (authenticated bits=0) by homobox.opal.com (8.14.4/8.14.4) with ESMTP id r12HV1ju032487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 2 Feb 2013 12:31:02 -0500 (EST) (envelope-from fbsd@opal.com) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 151.203.245.187 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+f8u1Yufn8SyfAmobphzjE Date: Sat, 2 Feb 2013 12:31:01 -0500 From: "J.R. Oldroyd" To: freebsd-chromium@freebsd.org Subject: webGL in chrome Message-ID: <20130202123101.59c2ee40@shibato> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (homobox.opal.com [IPv6:2001:470:8cb8:4::1]); Sat, 02 Feb 2013 12:31:02 -0500 (EST) X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on homobox.opal.com X-BeenThere: freebsd-chromium@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Chromium issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 17:31:12 -0000 Hi all, I am trying to enable webGL. Sys here is 9.1-REL, video is radeon. Chrome is chromium-24.0.1312.57. Chrome's chrome://gpu was reporting red "Unavailable. Hardware acceleration disabled" for most of the items. The error log showed my glx was < 1.3. glxinfo showed server was 1.2. Fixed that by adding WITH_NEW_XORG to /etc/make.conf and rebuilding ports graphics/libdrm, graphics/dri, graphics/libGL, x11-servers/xorg-server and x11-drivers/xf86-video-ati and now have glx 1.4 for both client and server. In chrome://gpu all entries now show green "Hardware acceleration enabled" except for Panel fitting. However, webGL pages still report that the browser does not support webGL and there are repeated messages in the log: [81426:255882240:0201/221740:ERROR:context_group.cc(92)] : ContextGroup::Initialize failed because maximum renderbuffer size too small. [81426:255882240:0201/221740:ERROR:gles2_cmd_decoder.cc(2012)] : GpuScheduler::InitializeCommon failed because group failed to initialize. In the chrome://flags settings, I have enabled "Override software rendering list", "GPU compositing on all pages" and "Threaded compositing". Is there something else that I need to recompile? Or some other flag to set to increase this renderbuffer size? FWIW, all the graphics/mesa-demos programs run well. Thanks, -jr