Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 12:31:01 -0500
From:      "J.R. Oldroyd" <fbsd@opal.com>
To:        freebsd-chromium@freebsd.org
Subject:   webGL in chrome
Message-ID:  <20130202123101.59c2ee40@shibato>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130202123101.59c2ee40>