Skip to content

Add Apple Silicon video-decoder firmware and VA-API packages - #451

Open
scottjones wants to merge 1 commit into
omacom:masterfrom
scottjones:contrib/avd
Open

scottjones wants to merge 1 commit into
omacom:masterfrom
scottjones:contrib/avd

Conversation

@scottjones

Copy link
Copy Markdown
Contributor

Adds the two packages used by Omarchy Mac for Apple Video Decoder support:

  • avd-fw 0.1 builds AsahiLinux's MIT-licensed replacement firmware with Clang/LLVM. The raw firmware is architecture-independent; no Apple firmware extraction is involved.
  • libva-v4l2_request-avd 1.3 builds the sofus13 fork with AVD fixes for aarch64. It provides/conflicts with libva-v4l2_request and installs asahi_drv_video.so as an alias of the VA-API driver so libva can discover it on Apple Silicon.

Both packages track upstream git tags. The VA-API package declares rebuild_on: ["libva"] because its exported driver entry point follows libva's ABI.

Validation

  • Both recipes built successfully with the existing upstream ARM builder image and fresh containers:
    OMARCHY_SKIP_BUILDER_IMAGE=1 bin/build --arch aarch64 --package avd-fw libva-v4l2_request-avd
  • Firmware archive contains six images under /usr/lib/firmware/apple, including avd-fw-v2-t0.bin, all mode 0644.
  • Driver archive contains an AArch64 shared object, the expected VA driver entry point, and the correct Asahi symlink.
  • Both tag watches report current versions; upstream's 22 release-watch regression tests passed.

Ported from omarchy-mac/omarchy-pkgs-aarch64. Physical decode/playback has not been requalified in this contribution pass. A compatible kernel with Apple Video Decoder support is still required; these packages do not supply that kernel. The driver deliberately tracks the named fork rather than claiming its changes are in the original libva-v4l2_request project.

@scottjones scottjones changed the title Package Apple Video Decoder firmware and the VA-API driver Add Apple Silicon video-decoder firmware and VA-API packages Sep 15, 2026
@scottjones
scottjones marked this pull request as ready for review September 15, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant