sony / flutter-elinux

Flutter tools for embedded Linux (eLinux)
BSD 3-Clause "New" or "Revised" License
424 stars 43 forks source link

can not run elinux-wayland on rockchip devices #163

Closed herehere closed 1 year ago

herehere commented 1 year ago

with flutter-elinux devices

Flutter 3.3.0 • channel unknown • unknown source
Framework • revision ffccd96b62 (5 months ago) • 2022-08-29 17:28:57 -0700
Engine • revision 5e9e0e0aa8
Tools • Dart 2.18.0 • DevTools 2.15.0
fatal: not a git repository: '/opt/flutter-elinux/.git'
3 connected devices:

Linux (desktop)  • linux          • linux-arm64    • Ubuntu 20.04.5 LTS 4.19.232
eLinux (desktop) • elinux-wayland • flutter-tester • Ubuntu 20.04.5 LTS 4.19.232
eLinux (desktop) • elinux-x11     • flutter-tester • Ubuntu 20.04.5 LTS 4.19.232

flutter-elinux run -d elinux-wayland result:

Flutter 3.3.0 • channel unknown • unknown source
Framework • revision ffccd96b62 (5 months ago) • 2022-08-29 17:28:57 -0700
Engine • revision 5e9e0e0aa8
Tools • Dart 2.18.0 • DevTools 2.15.0
fatal: not a git repository: '/opt/flutter-elinux/.git'
Launching lib/main.dart on eLinux in debug mode...
Building an eLinux application with wayland backend in debug mode for arm64 target...        95.5s
[ERROR][ELinuxWindowWayland(839)] Failed to connect to the Wayland display.
[ERROR][CreateRenderSurface(1080)] Wayland display is invalid.
Failed to create view controller.
Error waiting for a debug connection: The log reader stopped unexpectedly.
Error launching application on eLinux.
HidenoriMatsubayashi commented 1 year ago

[ERROR][ELinuxWindowWayland(839)] Failed to connect to the Wayland display.

Please check your wayland environment.