Skip to content

Question: release with Raspberry4 support? #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
apiraino opened this issue Sep 10, 2020 · 3 comments
Closed

Question: release with Raspberry4 support? #88

apiraino opened this issue Sep 10, 2020 · 3 comments

Comments

@apiraino
Copy link

Hi!

I'm trying to run the release binary from november 2019, I get this error:

pi@raspberrypi:~ $ ./flutter-pi -m /dev/input/event0 -t /dev/input/event0 flutter_gallery_assets/flutter_assets/ -r 90
Using mouse input from mouse /dev/input/event0
Using touchscreen input from /dev/input/event0
Asset bundle path: flutter_gallery_assets/flutter_assets/
engine_argv[0] = ./flutter-pi
engine_argv[1] = -r
engine_argv[2] = 90
initializing display...
Opening DRM device...
Getting DRM resources...
/dev/dri/card0 doesn't look like a modeset device

Possibly the binary still does not support the Rpi4 (possibly related to this issue) and I have to manually compile, correct?

I have run all the steps to build the Flutter app assets, app.so and downloaded the engine binaries from this branch.

I have customized the raspi according to your instructions.

thanks for your project 👍

@falkorichter
Copy link

@apiraino did you try to compile the latest master? there is a make file :)

@ardera
Copy link
Owner

ardera commented Sep 10, 2020

The november 2019 is very very outdated. It doesn't support the Pi 4 and it also doesn't support rotation. (-r 90).

But be aware that the invocation is flutter-pi <flutter-pi options> <asset bundle path> <flutter engine options>. So even if your flutter-pi was latest master, the -r 90 argument would not be recognized since you specified it as a flutter engine option, after the asset bundle path. It's a flutter-pi option though, so it needs to be before the asset bundle path. The flutter-pi options are the ones listed in the usage. flutter engine options are the ones you can find in the switches.cc file (link in the usage), for example --observatory-host, --observatory-port

@apiraino
Copy link
Author

The november 2019 is very very outdated. It doesn't support the Pi 4 and it also doesn't support rotation. (-r 90).

I've managed to build flutter-pi from master branch and I can launch the flutter gallery sample application (although it seems to work intermittently, but this is another issue I will try to figure out some other time).

This question can then be closed, thanks!

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

No branches or pull requests

3 participants