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

[Android] While a game is loaded with mupen64plus on RetroArch, returning from phone sleep and switching apps Crash or Black Screen RetroArch #554

Open
fireflamesniper opened this issue Sep 6, 2024 · 9 comments
Labels

Comments

@fireflamesniper
Copy link

This is a bug I have noticed for quite some time with various devices running Android. If you switch apps / go to a recent app and then back to retroarch/ Come back from sleep mode to RetroArch, RetroArch loaded with a game with Mupen64 will either crash (noticed with various Samsung phones throughout the years) or comes back to a black screen with the audio still playing but none of the controls work (Happens on Retroid Pocket 4 Pro).

@orbstar8
Copy link

same issue here

@fireflamesniper
Copy link
Author

@m4xw
Copy link
Collaborator

m4xw commented Nov 5, 2024

Seems the audio driver stops which i guess could cause some unexpected behaviour inside of RA
Can you check that 1. it doesnt occur with NULL audio driver, 2. it doesnt occur with "pause sounds in menu" (cant fully recall the name of the option) @fireflamesniper

@m4xw m4xw added bug Something isn't working investigating architectural bug labels Nov 5, 2024
@m4xw
Copy link
Collaborator

m4xw commented Nov 5, 2024

[GL]: Detecting screen resolution: 0x0.

oh god

@SeongGino
Copy link

SeongGino commented Dec 7, 2024

For what it's worth, it's the same issue on a Mali G68/Android 11 device here. retroarch.log

...
[GL]: Found GL context: "egl_android".
[GL]: Detecting screen resolution: 0x0.
[EGL]: Created shared context: 0x78c5ebe3c0.
[EGL]: Current context: 0x78c5ebfda0.
[GL]: Vendor: ARM, Renderer: Mali-G68 MC4.
[GL]: Version: OpenGL ES 3.2 v1.r26p0-01eac0.51fd9afee4759fa64b94f75851712457.
[GL]: Using resolution 1334x750.
...

*Device: Retroid Pocket 4 (Base, non-pro)

@unixatch
Copy link

unixatch commented Dec 21, 2024

Happens to me too since forever on a Realme 7 5G which uses a Mali-G57 MC3 using the Vulkan driver/renderer.

Retroarch version: 3ab3b32.
Android version: 12

Here's my log, retroarch.log

And a screenshot:
Screenshot_2024-12-21-14-17-01-98_b783bf344239542886fee7b48fa4b892

@sam-gagnon
Copy link

I'm also having this problem, all default settings, playing on Samsung S24 Ultra, Android 14.

Crash log is here: https://pastebin.com/1dkvdsSm

I've noticed that this is specific to this core. This issue doesn't happen when using ParraLLEI, but that core has a host of other problems which make it a less ideal choice than this one.

@orbstar8
Copy link

I hope you can solve this problem at some point, I really want to play without worrying about that eventuality and losing a game in the process.

@SeongGino
Copy link

SeongGino commented Jan 29, 2025

I hope you can solve this problem at some point, I really want to play without worrying about that eventuality and losing a game in the process.

If there ever is a solution, this issue will be referenced as is appropriate, so no need for re-pinging active threads that the maintainer has already acknowledged (unless you have something to contribute to the conversation or the problem, ofc).

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

No branches or pull requests

6 participants