1 branch
Tree Top files
Code
Clone with HTTPS:
Clone with SSH:
diviocity Record AArch64 elfutils and private Mesa host tools ed1dfcb9a7fc3e3ff3d657be6e664b49a6f51452 5 days ago
..
README.md 17.4 KB
bundle.py 3.3 KB
client.v 2.99 KB
egl.v 2.98 KB
font-index.v 1.45 KB
glx.v 2.26 KB
graphics.sh 1.63 KB
headless.sh 1.3 KB
llvm.v 2.07 KB
modeline-font.sh 599 bytes
release-elf.v 4.48 KB

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 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. To package from that tree, set VINIX_LLVM_BUILD to its CMake build directory inside the original worker environment. The LLVM 17 and 19 recipes use CMake's install components so the packaged library and llvm-config have the installed search path. The development recipe compares the CMake-installed library to the signed runtime in its SDK before Ninja builds the remaining llvm-config target and headers. With the variable unset, the recipes configure and build their own targets.

The x86_64 worker packaged llvm19-libs 19.1.4-2 and llvm19-dev 19.1.4-1 from the completed source tree. The clean, signed runtime install passed the ELF and ownership audit. Adding the signed development archive in a second clean root brought the totals to ten packages, 3,450 owned paths and 23 target ELFs. See xorg/llvm/work/runtime19-01/dev-reuse-01, receipt SHA-256 03e0efcaf18a9b2226c75e76a6a29089cc1d45965daabc96a64b6d7c9f00994d.

The x86_64 QEMU guest ran the installed llvm-config-19 --version and executed both calls through the LLVM-generated native function in llvm.v. The worker linked the probe using the installed development headers and library. See xorg/llvm/x86_64-guest19-03, receipt SHA-256 9e299ddd84525c7c95bbcfce1c5b9ea7729d13c2f6e039d93b9484758c9cbd89.

The corresponding client and guest disk are archived in foundation/archived-x86-llvm19-qemu-roots-01, receipt SHA-256 68071f5978f8ecbacced1469e402ef75b8e2485aedf4a086dafcd6fc60ff7ad2. Extract the checked archive from the worker state directory before replaying the disk receipt check.

The AArch64 worker packaged llvm17-libs 17.0.6-2 and llvm17-dev 17.0.6-1 from completed objects. The clean signed development root passed the 16 KiB ELF and ownership audit with ten packages, 3,298 owned paths and 23 target ELFs. See xorg/llvm/work/arm-dev-reuse-01/17, receipt SHA-256 34bc22cabc4b6d42c98e8a736dfee54f5a0e0b70873b5d3218da09834b66e544.

The AArch64 QEMU guest ran its installed llvm-config-17 and executed the generated addition function for both argument pairs. See xorg/llvm/aarch64-guest17-02, receipt SHA-256 c68241b32c6ae8aed2ac58557e23ff89cbbf14df0fc79347087342b86c7fafc1. The two SDK clients, the guest client and its ext2 disk are recoverable from foundation/archived-llvm-arm17-test-roots-01, receipt SHA-256 108ec554b287fd74aeb24a45712286a327ed9b3820784fd9fb7844aa3f423af4.

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.

Use the same signed feed for the downloadable X11 sidecar. Cold-install vinix-release-desktop into one client. Into a second client, cold-install both vinix-release-desktop and vinix-release-x11 with the target font hooks enabled.

python3 tools/bundle-x11.py "$arch" "$desktop_client" "$x11_client" "$auditor" "$output"

The tool audits both clients and checks the package versions, modes, link targets and bytes shared with the desktop. It writes the new paths to a root-owned archive under the published name vinix-x11-amd64.tar.gz or vinix-x11-arm64.tar.gz, with a matching checksum file. The package manager installs from the signed feed. Run python3 tests/x11/bundle.py for the archive layout, link preservation and rejection checks. The worker fixture is in foundation/x11-bundle-fixture-01, receipt SHA-256 0a9abdd8e27a93cc6bb6926b1a95b9c7a46e281274c9fd7015a343c8255781dc.

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.

When using Bison from the worker's private host sysroot, set BISON_PKGDATADIR to that sysroot's usr/share/bison and M4 to its usr/bin/m4. Bison's compiled-in paths refer to the original host locations. The AArch64 legacy Mesa build hit this while generating the GLSL preprocessor parser. The worker then generated a C parser and header with both private paths set. See foundation/mesa-bison-host-check-02, receipt SHA-256 2006fc3964a1dd2a17c11ea0f78208a677a3cc024825d2af416097db41fd1df0.

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.