The snap version of Chromium has now been updated to 98.0.4758.80. In this version, both --use-gl=swiftshader-webgl and --use-gl=swiftshader allow WebGL to work in headless mode.
I definitely tried --use-gl=swiftshader in my tests with the previous snap version (my software had already been setting that flag by default), and it appeared to have no effect. I've done some additional tests with 97.0 and 98.0 versions of google- chrome and the .deb Chromium packages, and as far as I can tell, in version 97.0 the swiftshader flag is ignored (whether I use it or not, the renderer is reported as ANGLE, but with additional information about a SwiftShader device and driver), but in 98.0 it is being respected again (when I use the flag, the renderer is reported as "Google SwiftShader"). But in addition to this, WebGL doesn't work in headless mode with the default ANGLE renderer in the Chromium snap (but it *does* work in both the Chromium .deb package and in Google Chrome). Is that a bug, or a permanent limitation of the snap (because of some security restriction)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959416 Title: WebGL broken in headless mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1959416/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs