-
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
GPD XD: PPSSPP crashing when switching apps #11063
Comments
Should i provide some kind of logcat? |
If you can, please do. |
Sorry about the noob question, but how should i proceed in order to do it? |
I experience this as well. I can get a log if you need? |
@ChurroBoi I would appreciate that, if you don't mind. |
@hrydgard @tiagaoextremo Here ya go. |
Thanks. It's very likely to be dying in or close to GLQueueRunner::RunInitSteps and it looks similar to previous GPD stack traces where it blew up on minor GL errors.. Need to get it error-clean. |
Thanks @ChurroBoi for posting the log and thanks @hrydgard for looking into it. |
Yeah, this keeps happening to me as well. If I hit the home button and then return to the app, it either freezes up on me or I get a black screen (which is fixed by going into settings) is the developer aware of this situation? I didn't notice this until now. Even reinstalling it didn't help nor resetting to default settings. |
I just tried latest version (v1.6.2-4-g30de8194a), still the same. Fingers crossed that this will be fixed. |
Hi @hrydgard i'm asking this just for curiosity. This issue happening with the GPD XD it's some thing that could be fixed someday or it's more complicated than it seems? I'm still trying once a week the nightly builds, but it's the same crashing. Thanks. |
Right, I do plan to fix this... |
…1063 The context is already lost and we're really running shutdown when the process is woken up again. Additionally, orderly shutdown through the button doesn't happen on the render thread so remove a couple of asserts that are wrong.
…1063 The context is already lost and we're really running shutdown when the process is woken up again. Additionally, orderly shutdown through the button doesn't happen on the render thread so remove a couple of asserts that are wrong.
Avoid calling any GL calls during shutdown on Android. Should help #11063
Can you try this again with the latest build? |
Hi Henrik. I just tried the build v1.6.3-547-g8a74e6f7b. Still crashing. I also tried the v1.6.3-548-geba6c00a8 and the same results, whether it's the home button or i exchange to another app still crashes the emulator. Thanks for looking into it. |
Thanks for testing @tiagaoextremo . Sorry it didn't help, I'm running out of ideas on how to fix it... Think you could get some fresh ADB logs? |
I hope it worked. I didn't knew how to get a ADB log, but i looked into google and i'm assuming it's ok. After setting everything i just turned on the device, opened PPSSPP and after loading a game i pressed the home button, which made the emulator crashed. This is the log generated after that. Thanks again. |
You can see instructions here: It looks like some of the log information wasn't captured in that log above. -[Unknown] |
Yeah that's missing the crash itself. @tiagaoextremo btw does it make a difference whether you set Display Resolution to native or 2x or something? |
Thanks @unknownbrackets. I followed your instructions. Is it correct now? @hrydgard I just noticed that PPSSPP crashes when i select any other option besides "2X PSP", the other options Native, Auto or 1X crashes the emulator. Rendering resolution allows me to change with no issues. |
Right ok, it'll be defaulting to 2X I guess and then any change will crash. |
Thanks, this is a good log.
Hm, that's interesting? Anyway, seems you restarted it, and then:
So seems like we're still killing a GLRShader during restore? -[Unknown] |
Indeed so, will look into that. Although a cursory code review did not reveal anything, I think I'll have to debug this on device. |
OK, checked in another potential fix... let's hope it's enough this time. |
Hi Henrik, i just tried this build. Still the same crashing. Would you like a fresh log or is there any other way a noob like me could help? |
Yes please, without a device, logs are the most useful way we have... |
Here goes. Hope it helps. :) |
Darn, still a GLRShader destructor in the stack... -[Unknown] |
Alright, can you give it another go @tiagaoextremo ? Thanks! |
Hi Henrik, i tried version 1.6.3-576-g292d2f44e. I'm sorry to say that it crashed again, log included. Sorry that this issue is giving you guys so much trouble. Lately i've been using a lot the save states just in case that this is something that can't be fixed. Thanks for all your work with this emulator, it's one of the best! |
Oh duh, I see what I missed. Don't worry about it, thank you for all your testing, you'll have to test one more I'm afraid :) |
Github clearly has some problems, it's sometimes showing me old versions of this thread so sorry for any double posts. But I've committed a yet another fix :) Please give it a try. Really want to get this done before the release... |
Hi, Henrik. First let me say thanks again. It's been finally fixed! Now i can play a few rpgs again checking some faqs and the emulator isn't crashing anymore. Also, now i can change the resolution to 1x or 2x, isn't crashing also. Your work is highly appreciated! Also thanks to @unknownbrackets for tips and helping me to create a proper log. |
Hurray - thanks for validating, glad to hear it's fixed. -[Unknown] |
Oh awesome! Thanks yet again for all your testing! |
Look like this issue has revive see #12843 |
What happens?
Usually when playing some rpgs i would check from time to time a walkthrough in .txt format switching between the txt reader and the ppsspp emulator. For the latest versions the emulator is crashing everytime i would switch to another app, even if i press the home button the emulator crashes when i return to it.
What should happen?
It should be able to switch between the ppsspp emulator and any other apps.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
GPD XD, RK3288, Mali T760, Android Kitkat 4.4.4, nightly build version v1.5.4-993-gab65c5210.
The text was updated successfully, but these errors were encountered: