Files
osyandClaude Opus 5.5 1d97222447 build-viogpu-driver: build with utmapp/build-viogpu3d; check Vulkan too
The driver build moved into utmapp/build-viogpu3d (build.ps1), which
builds Neptune and Venus from utmapp/mesa and the KMD from
utmapp/viogpu-wddm, packages, catalogs and signs them, and stamps every
binary with its commit. The harness now only gets the sources to the dev
VM and the packages back:

- build-drivers.sh takes the Mac checkouts (~/Documents/build-viogpu3d,
  viogpu-wddm, mesa by default; worktrees with --build/--kmd/--umd) and
  passes everything else to build.ps1. The VM keeps git clones on its own
  disk (never the SSHFS share: the KMD builds in place); each run fetches
  GitHub and a bundle of whatever GitHub lacks, and checks out the Mac's
  exact state. Uncommitted changes become a work-in-progress commit, so
  they stay uncommitted on the VM and the stamp ends in "+".
- Packages land in ~/.utmapp-bot/drivers/<Os>/<driver>-<package>/ with
  build-viogpu3d's manifest beside them; `utmbot install` names a build
  from that manifest.
- Removed: guest/build-drivers.cmd and verify-package.ps1 (build.ps1
  checks the package against its INF and the UMD version against
  DriverVer, and fails on a signing error), the build-mesa clone, and the
  dev VM's system-wide meson/mako/pyyaml, CMake and 7-Zip, which only
  build-mesa's LLVM build needed (build.ps1 keeps Meson in a venv).

Tested end to end: -Target all,viogpudo -Arch all from scratch, a no-op
rebuild (29 s), a dirty Mesa tree (neptune_umd*.dll stamped
git-68b837cda+), -Target kmd keeping the UMD's own revision, -Os Win11,
and an unpushed commit from a worktree. On the test VM the arm64x package
installs, D3D11/12 pass, and Time Spy GT1 / Fire Strike GT1 match the
last build-mesa package within noise (24.53 vs 24.54, 50.64 vs 50.70 fps).

Vulkan: vkreadback now builds for Windows (ARM64 and x64, against the
Khronos headers in the Mesa checkout and an import library made from the
functions it calls) and prints the ICD's driverInfo. Both pass on the new
package (x64 through the ARM64X ICD's ARM64EC view): "venus, Mesa
26.1.0-devel (git-68b837cda8)". `utmbot verify` runs it; the released
guest tools of 2026-10-29 register an ICD manifest the loader cannot
resolve, so for them it reports VULKAN FAIL without failing the check.

The skill documents where a user finds the commit: the product version
of viogpu3d.sys and neptune_umd.dll (with a one-line PowerShell check),
the installed INF's header, and Venus' driverInfo; Device Manager,
dxdiag and pnputil show only the shared version number.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-17 01:02:59 -08:00
..