Skip to content

env: wasm_compilation browser run fails locally because WebGL2 is unsupported in headless browser #4983

Closed

Description

@zackees

Seen during goals #4761, #4763 and #4769: ci/wasm_compile.py examples/wasm --run printed 'Browser compatibility check failed: WebGL2 not supported', and FastLED.js rendered no frames within 30 seconds. This makes local ./test exit 1.

Refs #4760

Activity

  1. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    Investigation on the local Linux host (Playwright Chromium 153.0.8010.12): canvas.getContext('webgl2') and getContext('webgl') both return null. That holds with default launch args and also with --use-angle=swiftshader --enable-unsafe-swiftshader, --use-gl=swiftshader, --ignore-gpu-blocklist and --headless=new. Since even WebGL1 is unavailable, this is a host GL/ANGLE provisioning problem, not a FastLED regression. The likely fix is to provision Mesa/SwiftShader for the Playwright browser on this host. Changing launch args in ci/wasm_test.py would not help. Hosted CI is unaffected.

  2. moved this from Triage to Done in FastLED Trackeron Oct 31, 2026
  3. added a commit that references this issue on Nov 8, 2026
    01c5e41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions