Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update script to support Web GL #8

Open
ghost opened this issue Dec 4, 2017 · 6 comments
Open

Update script to support Web GL #8

ghost opened this issue Dec 4, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Dec 4, 2017

In this post I provided a way to support WebGL in Chromium for lambda: https://bugs.chromium.org/p/chromium/issues/detail?id=617551

Please add me to a project - I will update the script:

  1. Build osmesa shared lib: libOSMesa32.so.8.0.0
  2. Create symbolic link: libosmesa.so -> libOSMesa32.so.8.0.0
  3. Package libosmesa.so and libOSMesa32.so together with headless_shell
@Kikobeats
Copy link

Can you make a PR? 🙏

@AndrewGrachov
Copy link

AndrewGrachov commented Feb 8, 2018

Yeah, I'm also interested

@ghost
Copy link
Author

ghost commented Feb 11, 2018

Actually the script does not change. You use it to package headless_shell. Then you need to follow these instructions to build libOSMesa: https://www.mesa3d.org/install.html
Then do the following:

  1. Copy libOSMesa32.so.8.0.0 (or other version if built it) next to headless_shell
  2. Create symbolic link libosmesa.so -> libOSMesa32.so.8.0.0
  3. Package headless_shell, libosmesa.so and libOSMesa32.so.8.0.0 together
  4. Remove Puppeteer launch option --disable-gpu in code because you do not want to disable and use libosmesa.so lib to run GPU on Lambda :)

@radzionc
Copy link

radzionc commented Aug 1, 2018

@Mykolas-Molis, can you share libosmesa.so file, since it turned out to be not so easy to build.

@MaksimMarkevich
Copy link

@Mykolas-Molis +++ to RodionChachura post

@mykolasmolis
Copy link

I forked the project and added library here: https://github.com/Mykolas-Zenitech/puppeteer-lambda-starter-kit/blob/master/chrome/libosmesa.so.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants