flutter-pi icon indicating copy to clipboard operation
flutter-pi copied to clipboard

Suport for mali GPU Tv Box Amlogic S905X

Open akmalfadli opened this issue 3 years ago • 3 comments

Is there a possibility for flutter-pi to support mali gpu, like the one on android tv box. I have tried it with armbian os but always get error

[modesetting] Could not commit atomic request. drmModeAtomicCommit: Permission denied
[compositor] Could not present frame. drmModeAtomicCommit: Permission denied

akmalfadli avatar Jul 24 '22 11:07 akmalfadli

Does it work if you run flutter-pi with sudo? (Wouldn't recommend doing that in a production environment though) If it doesn't work is something else using the display maybe?

ardera avatar Jul 25 '22 12:07 ardera

after running it with sudo I get an error like this:

[flutter-pi] Warning: Could not load libflutter_engine.so from the asset bundle. dlopen: /home/station01/minipom/libflutter_engine.so: cannot open shared object file: No such file or directory. Trying to open libflutter_engine.so.debug... flutter: The Dart VM service is listening on http://127.0.0.1:44151/K-DsTSFykPo=/ [compositor] GPU does not support reflecting the screen in Y-direction. This is required for rendering into hardware overlay planes though. Any UI that is drawn in overlay planes will look upside down. [compositor] GPU does not supported the desired HW plane order. Some UI layers may be invisible. [modesetting] Could not commit atomic request. drmModeAtomicCommit: Invalid argument [compositor] Could not present frame. drmModeAtomicCommit: Invalid argument [modesetting] Could not commit atomic request. drmModeAtomicCommit: Invalid argument [compositor] Could not present frame. drmModeAtomicCommit: Invalid argument any suggestions, what should i do?

akmalfadli avatar Jul 25 '22 14:07 akmalfadli

Can you try running kmscube and see if it works?

ardera avatar Aug 01 '22 13:08 ardera

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens and logs. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Nov 22 '22 17:11 github-actions[bot]