Skip to content

v0.3.1

Choose a tag to compare

@hogib hogib released this 01 Nov 20:37
· 13 commits to main since this release

Faster across the board, same output. A performance pass over every module: less CPU on the ROV's Pi, cheaper effects, and a shared preview encoder. Every change was checked against the previous code — where the output shouldn't change, it is byte-identical, on x86 and on arm64 and armv7 (NEON) under qemu. Prebuilt, fully static binaries for the same targets as before.

File For
eeye-v0.3.1-linux-arm64, hellion-v0.3.1-linux-arm64 Raspberry Pi 3/4/5 (and Zero 2 W) on a 64-bit OS
eeye-v0.3.1-linux-armv7, hellion-v0.3.1-linux-armv7 Raspberry Pi 2/3/4/5 on a 32-bit OS (needs ARMv7 + NEON; not Pi 1 / Zero)
eeye-v0.3.1-linux-amd64, hellion-v0.3.1-linux-amd64 x86-64 Linux (a topside laptop)

Upgrading: git pull && sudo ./install.sh on both machines — it remembers your setup and restarts the services. No config changes needed.

eeye

Before After Measured
Auto visibility 1.49 ms 0.55 ms per 720p frame, 4 x86 threads (4.68 → 2.09 ms on one)
Blur, strength 4 and up 56–69% fewer instructions arm64/armv7, counted under qemu: NEON for the half-resolution resampling
Blur, strengths 8–20 1.06–2.11 ms 0.84–1.56 ms 4 x86 threads: half the thread barriers between passes
Blur, x86 (topside in placement A) 0.75 ms 0.18 ms default strength, 4 threads: the scalar path now vectorises
Canny 4–19% faster 4 x86 threads, real photos: the serial work around hysteresis is parallel now
Frame bus publish after an edge filter 34.9 µs 17.2 µs per 720p frame: chroma that is all 128 isn't re-copied

Also: chroma that a later stage replaces anyway (say, tint before sobel) is no longer computed or copied, and the per-frame image statistics run only when auto visibility or the health file needs them.

hellion

  • One shared preview encoder per stream: four open pages used to cost four JPEG encodes per frame. Measured on x86: 4 viewers 13% → 4% of a core (the same as one). Previews are encoded 4:2:0, 18% smaller.
  • No fan-out copy on the ROV: the last sink of each frame gets the frame itself rather than a copy; the ROV's pipeline has one sink, so its 1.84 MB-per-frame copy is gone.

Also

  • Placement A topside no longer republishes the camera stream as a duplicate raw (new installs, or sudo ./install.sh --reset-config).
  • The frame bus writer keeps its own copy of the stream layout, so a damaged shared header can't steer its copies.

Build

Built from v0.3.1 with GCC 15.3 (Bootlin 2026.08 toolchains), glibc, statically linked: -O3, OpenMP on, libjpeg-turbo 3.2.0 with its SIMD code, NEON on armv7 (-march=armv7-a -mfpu=neon-vfpv4). Runs on Linux 3.2+ (amd64, armv7) / 3.7+ (arm64). hellion needs ffmpeg at runtime.

Testing

All 17 C test suites pass on each binary as shipped (built with the same toolchain): natively for amd64, under qemu-user for armv7 and arm64. New tests cover the neutral-chroma frame bus path (mixed frames over several laps of the slots, with deliberately wrong chroma in the neutral ones), the chain's neutral flag, and chroma skipping never changing output. Every optimisation that should not change output was checked byte-identical against the previous code over hundreds of cases — real 720p photos and edge-case frame sizes, every strength and threshold, 1 to 7 threads, x86 and both ARM NEON builds. The shared preview encoder survived 160 viewers joining and leaving under AddressSanitizer with no findings. The static amd64 release binaries ran the whole chain — camera → eeye (blur + sobel, auto visibility on) → hellion → H.264/RTP → hellion → frame bus, plus a browser preview — at 30 fps with no packet loss.

Not yet verified

  • Nothing here has run on the Pi or the vehicle. ARM gains are instruction counts under qemu, not timings on hardware.