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
DietPi - Mouse not visible on configuration screen #1223
Comments
I think this is an issue with the platform, not Amiberry itself. It uses the system cursor for the GUI. @MichaIng - Maybe you have any ideas? |
I can replicate the issue on Odroid N2, also with Amiberry 5.6.5 and 5.6.6. @dlasher We compile against latest upstream SDL2. However, the last release was just 3 days ago, and the one before, v2.28.5, was on November 2nd, where I am pretty sure it worked in between. And v2.30.0 does not fix it either. Hence it really seems to be related to a change in Amiberry, not in SDL2, in combination with some DietPi-specifics, it seems. Starting What is strange is that I definitely tested the current RPi build on RPi Zero W, since we switched form DispmanX to SDL2 video backend, and I tested this as major change. Will do so again. EDIT: And indeed, here on RPi Zero W it works, cursor is visible. This is with Amiberry v5.6.5 linked against SDL2 v2.28.5, one of the combinations which did not work on Odroid N2 (meaning no visible cursor there). Tested with Amiberry v5.6.6 linked against SDL2 v2.30.0, and it works well likewise, and did not on Odroid N2. Both systems should be pretty similar, regarding userland setup. Of course RPi Zero W uses Raspbian Bookworm and a different kernel, Odroid N2 Debian Bookworm with 64-bit kernel and userland. I am open for ideas how to debug, as I am not sure where to start. More tests could be done with a Raspbian image on RPi 3: https://dietpi.com/downloads/images/DietPi_RPi-ARMv6-Bookworm_Amiberry.img.xz |
@MichaIng |
On the Raspberry Pi 5 with 64-bit userland, the mouse is visible with our build 🤔. So it works on Rasberry Pi Zero W (32-bit, Raspbian) as well as on Raspberry Pi 5 (64-bit Debian), but not on Odroid N2 (64-bit Debian). Strange. @midwan you have no Odroid N2 builds, do you? As otherwise I have no system where it does not work and where I could test your builds 🤔. |
@MichaIng But I don't know the reason behind it. I'm guessing it has something to do with the platform drivers, considering SDL2 is the same across all of these? For a while there was a work around that I used: I created a custom cursor with SDL2, and that was visible in these cases also. But custom cursors were not supported in all platforms either, leading to similar problems elsewhere, so I eventually removed that. Perhaps it would help if I bring it back as an option, enabled for the cases this happens (I don't have a full list of those). |
First of all, we switched our RPi Amiberry builds from DispmanX to SDL2 targets with the same commit where I added Amiberry 5.6.5 dependencies dietpi-software reinstall 108 The
Yes, after the move from DispmanX to SDL2 graphics backend, all our builds for ARM systems use the same SDL2 KMS/DRM GLES2 stack. All other SDL2 backends are actively disabled, so it is not possible that e.g. the Odroid uses a different one due to different hardware capabilities. |
@MichaIng does this happen to all Odroids? I still have an old XU4 around here somewhere, wondering if it's worth setting it up to test this... |
Indeed, same issue on my Odroid XU4. I'll rebuild with latest Amiberry (and SDL2 libs), just to be sure. |
The mouse pointer doesn't appear on the initial configuration screen, or upon bringing the config screen back up. The mouse is active, IE you can click and see random screen items highlight/select/change depending on where you're clicking. And if you start an emulation, the mouse then becomes visible within the AmigaOS.
HW: rpi3 model 3b+ / odroid N2+
OS: dietpi 8.25 / dietpi 9.02
Versions:
or git clone current [5.6.6 as of 02/02/24] and compile as "make -j4 all PLATFORM=rpi3" with all libraries as recommended
FWIW, grabbing from ZIP (https://github.com/BlitterStudio/amiberry/releases/download/v5.6.6/amiberry-v5.6.6-debian-bullseye-armhf-rpi3.zip) the onscreen mouse works correctly.
The text was updated successfully, but these errors were encountered: