daedalus-v4l2{,-dkms}: 462aa4b -> f0d4186 — per-ctx vb2 lock #58
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/daedalus-bump-f0d4186"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to daedalus-v4l2 PR #3 (merged as f0d4186).
Kernel per-context vb2_queue lock — each open() of /dev/video0 gets its own ctx->vb_mutex instead of sharing the device-wide ctx->dev->m2m_lock. Concurrent clients of /dev/video0 no longer serialise on a single mutex; Firefox's multi-process VAAPI (RDD + content + GPU each opening the device) no longer collides into S_FMT EBUSY at startup.
Effect on higgs (Pi CM5)
Firefox YouTube playback engages VAAPI cleanly. Daemon journal shows continuous per-frame REQ_DECODE / decoder:OK pairs at sustained ~230 fps over the test window (640x368, libavcodec dlopen path) — ~7x headroom over the 30fps@1080p Pi 5 Fourier target. Zero EBUSY in firefox stderr or daemon journal during the session.
Versions
Both packages: pkgver 0.1.0.r24.f0d4186, pkgrel reset to 1.
Generated with Claude Code