Skip to content

EverLive v1.6.0 — Shared Core Framework, V4L2 Preload Engine, Cross-User Handoff & S3 Resume

Latest

Choose a tag to compare

@Everlite Everlite released this 15 Nov 12:02

EverLive v1.6.0

Highlights

  • Lock-Free Shared Frame Store & Reusable V4L2 Preload Engine (libeverlive-core/v4l2):
    • libeverlive-core now provides a triple-buffered POSIX shared-memory frame store (everlive_framestore) with seqlock synchronization and a card-descriptor-driven V4L2 virtual-camera preload engine.
    • GC573 (libgc573-v4l2.so): Exposes the live post-tonemap capture feed (and the procedural standby screen) as /dev/video63 with 4K60, 1440p120, and 1080p240 modes via LD_PRELOAD — without v4l2loopback or any additional kernel modules.
    • GC570D (libgc570d-v4l2.so): Exposes /dev/video60 (HDMI 1) and /dev/video61 (HDMI 2), now built on the shared core engine (undergoing community hardware validation).
  • Shared Core Framework (libeverlive-core) & everlive-ctl CLI:
    • Unified card registry and PCI subsystem-aware autodiscovery (0x5730 Live Gamer 4K GC573 vs. 0x5700 Live Gamer DUO GC570D), failing safe if subsystem_device is unreadable.
    • Shared YUY2 frame format converters (UYVY, NV12, YUV420, RGB24, BGR24, XBGR32, BGR32), jsmn-backed JSON-RPC helpers, control-socket path resolution, and the unified everlive-ctl CLI.
  • Unified Control Plane for Live Gamer DUO (GC570D):
    • opengc570d-userd now serves the unified newline-delimited JSON-RPC 2.0 protocol on $XDG_RUNTIME_DIR/everlive.sock (status, LED, audio, OSD, aspect/scale, input switching, HPD, EDID policy) alongside the legacy gc570d-ctl socket.
  • Cross-User Card Handoff (GC573):
    • Two users on one machine can share the capture card without shutting anything down by hand. Starting capture asks the other user's active engine (or idle LED daemon) over an abstract Unix socket (\0everlive-handoff-<bdf>, verified via SO_PEERCRED/SO_PEERGROUPS) to release the card, shows "Capture Paused" with a Take Back Capture button in the Console Hub, and resumes automatically when the other session ends (see Known Architecture Boundaries in the README for cross-user SHM crash and V4L2 reader reopen notes).
  • System Suspend / S3 Resume Recovery (GC573):
    • The capture engine detects host sleep via CLOCK_BOOTTIME vs. CLOCK_MONOTONIC divergence, quiesces hardware registers and DMA rings during suspend, and re-arms the hardware in-place on wake without crashing or requiring a manual restart.
  • System-Wide Install & Arch Linux Packaging:
    • Top-level Makefile orchestrating libeverlive-core, opengc573-userd, opengc570d-userd, and tests/ with make install DESTDIR=... PREFIX=/usr (or /usr/local) support.
    • Upstream everlive and everlive-git PKGBUILDs in packaging/arch/ (for local makepkg -si; not yet published on AUR).
    • Expanded contributor architecture guide in docs/ADDING_A_NEW_CARD.md.

Special thanks to contributors @PolygonPrincess (PR #63, PR #64, and hardware testing) and @Scyllinice (PR #58, PR #65) for their huge contributions to this release!