daedalus-v4l2{,-dkms}: 79256dc/6ffe92b -> 5d8b436 — revert parking design #71

Merged
marfrit merged 1 commits from claude-noether/marfrit-packages:noether/daedalus-revert-bump-5d8b436 into main 2026-05-21 14:54:19 +00:00
6 changed files with 72 additions and 32 deletions
+10 -10
View File
@@ -16,17 +16,17 @@
pkgname=daedalus-v4l2-dkms pkgname=daedalus-v4l2-dkms
_module=daedalus_v4l2 _module=daedalus_v4l2
# Kernel module-only bump to 6ffe92b — fixes the panic regression # Same pin as arch/daedalus-v4l2 — keep kernel module + daemon
# introduced by 79256dc's split-completion design (daedalus-v4l2#8): # bit-versioned together so the chardev wire protocol stays in sync.
# claim src/dst from m2m's rdy_queue at device_run time, not at # 5d8b436 reverts PRs #7 + #8 (parking design that broke libva's
# buf_done; otherwise a parked dst_buf gets re-picked by the next # 1:1 contract — see daedalus-v4l2#9 + #10). Tree is
# device_run after SRC_CONSUMED's job_finish releases the scheduler. # content-equivalent to f0d4186 plus PR #4 (cosmetic menu ctrls).
# PROTO_VERSION stays at 1; daedalus-v4l2 (daemon) need NOT bump in # PROTO_VERSION drops 1 → 0; lock-step install with
# lockstep — daemon ABI is unchanged. # daedalus-v4l2 0.1.0.r33.5d8b436 REQUIRED.
_commit=6ffe92bcacccbf228c398a10c21a6818f07c67d2 _commit=5d8b4369e58ab947d1c56b1f718293c57c6065b5
pkgver=0.1.0.r30.6ffe92b pkgver=0.1.0.r33.5d8b436
pkgrel=1 # reset for new upstream pin (6ffe92b — claim src/dst at device_run, fixes #8 panic) pkgrel=1 # reset for new upstream pin (5d8b436 — revert parking design)
pkgdesc="V4L2 stateless decoder shim kernel module (DKMS) — Pi 5 / CM5" pkgdesc="V4L2 stateless decoder shim kernel module (DKMS) — Pi 5 / CM5"
arch=('any') arch=('any')
url="https://git.reauktion.de/reauktion/daedalus-v4l2" url="https://git.reauktion.de/reauktion/daedalus-v4l2"
+10 -9
View File
@@ -16,18 +16,19 @@
pkgname=daedalus-v4l2 pkgname=daedalus-v4l2
_upstreampkg=daedalus-v4l2 _upstreampkg=daedalus-v4l2
# Pin the daedalus-v4l2 tip. 79256dc = "kernel + daemon: H.264 B-frame # Pin the daedalus-v4l2 tip. 5d8b436 = revert of PRs #7 + #8 (the
# display reorder fix (closes #6)" — adds the wire-protocol src_pts / # parking design that broke libva's 1:1 contract — see
# output_src_pts / RESP_FRAME flags split that lets H.264 streams with # daedalus-v4l2#9 + #10). Tree is content-equivalent to f0d4186
# B-frames preserve display order through libva → kernel → daemon. # plus PR #4 (DECODE_MODE / START_CODE menu controls; cosmetic
# PROTO_VERSION bumps 01; lock-step userspace + kernel rebuild # warning fix). PROTO_VERSION drops 10 to match — lock-step
# REQUIRED (daedalus-v4l2-dkms PKGBUILD pinned to the same commit). # install with daedalus-v4l2-dkms 0.1.0.r33.5d8b436 REQUIRED.
_commit=79256dc7ef41f83873ca9c23db20f5888858e65d # Proper H.264 reorder fix tracked separately at daedalus-v4l2#11.
_commit=5d8b4369e58ab947d1c56b1f718293c57c6065b5
# 0.1.0 (pre-1.0) + commit count + short sha. Bump the .Y on each # 0.1.0 (pre-1.0) + commit count + short sha. Bump the .Y on each
# Phase 8.x close. pkgver() recomputes at build time. # Phase 8.x close. pkgver() recomputes at build time.
pkgver=0.1.0.r28.79256dc pkgver=0.1.0.r33.5d8b436
pkgrel=1 # reset for new upstream pin (79256dc — H.264 B-frame reorder fix) pkgrel=1 # reset for new upstream pin (5d8b436 — revert parking design)
pkgdesc="Userspace daemon for the daedalus-v4l2 V4L2 stateless decoder shim (VP9/AV1/H.264 on Pi 5 / CM5)" pkgdesc="Userspace daemon for the daedalus-v4l2 V4L2 stateless decoder shim (VP9/AV1/H.264 on Pi 5 / CM5)"
arch=('aarch64') arch=('aarch64')
url="https://git.reauktion.de/reauktion/daedalus-v4l2" url="https://git.reauktion.de/reauktion/daedalus-v4l2"
+3 -3
View File
@@ -14,9 +14,9 @@
# Sibling userspace package: ../daedalus-v4l2/build-deb.sh # Sibling userspace package: ../daedalus-v4l2/build-deb.sh
set -euo pipefail set -euo pipefail
UPSTREAM_COMMIT=6ffe92bcacccbf228c398a10c21a6818f07c67d2 UPSTREAM_COMMIT=5d8b4369e58ab947d1c56b1f718293c57c6065b5
PKGVER=0.1.0+r30+g6ffe92b PKGVER=0.1.0+r33+g5d8b436
PKGREL=1 # reset for new upstream pin (6ffe92b — claim src/dst at device_run, fixes #8 panic); still carries the #64 multi-kernel postinst fix PKGREL=1 # reset for new upstream pin (5d8b436 — revert parking design); still carries the #64 multi-kernel postinst fix
MODULE_NAME=daedalus_v4l2 MODULE_NAME=daedalus_v4l2
HERE=$(dirname "$(readlink -f "$0")") HERE=$(dirname "$(readlink -f "$0")")
+14
View File
@@ -1,3 +1,17 @@
daedalus-v4l2-dkms (0.1.0+r33+g5d8b436-1) bookworm trixie; urgency=medium
* Bump to 5d8b436 — reverts daedalus-v4l2 PRs #7 + #8. Kernel
module returns to the pre-#7 buf_done_and_job_finish completion
model: no src/dst lifecycle decoupling, no parked dst_bufs, no
1:1-contract violation against libva-v4l2-request-fourier
(closes daedalus-v4l2#9 + #10 as won't-fix at this layer; proper
fix tracked at daedalus-v4l2#11).
* Wire-protocol drops 1 → 0; lock-step install with daedalus-v4l2
0.1.0+r33+g5d8b436 REQUIRED.
* Carries forward the #64 multi-kernel postinst fix.
-- Markus Fritsche <mfritsche@reauktion.de> Thu, 21 May 2026 14:50:00 +0000
daedalus-v4l2-dkms (0.1.0+r30+g6ffe92b-1) bookworm trixie; urgency=medium daedalus-v4l2-dkms (0.1.0+r30+g6ffe92b-1) bookworm trixie; urgency=medium
* Bump to 6ffe92b — fixes the kernel panic regression introduced * Bump to 6ffe92b — fixes the kernel panic regression introduced
+10 -10
View File
@@ -11,16 +11,16 @@
# Upstream repo: https://git.reauktion.de/reauktion/daedalus-v4l2 # Upstream repo: https://git.reauktion.de/reauktion/daedalus-v4l2
set -euo pipefail set -euo pipefail
# Same pin as the Arch PKGBUILD. 79256dc = "kernel + daemon: H.264 # Same pin as the Arch PKGBUILD. 5d8b436 reverts PRs #7 + #8 (the
# B-frame display reorder fix (closes #6)" — adds the wire-protocol # parking design that broke libva's 1:1 CAPTURE-buffer contract; see
# src_pts / output_src_pts / RESP_FRAME flags split that lets H.264 # daedalus-v4l2#9 + #10). Tree is content-equivalent to f0d4186
# streams with B-frames preserve display order through libva → kernel # plus PR #4 (DECODE_MODE / START_CODE menu controls — cosmetic
# → daemon. PROTO_VERSION bumps 01; lock-step userspace + kernel # warning fix). PROTO_VERSION drops 10; lock-step install with
# rebuild REQUIRED (daedalus-v4l2-dkms build-deb.sh pinned to the same # daedalus-v4l2-dkms 0.1.0+r33+g5d8b436 REQUIRED. Proper H.264
# commit). # reorder fix tracked separately at daedalus-v4l2#11.
UPSTREAM_COMMIT=79256dc7ef41f83873ca9c23db20f5888858e65d UPSTREAM_COMMIT=5d8b4369e58ab947d1c56b1f718293c57c6065b5
PKGVER=0.1.0+r28+g79256dc PKGVER=0.1.0+r33+g5d8b436
PKGREL=1 # reset for new upstream pin (79256dc — H.264 B-frame reorder fix) PKGREL=1 # reset for new upstream pin (5d8b436 — revert parking design)
HERE=$(dirname "$(readlink -f "$0")") HERE=$(dirname "$(readlink -f "$0")")
+25
View File
@@ -1,3 +1,28 @@
daedalus-v4l2 (0.1.0+r33+g5d8b436-1) bookworm trixie; urgency=medium
* Bump to 5d8b436 — reverts daedalus-v4l2 PRs #7 + #8 (the parking
design that broke libva-v4l2-request-fourier's 1:1 CAPTURE
contract; see daedalus-v4l2#9 + #10). After daemon-r28+g79256dc
landed, mpv (--hwdec=vaapi-copy) failed pre-playing with
"Unable to dequeue buffer: Resource temporarily unavailable" /
"Failed to end picture decode" because the daemon parked CAPTURE
buffers waiting for libavcodec to release H.264 B-frames in
display order — violating the V4L2 stateless 1:1 contract.
Firefox tolerated the mess (visible "2 1 4 3" pair-swap); mpv
bailed.
* This bump restores f0d4186-equivalent behaviour, plus PR #4
(cosmetic H.264 DECODE_MODE / START_CODE menu controls). PR #7
+ PR #8 wire-protocol additions (src_pts / output_src_pts /
RESP_FRAME flags) are reverted — DAEDALUS_PROTO_VERSION drops
back from 1 → 0. Lock-step install with daedalus-v4l2-dkms
0.1.0+r33+g5d8b436 REQUIRED.
* Visible regression: H.264 B-frame streams in Firefox revert to
the original "2 1 4 3 6 5" pair-swap visual. The proper fix
(concurrent in-flight requests in daemon + display-order reorder
in libva-v4l2-request-fourier) is tracked at daedalus-v4l2#11.
-- Markus Fritsche <mfritsche@reauktion.de> Thu, 21 May 2026 14:50:00 +0000
daedalus-v4l2 (0.1.0+r28+g79256dc-1) bookworm trixie; urgency=medium daedalus-v4l2 (0.1.0+r28+g79256dc-1) bookworm trixie; urgency=medium
* Bump to 79256dc — H.264 B-frame display reorder fix (closes * Bump to 79256dc — H.264 B-frame display reorder fix (closes