Open ghost opened 6 years ago
Can you make a PR? 🙏
Yeah, I'm also interested
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:
libOSMesa32.so.8.0.0
(or other version if built it) next to headless_shell
libosmesa.so
-> libOSMesa32.so.8.0.0
headless_shell
, libosmesa.so
and libOSMesa32.so.8.0.0
together--disable-gpu
in code because you do not want to disable and use libosmesa.so
lib to run GPU on Lambda :)@Mykolas-Molis, can you share libosmesa.so file, since it turned out to be not so easy to build.
@Mykolas-Molis +++ to RodionChachura post
I forked the project and added library here: https://github.com/Mykolas-Zenitech/puppeteer-lambda-starter-kit/blob/master/chrome/libosmesa.so.tar.gz
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: