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

Crashes when opening from standby on Android when using Vulkan #13800

Closed
genos1213 opened this issue Dec 20, 2020 · 12 comments
Closed

Crashes when opening from standby on Android when using Vulkan #13800

genos1213 opened this issue Dec 20, 2020 · 12 comments

Comments

@genos1213
Copy link

When using Vulkan on Android, the app stutters/stalls for a couple seconds when opening from standby and crashes about 1/10th of the time. This doesn't seem to happen with openGL though.

Using a Snapdragon 855 on Android 10, not sure if this issue is known or not.

@hrydgard
Copy link
Owner

hrydgard commented Jan 3, 2021

I'm having some trouble reproducing this. Are we talking in-game? Any specific game that seems to trigger the problem?

@hrydgard
Copy link
Owner

hrydgard commented Jan 4, 2021

Are you using 1.10.3 or the latest builds from https://buildbot.orphis.net/ppsspp/ ?

@genos1213
Copy link
Author

I'm using the latest Play Store version, so 1.10.3. It seems to happen with every game, regardless of what's being rendered, but only with Vulkan. If I just press the menu button and select the app 5-10x times it stutters at first and eventually crashes. I don't think I've ever seen anybody else with the issue so it could just be my phone's GPU drivers? I'm using a Xiaomi Mi 9T Pro.

@unknownbrackets
Copy link
Collaborator

That sounds a lot like #10850.

-[Unknown]

@hrydgard
Copy link
Owner

hrydgard commented Jan 8, 2021

I think this has improved a bit since 1.10.3, some bugs have been fixed. Try the latest from https://buildbot.orphis.net/ppsspp/ .

Might not be perfect yet though, assuming #10850 is still reproducible...

@genos1213
Copy link
Author

I tried the latest version and unless it's my imagination it's a bit better, but assuredly still crashes within around 10 rounds of minimising the app. So I guess it's the same issue as #10850?

@hrydgard
Copy link
Owner

hrydgard commented Jan 8, 2021

Okay, thanks for testing. Will make another effort...

@hrydgard
Copy link
Owner

I've tried to reproduce with very limited success. More work on this will have to wait. The current state is pretty usable for most people I think...

@hrydgard hrydgard modified the milestones: v1.11.0, v1.12.0 Jan 30, 2021
@ghost ghost mentioned this issue Jun 28, 2021
4 tasks
@ghost
Copy link

ghost commented Aug 9, 2021

I try to reproduce this but it seems fixed maybe by
#14702?

Edit: Can still reproduce this after 30+ switching app also my wallpaper on my phone turns dark after the crash weird 😅

@ghost
Copy link

ghost commented Nov 22, 2021

This is now become very agreesive using the latest ppsspp github build, once you minimize the ppsspp it's automatically reset and sometimes crash

<<< log_count = 15 >>>
[11-22 15:20:04.997 29493:29493 F/DEBUG]
      #03 pc 00000000006abe18  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::PerformRenderPass(VKRStep const&, VkCommandBuffer_T*)+1816) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:04.997 29493:29493 F/DEBUG]
      #04 pc 00000000006ab514  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::RunSteps(VkCommandBuffer_T*, std::__ndk1::vector<VKRStep*, std::__ndk1::allocator<VKRStep*> >&, QueueProfileContext*)+264) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:04.997 29493:29493 F/DEBUG]
      #05 pc 00000000006a53d0  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::Run(int)+92) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:04.997 29493:29493 F/DEBUG]
      #06 pc 00000000006a4568  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::ThreadFunc()+108) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:04.997 29493:29493 F/DEBUG]
      #07 pc 00000000006a87d4  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (VulkanRenderManager::*)(), VulkanRenderManager*> >(void*)+64) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:46.147 29821:29821 F/DEBUG]
      #03 pc 00000000006abe18  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::PerformRenderPass(VKRStep const&, VkCommandBuffer_T*)+1816) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:46.147 29821:29821 F/DEBUG]
      #04 pc 00000000006ab514  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::RunSteps(VkCommandBuffer_T*, std::__ndk1::vector<VKRStep*, std::__ndk1::allocator<VKRStep*> >&, QueueProfileContext*)+264) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:46.147 29821:29821 F/DEBUG]
      #05 pc 00000000006a53d0  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::Run(int)+92) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:46.147 29821:29821 F/DEBUG]
      #06 pc 00000000006a4568  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::ThreadFunc()+108) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 15:20:46.147 29821:29821 F/DEBUG]
      #07 pc 00000000006a87d4  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (VulkanRenderManager::*)(), VulkanRenderManager*> >(void*)+64) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 16:09:18.583 3573:3573 F/DEBUG]
      #03 pc 00000000006abe18  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::PerformRenderPass(VKRStep const&, VkCommandBuffer_T*)+1816) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 16:09:18.583 3573:3573 F/DEBUG]
      #04 pc 00000000006ab514  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanQueueRunner::RunSteps(VkCommandBuffer_T*, std::__ndk1::vector<VKRStep*, std::__ndk1::allocator<VKRStep*> >&, QueueProfileContext*)+264) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 16:09:18.583 3573:3573 F/DEBUG]
      #05 pc 00000000006a53d0  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::Run(int)+92) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 16:09:18.583 3573:3573 F/DEBUG]
      #06 pc 00000000006a4568  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (VulkanRenderManager::ThreadFunc()+108) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

[11-22 16:09:18.583 3573:3573 F/DEBUG]
      #07 pc 00000000006a87d4  /data/app/~~S0FmTmtcTQ8dnqn8V9-hAQ==/org.ppsspp.ppsspp-vaMVcYx1nbTqBA6CxXEAVQ==/lib/arm64/libppsspp_jni.so (void* std::__ndk1::__thread_proxy<std::__ndk1::tuple<std::__ndk1::unique_ptr<std::__ndk1::__thread_struct, std::__ndk1::default_delete<std::__ndk1::__thread_struct> >, void (VulkanRenderManager::*)(), VulkanRenderManager*> >(void*)+64) (BuildId: 89b8a4491402965a0aab4d82ce6d48cfab108bab)

@hrydgard hrydgard modified the milestones: Future-Prio, v1.13.0 Nov 22, 2021
@hrydgard
Copy link
Owner

thanks for reporting, that's not good. will prioritize.

@hrydgard
Copy link
Owner

Seems that #15220 fixed or at least improved this. I'm closing, let's reopen if it becomes an issue again.

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

No branches or pull requests

3 participants