noword / Emu4VitaPlus

another emulator frontend for PS Vita
3 stars 1 forks source link

Dosbox Pure core poor performance due to libretro core regression. #1

Open Snowbro88 opened 1 week ago

Snowbro88 commented 1 week ago

Hi, I've tested the new cores supported by Emu4vita plus and in the case of the Dosbox Pure core I can see that it has a bad performance, this is because at some point the core in retroarch was broken, there is an older version about a year old where the core works much better in performance and is able to run almost all 2D games full speed, I have a backup of that version (.elf and .info), I'm not sure if it's useful or possible to replace the core included with Emu4vita plus.

I also report that the Dosbox SVN core seems to not work, I haven't managed to load any game that at least starts in Dosbox Pure core, I just get a generic Vita error and the app closes.

I hope it can be reviewed, thanks for the work on this project.

noword commented 1 week ago

Same issue in other cores, like PCSX. The newest codes have lots of problems. It took me a long time to realize that it wasn't my problem, it was the newest core's problem.

Can you upload the stable version of Dosbox, maybe I can find the git hash string in the binary files, figure out which version should I use.

Thank you for your attention.

Snowbro88 commented 1 week ago

Sure, here I leave you a zip file that includes the Dosbox Pure core with good performance, it seems that in the stable version 1.9.14 of retroarch they still worked well, but they are cores from the beginning of 2022, since then they have not been corrected in their version for Vita by libretro.

It also includes the Hatari core for Atari ST which works and has quite good performance, currently that core crashes in retroarch.

And also the UAE4ARM core for Commodore Amiga that can run almost the entire romset at full speed stable, something similar happened to this core as Dosbox Pure simply lost performance, in this case the developer of the core told me that the problem was caused by a change on the libretro side.

https://mega.nz/file/nto3zRBI#asjPrm6ZyXKaw_2Bbg1jO--mFmEHxGoihGMkOY_lJc8

I link you to the github of the UAE4ARM version for Vita where at some point I reported the problems but they were no longer solved.

https://github.com/libretro/uae4arm-libretro/issues/23

Maybe you can consider adding the Hatari and UAE4ARM cores to Emu4vita Plus and I hope these files can help you in identifying when these problems started and maybe you can use an older version of these cores but with good performance for your Emu4vita plus project.

Thank you very much for your work and attention.

For some reason I can't insert the links correctly but you can copy the text and paste it into a new browser tab, sorry

noword commented 1 week ago

The dosbox-pure version you uploaded is 0.20,the newest version is 0.9.9. I will roll back to a previous version see what happens.

noword commented 5 days ago

@Snowbro88 you can try the new version now.

Snowbro88 commented 4 days ago

@Snowbro88 you can try the new version now.

Hi, I've tried the new version of Emu4vita++ with the dosbox pure core (0.20) and it really works very fast for all 2D games but one problem I find is that when closing any game, going back to arch or even closing the app is impossible, the PS Vita simply hangs and you can't go back to the live area either, you have to turn off the console.

It's just a detail but it would be great if it could be fixed, the best thing about Emu4vita++ is the speed and stability of the menu.

noword commented 4 days ago

~~Is this problem only in dosbox pure? Or does it happen in other core as well? Can you upload the ux0:/data/EMU4VITAPLUS/dosbox_pure/config.ini here?~~ I known why. Try the new version.

Snowbro88 commented 3 days ago

~Is this problem only in dosbox pure? Or does it happen in other core as well? Can you upload the ux0:/data/EMU4VITAPLUS/dosbox_pure/config.ini here?~ I known why. Try the new version.

Great, now the core works much more stable, you can close the game, return to arch or close the app without it crashing.

I just wanted to comment and I hope I'm not bothering you too much, that in the Dosbox Pure and MAME cores if you run a game and close it to run another automatically it gives a generic vita c-128 error and the app closes, if instead of this you close the core and return to arch or completely close Emu4vita+ there is no problem, the problem is only if you close a game and run another one from the same core.