[Bug]: WebGL fails in GitHub Actions on macOS (launcher by Web Test Runner) #30585
Open
Description
Version
1.39.0
Steps to reproduce
This build is failed (playwright is loaded by @web/test-runner
using the @web/test-runner-playwright
plugin):
https://github.com/lume/lume/actions/runs/8870663403
In this next commit I removed playwright (so web test runner uses its own Chrome launcher) and the WebGL problem is gone (it fails for other reason but the test-runner step passed):
https://github.com/lume/lume/actions/runs/8870675038/job/24352740293?pr=292
Expected behavior
I expected playwright to work fine, without a WebGL error
Actual behavior
WebGL didn't work. The errors look like this:
THREE.WebGLRenderer: A WebGL context could not be created. Reason: Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Google Inc. (Google), GL_RENDERER = ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0) (0x0000C0DE)), SwiftShader driver-5.0.0), GL_VERSION = 21.0.19, Sandboxed = no, Optimus = no, AMD switchable = no, Reset notification strategy = 0x8252, ErrorMessage = BindToCurrentSequence failed: .
THREE.WebGLRenderer: Error creating WebGL context.
Additional context
This is playwright being loaded by Web Test Runner. I'm not sure if Web Test Runner has to do with the cause of the issue.
Environment
I ran this inside GitHub Actions:
System:
OS: macOS 14.4.1
Memory: 2.69 GB / 7.00 GB
Binaries:
Node: 20.12.2 - ~/hostedtoolcache/node/20.12.2/arm64/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 10.5.0 - ~/hostedtoolcache/node/20.12.2/arm64/bin/npm
Languages:
Bash: 3.2.57 - /bin/bash