# 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](https://github.com/vlang/vinix/blob/c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75/scripts/build-x11-aarch64.sh) · [Desktop overlays](https://github.com/vlang/vinix/blob/c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75/scripts/build-desktop-aarch64.sh) 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](https://github.com/vlang/vinix/blob/c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75/build-support/init-aarch64/initcore/core.v) · [Wine host](https://github.com/vlang/vinix/blob/c34a6707e1d8d3a23d0b1bfe6e6dbb16290e4f75/build-support/xorg-server/winehost/core.v) · [Mesa EGL linkage](https://gitlab.freedesktop.org/mesa/mesa/-/blob/mesa-24.2.8/src/egl/meson.build) 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. ```sh v run tests/x11/release-elf.v "$release_assets" "$reference_apks" "$new_output" ``` ## Signed packages in a Vinix guest The x86_64 SPIR-V Tools port assembled, validated and disassembled a Vulkan fragment shader during the build. A clean signed install audited four packages, 371 owned paths and 26 target ELFs, and the installed assembler reported SPIR-V 1.6 support. The archive `spirv-tools-1.3.296.0-1-x86_64.pkg.tar.zst` has SHA-256 `ed3f6e35fc1afc58617c768742ebd27c7d4e5baffcc877271fc03f32fbf61296`. See `xorg/spirv-tools-x86_64-01`, receipt SHA-256 `163e2feb20c2c3a547c381f4d38dd142ff3b868d4fde450a38851f3b6d76bba2`. The AArch64 source queue built `xvfb-21.1.16-2-aarch64.pkg.tar.zst` against a signed 31-package SDK with the target font index. The archive passed the 16 KiB ELF page audit and has SHA-256 `90dcce49c2c908a4118ab6211bfc687accf515a41095f87b669a2de81df84bdc`. The queue receipt is `xorg/arm/abi16/source-queue-01/receipts-06.sha256`, SHA-256 `20a5e0b48886e4697abc8752a7b78318aa06c8eda2ba0c9bf7ff30e09328f7dc`. The AArch64 guest booted a fresh 40-package signed root with that Xvfb archive. `tests/x11/headless.sh` used `client.v` to read back a pixel, loaded and queried an X resource with xrdb, and verified Xvfb refused a client without the cookie. See `xorg/arm/abi16/guest-xvfb-02`, receipt SHA-256 `19d8b95839fa53ed8ae58aa2516635a6da1caa106833d084571da913cca26089`. The ext2 image and firmware variables have checksum-verified compressed copies and restoration metadata in `foundation/archived-arm-xvfb-guest-assets-01`, receipt SHA-256 `5e1d06fa28d11e32cf08d00ab8140395139556cad9f6179e713851a14f0f7c5b`. 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`. The LLVM fixture compiles a two-argument integer addition function from LLVM IR, obtains its native address and calls it with positive and negative inputs. Before using it on the candidate runtime, we ran it twice in the build-only Alpine environment, once with `libLLVM-17.so` and once with `libLLVM.so.19.1`. Both returned the expected sums. The per-version `DT_NEEDED` records and transcripts are under `~/.local/state/vinix/ports/musl-busybox-CqkBEA/xorg/worker/llvm-probe-fixture-02`. Runtime acceptance also requires repeating these executions with the source-built Vinix packages on each release kernel. On AArch64, libelf 0.191-2 built from elfutils and installed with its signed libraries. The audit covered 11 package records, 1,311 owned files and links, and 18 target ELFs. The package page check is in `xorg/arm/abi16/logs/libelf-pages.log`, SHA-256 `3a230cbe92e1469fbdeefb23d1625d1ffcb595fc0c91caa97a59376b9067c477`. The cold AArch64 LLVM build SDK installed eight signed packages, including GCC's shared runtime, libffi, libxml2, XZ, zlib and Zstd. The worker counted 1,413 owned files and links and 21 target ELFs. The host tools verified CMake 3.28.3 from the pinned Ubuntu archive and the matching 17.0.6 and 19.1.4 TableGen programs in the private build environment. The SDK and host-tool receipts are under `xorg/llvm/arm-runtime-sdk-01` and `xorg/llvm/arm-host-tools-01`, manifest SHA-256 `85a0d963c61842d6696c92bd488f3a7b52f5b8441f172a4ff0ced50ca27a32e9` and `f8d1d5aaafbde5b748e8fa7c9888dbe9761ead42001b89d477120b24ecbbe283`. Keep the completed LLVM runtime build tree until its development archive is packaged. Install the signed runtime in the development SDK and set `VINIX_LLVM_BUILD` to the runtime's CMake build directory inside the same worker environment. The recipe compares the built shared object to the installed runtime and asks Ninja for the headers and `llvm-config` using the existing objects. With the variable unset, the source recipe builds those targets independently. Both recipe fixtures reused a configured tree, packaged headers and a versioned `llvm-config`, and rejected a different runtime file. See `xorg/llvm/reuse-dev-fixture-02`, receipt SHA-256 `8123239e3d4ac7ed770df0f1be8d03bf9e214029e22596438a5b3f105033e9b6`. The release builds and LLVM guest checks are separate gates. The Mesa 24.2.8 recipe compiles Gallium once and uses one Meson installation to produce `mesa` and `mesa-gallium-sdk`. EGL, GLES and GBM stay in the runtime archive. The SDK archive carries OSMesa and XA for builds that request them. Both architecture plans resolve the split outputs to the same recipe, and the install fixture confirmed that the two outputs own disjoint paths. See `foundation/release-split-plan-01`, receipt SHA-256 `124659b0ae78559071f072e3845c4c5903da1b2f9a0b523931e422b21ac3b585`. The real Mesa binaries still need the LLVM dependencies and their guest graphics checks. For those checks, install `vinix-release-x11` and `busybox-init` from the signed feed into a clean root and audit it. Build `egl.v` and `glx.v` against that SDK and place the executables at `/vinix-egl-check` and `/vinix-glx-check` in a disposable guest root. Boot `graphics.sh` using `tests/disk-root.py`. The fixture reads back the expected pixel from current Mesa's surfaceless EGL and again from an authenticated indirect GLX connection to `Xvfb-glx` using the legacy DRI directory. For the on-demand release test, combine the signed desktop and X11 package lists with `tests/combined-feed.py --publish-only`. Pass the combined feed to `tools/desktop-root.py` to install the desktop metapackage and embed the signed feed. Add the native desktop programs and framebuffer probe as in `tests/desktop-guest.py`. Set `VINIX_DESKTOP_NEXT_FIXTURE` in the desktop fixture to the guest path of `graphics.sh` and set `VINIX_X11_INSTALL_FROM_PKG=1` in that script. With `tests/disk-root.py --desktop-init --space-for "$x11_sdk/root"`, the guest must reach graphical registration, resolve `x11` by exact name, install the signed X11 metapackage, verify the server and Mesa owners, and pass both rendered pixel checks. Both architectures passed the desktop PID 1 and framebuffer checks from a disposable ext2 image. Those runs used the five checksum-pinned native programs from the November 28 release. The x86_64 chained fixture also ran its second script after registration and verified the larger disk size. A separate test published a signed feed with `--publish-only`, then installed musl and netbase into a clean root using the pinned public key. See `foundation/native-desktop-disk-path-01`, `foundation/native-desktop-chained-fixture-01` and `foundation/combined-publish-only-01`, receipt SHA-256 `86c564cb9415859d2411343f74b8ad8926418c16bedb4a612aab85db46137ccd`, `cb2d6c6afbdf2733676080f49792aa11b10907d1778d2bc3d01ae3317874a7e0` and `afde40678739b96cf16db58803ef87447ae4499a9e70f3425814a244e12d6883`. The complete desktop and X11 transaction still needs both graphics feeds. Set `VINIX_MESA_NATIVE_FILE` to a Meson native machine file whose `pkg_config_path` includes a build-host `wayland-scanner.pc`. The worker reused the source-built x86_64 Wayland scanner from an audited signed root. Meson found the native scanner through that file, found the target Wayland client in the SDK, and generated a protocol header. Mako and Intel CLC run in the build environment. See `xorg/mesa-host-tools-03/generator-check`, receipt SHA-256 `8df63367710d4ead9e968d30fe97eb3c63b45b4eba0f444447f5bf75b0cd4229`. The refreshed source plan includes the AArch64 GCC runtime release 2 and the split Mesa archives. The graphics dependency inventory found ready archives for 88 x86_64 and 71 AArch64 package names at their planned versions. AArch64 libxml2 had two different archives for 2.13.9-1. The graphics queue uses the archive already installed in the audited LLVM SDK, SHA-256 `b5cda4ef51da15ed533f54354aa54bdadf0b604fa3db5cfa1b903ed914206a5e`. See `xorg/mesa-dependency-pool-01` and `release-inputs/upstream-7f173671/order-02`, receipt SHA-256 `b5c322922dc200c50a7ac7d36fa9f07f5c09a699c1ca40dd7e13a6182bd01959` and `0432bbc6fff489421b88046086cd2de6f8cddc6242fd40605c2bbc70b2d0ff2b`.