Chromeless: Support for WebGL when running on Lambda

Created on 18 Aug 2017  Â·  5Comments  Â·  Source: prisma-archive/chromeless

I'm trying to grab a screenshot of a webgl rendered UI and it doesn't appear to work on the when running on the example Lambda playground. Here's an example playground trying to screenshot a webgl map: example

An the image I get (note error message):

I assume this is because Chrome is being launched with the ---disable-gpu flag set. Is there a way to override this behavior?

Proxy enhancement external issue

Most helpful comment

Hello @adieuadieu @wmdmark --- Did you get manage to make it work ?
I a having a similar issue while trying to display a page using a webGL component.

All 5 comments

@pklingem I've seen that but it actually works just fine w/out that flag. Is there any way to disable it currently?

Hi @wmdmark — Outside of the Lambda context, the --disable-gpu is not set. However, currently within the Lambda contexts, --disable-gpu is required or Chrome won't run correctly. This may be resolved soon with some coming updates upstream in serverless-chrome.

Hello @adieuadieu @wmdmark --- Did you get manage to make it work ?
I a having a similar issue while trying to display a page using a webGL component.

I just wanted to say that I ran into the same issue. If anyone has a workaround, that would be greatly appreciated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

seangransee picture seangransee  Â·  5Comments

Kikobeats picture Kikobeats  Â·  4Comments

maruidea picture maruidea  Â·  6Comments

eitansela picture eitansela  Â·  4Comments

just-boris picture just-boris  Â·  5Comments