vinix-ports / tests / x11 / README.md
24 lines · 16 sloc · 3.54 KB · dcd815febc9c0fadcbc28a167d162da9443733e6
Raw

X11 release checks

The X11 sidecar for Vinix release iso-2026-11-28 combines two Mesa releases. Keep their drivers and LLVM versions distinguishable when assembling the vpac sidecar.

Source Package owner Public paths and consumers
Mesa 24.0.9 mesa-glx-legacy /usr/lib/libGL.so.1, /usr/lib/libglapi.so.0 and /usr/lib/xorg/modules/dri/ serve the release Xorg and GLX-enabled Xvfb. The DRI driver requires libLLVM-17.so.
LLVM 17.0.6 llvm17-libs /usr/lib/libLLVM-17.so and its versioned alias serve the legacy DRI driver.
Mesa 24.2.8 mesa /usr/lib/libEGL.so.1 and /usr/lib/libgbm.so.1 both request libgallium-24.2.8.so. Ship that shared object under /usr/lib and keep current Mesa's DRI entry points under /usr/lib/mesa24/dri/.
LLVM 19.1.4 llvm19-libs /usr/lib/libLLVM.so.19.1 serves the current Gallium library.

Vinix’s ARM desktop assembly additionally copies the old DRI library and software entry points to /usr/lib/dri. It copies the old GL/GLAPI libraries to /usr/lib/vinix-x11-software and the current EGL/GBM libraries to that directory’s egl child. The X11 build removes the versioned current Gallium library before copying the old DRI tree. The optional Apple GPU image uses a separate Mesa overlay. X11 assembly · Desktop overlays

The comparison passed for the published amd64 and arm64 assets at Vinix revision c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75. On each architecture the sidecar’s EGL and GBM libraries byte-match the 24.2.8 packages. Each ELF requests libgallium-24.2.8.so, which in turn requests libLLVM.so.19.1. Neither library appears in the ISO, initramfs or sidecar path inventory. The DRI renderer present in each sidecar byte-matches the 24.0.9 package and requests libLLVM-17.so. Both Gallium versions also request libglapi.so.0 and libstdc++.so.6.

The release init sets LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri:/usr/lib/dri. The embedded Wine host gives the child Xvfb those same paths in reverse order. Both reach the legacy renderer. Mesa 24.2.8 links its EGL library directly with the current Gallium shared object, so the dynamic linker also needs that object before the surfaceless driver can initialize. Vinix init · Wine host · Mesa EGL linkage

The worker retains the extracted files and receipts under musl-busybox-CqkBEA/xorg/release-elf-01. The local receipt copy is under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/release-elf-01. The SHA-256 digests of the per-architecture SHA256SUMS manifests are 5da28c971951958f0108714675ac446e5b40596fbcbe51a1be7040efb0fcf1d8 for amd64 and bab53968719220861d2c1967ff45ae571d64f952a1ed47838a6710e8111573b5 for arm64.

To reproduce it, supply the two original sidecars, per-architecture inventories from the release audit, and the corresponding reference APKs. The command preserves the ELF headers, dynamic sections, matched paths and SHA-256 values.

v run tests/x11/release-elf.v "$release_assets" "$reference_apks" "$new_output"