webGL in chrome
J.R. Oldroyd
fbsd at opal.com
Sat Feb 2 17:31:12 UTC 2013
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
More information about the freebsd-chromium
mailing list