OnionUI / Onion

OS overhaul for Miyoo Mini and Mini+
https://onionui.github.io
GNU General Public License v3.0
3.33k stars 209 forks source link

CP3 games fail to load under 20220126 #442

Closed MasterEmerald closed 2 years ago

MasterEmerald commented 2 years ago

Tried a clean/blank SD card AND a stock Miyoo Mini SD card update. In either case, CP3 games attempt to load and crash back to the rom select pick-list. Meanwhile CPS1, CPS2 etc work just fine (using the same/unified retroarch core).

Tested with both a clean/blank SD and one fba CP3 game (confirmed working on PC) and the stock Miyoo Mini SD card (where the Onion installer self-relocated the CPS3 games and not a single one loads. Same romset loads fine under stock firmware and core setup.

MasterEmerald commented 2 years ago

I enabled debug level core/app logging and captured this trying to launch any CPS3 game:

[INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Jan 7 2022 [INFO] Version: 1.9.6 [INFO] ================================================= [INFO] [Input]: Found input driver: "linuxraw". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ fullscreen [INFO] [Video]: Starting threaded video driver ... [INFO] [SDL]: Detecting desktop resolution 640x480. [INFO] [Joypad]: Found joypad driver: "linuxraw". [INFO] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Found display server: null [INFO] [Display]: Found display driver: "null". [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/mnt/SDCARD/RetroArch/content_favorites.lpl]. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] Threaded video stats: Frames pushed: 523, Frames dropped: 0.

MasterEmerald commented 2 years ago

vs this for any CPS2 game: [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Jan 7 2022 [INFO] Version: 1.9.6 [INFO] ================================================= [INFO] [Input]: Found input driver: "linuxraw". [INFO] [Core]: Loading dynamic libretro core from: "/mnt/SDCARD/Emu/CPS2/fbalpha2012_cps2_libretro.so" [INFO] [Overrides]: No core-specific overrides found at "./.retroarch/config/FB Alpha 2012 CPS-2/FB Alpha 2012 CPS-2.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "./.retroarch/config/FB Alpha 2012 CPS-2/CPS2.cfg". [INFO] [Overrides]: No game-specific overrides found at "./.retroarch/config/FB Alpha 2012 CPS-2/xmvsf.cfg".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Remaps]: Remap directory: "./.retroarch/config/remaps". [INFO] [Overrides]: Redirecting save file to "./.retroarch/saves/FB Alpha 2012 CPS-2/xmvsf.srm". [INFO] [Overrides]: Redirecting save state to "./.retroarch/states/FB Alpha 2012 CPS-2/xmvsf.state".

[INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.

[libretro INFO] Setting save dir to ./.retroarch/saves/FB Alpha 2012 CPS-2 [INFO] [Environ]: SYSTEM_DIRECTORY: "/mnt/SDCARD/BIOS". [libretro INFO] Setting system dir to /mnt/SDCARD/BIOS

[libretro INFO] [FBA] Archive: xmvsf [libretro INFO] Game: xmvsf [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555. [libretro INFO] has_analog: 0 [libretro INFO] drvname: xmvsf [libretro INFO] genre: 8 [libretro INFO] hardware: 117506048

[INFO] found_last_state_slot: #0 [INFO] [SRAM]: Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 32040.00 Hz. [INFO] [Video]: Video @ fullscreen [INFO] [Video]: Starting threaded video driver ... [INFO] [SDL]: Detecting desktop resolution 640x480. [INFO] [Joypad]: Found joypad driver: "linuxraw". [INFO] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Found display server: null [INFO] [Display]: Found display driver: "null". [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/mnt/SDCARD/RetroArch/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/mnt/SDCARD/RetroArch/content_favorites.lpl]. [INFO] [Playlist]: Written to playlist file: /mnt/SDCARD/RetroArch/content_history.lpl

[INFO] Threaded video stats: Frames pushed: 2494, Frames dropped: 0. [INFO] [Audio]: Set audio input rate to: 32040.00 Hz. [INFO] Using 1 threads for softfilter. [INFO] [Video]: Video @ fullscreen [INFO] [Video]: Starting threaded video driver ... [INFO] [SDL]: Detecting desktop resolution 640x480. [INFO] [Joypad]: Found joypad driver: "linuxraw". [INFO] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Found display server: null [INFO] [Display]: Found display driver: "null". [INFO] [Input]: Game Focus => OFF [INFO] [State]: Saving state "./.retroarch/states/FB Alpha 2012 CPS-2/xmvsf.state.auto", 354016 bytes. [INFO] Auto save state to "./.retroarch/states/FB Alpha 2012 CPS-2/xmvsf.state.auto" succeeded. [INFO] [Core]: Content ran for a total of: 00 hours, 01 minutes, 53 seconds. [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core Options]: Saved core options file to "./.retroarch/config/FB Alpha 2012 CPS-2/FB Alpha 2012 CPS-2.opt" [INFO] Threaded video stats: Frames pushed: 9849, Frames dropped: 2.

MasterEmerald commented 2 years ago

Fixed by repointing the CPS3 Emu to Fbneo core, launch.sh and cpufreq.sh Might not be optimal for these games but works well enough vs fba 2012. Speaking of, consider adding fba 2018 core and maybe some N64 cores if the hardware can handle it.