daedalus-v4l2{,-dkms}: 3dd0eb0 -> 462aa4b — kernel ctrl-binding fix #54

Merged
marfrit merged 1 commits from claude-noether/marfrit-packages:noether/daedalus-bump-462aa4b into main 2026-05-20 18:45:09 +00:00
Contributor

Follow-up to daedalus-v4l2 PR #2 (merged as 462aa4b).

The one-line kernel fix that was the missing half of issue libva-v4l2-request-fourier#8: device_run now calls v4l2_ctrl_request_setup() before reading ctrl->p_cur, so the daedalus_h264_meta the daemon receives reflects the in-flight media_request's bound H.264 stateless control values instead of stale/default ones.

Pairs with libva-v4l2-request-fourier 1.0.0+r382+gc1bb444 (max_num_ref_frames fallback + Fix 4 instrumentation that exposed the control-binding gap in the first place — already at trixie-main via PR #52 + #53).

Effect on higgs (Pi CM5)

before (3dd0eb0):
  daemon: h264 SPS prof=100 level=41 ref_frames=0 flags=0x10 pps_flags=0x0
  libavcodec: [h264] reference frames (1+1) exceeds max (0)
  libavcodec: [h264] error while decoding MB ...
  decoded fnv1a: 0x6a6a05c5 (constant — give-up-and-zero)

after (462aa4b):
  daemon: h264 SPS prof=66 level=11 ref_frames=1 flags=0x50 pps_flags=0x88
  libavcodec: (clean — no errors)
  decoded fnv1a: 0xf1c515aa, 0x16e915e8, 0x16bd16cc, ... (unique per frame)

ffmpeg -hwaccel vaapi -i h264_test.mp4 now produces actual decoded content.

Versions

Both packages: pkgver 0.1.0.r22.462aa4b, pkgrel reset to 1. CI builds on actrunner-debian-aarch64-bohr (per PRs #44, #50). DKMS rebuild against the running kernel happens at install time on higgs.

VP9 / AV1 paths unchanged.

Generated with Claude Code

Follow-up to daedalus-v4l2 PR #2 (merged as 462aa4b). The one-line kernel fix that was the missing half of issue libva-v4l2-request-fourier#8: device_run now calls v4l2_ctrl_request_setup() before reading ctrl->p_cur, so the daedalus_h264_meta the daemon receives reflects the in-flight media_request's bound H.264 stateless control values instead of stale/default ones. Pairs with libva-v4l2-request-fourier 1.0.0+r382+gc1bb444 (max_num_ref_frames fallback + Fix 4 instrumentation that exposed the control-binding gap in the first place — already at trixie-main via PR #52 + #53). ### Effect on higgs (Pi CM5) ``` before (3dd0eb0): daemon: h264 SPS prof=100 level=41 ref_frames=0 flags=0x10 pps_flags=0x0 libavcodec: [h264] reference frames (1+1) exceeds max (0) libavcodec: [h264] error while decoding MB ... decoded fnv1a: 0x6a6a05c5 (constant — give-up-and-zero) after (462aa4b): daemon: h264 SPS prof=66 level=11 ref_frames=1 flags=0x50 pps_flags=0x88 libavcodec: (clean — no errors) decoded fnv1a: 0xf1c515aa, 0x16e915e8, 0x16bd16cc, ... (unique per frame) ``` ffmpeg -hwaccel vaapi -i h264_test.mp4 now produces actual decoded content. ### Versions Both packages: pkgver 0.1.0.r22.462aa4b, pkgrel reset to 1. CI builds on actrunner-debian-aarch64-bohr (per PRs #44, #50). DKMS rebuild against the running kernel happens at install time on higgs. VP9 / AV1 paths unchanged. Generated with Claude Code
claude-noether added 1 commit 2026-05-20 18:38:57 +00:00
Upstream PR #2 landed the one-line kernel fix that was the missing
half of issue libva-v4l2-request-fourier#8: device_run now calls
v4l2_ctrl_request_setup() before reading ctrl->p_cur, so the
daedalus_h264_meta the daemon receives reflects the in-flight
media_request's bound H.264 stateless control values instead of
stale/default ones.

Pairs with libva-v4l2-request-fourier 1.0.0+r382+gc1bb444 (max_num_
ref_frames fallback + Fix 4 instrumentation that exposed the
control-binding gap in the first place).

Effect on Pi 5 / CM5 hosts (higgs): ffmpeg -hwaccel vaapi against
H.264 sources now produces actual decoded content (per-frame
fnv1a hashes differ, zero MB-decode errors) instead of the
constant 0x6a6a05c5 "best-effort give-up" hash and cascading
decode warnings.

Both packages: pkgver 0.1.0.r22.462aa4b, pkgrel reset to 1.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
marfrit merged commit 2028eccc3c into main 2026-05-20 18:45:09 +00:00
marfrit deleted branch noether/daedalus-bump-462aa4b 2026-05-20 18:45:13 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marfrit/marfrit-packages#54