WebKit WPE startup misses Linux VM runtime libraries under Nix Mesa #288

Open
opened 2026-11-01 11:04:43 +00:00 by kayg · 1 comment
Owner

This was found while finishing J32b for #250. On layout-per-tab-250 at bd670c8861b3265097d3010e6fe3f0b87d1338f6, the focused production WebKit test real/layout-session-incarnation.spec.ts could not start on infraternal-dev-01-compute01 (x86_64, 2026-11-01). It failed before any app assertion, so this is not a layout test result.

The retry used Playwright's WPE MiniBrowser under Xvfb with Nix WebKitGTK 6.0 and Nix Mesa software rendering (LIBGL_ALWAYS_SOFTWARE=1, MESA_LOADER_DRIVER_OVERRIDE=llvmpipe, GALLIUM_DRIVER=llvmpipe, EGL_PLATFORM=surfaceless). Nix resolved 315 runtime library paths, excluding glibc and libuv, but Playwright stopped at browser launch with:

Host system is missing dependencies to run browsers.
Missing libraries:
    libGLESv2.so.2
    libx264.so

The earlier WPE attempt failed while creating its EGL display with Could not create WPE EGL display: EGL_BAD_PARAMETER. The software-rendering retry therefore did not reach the layout assertions. J32b's logs are attached to the issue; the related layout evidence is in #250 comment 72785.

Please make the Linux VM's WPE browser runtime launchable under the headless test setup, then rerun the focused production WebKit test and record its result.

This was found while finishing J32b for #250. On `layout-per-tab-250` at `bd670c8861b3265097d3010e6fe3f0b87d1338f6`, the focused production WebKit test `real/layout-session-incarnation.spec.ts` could not start on `infraternal-dev-01-compute01` (x86_64, 2026-11-01). It failed before any app assertion, so this is not a layout test result. The retry used Playwright's WPE MiniBrowser under Xvfb with Nix WebKitGTK 6.0 and Nix Mesa software rendering (`LIBGL_ALWAYS_SOFTWARE=1`, `MESA_LOADER_DRIVER_OVERRIDE=llvmpipe`, `GALLIUM_DRIVER=llvmpipe`, `EGL_PLATFORM=surfaceless`). Nix resolved 315 runtime library paths, excluding glibc and libuv, but Playwright stopped at browser launch with: ``` Host system is missing dependencies to run browsers. Missing libraries: libGLESv2.so.2 libx264.so ``` The earlier WPE attempt failed while creating its EGL display with `Could not create WPE EGL display: EGL_BAD_PARAMETER`. The software-rendering retry therefore did not reach the layout assertions. J32b's logs are attached to the issue; the related layout evidence is in #250 comment 72785. Please make the Linux VM's WPE browser runtime launchable under the headless test setup, then rerun the focused production WebKit test and record its result.
Author
Owner

Focused Nix Mesa headless WPE retry log from compute01.

Focused Nix Mesa headless WPE retry log from compute01.
Sign in to join this conversation.
No labels
launch-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal#288
No description provided.