flutter-pi
flutter-pi copied to clipboard
Suport for mali GPU Tv Box Amlogic S905X
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
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?
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?
Can you try running kmscube and see if it works?
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.