Skip to content
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

modesetting.c: Couldn't move mouse cursor. drmModeMoveCursor: Bad address #456

Open
vinsfortunato opened this issue Oct 26, 2024 · 0 comments

Comments

@vinsfortunato
Copy link

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

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

1 participant