Files
marfrit-packages/arch/mpv-fourier
test0r 9cd7d0f047
build and publish packages / distcc-avahi-aarch64 (push) Successful in 31s
build and publish packages / lmcp-any (push) Successful in 7s
build and publish packages / lmcp-debian (push) Successful in 5s
build and publish packages / claude-his-any (push) Successful in 8s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 12m31s
build and publish packages / claude-his-debian (push) Successful in 11s
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Successful in 11s
build and publish packages / mpv-fourier-aarch64 (push) Successful in 1m9s
mpv-fourier pkgrel=2: fix meson invocation to match stock arch
Run #66 failed at meson setup with "Feature win32-threads cannot be
enabled". Root cause: arch-meson defaults to --auto-features=enabled,
which makes mpv's platform-specific features (win32-threads, etc.)
required and fails the build on Linux. Stock arch's PKGBUILD passes
--auto-features=auto explicitly to make features opt-in instead of
required.

Adopted stock arch's full meson_options block:

  --auto-features auto
  -Dlibmpv=true
  -Dgl-x11=enabled -Dcaca=disabled -Ddrm=enabled
  -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled
  -Dlibarchive=enabled -Dopenal=enabled
  -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled

Also matched stock makedepends (added ladspa, vulkan-headers, dropped
ninja/pkgconf which are pulled in transitively), added !emptydirs option,
adopted the package() pkgconfig-cleanup + docs/scripts install pattern,
added epoch=1 to match stock's versioning (so replaces= works cleanly).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:06:10 +00:00
..

mpv-fourier

mpv with the fourier-umbrella patches.

Why

The dmabuf-modifier-triage campaign isolated the green-frames bug on ohm to mpv's vo_dmabuf_wayland.c plane-semantics handling for V4L2 stateless decoder dmabufs. mpv currently emits a zwp_linux_buffer_params_v1 message that mixes per-plane fds (V4L2 MPLANE export) with a single- allocation offset for plane 1, causing KWin to read the UV chroma plane past-EOF on the UV-plane fd and render solid dark green.

This package is the delivery vehicle for the fix once it's written. PKGBUILD is in place with an empty patch slot; the patch itself is iter1 of the triage campaign.

Tracker

Status

  • 2026-05-08: scaffold landed. Builds vanilla mpv 0.41.0 with no fourier patches applied (patch slot empty in prepare()). pkgrel=1 pinned to mpv release v0.41.0.

When iter1 of the triage campaign produces the patch, bump pkgrel, add the patch to source=() and sha256sums=(), uncomment the patch -p1 line in prepare().

Hosts that benefit

Only hosts that exercise the V4L2 stateless dmabuf-wayland path — ohm (RK3566 + hantro G1) today, fresnel (RK3399 + hantro + rkvdec) once that campaign reaches its mpv-test phase. Other hosts on [marfrit] (boltzmann, hertz desktop) won't see any difference as the fix is no-op for non-V4L2-stateless dmabuf paths.