BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
661 stars 89 forks source link

(A) Button is not recognized in the Amiberry GUI of 5.6.8 #1249

Closed NoobieMaks closed 8 months ago

NoobieMaks commented 8 months ago

I upgraded my 5.6.6 RetroPie-Amiberry-Update to the latest version 5.6.8 manually with these instructions: https://github.com/BlitterStudio/amiberry/wiki/Upgrading-to-the-latest-version/e4b711ff20afe34f21268e72d7160045baf4ef23 Following things did I notice:

midwan commented 8 months ago

@NoobieMaks for the display, you might also want to try default_fullscreen_mode=2, which will use Full-window mode.

Regarding the controller input in the GUI, I can't say I can recreate this here. It seems to work normally for me. What kind of controller do you have? Do you have another to test with?

midwan commented 8 months ago

@NoobieMaks Also, both Button A and Button B should activate widgets in the GUI, unless they are used in the mapping for other events (like for example, opening/closing the GUI, used as Hotkey, etc).

NoobieMaks commented 8 months ago

@midwan Meanwhile I tried all my 3 different controller types: PS3, Shanwan, Dragonrise -> they all have the same behaviour: I can navigate per digital and analog joy-moves, I can also jump up and down into the drop down menus with left and right shoulder - BUT I can't open/select any drop down menu with A/B as I always do/did. I'm at a loss. Some questions:

midwan commented 8 months ago

I managed to recreate this, so I'll get it fixed

midwan commented 8 months ago

Fixed with the latest commits above. This will be part of 5.6.9

midwan commented 8 months ago

@NoobieMaks Forgot to answer your previous questions above:

  • Was "amiberry-v5.6.8-debian-buster-armhf-rpi3" the right asset for my RasPi 3 B?

Yes

  • Could the swapped A/B Buttons of the Emulation Station input configuration cause the problem? (RetroPie-Setup 210)

Nope, this was a bug in the GUI library.

  • Why is the amiberry-file of 5.6.6 (9.140 KB) bigger than the one of the newer 5.6.8 (8.000 KB)?

Because the pre-compiled binaries are compiled using GCC12, which does a better job optimizing the results. Retropie uses Buster, which has GCC8.

  • Would an amiberry.log-file give you useful informations to my problem?

Not needed :)

I'm so sorry to bother you with such a ... issue.

Never be sorry about these things, it helps making Amiberry better.

NoobieMaks commented 8 months ago

Thanks a lot for the fix - The asset of 5.6.9 is getting more and more precious for me :)

NoobieMaks commented 8 months ago

May I ask you some more noobie questions? I tried to install the latest version of Amiberry:

Generally: Which version would it be if it would run? Version under construction 5.6.9 or Preview 6.2.0? I used for make: PLATFORM=rpi3-sdl2 - should be the right one for me

amiberry-master:

my running 5.6.8 has:

amiberry-master has so much more and a few not:

I tried 2-3 ways: Copied only the amiberry file and because of no reaction I also copied all the other files. In a third try I deleted the whdboot-dist folder and the 3 files from 5.6.8 which are not part of amiberry-master. All tries ended with no reaction after the runcommand window and falling back to ES and when starting from console I always got the mentioned error message. And I always set the properties from root to pie and 0755.

I ignored the greyed out files: .git/ .github/ .gitattributes/ .gitignore/ .gitmodules

Maybe you can give me some advises generally to the amiberry master and especially to the error: "malloc(): unsorted double liked list corrupted".

NoobieMaks commented 8 months ago

I don't know why and how, but now I got an amiberry-log-file, which answers the question to which version it would lead.

But only 3 lines are in it, nothing more?:

"Amiberry v5.6.9 (2024-03-20) Logfile

Compiled against SDL2 v2.0.10, Linked against SDL2 v2.0.10 Allocated 16 MB for 24-bit area (0x20000000) and 640 MB for Z3 and RTG at fake address (0x30000000 - 0x58000020)"

When I compare it with a log from the working 5.6.8 then I see a difference in compiled against: v2.0.9. vs. v2.0.10.

Amiberry v5.6.8 (2024-02-29) Logfile

Compiled against SDL2 v2.0.9, Linked against SDL2 v2.0.10 Allocated 16 MB for 24-bit area (0x20000000) and 640 MB for Z3 and RTG at fake address (0x30000000 - 0x58000020) Enumerating display devices.. Sorting devices and modes... 0: 1280x1024, 32-bit (60) 1 display modes. ...

midwan commented 8 months ago

@NoobieMaks The current version from master is undergoing some changes, so it's a bit unstable. When ready, and tested, it will be published as 5.6.9 and pre-compiled binaries will be released at the same time. Except for Dispmanx versions, since those cannot be compiled in the agents I have running.