Amiberry don't start after upgrading #1295
Replies: 19 comments 19 replies
-
RetroPie usually handles their upgrades themselves, with their scripts taking care of any requirements. Did you upgrade the retropie-setup script first? If not, that should be your first step. Meanwhile, Amiberry just got a new release a few days ago: 5.7.0 - but I don't believe that's included in RetroPie's scripts yet. You can always start Amiberry from the command prompt, and see if it throws any errors. RetroPie installs it under this directory: |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. Since I haven't used my Raspberry Pi for a while, I had to google some basic Linux commands and command line functions. I have now found the log file and the following is displayed in the "dev\shm\runcommand.log": Parameters: So do I have to install "libportmidi" afterwards or update other packages? I hope that I don't have to update the whole system because of this, because so far everything else is working as usual and I don't have the time to set everything up again. |
Beta Was this translation helpful? Give feedback.
-
that should do it, yes. |
Beta Was this translation helpful? Give feedback.
-
That worked and the emulator is starting again from Emulationstation! Unfortunately, I cannot start the emulator from the command line, even if I am in the right directory. When I enter "amiberry" I always get the message "Command not found". What am I doing wrong? I am in the directory "pi@retropie:/opt/retropie/emulators/amiberry" and it still doesn't work, even though the file with exactly that name is in the folder. And how can I update Amiberry to version 5.7.0, even if the Retropie binary script does not yet show me this version? Can I also install the package from the command line with "sudo apt install amiberry" or does it only work with the "Install from Source" function in the Retropie installation script? |
Beta Was this translation helpful? Give feedback.
-
The command you want is There are some instructions about upgrading here... https://github.com/BlitterStudio/amiberry/wiki/Upgrading-to-the-latest-version/e4b711ff20afe34f21268e72d7160045baf4ef23 HTH |
Beta Was this translation helpful? Give feedback.
-
Meanwhile Version 5.7.1 has been compiled and released as "Update from Source" in the Retropie Config Menu. But it don't seems to work at all. After starting Amigberry and putting a disk in drive, Aimiberry freezes completely. I only can reboot the system via SSH with "sudo reboot". When I try to delete the "amiberry.conf", it don't start at all. The Log file then shows: malloc(): unsorted double linked list corrupted It seems that it's a wrong compiled version or something or incompatible with my system. Or maybe another package missing? |
Beta Was this translation helpful? Give feedback.
-
I have now updated the system and all libraries with "sudo apt upgrade", but that is not the problem. I have now found out that the crashes are only caused by IPF disk images. If I select normal ADF images, the problem does not occur. This worked perfectly with the previous versions. Furthermore, the "VSync" option is a nice and long overdue improvement. Scrolling is now finally smooth, but unfortunately the emulator then runs much too fast, similar to NTSC games. However, that cannot be the case, as I only use PAL games for testing and the system is set up accordingly. It's a shame that so many new problems arise with every update. Apparently the Retropie team is not able to compile the versions properly. :-( |
Beta Was this translation helpful? Give feedback.
-
That doesn't mean a lot to me ~ in what way doesn't it compile "properly"? ... ie; as in fails to compile, or, compiles but the binary throws errors? Do you have a link to that discussion? TIA |
Beta Was this translation helpful? Give feedback.
-
No, unfortunately I don't. All I can say is that this version has more bugs than before and doesn't work properly. So I guess I'll just have to hope that the problems are fixed in the next version. By the way, the game "Zarathrusta" still not works since several versions if the "Cycle Extact" options are activated. This affects not only the original version (Extended ADF file, IPF freeze Amiberry), but also the cracked versions. With version 5.2 everything was still working fine and apparently 100% OCS/ECS compatible, but perfect 50 fps scrolling was missing. |
Beta Was this translation helpful? Give feedback.
-
Okay, thanks for checking ... it was worth an ask =)
I would disagree with that statement wrt to 'recent' debian releases... however.... I fully expect things to get progressively worse when the base system is built upon debian buster. With LTS support stopping for buster on June 30th, I expect this to get even more horrorshow ....I've said it before, and I'll say it again.... the retropie distro really needs to adopt debian bullseye (at least ;). Wrt IPF support ...I don't typically use that media, and thus don't check it ~ now that I do, see #1367 .... I think the retropie team check their amiberry builds, but can you confirm for me whether or not capsimg.so is present? I'll check the titles you mention here in due course ;) |
Beta Was this translation helpful? Give feedback.
-
//Only tested v5.7.1 release and git @PARALAX1974 ~ thank you for bringing this to my attention... Zarathrusta.ipf proved to be an interesting/useful test case indeed! Do of course read on, although I've mainly included it here for reference ;) Note: To workaround #1367 I did a git pull of Test of: Zarathrusta.ipf Using
Title starts & runs fine using the base builtin config, but horizontal scrolling text could be smoother. Took some time, but I eventually found the trigger to be Using amiberry v5.7.1;
Pretty much the same results as above, and the same configuration approach somewhat fixes the music playback. still too fast. -in both tests, music was sped up as a result of enabling VSync -- this could not be remedied by anything other than disabling VSync Using either amiberry version;
Same result as above, music was sped up as a result of enabling VSync -- only way to fix this was to disable Vsync. Using a different title, either version of amiberry.... ./amiberry SoundsOfGnome.dms Same result as above... ;^/ Me thinks something is broken here (I rarely use the VSync option ;)....this all helped uncover a couple of (cosmetic) GUI oddities as well...I'll hoist tickets on those. I want to look at this on the RPi4 before making more conclusions wrt VSync... HTH |
Beta Was this translation helpful? Give feedback.
-
//same behavior on RPi4 Found it --> when VSync is enabled, default framerate is set to NTSC (60Hz) That's incorrect ... we should follow the Chipset settings.... so this is a bug. This may also be related to Status Line (native) not working as expected....hoisting ticket ;) |
Beta Was this translation helpful? Give feedback.
-
To be honest, I don't think it's particularly bad that you're not always up to date, true to the motto: Never change a running system! It would be welcome if this emulator stayed that way and was based on Retropie and the system used there, even if it's still Debian 10 in 5-10 years. I don't believe in constant updates at all and have even deactivated my Windows updates completely since 2021 (except browser updates) since the first installation and prefer to use external programs for security monitoring. I'm still on the Windows version from over 3 years ago and am very happy with it, with no notable functional limitations and it will stay that way for me until I get a new PC. I only install and update manually what is absolutely necessary in order to be able to use certain programs (e.g. Net Framework components or drivers if required). Back in the 80s and 90s, you only had one operating system and got by with it for several years. Sounds old-fashioned, but that's just how I am! :-) In any case, I'll stick with Retropie and will happily download the package updates with "sudo apt upgrade", but I won't install a new operating system that would mean I'd have to spend days to reconfigure and test everything. If necessary, I'll just do without newer Amiberry versions. But back to the topic: I had almost thought that when the VSync function is activated, the system would run in NTSC mode and only properly and without sound dropouts if the "NTSC" option is activated in the chipset settings. Instead, the VSync option should run at 50 instead of 60 fps, as long as the chipset is not explicitly set to "NTSC", but unfortunately it doesn't. In other words: The PAL emulation is currently unusable with the VSync option activated. And "Zarathrusta.ipf" doesn't even start for me with version 5.7.1, but crashes Amiberry completely. However, I didn't start the game using the command line environment, but rather with the help of an empty ADF disk that I created especially for Retropie. Then I called up the menu with F12, inserted the "Zarathrusta.ipf" disk and voila - crash! The ADF version does boot, but the game doesn't work as it should, because the spaceship is immediately destroyed when you fly around it. That was definitely not the case with version 5.2. The only way to fix this is to deactivate the "Cycle Exact" function under "Chipset". But this option was created precisely so that even difficult games and demos can run smoothly. And at least all of the games and demos I tested ran smoothly with version 5.2, but not since version 5.6 (or earlier). |
Beta Was this translation helpful? Give feedback.
-
You've no idea how much that made me smile =) This is exactly one rationale I consider, when asked the question "Why do you bother building your own linux systems, from scratch?" .... answer: I don't have to change or update anything. An example here, would very much be my 'AmiLFS' build based upon the LFS-11.3 book...it has all (and only) what's required, to turn a USFF machine like the Lenovo m93p into an Amiga emulation powerhouse running amiberry to achieve those ends. It's now about 2years old, and anytime soon debian unstable will catch up where the LFS-11.3 build has been for the past 2years - I'm older-fashioned than you ;) @PARALAX1974 .... You haven't answered my question ~ is the capsimg.so library present, in the plugins directory of your amiberry tree? If it isn't, that would very much explain the crash you're seeing... Wrt the Vsync issue .... little doubt we'll tease that out in the ticket, and as you'll note there, with the current implementation, the VSync option will not work on my (basic, generic, widescreen 16:9) display hardware, as it cannot do a v_refresh of 50Hz in any screenmode what-so-ever =) ... ....further, I just wandered into my house-mate's room, and his display unit (identifies as DH Print 24") doesn't offer a 50Hz v_refresh either (nouveau x11 driver)....and I immediately begin to wonder what the blazes is going on here? Do any modern widescreen display units offer a 50Hz v_refresh? I'll have a little sortie on that later....but no matter the result, we can't go and say "to use amiberry VSync option, requires you have a 50Hz capable display setup"...no? Is that a requirement for WinUAE VSync to work? If not, is it a limitation of something else foist upon us by the linux environment? It is widely known, I have a particular abhorrence for running Amiga software titles, particularly games, on widescreen display units. At best, I consider it 'technically heretic'...these titles were intended for 4:3 aspect display hardware, and if I want to play such an Amiga title on modern displays, the only way it 'looks' correct to the ingrained mental pathways of my 66yo brain, is like this... ....because my brain is accustomed to a particular aspect ratio for these games. Yet, I know modern display hardware is going to need 2 vertical black bars left/right to achieve the same result, but I'd prefer that, and would never choose the stretch the Amiga game graphics, to fullscreen fill a widescreen display....it "doesn't look right" ...it's not honoring the historical aspect ratio. That's just my personal opinion/preference of course, but I feel it's...prudent... to point that out, because.... ....I have 4:3 aspect displays here (19" LCD), all are capable of 50Hz v_refresh (although EDID puts 1280x1024@60Hz as optimal, 50Hz is also available). I will setup a test here, using the m93p/debian 12/amiberry v6.3.3 and one of these display units, and test what happens with the VSync option, with that host hardware. If it in any way works as expected, personally speaking I'd turn my back to all modern display units, and declare "There is no problem here, folks should be running with 4:3, 50Hz capable display units anyway"....lol... =) It's not the answer of course, and perhaps old-fashioned...facts remain ; VSync not an option on display hardware incapable of 50Hz Wrt Chipset->Cycle Exact.... I was over at Horace's place chatting about that, obviously about the XML and whdload handling, see HoraceAndTheSpider/Amiberry-XML-Builder#125 ...considering what could the XML could do to cover off that case that the default profile of amiberry v5.x has these options disabled (by design we think), as opposed to v6.x where these options are enabled by default. Upshot is, there might be a case for a If, like others I know in that part of the world, at the now most folks are observing the cultural tradition, of taking their summer holidays very seriously... and a doubt midwan is exempt ;) Holidays should be enjoyed to the fullest ~ free time is short =) |
Beta Was this translation helpful? Give feedback.
-
I finally had time to look at the whole thing again using the current setup script provided by Retropie, which I was finally able to download and upgrade to the lastest version 4.8.8. Unfortunately, it didn't help. The directories are still created according to the old standard when Amiberry is installed. At least I was able to prevent the emulator from crashing with IPF-Files by manually creating the "plugin" folder and copying the "capsimg.so" into it. However, there are still instabilities with the "Cycle Exact" emulation, see my report on "Zarathrusta", which still doesn't work correctly (ship will be destroyed). The sync function also cannot be used with the 50 Hz setting in the Retropie launch menu, as the sound keeps cutting out. There is still a lot to be improved here. I'm giving up for now and will stick with version 5.2 until a newer and possibly corrected version (after 5.7.1) is available for Retropie. |
Beta Was this translation helpful? Give feedback.
-
I just had a check, and the capsimg part of the retropi scripting has been fix in The 50Hz VSync thing is largely my misunderstanding, here, but as said after teasing it out in the ticket, and finding it worked as expected on a 50Hz v_refresh capable display hardware, I closed the ticket accordingly ... we did manage to pick-out a small GUI enhancement from that, so it was a worthwhile question. As stated there after better understanding the problem, would be to create an opengl window... and run that at 50Hz for the emulator to display on. An analogy might be running
This has me a little bit confused, because afaik Cycle Exact is disabled by default wrt amiberry v5.7.x , ergo if it's enabled that's coming from somewhere else. This is made clear in the wiki...
This option was created for those Amiga software titles, that require precise, 'tight' timings to run ~ for the (I think?) bigger majority of Amiga titles that don't require this to work properly, you leave it off to save emulation resources. As said though, you shouldn't have to deactivate it, as the default setting is off... |
Beta Was this translation helpful? Give feedback.
-
I think we're talking past each other. I usually have the "Cycle Exact" option enabled by default, which is why I get the error described in connection with the game and this affect other demos too like "World of Commodore '92" which crashes completely with this settings. In any case, the problem is not mine, as WinUAE works fine with exactly the same settings with the very same disk image. I use "Cycle Exact" in almost every A500 and A1200 environment, as long as no accelerator cards are used. And yes, the option is disabled by default with version 5.7.1, but I still use it because my Raspberry Pi 4b with 2 GHz (overclocked) has more than enough resources for it. I just wanted to point out that it's a bug that should perhaps be fixed next time. |
Beta Was this translation helpful? Give feedback.
-
I have now received a few explicit tips from the Amiga scene about which demos are heavily dependent on the "Cycle Exact" emulation and compared them with WinUAE. The result with WinUAE 4.4.0 & 5.3.0 with activated "Cycle Exact" emulation:: World of Commodore '92: Runs normally without "Cycle Exact" Emulation: World of Commodore '92: Slowdowns in the first shadebobs part / bluish filled-circle-worms The result with Amiberry 5.7.1 (and probably also 5.7.3) on the Raspberry Pi with activated "Cycle Exact" emulation: World of Commodore '92: Crashes immediately without Cycle Exact emulation: WOC '92: Runs normally In Amiberry 5.2, the "Hologan" demo has some graphical errors and slowdowns that no longer occur in the current version, even with the "Cycle Exact" option activated. They are just not as serious. I saved myself further tests because the result is already clear based on WOC '92 and Zarathrusta. The "Cycle Exact" emulation is therefore faulty and can only be used partially, not optionally as is the case with WinUAE. While there are improvements to some challenging demos, there are also new bugs in older software. The results are clear, verifiable and indisputable. And there are people in the scene who have already confirmed it, see here: I can therefore only ask again that this bug (and that is all it is) be fixed and the faulty "Cycle Exact" emulation fixed so that it can be used permanently as an option again. |
Beta Was this translation helpful? Give feedback.
-
Twice I've seen this (once in Deutsch , once in English).... decided to track it down...
So it appears the error is spawn from here somewhere ~ perhaps a manual build omits the diffs, and that's why malloc() is flying off the rails? In any event, doesn't seem like amiberry is directly involved here AFAICT... HTH |
Beta Was this translation helpful? Give feedback.
-
Hello!
I can't start Amiberry any more after upgrading from Version 5.2 to 5.6.6 with Retropie 4.8.1 (with the "update package" script) on my Raspberry Pi 4b. After selecting the system and ADF files, I am thrown back to the menu every time. I have never updated the system since mid-2022 because it was not necessary. Do I perhaps need any other packages to make it work? Can I somehow start the emulator from the command line (pi@retropie) to be able to see the error message? This is not possible from the Emulationstation menu.
Beta Was this translation helpful? Give feedback.
All reactions