Description
I'm running a demo counter Flutter app on a BananaPi M2 Berry and it is working great, so I can confirm it working on this board.
However the mouse does not move and I get the following error in console:
modesetting.c: Couldn't move mouse cursor. drmModeMoveCursor: Bad address
The mouse is actually rendered on the top-left corner of the screen but rarely moves (most of the cases it stays fixed in place).
This board does not support hardware cursor since it does not have a dedicated cursor plane. I checked it by using drm_info
.
The funny thing is that when I tried to add software cursor inside the Flutter application using the following code: https://gist.github.com/ardera/e7ddf7c8e477d258a26dfa9c40002626 the cursor now works properly, it is drawn on top of the Flutter software cursor!
So I'm actually painting a transparent cursor in Flutter and everything seems to work good.
The error message is being still printed in console however:
modesetting.c: Couldn't move mouse cursor. drmModeMoveCursor: Bad address