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

SDL2 Mali patch is missing mouse cursor / keyboard issues #939

Open
shantigilbert opened this issue Jun 13, 2022 · 6 comments
Open

SDL2 Mali patch is missing mouse cursor / keyboard issues #939

shantigilbert opened this issue Jun 13, 2022 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@shantigilbert
Copy link
Collaborator

shantigilbert commented Jun 13, 2022

The Mali patch used to add FBDEV support to Amlogic devices (https://github.com/EmuELEC/EmuELEC/blob/dev/packages/multimedia/SDL2/patches/Amlogic/SDL2-git-2.0.22-001-enable_mali.patch) is missing the mouse cursor, so some games that use SDL2 with mouse (like ScummVM 3D games, Heroes of Might and Magic, etc) do now show the cursor on screen, the mouse works but the cursor is invisible.

Recently we also noticed that the keyboard/mouse does not work at all on some programs #879 (ScummVM) using the newest SDL2 (it works fine on SDL2.0.9) so something changed that also needs fixing.

If you anyone can offer some help on this issue it will be greatly appreciated, a bounty has been opened: https://app.bountysource.com/issues/109283165-sdl2-mali-patch-is-missing-mouse-cursor-keyboard-issues

Edit Jan 2024: Bountysource has gone bankrupt, but still willing to pay a bounty for a proper fix

@shantigilbert shantigilbert added the help wanted Extra attention is needed label Jun 13, 2022
@shantigilbert shantigilbert pinned this issue Jun 13, 2022
@Langerz82
Copy link
Collaborator

As discuss setting fb1 to a higher value like 64 makes the cursors work again. Do I get the bounty for the fix lol?

@Langerz82
Copy link
Collaborator

In setres.sh:

BUFF=64
fbset -fb /dev/fb1 -g $BUFF $BUFF $BUFF $BUFF $BPP

FIXED!! Haha

@shantigilbert
Copy link
Collaborator Author

As discuss setting fb1 to a higher value like 64 makes the cursors work again. Do I get the bounty for the fix lol?

Please check on these:

Scummvm with a 3d game
half life
Julius/Augustus (Caesar 3)

if the cursor appears then yes this would be resolved and you would get the bounty.

@shantigilbert
Copy link
Collaborator Author

Also make sure you are not confused as the HOMM issue was fixed here 25c190a, so try other games like I mentioned

@Langerz82
Copy link
Collaborator

My latest PR doesn't change the fb1 buffer anymore. Missing text was occurring in ES due to setting it too low. When I get a chance I'll test cheers.

@dajoho
Copy link

dajoho commented Dec 15, 2023

I have detailed my debugging of this bug here: #879 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants