[chromium-discuss] Does Chrome Linux support WebGL now?

1,058 views
Skip to first unread message

Won Jeon

unread,
May 13, 2010, 2:40:08 PM5/13/10
to Chromium-discuss
Hello all,

I'm testing how WegGL works on Chrome on Linux. Based on the
information at http://www.m0interactive.com/archives/2009/10/26/how_to_enable_webgl_on_google_chrome.html,
I was able to run it on my Windows machine (with Nvidia GPU), but not
on my Linux machine (with Intel integrated video card). Does Chrome
Linux require a hardware accelerators for WebGL on Linux?

Regards,
Won

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Nicola D'Agostino

unread,
May 25, 2010, 1:55:20 PM5/25/10
to Chromium-discuss


On 13 Mag, 20:40, Won Jeon <wjj...@gmail.com> wrote:
> Hello all,
>
> I was able to run it on my Windows machine (with Nvidia GPU), but not
> on my Linux machine (with Intel integrated video card). Does Chrome
> Linux require a hardware accelerators for WebGL on Linux?

Good question. I'm also seeing a "No WebGL" found in my Ubuntu Linux
installation: in the past WebGL under Ubuntu sometimes worked in
Chromium
but mostly crashed the tabs*.
Has WebGL support been totally yanked off in Linux?

nda

*I have some screenshots on Flickr <http://www.flickr.com/photos/nda/
tags/webgl>

Nico Weber

unread,
May 25, 2010, 2:01:34 PM5/25/10
to nez...@gmail.com, Chromium-discuss
It works in some distros. There are a few bugs about this, e.g. http://crbug.com/44590 , http://crbug.com/40331 . This will improve as our webgl implementation matures.

Nicola D'Agostino

unread,
May 26, 2010, 4:26:43 AM5/26/10
to Chromium-discuss
On 25 Mag, 20:01, Nico Weber <tha...@chromium.org> wrote:
> It works in some distros.

Isn't there some kind of a list? Or maybe a suggested version?

I see from http://www.google.com/chrome?platform=linux&hl=it
that officially Debian/Ubuntu/Fedora/openSUSE are all supported but
from what I previously wrote it looks like some versions are less
functional.

>There are a few bugs about this, e.g.http://crbug.com/44590,http://crbug.com/40331. This will improve as our
> webgl implementation matures.

I hope so. :)

By the way, thanks.

nda

tbourget

unread,
Jun 11, 2010, 5:50:11 PM6/11/10
to Chromium-discuss
can you give the recipe how this is enabled? I see that --enable-webgl
works in both the dev channel chrome and in the ubuntu chromium-
browser apt.
but i fetched the recent sources of the browser and built for x64
export GYP_GENERATORS=make
export BUILDTYPE=Release
export GYP_DEFINES='target_arch=x64 werror='
gclient runhooks --force
cd src && make chrome

that browser did not have the support for webgl. the test page i use
has
canvas.getContext("experimental-webgl")
and that returns nothing.

any clue here?

-- trevor


On May 26, 1:26 am, "Nicola D'Agostino" <nez...@gmail.com> wrote:
> On 25 Mag, 20:01, Nico Weber <tha...@chromium.org> wrote:
>
> > It works in some distros.
>
> Isn't there some kind of a list? Or maybe a suggested version?
>
> I see fromhttp://www.google.com/chrome?platform=linux&hl=it
> that officially Debian/Ubuntu/Fedora/openSUSE are all supported but
> from what I previously wrote it looks like some versions are less
> functional.
>
> >There are a few bugs about this, e.g.http://crbug.com/44590,http://crbug.com/40331. This will improve as our
> >webglimplementation matures.

Nayan

unread,
Jun 15, 2010, 12:47:47 PM6/15/10
to tbou...@codeaurora.org, Chromium-discuss
Try passing 'in-process-webgl' flag also while launching chrome

./chrome --enable-webgl --in-process-webgl

Regards,
Nayan

--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
   http://groups.google.com/a/chromium.org/group/chromium-discuss



--
Regards,
_Nayan_

Reply all
Reply to author
Forward
0 new messages