You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
darwin nightly leg: raylib spiral UAT cannot open a window on the hosted macOS runner (NSGL: no suitable pixel format) #1375
On every nightly Release run whose darwin-aarch64 leg reaches Release UAT (macOS) (35420376179, 35423258758, 35428855763, 35471773004), release-raylib-spiral-uat fails before drawing anything:
INFO: Initializing raylib 6.0
INFO: Platform backend: DESKTOP (GLFW)
WARNING: GLFW: Error: 65545 Description: NSGL: Failed to find a suitable pixel format
WARNING: GLFW: Failed to initialize Window
WARNING: SYSTEM: Failed to initialize platform
raylib spiral UAT failed: window not created (no OpenGL 3.3 context)
error: build.w target 'release-raylib-spiral-uat' failed with exit code 1
(The two later runs never got that far: 35512407331 stopped at :test on behav_c_import_scales_linearly.w, and 35616828206 stopped at the SDK fetch on an HTTP 504, fixed by #1256.)
Cause (as far as the logs show)
nightly-release.yml runs the darwin leg on macos-latest and assumes that "the runner's session has a WindowServer; the spiral opens a real window" (comment on the Release UAT (macOS) step). The session has a WindowServer, but NSGL finds no pixel format for a 3.3 core context. That fits the hosted arm64 macOS runners, which are VMs without GPU passthrough. The fixture does what it should: it fails loudly because it has no window. It passes on Eric's Mac (#1191).
The Linux legs get a GL context from Mesa llvmpipe under Xvfb, and the Windows legs from the copied Mesa llvmpipe DLLs. The macOS leg has no software GL, so the UAT cannot pass on this runner.
Not a fix
Skipping the spiral on darwin CI, or rewriting the fixture, weakens a gate or edits a user program. Both are ruled out (CLAUDE.md, Anti-Patterns).
Options for Eric
Run the darwin release UAT on a runner that has a GPU: a self-hosted Mac, or Eric's machine as the local-first release host (memory: "Release process: local-first"; the darwin asset is already published from the Mac).
Give the macOS leg a software OpenGL 3.3 (a Mesa llvmpipe build for macOS that GLFW can load), the way the other legs have one.
Treat the darwin nightly UAT as covered by the local release battery and say so in the runbook. This is a scope decision for Eric.
Ruling (Eric, 2026-09-29): drawing a spiral must not require a GPU. raylib ships a software rasterizer, src/external/rlsw.h; the darwin release-UAT lane builds raylib with it so the spiral draws on the hosted runner. The UAT program is untouched (it is a contract). Implementation goes to the next batch.
Activity
ehartford commentedon Sep 29, 2026
Ruling (Eric, 2026-09-29): drawing a spiral must not require a GPU. raylib ships a software rasterizer,
src/external/rlsw.h; the darwin release-UAT lane builds raylib with it so the spiral draws on the hosted runner. The UAT program is untouched (it is a contract). Implementation goes to the next batch.with get: WITH_GET_CMAKE_<PACKAGE> carries CMake variables into a C p…
nightly-release: the macOS release UAT builds raylib on its software …
with get: WITH_GET_CMAKE_<PACKAGE> carries CMake variables into a C p…
nightly-release: the macOS release UAT builds raylib on its software …
with get: WITH_GET_CMAKE_<PACKAGE> carries CMake variables into a sou…
macOS builds and links with no host toolchain: the SDK's sysroot and …