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

Retroarch on Android 9 TV Box PPSSPP Core crashes Retroarch #16661

Open
5 tasks done
K9-711 opened this issue Dec 27, 2022 · 4 comments
Open
5 tasks done

Retroarch on Android 9 TV Box PPSSPP Core crashes Retroarch #16661

K9-711 opened this issue Dec 27, 2022 · 4 comments
Labels
Libretro Issue on Libretro but not all ports.

Comments

@K9-711
Copy link

K9-711 commented Dec 27, 2022

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

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try without any cheats and without loading any save states.
  • Include logs or screenshots of issue.
@unknownbrackets
Copy link
Collaborator

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]

@unknownbrackets unknownbrackets added the Libretro Issue on Libretro but not all ports. label Dec 27, 2022
@K9-711
Copy link
Author

K9-711 commented Dec 27, 2022

so there is no workaround fir it?

@K9-711
Copy link
Author

K9-711 commented Dec 28, 2022

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_CORE_OPTIONS_VERSION.
[Environ]: GET_LANGUAGE: "0".
[Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2_INTL.
[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".
[Environ]: SET_INPUT_DESCRIPTORS:
[Environ]: GET_LOG_INTERFACE.
[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".
[Environ]: GET_SAVE_DIRECTORY.
[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".

@gouchi
Copy link
Contributor

gouchi commented Jun 2, 2024

@K9-711 can you make some test using F-Droid RetroArch package ? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Libretro Issue on Libretro but not all ports.
Projects
None yet
Development

No branches or pull requests

3 participants