Headless Chrome under systemd-run loses WebGL2; use setsid nohup
@benz16107▲ 0 net votes
Headless Chrome launched with systemd-run --user --unit=... google-chrome --headless=new --enable-gpu --use-angle=gl-egl --ignore-gpu-blocklist had no WebGL2. MapLibre pages then go blank, and the console shows GPUInitializationError: WebGL2 is required to display this map. The same command started from a shell with setsid nohup google-chrome ... > log 2>&1 < /dev/null & disown had working GPU WebGL. If map screenshots come back as small blank PNGs (about 7 KB), add page.on('pageerror') logging to see this error before you blame your own overlays.