RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

PS2 RetroArch cores for Stella2014 and GearColeco crash to PS2 menu in recent stable builds and breaks PS2 RetroArch

Open larryvgs opened this issue 1 year ago • 9 comments

The last stable build for PS2 RetroArch that works with both the Stella2014 and Gearcoleco cores is the 1.13 build. In every stable build since, (1.14, 1.15 and 1.16) if you try to load the core or launch an Atari 2600 or Colecovision game, PS2 RetroArch will crash to the PS2 menu, and will break PS2 RetroArch if you try to launch it again. Deleting the retroarch.cfg file does not help, and PS2 RetroArch will then have to be re-installed to get it to work again.

larryvgs avatar Jan 16 '24 02:01 larryvgs

Bisect points to https://github.com/libretro/RetroArch/commit/b207ddbe845baa54f922c8f8a63e63dbd3e5ccda . However, it is not possible/recommended to roll it back as this has fixed a number of other faults... I wonder why it causes problem with these cores.

zoltanvb avatar Jan 16 '24 19:01 zoltanvb

@fjtrujy Do you have any ideas here?

LibretroAdmin avatar Jan 16 '24 21:01 LibretroAdmin

I would need to try myself

fjtrujy avatar Jan 17 '24 17:01 fjtrujy

Archades Games had a video on YouTube "Retroarch Atari 2600 Emulation Setup Guide" from 2 years ago which peaked my interest in which the 1.9.1 version of PS2 RetroArch worked with Stella2014. Then I came across another post searching where someone said the Gearcoleco core also did not work when he tried it. I first tried different installs of FunTuna and OpenTuna which made no difference, before testing with the current nightly builds of PS2 RetroArch, before moving on to the latest stable versions and going back, before finally the 1.13 version (11-19-2022) worked with both.

larryvgs avatar Jan 20 '24 06:01 larryvgs

All the changes done has been either in a RetroArch or core, because the PS2 toolchain keeps the same. I will try to debug it and find out why is it failing

fjtrujy avatar Jan 20 '24 09:01 fjtrujy

Did a lot more testing, and while the latest stable 1.16 PS2 RetroArch has no sound, the latest nightly build does have sound. Nightly build (1-20-2024) still crashed on Stella2014 and Gearcoleco cores though. But I think I narrowed down the problem.

Just for the hell of it, I replaced the Stella2014 and Gearcoleco cores from the 1.16 nightly build with the cores from the 1.13 build and it worked! No more crashes. So there's your temporary fix. Something must be off with the versions of the Stella2014 and Gearcoleco cores after 1.13. Everything else that I tested seems to be fine. Tested GameBoy, Lynx, Genesis, Sega Master System, NES, SNES and Intellivision and I was able to get them all working with at least one of the cores provided.

larryvgs avatar Jan 20 '24 14:01 larryvgs

Just a note: PS2 RetroArch is statically compiled, that is, the core file contains all of RetroArch code. So by using the core from 1.13, you are using RA 1.13.0. No sound issue was RetroArch problem and was fixed at #15827 .

I have tried to load all supplied cores on 1.14.0, and apart from the mentioned 2, following cores can be loaded no more, if it helps the investigation. I have not bisected these further, but these cores can also not be loaded on 1.16.0. Arduboy Gearboy Retro8 Gearsystem ECWolf

zoltanvb avatar Jan 21 '24 07:01 zoltanvb

Are the Atari800 and Pico Drive cores confirmed to work fine? I remember I had problems with these (used on 1.14.0), the A8 one couldn't detect roms for some reason from mass where I started it from. I ended up transfering it to mc, but gameplay was very slow. The Pico Drive core worked for me, but save states where unusable as they led to freezing.

Jamirus238 avatar Feb 01 '24 12:02 Jamirus238

All the changes done has been either in a RetroArch or core, because the PS2 toolchain keeps the same. I will try to debug it and find out why is it failing

Hey @fjtrujy , I sent you a message on Discord if you still use it? Trying to fix lr-gpsp on PS2, would like to share info between us if possible? Thx

andymcca avatar Aug 31 '24 17:08 andymcca

Did a lot more testing, and while the latest stable 1.16 PS2 RetroArch has no sound, the latest nightly build does have sound. Nightly build (1-20-2024) still crashed on Stella2014 and Gearcoleco cores though. But I think I narrowed down the problem.

Just for the hell of it, I replaced the Stella2014 and Gearcoleco cores from the 1.16 nightly build with the cores from the 1.13 build and it worked! No more crashes. So there's your temporary fix. Something must be off with the versions of the Stella2014 and Gearcoleco cores after 1.13. Everything else that I tested seems to be fine. Tested GameBoy, Lynx, Genesis, Sega Master System, NES, SNES and Intellivision and I was able to get them all working with at least one of the cores provided.

I'm able to reproduce the stella2014 issue, black screen it is not loading. I don't know yet where is the issue, I would need to investigate it :(

fjtrujy avatar Sep 06 '24 14:09 fjtrujy

I have found the issue for Stella2014.

I have it now working, in the following days/weeks will be fixed. Screenshot 2024-09-07 at 00 37 22

Screenshot 2024-09-07 at 00 38 12

fjtrujy avatar Sep 06 '24 22:09 fjtrujy

@larryvgs the latest nightly has already the fix! Enjoy it!

fjtrujy avatar Sep 08 '24 17:09 fjtrujy

I can confirm other cores (mentioned above) can also be loaded now. Thank you!

zoltanvb avatar Sep 08 '24 17:09 zoltanvb

Excellent!  Finally found the time to try it and all the retro cores I tried including the Stella2014 (Atari 2600) and Gearcoleco (ColecoVision) cores now work in the latest nightly build.  Great job everyone!  Appreciate all your hard work. larryvgs

On Sunday, September 8, 2024 at 10:38:02 AM PDT, zoltanvb ***@***.***> wrote:  

I can confirm other cores (mentioned above) can also be loaded now. Thank you!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

larryvgs avatar Sep 10 '24 05:09 larryvgs