toyota-connected/ivi-homescreen
关于
用于桌面及嵌入式/车载显示屏的 Flutter Linux C++ 嵌入器,支持 Wayland、DRM/KMS、EGL、Vulkan(包括零拷贝 dma-buf)和软件后端。
网站与应用开发可以做什么
- 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个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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,iviand RDKsimpleshell 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
- Wayland: EGL or Vulkan, with
- 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 PlatformViewframework 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
- Generic verbs over the semantics tree (
- 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:
- Read the documentation on Read the Docs
- Building and running
- Architecture document
- Plugin ABI
- Subsystem documentation
🔮 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
探索相关项目
加载中…