-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Since iOS external display, the Exit button causes hangs / freezes #12140
Comments
It seems that more than that. On the non-jailbroken device, whether side PPSSPP out of the background or clicke the "Exit" button, ppsspp will be frozen, only restart can make it work again. |
Things are worse than I thought. On devices that use Electra (iPhoneXS, iOS 12.1.2), PPSSPP will also freeze when trying to exit—until it restarts. |
I really have a hard time confirming whether this is still caused by syscall - on devices that use unc0ver to jailbreak, it will freeze when clicking the exit button on the main page, and when side out PPSSPP from background and then enter PPSSPP again, it will also freeze briefly - But eventually it will work again without any other operations. |
It sounds like this is related to #12096 What happens if you revert these changes? Maybe it was only secretly working before because it was crashing on exit? -[Unknown] |
Yes, it is. |
Wrong tap |
That's really cool! |
I'm not sure - I don't have any iOS device to test it. I think probably not. -[Unknown] |
Yeah, I think it makes sense to try to revert that part. |
Note: If really need revent, just revent the part of main.mm |
…pport, that seemed to break exit. See #12140.
Ok, done. |
Finally figured out that this is related to build configuration. The assertion doesn't work in release mode. Only debug mode needs this change for exit button to work. Still confused why this change causes hang in release mode. |
Maybe the assertion failing trips some kind of handling that prevents the hang (since the hang is caused by a "debugger" being attached)? I think Discord is disabled on iOS anyway, but that code still runs (it's deeper in that it's disabled.) -[Unknown] |
Good find! Should be pretty easy to fix then. |
So it seems that NativeShutdown doesn't run on iOS then, since it calls g_Discord.Shutdown() which would prevent this assert from triggering. Nevertheless I'm disabling the assert for now since it's pretty low-value. |
So can we restore the exit animation on iOS now? |
No idea about that stuff, sorry |
After merge the pull request #12421 from sbingner, this problem can basically be confirmed as a complete fix. Even if you run PPSSPP on non jailbroken device, or if CS_DEBUGGED is not turned on, it will no longer freeze on exit. |
What happens?
In the latest version (0v1.8.0-367-ge8aad38e7), the "Exit" button does not work and will cause the program frozen
This is different from the problem in #11905 . When the "Exit" button is pressed and the program is frozen, side PPSSPP out of the background and re-open it, PPSSPP can still work.
What should happen?
In version 0v1.8.0-291-gcfa79b686, this problem does not exist yet - the program will exit normally after pressing the "Exit" button
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
Apple A10 arm64, iOS 12.1.1, 0v1.8.0-367-ge8aad38e7
The text was updated successfully, but these errors were encountered: