Skip to content

feat(ctl): add everlive-ctl doctor diagnostics (P1-8) - #165

Merged
Everlite merged 1 commit into
devfrom
feat/everlive-ctl-doctor
Nov 28, 2026
Merged

Everlite merged 1 commit into
devfrom
feat/everlive-ctl-doctor

Conversation

@Everlite

Copy link
Copy Markdown
Owner

Implements #99 (P1-8):

  • Add everlive-ctl doctor [--json] [--verbose] (tools/libeverlive-core/everlive_doctor.[ch]) checking IOMMU, vfio-pci, card binding, /dev/vfio/<group>, video group membership, memlock/cap_ipc_lock, engine binaries, ffmpeg, wpctl, v4l2loopback, private runtime dir/socket, and framestore SHM ownership/mode, with actionable one-line fixes and non-zero exit on blocking errors.
  • Replace the stale vfio_bind.sh hint in tools/opengc573-userd/src/gc573_vfio.c with everlive-vfio-bind / everlive-ctl doctor.
  • Add a Run Diagnostics button + copyable dialog in the Console Hub (tools/everlive/everlive_viewer.py).
  • Add host-testable mocked sysfs/dev/shm/env unit tests in tests/test_doctor.c.

Verification

  • ./build.sh && make -C tests test (including test_doctor)
  • python3 -m unittest discover -s tools/everlive/tests (180 tests OK)
  • Live everlive-ctl doctor (text, --verbose, --json) and Console Hub Run Diagnostics dialog tested on GC573.

@Everlite
Everlite merged commit fab80b6 into dev Nov 28, 2026
3 checks passed
@Everlite
Everlite deleted the feat/everlive-ctl-doctor branch November 28, 2026 18:50
@Everlite Everlite mentioned this pull request Nov 28, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant