Skip to content
プロジェクト

概要

デスクトップおよび組み込み・車載ディスプレイ向けのFlutter Linux C++エンベッダーです。Wayland、DRM/KMS、EGL、Vulkan(ゼロコピーdma-bufを含む)、ソフトウェアバックエンドに対応しています。

Web・アプリ開発

この数値の測り方

できること

  • Yocto master/Wrynose/Scarthgap/Kirkstone/Dunfell
  • Ubuntu 20.04, 22.04, 24.04
  • Fedora 42, 43, 44
  • RaspberryPi OS Bookworm, Trixie

計測したスター増加

24時間
0
7日間
+2
15日間
+3
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

ivi-homescreen

Flutter embedder for Embedded Linux (C++)

License: Apache 2.0 build docs stars Discord

Use cases

  • Industrial deployments: built for embedded environments requiring robustness and reliability (eg. automotive)
  • Consumer electronics: embedded devices in consumer applications
  • Research and prototyping: for experimental projects and proof-of-concept implementations

Features

  • Supports major desktop/embedded Linux platforms
    • Yocto master/Wrynose/Scarthgap/Kirkstone/Dunfell
    • Ubuntu 20.04, 22.04, 24.04
    • Fedora 42, 43, 44
    • RaspberryPi OS Bookworm, Trixie
  • Multiple backends: any subset compiled in, one chosen at runtime <- docs
    • Wayland: EGL or Vulkan, with xdg, agl, ivi and RDK simple shell roles <- docs
    • DRM/KMS: EGL or Vulkan, direct scanout with no compositor <- EGL, Vulkan
    • Wayland leased DRM: owns one connector leased from a running compositor (drm-lease-v1), e.g. a cluster panel beside an IVI compositor <- docs
    • Headless: EGL or Vulkan with no display, frames handed out as dma-buf to an encoder, WebRTC or an external consumer <- EGL, Vulkan
    • Software: CPU rendering for CI and GPU-less boards; fbdev, DRM dumb buffer, PAM goldens or V4L2 encode <- docs
  • Multi-display: multiple views across multiple outputs from one process; outputs matched by udev role name, EDID serial or connector, with hotplug <- docs
  • Input: libinput on DRM, Wayland seats otherwise; touch, keyboard, pointer routing across displays <- docs
  • Configuration: CLI flags layered over config.toml <- docs
  • PlatformView framework and compositor <- docs
    • Interleaves plugin-owned native surfaces with Flutter-rendered layers
    • Shared memory, zero-copy dma-buf import, or direct KMS overlay-plane scanout, with explicit sync <- docs
    • First party camera & video player plugins available at ivi-homescreen-plugins
  • Accessibility (optional): Flutter semantics for every running application, mirrored into an in-process tree that feeds the consumers below <- docs
    • AccessKit (optional): exposes every application to screen readers over AT-SPI
    • MCP (optional): lets an agent (LLM, test harness) read and drive the UI over the Model Context Protocol <- security, remote access
      • Generic verbs over the semantics tree (ui_query, ui_tap, ui_set_text, ui_scroll_to, ui_tap_at); no app changes needed
      • Typed tools an app declares from Dart via ihs_mcp_app_tools
      • Off unless enabled at build time and at runtime; Unix socket only, peer-credential checked
      • Cockpit demo for driving the shell from an LLM
  • OSGi multi-bundle framework (optional): several Flutter bundles in one process with an OSGi lifecycle, priority-ordered startup and a shared service registry
  • Location service: gpsd, geoclue or a replayed gpsd capture, optionally fused through a constant-velocity or CTRV Kalman filter; poll or subscribe from C or Dart FFI <- docs
  • Debug HUD: Dear ImGui overlay with frame stats and each platform view's present path <- docs
  • Frame profiling: frame timing and motion-to-photon latency <- docs
  • Watchdog (optional): with optional SystemD support <- docs
  • Sentry-based crash handler (optional) <- docs
  • Logging/tracing: with optional DLT support <- docs, DLT docs
  • C Plugin ABI: logging, tracing, platform views, semantics, MCP and location for out-of-tree plugins <- docs, ABI contract
  • Fuzzing: coverage-guided fuzz targets for the surfaces that parse external input <- docs

📚 Documentation

The documentation is organized around the system architecture and the subsystems that implement it:


🔮 Quick start

Install emb, then build for the host:

git clone --recurse-submodules https://github.com/toyota-connected/ivi-homescreen.git
cd ivi-homescreen
emb cross . --target local --build

or cross-build for a board, for example a Raspberry Pi 5 on Trixie:

emb cross . --target rpi5-trixie --build --backend drm-kms-vulkan

emb installs the host dependencies and fetches the sysroot. Then make a bundle from your Flutter app and run it:

homescreen -b <bundle> --backend drm-kms-vulkan

Plugins, building with CMake directly, build options and the bundle layout are in docs/BUILDING.md. Every CLI flag and config.toml key is in the configuration reference.


🤝 Contributing

Bug reports, board bring-up reports and PRs are welcome. See CONTRIBUTING.md; PRs target v3.0. Questions go to Discord, and security problems to SECURITY.md.


📄 License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

The third-party code it builds in is under MIT, BSD-3-Clause, BSL-1.0, HPND and Apache-2.0 licenses. The build writes their license text to THIRD_PARTY_NOTICES, and the packages install it with LICENSE in share/doc/homescreen/. The release SBOM (homescreen.cdx.json) lists each component with its license.

Contributors 🧑‍💻💙📝

This package is developed/maintained by the following people

関連プロジェクトを探す

読み込み中…