1 branch
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
diviocity Exercise source-built AArch64 modeline and font tools in Vinix b4fd568c1462476d1a99ec90abaf0121e5eec87a 6 days ago
..

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.

The vinix-release-x11 metapackage selects Xorg with the fbdev module, both Xvfb variants, the Vinix session, the release clients and demos, and their runtime dependencies. It also selects XRandR, Xtrans and the GLU header found in both published sidecars. The bitmap files live in /usr/share/fonts/X11/misc. The metapackage exposes those same files and their maintained index at the published /usr/share/fonts/misc path. The header-only GLU package matched the published input on both architectures. Mesa supplies the published GL/osmesa.h header. The full GLU library, OSMesa, XA and LLVM development files remain build inputs.

The AArch64 metapackage also requires musl>=1.2.6-4 for the release kernel's 16 KiB memory pages. The native recipe evaluator checked this requirement and the common X11 selection for both targets. The staged font alias resolved the bitmap and its index from a signed installation. A complete install by name and functional guest tests on each architecture still require the release graphics packages to be built. Selection metadata and header comparison receipts are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/release-meta-04 and mesa-layout-and-glu.txt in its parent directory.

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"

Signed packages in a Vinix guest

The x86-64 client test booted Vinix with ten PGP-validated packages, including libX11, libfontenc and Pixman. client.v parsed a signed X geometry, mapped the Latin-9 euro character to Unicode and copied a one-pixel ARGB image through Pixman. All three checks passed. Its additional --display mode performs a pixmap readback against a running X server.

The font test installed mkfontscale and both bitmap font packages by name. The cold install ran the pacman hook inside the target root and produced 766 owned file and link paths across twelve signed packages. Inside Vinix, font-index.v ran the installed hook’s command with the cursor font present, removed and restored. It verified the header count, the cursor entry and the fixed-font entry. Both QEMU runs used one vCPU and 384 MiB. Receipts and serial transcripts are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/{x11-client-guest-04,font-index-guest-02}.

The headless server test installed xvfb, xauth, xset, xrdb and BusyBox by name. The x86-64 root contained 36 PGP-validated packages, 5,738 owned file and link paths and 68 target ELFs. On the release kernel, headless.sh started the packaged Xvfb with TCP disabled, authenticated a client, drew a pixmap and checked the returned pixel. The client also wrote and read back an X resource. A new connection with an empty authority file correctly failed. The 384 MiB, one-vCPU guest transcript and ISO checksum are under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/guest-xvfb-03.

On the released AArch64 kernel, modeline-font.sh ran the source-built cvt and bdftopcf executables that require 16 KiB page alignment. It computed a 640×480 modeline and regenerated the release PCF cursor from its upstream BDF. The cursor matched SHA-256 ad72bdd05b8baf48fd988dd08ee64a7b9ab4e04c3c72db3c4bc74ae01b7a6246. The one-vCPU, 384 MiB guest used seven signed packages containing 559 owned paths and twelve target ELFs. Evidence is under ~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/arm16-guest-tools-02.