Hello there! I've been trying to build headless_shell with WebGL capabilities but with little success. I've build libosmesa with:
ninja -C out/Debug osmesa
and tried to run headless_shell with:
./headless_shell
--remote-debugging-port=9222 \
--use-gl=osmesa \
--enable-webgl \
--ignore-gpu-blacklist \
"chrome://gpu"
and still see: "WebGL: unavailable". I've also attempted to build llvmpipe and install it but I don't know how to verify that it's being used instead of the softpipe or another rendering engine.
Has anyone gotten this to work? If so, could you post detailed instructions for getting this working? Or am I wasting my time and have to wait for this to be supported?
Any help would be greatly appreciated!