Open K9-711 opened 1 year ago
I think crashes on libretro are not new - possibly related to #10784. I think people have found certain audio or save state settings can affect it.
One of the reasons for this is that libretro was designed for much weaker consoles (the PSP has 93x the CPU power of the SNES, and 10x the PS1, for example.) PPSSPP has to use multithreading, CPU features, advanced memory mapping tricks, and other things to be fast - and these are things libretro's API design assumed no one would ever actually need to do. So PPSSPP isn't very compatible with libretro by design. It'd work better with a slower, less performant emulator.
-[Unknown]
so there is no workaround fir it?
I want to leave here a log. May be someone can find the issue.
[Playlist]: Written to playlist file: "/storage/emulated/0/RetroArch/playlists/Sony - PlayStation Portable.lpl". [Core]: Using content: "/storage/F467-DCE5/RetroArch/ROMS/Sony PSP/2365 - Ben 10 - Ultimate Alien - Cosmic Destruction (USA).iso". [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [Core]: Unloading core.. [Core]: Unloading core symbols.. Threaded video stats: Frames pushed: 4844, Frames dropped: 0. RetroArch 1.14.0 (Git e3c92b0) === Build ======================================= Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Dec 13 2022 [INFO] Version: 1.14.0 [INFO] Git: e3c92b0 [INFO] ================================================= [Input]: Found input driver: "android". [Core]: Loading dynamic libretro core from: "/data/user/0/com.retroarch.ra32/cores/ppsspp_libretro_android.so"
Environ: GET_LANGUAGE: "0".
[Overrides]: Redirecting save file to "/storage/emulated/0/RetroArch/saves/2365 - Ben 10 - Ultimate Alien - Cosmic Destruction (USA).srm". [Overrides]: Redirecting save state to "/storage/emulated/0/RetroArch/states/2365 - Ben 10 - Ultimate Alien - Cosmic Destruction (USA).state".
[IO] Missing filesystem for lang/.ini [G3D] Longest display side: -1 pixels. Choosing scale 1 [IO] Missing filesystem for 'langregion.ini' [LOADER] Failed to read /controls.ini. Setting controller config to default. Environ: GET_USERNAME: "". Environ: SYSTEM_DIRECTORY: "/storage/F467-DCE5/RetroArch/bios".
[Content]: Content loading skipped. Implementation will load it on its own. Environ: SET_PIXEL_FORMAT: XRGB8888. Environ: GET_PREFERRED_HW_RENDER, video driver name: gl. Environ: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_OPENGL. Environ: SET_HW_RENDER, context type: gl. Requesting OpenGLES2 context. Reached end of SET_HW_RENDER. Environ: GET_LANGUAGE: "0". [BOOT] PPSSPP v1.14.1-52-g350b59c [G3D] UnitsPerMeter for ULUS10542: 0.000000 [SRAM]: Skipping SRAM load. [Core]: Version of libretro API: 1, Compiled against API: 1 [Audio]: Set audio input rate to: 44144.10 Hz. [Video]: Set video size to: 1440x816. [Video]: Using HW render, OpenGL driver forced. [Video]: Using configured "gl" driver for GL HW render. Android EGL: GLES version = 2. [EGL] Falling back to eglGetDisplay [EGL]: EGL version: 1.4 [GL]: Found GL context: "egl_android". [GL]: Detecting screen resolution: 0x0. [EGL]: Current context: 0xd297f200. [GL]: Vendor: ARM, Renderer: Mali-450 MP. [GL]: Version: OpenGL ES 2.0 4c24f21. [GL]: Using resolution 1920x1080. [GL]: Default shader backend found: glsl. [Shader driver]: Using GLSL shader backend. [GL]: Stock GLSL shaders will be used. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. Setting up menu pipeline shaders for XMB ... [GLSL]: Compiling ribbon shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling simple ribbon shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling snow shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling modern snow shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling bokeh shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GLSL]: Compiling snowflake shader.. [GLSL]: Found GLSL vertex shader. [GLSL]: Found GLSL fragment shader. [GLSL]: Linking GLSL program. [GL]: Using 1 textures. [GL]: Loaded 1 program(s). [GL]: Initializing HW render (512x512). [GL]: Max texture size: 4096 px, renderbuffer size: 4096 px. [GL]: Supports FBO (render-to-texture). [Joypad]: Found joypad driver: "android". [Video]: Found display server: "android". [OpenSL]: Requested audio latency: 128 ms. [OpenSL]: Setting audio latency: Block size = 4096, Blocks = 6, Total = 24576 ... [Display]: Found display driver: "gl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch.ra32/files/content_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch.ra32/files/content_music_history.lpl". [Playlist]: Loading history file: "/storage/emulated/0/Android/data/com.retroarch.ra32/files/content_image_history.lpl". [Playlist]: Loading favorites file: "/storage/emulated/0/Android/data/com.retroarch.ra32/files/content_favorites.lpl". [Playlist]: Written to playlist file: "/storage/emulated/0/Android/data/com.retroarch.ra32/files/content_history.lpl".
@K9-711 can you make some test using F-Droid RetroArch package ? Thank you.
Game or games this happens in
Need for Speed - Most Wanted - 5-1-0 (USA).iso
What area of the game / PPSSPP
The game doesn't even start
What should happen
It shouldn't crash.
If I load a new game into retroarch and scan the directory again the game seems to work. When exit the game retroarch crashes. From then on retroarch crashes as soon I try to start the game again.
I followed this instructions; https://docs.libretro.com/library/ppsspp/#bios
Logs
No response
Platform
Android
Mobile phone model or graphics card
Xiamo Mi Box S 4k
PPSSPP version affected
Core Version: Git
Last working version
No response
Graphics backend (3D API)
OpenGL / GLES
Checklist