Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PSP] gpSP core does not work on real PSP-1000 #154

Open
ItachiSan opened this issue Sep 21, 2021 · 7 comments
Open

[PSP] gpSP core does not work on real PSP-1000 #154

ItachiSan opened this issue Sep 21, 2021 · 7 comments

Comments

@ItachiSan
Copy link

Hi,

I've been trying to run gpSP via RetroArch with no success.
As the regular gpSP does indeed work, I would like to have/provide help in order to solve the situation.

I've tried RetroArch v1.9.10 with 401adca on my PSP-1000 without any success.

As I've standalone gpSP running as it should and this fork of the emulator seems quite alive, I believe I will have more success having an emulator running via RetroArch than as in libretro/TempGBA-libretro#3.

Please tell me what is needed for debugging and I will help. 😄

@davidgfnet
Copy link
Collaborator

Aha! This must be an issue with the memory limits, since on my PSP3000 works (but it has 64MB of RAM).
AFAIK the only difference between the two devices are the RAM amount and a VFPU bug (which I assume... won't be the culprit).
Could you please try older versions of retroarch and see if you find a working one? That could help a lot to nail down the issue :)
Thanks!

@ItachiSan
Copy link
Author

I tried downloading all of the stable releases, because those were the ones I found; later tonight I will do the tests 😄

@ItachiSan
Copy link
Author

All the following tests use RetroArch v1.9.10.

gpSP from v1.9.10 (401adca)
[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep 19 2021
[INFO] Version: 1.9.10
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[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 @ 960x720
[INFO] [Joypad]: Found joypad driver: "psp".
[INFO] [Video]: Found display server: null
[INFO] [Display]: Found display driver: "null".
[INFO] [Core Info] Wrote to cache file: ms0:/PSP/GAME/retroarch/INFO/core_info.cache
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_history.lpl].
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_music_history.lpl].
[INFO] [Playlist]: Loading favorites file: [ms0:/PSP/RETROARCH/content_favorites.lpl].
[INFO] FRONTEND_FORK_CORE
[INFO] [Config]: Saving salamander config to: "ms0:/PSP/RETROARCH/retroarch-salamander.cfg".

[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep 19 2021
[INFO] Version: 1.9.10
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[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 @ 960x720
[INFO] [Joypad]: Found joypad driver: "psp".
[INFO] [Video]: Found display server: null
[INFO] [Display]: Found display driver: "null".
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_history.lpl].
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_music_history.lpl].
[INFO] [Playlist]: Loading favorites file: [ms0:/PSP/RETROARCH/content_favorites.lpl].
[INFO] FRONTEND_FORK_CORE_WITH_ARGS
[INFO] [Config]: Saving salamander config to: "ms0:/PSP/RETROARCH/retroarch-salamander.cfg".

[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep 19 2021
[INFO] Version: 1.9.10
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[INFO] [Overrides]: No core-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/gpSP.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/GBA.cfg".
[INFO] [Overrides]: No game-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/Kirby - Nightmare in Dreamland.cfg".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Remaps]: Remap directory: "ms0:/PSP/RETROARCH/CONFIG/REMAPS".
[INFO] [Overrides]: Redirecting save file to "ms0:/PSP/RETROARCH/SAVEFILES/Kirby - Nightmare in Dreamland.srm".
[INFO] [Overrides]: Redirecting save state to "ms0:/PSP/RETROARCH/SAVESTATES/Kirby - Nightmare in Dreamland.state".
[INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: GET_VARIABLE gpsp_drc:
	enabled
[INFO] [Environ]: GET_VARIABLE gpsp_bios:
	auto
[INFO] [Environ]: GET_VARIABLE gpsp_boot_mode:
	game
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip_threshold:
	33
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip_interval:
	1
[INFO] [Environ]: SET_AUDIO_BUFFER_STATUS_CALLBACK.
[INFO] [Environ]: GET_VARIABLE gpsp_color_correction:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_frame_mixing:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_save_method:
	gpSP
[INFO] [Environ]: GET_VARIABLE gpsp_turbo_period:
	4
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] 	RetroPad, Port 1, Button "B (bottom)" => "B"
[INFO] 	RetroPad, Port 1, Button "Y (left)" => "Turbo B"
[INFO] 	RetroPad, Port 1, Button "Select" => "Select"
[INFO] 	RetroPad, Port 1, Button "Start" => "Start"
[INFO] 	RetroPad, Port 1, Button "D-Pad Up" => "D-Pad Up"
[INFO] 	RetroPad, Port 1, Button "D-Pad Down" => "D-Pad Down"
[INFO] 	RetroPad, Port 1, Button "D-Pad Left" => "D-Pad Left"
[INFO] 	RetroPad, Port 1, Button "D-Pad Right" => "D-Pad Right"
[INFO] 	RetroPad, Port 1, Button "A (right)" => "A"
[INFO] 	RetroPad, Port 1, Button "X (up)" => "Turbo A"
[INFO] 	RetroPad, Port 1, Button "L" => "L"
[INFO] 	RetroPad, Port 1, Button "R" => "R"
[INFO] 	RetroPad, Port 1, Button "R2" => "Fast Forward"
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: SYSTEM_DIRECTORY: "ms0:/PSP/RETROARCH/SYSTEM".
[INFO] [Environ]: SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr          offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1Bc 0x8f4e200 00008000 03000000 03FF8000 00000000 00008000 
[INFO]    002 M1A1Bc 0x8f76200 00000000 02000000 03FC0000 00000000 00040000 
[INFO] [SRAM]: Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
gpSP from v1.9.9 (f51ed9d)
[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep  5 2021
[INFO] Version: 1.9.9
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[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 @ 960x720
[INFO] [Joypad]: Found joypad driver: "psp".
[INFO] [Video]: Found display server: null
[INFO] [Display]: Found display driver: "null".
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_history.lpl].
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_music_history.lpl].
[INFO] [Playlist]: Loading favorites file: [ms0:/PSP/RETROARCH/content_favorites.lpl].
[INFO] FRONTEND_FORK_RESTART
[INFO] [Config]: Saving salamander config to: "ms0:/PSP/RETROARCH/retroarch-salamander.cfg".

[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep  5 2021
[INFO] Version: 1.9.9
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[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 @ 960x720
[INFO] [Joypad]: Found joypad driver: "psp".
[INFO] [Video]: Found display server: null
[INFO] [Display]: Found display driver: "null".
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_history.lpl].
[INFO] [Playlist]: Loading history file: [ms0:/PSP/RETROARCH/content_music_history.lpl].
[INFO] [Playlist]: Loading favorites file: [ms0:/PSP/RETROARCH/content_favorites.lpl].
[INFO] FRONTEND_FORK_CORE_WITH_ARGS
[INFO] [Config]: Saving salamander config to: "ms0:/PSP/RETROARCH/retroarch-salamander.cfg".

[INFO] === Build =======================================
[INFO] Capabilities:  VFPU
[INFO] Built: Sep  5 2021
[INFO] Version: 1.9.9
[INFO] =================================================
[INFO] [Input]: Found input driver: "psp".
[INFO] [Overrides]: No core-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/gpSP.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/GBA.cfg".
[INFO] [Overrides]: No game-specific overrides found at "ms0:/PSP/RETROARCH/CONFIG/gpSP/Kirby - Nightmare in Dreamland.cfg".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Remaps]: Remap directory: "ms0:/PSP/RETROARCH/CONFIG/REMAPS".
[INFO] [Overrides]: Redirecting save file to "ms0:/PSP/RETROARCH/SAVEFILES/Kirby - Nightmare in Dreamland.srm".
[INFO] [Overrides]: Redirecting save state to "ms0:/PSP/RETROARCH/SAVESTATES/Kirby - Nightmare in Dreamland.state".
[INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: GET_VARIABLE gpsp_drc:
	enabled
[INFO] [Environ]: GET_VARIABLE gpsp_bios:
	auto
[INFO] [Environ]: GET_VARIABLE gpsp_boot_mode:
	game
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip_threshold:
	33
[INFO] [Environ]: GET_VARIABLE gpsp_frameskip_interval:
	1
[INFO] [Environ]: SET_AUDIO_BUFFER_STATUS_CALLBACK.
[INFO] [Environ]: GET_VARIABLE gpsp_color_correction:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_frame_mixing:
	disabled
[INFO] [Environ]: GET_VARIABLE gpsp_save_method:
	gpSP
[INFO] [Environ]: GET_VARIABLE gpsp_turbo_period:
	4
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] 	RetroPad, Port 1, Button "B (bottom)" => "B"
[INFO] 	RetroPad, Port 1, Button "Y (left)" => "Turbo B"
[INFO] 	RetroPad, Port 1, Button "Select" => "Select"
[INFO] 	RetroPad, Port 1, Button "Start" => "Start"
[INFO] 	RetroPad, Port 1, Button "D-Pad Up" => "D-Pad Up"
[INFO] 	RetroPad, Port 1, Button "D-Pad Down" => "D-Pad Down"
[INFO] 	RetroPad, Port 1, Button "D-Pad Left" => "D-Pad Left"
[INFO] 	RetroPad, Port 1, Button "D-Pad Right" => "D-Pad Right"
[INFO] 	RetroPad, Port 1, Button "A (right)" => "A"
[INFO] 	RetroPad, Port 1, Button "X (up)" => "Turbo A"
[INFO] 	RetroPad, Port 1, Button "L" => "L"
[INFO] 	RetroPad, Port 1, Button "R" => "R"
[INFO] 	RetroPad, Port 1, Button "R2" => "Fast Forward"
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: SYSTEM_DIRECTORY: "ms0:/PSP/RETROARCH/SYSTEM".
[INFO] [Environ]: SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr          offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1Bc 0x8f419c0 00008000 03000000 03FF8000 00000000 00008000 
[INFO]    002 M1A1Bc 0x8f699c0 00000000 02000000 03FC0000 00000000 00040000 
[INFO] [SRAM]: Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
gpSP from v1.9.8 (b61bec2)

Reports: "No core available" for .gba files

gpSP from v1.9.7 (1d8313c)

Reports: "No core available" for .gba files

gpSP from v1.9.6 (3d87ec)

Reports: "No core available" for .gba files

I can test even older versions, but I assume GBA support was not working then.
One important thing to mention: while I changed the gpsp PBP, I kept all the rest the same of 1.9.10.

@ItachiSan
Copy link
Author

Hi @davidgfnet, any progress? Or do you need any more input?

@davidgfnet
Copy link
Collaborator

I have been using my japanese psp 1000 lately to test and debug, and it has worked well for me.
Is this still an issue for you? Does it only happen with big ROMs (over 16MB essentially)?

@ItachiSan
Copy link
Author

Hi, didn't get the notification until now.
I can verify as soon as I come back from holidays.

@andymcca
Copy link

andymcca commented Aug 28, 2023

Another report of PSP1000 trouble from a user on GBATemp -

PSP 1000 ARK-4 4.20.62

2023-08-28_RetroArch nightly

I tried the two cores that are available :

mGBA - "works" really really really slow

gpSP v0.91 188887e - just crashes, psp shutting down

gba_bios was in the system folder (if it's even needed)
Is this core not working on psp 1000 models (32mb ram)?

I am verifying which game was tried and if games of other sizes can be tried as suspect maybe a memory size issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants