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

Changing gpu backend can force stopped ppsspp app #20056

Open
5 tasks done
FATCatAndroid12 opened this issue Mar 2, 2025 · 8 comments
Open
5 tasks done

Changing gpu backend can force stopped ppsspp app #20056

FATCatAndroid12 opened this issue Mar 2, 2025 · 8 comments

Comments

@FATCatAndroid12
Copy link

FATCatAndroid12 commented Mar 2, 2025

Game or games this happens in

PPSSPP NIGHTLY

What area of the game / PPSSPP

Image

Image

What should happen

Shouldn't crash when changing gpu backend

Logs

logcat_03-02-2025_10-05-33.txt

Platform

Android

Mobile device model or graphics card (GPU)

REDMI NOTE 9

PPSSPP version affected

Latest apk build

Last working version

1.18.1

Graphics backend (3D API)

Vulkan

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.
@anr2me
Copy link
Collaborator

anr2me commented Mar 2, 2025

Have you tried the latest dev build at https://www.ppsspp.org/devbuilds/?
Because i couldn't reproduce this issue on my Tecno Pova 6 (with Mali G57 MC2 GPU) with the latest dev build.

Your Redmi Note 9 have Mali G52 MC2 GPU, right?

@FATCatAndroid12
Copy link
Author

Have you tried the latest dev build at https://www.ppsspp.org/devbuilds/?

I already using the latest build apk

Because i couldn't reproduce this issue on my Tecno Pova 6 (with Mali G57 MC2 GPU) with the latest dev build.

maybe driver/os issue of my android phone?

Your Redmi Note 9 have Mali G52 MC2 GPU, right?

Yes, my version android is 12 my OS is miui 13

@FATCatAndroid12
Copy link
Author

After uninstalling my ppsspp gold (bought on playstore) changing gpu backend no more crashing/force stopped

@anr2me
Copy link
Collaborator

anr2me commented Mar 2, 2025

That is strange if it was affected by another app that isn't even running at the same time.

@FATCatAndroid12
Copy link
Author

FATCatAndroid12 commented Mar 9, 2025

Can the reproduce this issue again so reopening

[03-09 07:50:53.463 14485:14485 D/PPSSPPNativeActivity]
Landscape: true

[03-09 07:50:53.470 14485:14485 I/PPSSPPNativeActivity]
Ext storage: mounted /storage/emulated/0

[03-09 07:50:53.470 14485:14485 I/PPSSPPNativeActivity]
Ext files dir: /storage/emulated/0/Android/data/org.ppsspp.ppsspp/files

[03-09 07:50:53.471 14485:14485 I/PPSSPPNativeActivity]
getSdCardPaths: Attempting fallback

[03-09 07:50:53.471 14485:14485 I/PPSSPPNativeActivity]
End of storage paths

[03-09 07:50:54.169 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (Initialize)

[03-09 07:50:54.340 14485:14485 I/PPSSPPNativeActivity]
OpenGL ES 3.0 detected.

[03-09 07:50:54.361 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:50:54.375 14485:14485 E/PPSSPPNativeActivity]
updateSystemUiVisibility: decor view not yet created, ignoring for now

[03-09 07:50:54.414 14485:14485 I/PPSSPPNativeActivity]
setcontentview before

[03-09 07:50:54.440 14485:14485 I/PPSSPPNativeActivity]
setcontentview after

[03-09 07:50:54.440 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:50:54.449 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:50:54.450 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:50:54.495 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:50:54.527 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:50:54.532 14485:14485 I/PPSSPPNativeActivity]
Joining render thread...

[03-09 07:50:54.532 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:50:54.532 14485:14485 I/PPSSPPNativeActivity]
Joined render thread

[03-09 07:50:54.532 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:50:54.533 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:50:54.534 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:50:54.548 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:50:54.549 14485:14485 E/PPSSPPNativeActivity]
updateSystemUiVisibility: decor view not yet created, ignoring for now

[03-09 07:50:54.552 14485:14485 I/PPSSPPNativeActivity]
setcontentview before

[03-09 07:50:54.556 14485:14485 I/PPSSPPNativeActivity]
setcontentview after

[03-09 07:50:54.556 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:50:54.558 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:50:54.558 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:50:54.570 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:50:54.580 14485:14485 I/PPSSPPNativeActivity]
onAttachedToWindow

[03-09 07:50:54.598 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:50:54.598 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:50:59.924 14485:14485 I/PPSSPPNativeActivity]
graphics_restart

[03-09 07:50:59.926 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:50:59.931 14485:14485 I/PPSSPPNativeActivity]
Joining render thread...

[03-09 07:50:59.931 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:50:59.987 14485:14485 I/PPSSPPNativeActivity]
Joined render thread

[03-09 07:50:59.987 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:50:59.988 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:51:45.311 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:51:45.314 14485:14485 E/PPSSPPNativeActivity]
Can't deal with surfaces while not initialized

[03-09 07:51:45.334 14485:14485 D/PPSSPPNativeActivity]
Landscape: true

[03-09 07:51:45.354 14485:14485 I/PPSSPPNativeActivity]
Ext storage: mounted /storage/emulated/0

[03-09 07:51:45.355 14485:14485 I/PPSSPPNativeActivity]
Ext files dir: /storage/emulated/0/Android/data/org.ppsspp.ppsspp/files

[03-09 07:51:45.355 14485:14485 I/PPSSPPNativeActivity]
getSdCardPaths: Attempting fallback

[03-09 07:51:45.356 14485:14485 I/PPSSPPNativeActivity]
End of storage paths

[03-09 07:51:45.698 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (Initialize)

[03-09 07:51:45.700 14485:14485 I/PPSSPPNativeActivity]
OpenGL ES 3.0 detected.

[03-09 07:51:45.706 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:51:45.722 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:51:45.722 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:51:45.766 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:51:50.048 14485:14485 I/PPSSPPNativeActivity]
graphics_restart

[03-09 07:51:50.049 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:51:50.076 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:51:50.077 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:51:50.077 14485:14485 I/PPSSPPNativeActivity]
nativerenderer done.

[03-09 07:52:35.402 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:52:35.413 14485:14485 E/PPSSPPNativeActivity]
Can't deal with surfaces while not initialized

[03-09 07:52:35.430 14485:14485 D/PPSSPPNativeActivity]
Landscape: true

[03-09 07:52:35.444 14485:14485 I/PPSSPPNativeActivity]
Ext storage: mounted /storage/emulated/0

[03-09 07:52:35.444 14485:14485 I/PPSSPPNativeActivity]
Ext files dir: /storage/emulated/0/Android/data/org.ppsspp.ppsspp/files

[03-09 07:52:35.445 14485:14485 I/PPSSPPNativeActivity]
getSdCardPaths: Attempting fallback

[03-09 07:52:35.445 14485:14485 I/PPSSPPNativeActivity]
End of storage paths

[03-09 07:52:35.816 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (Initialize)

[03-09 07:52:35.818 14485:14485 I/PPSSPPNativeActivity]
OpenGL ES 3.0 detected.

[03-09 07:52:35.827 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:52:35.852 14485:14485 I/PPSSPPNativeActivity]
setcontentview before

[03-09 07:52:35.862 14485:14485 I/PPSSPPNativeActivity]
setcontentview after

[03-09 07:52:35.862 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:52:35.869 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:52:35.870 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:52:35.904 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:52:35.928 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:52:35.928 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:52:58.848 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:52:58.851 14485:14485 I/PPSSPPNativeActivity]
Input player registered: desc = a718a782d34bc767f4689c232d64d527998ea7fd

[03-09 07:52:58.864 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:53:08.327 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:53:08.331 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:53:30.923 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:53:30.924 14485:14485 I/PPSSPPNativeActivity]
Input player registered: desc = f0d2e427e7a05eb6d316f5e14800c5ac7b6aee79

[03-09 07:53:30.924 14485:14485 I/PPSSPPNativeActivity]
KeyEvent Down

[03-09 07:53:30.961 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:53:30.961 14485:14485 I/PPSSPPNativeActivity]
KeyEvent Up

[03-09 07:54:18.379 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:54:18.388 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:55:19.127 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:55:19.324 14485:14485 I/PPSSPPNativeActivity]
Joining render thread...

[03-09 07:55:19.325 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:55:19.601 14485:14485 I/PPSSPPNativeActivity]
Joined render thread

[03-09 07:55:19.602 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:55:19.632 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:55:28.555 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:55:28.558 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:55:28.613 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:55:28.614 14485:14485 E/PPSSPPNativeActivity]
updateSystemUiVisibility: decor view not yet created, ignoring for now

[03-09 07:55:28.659 14485:14485 I/PPSSPPNativeActivity]
setcontentview before

[03-09 07:55:28.664 14485:14485 I/PPSSPPNativeActivity]
setcontentview after

[03-09 07:55:28.664 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:55:28.670 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:55:28.743 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:55:28.831 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:55:28.881 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:55:28.890 14485:14485 I/PPSSPPNativeActivity]
Joining render thread...

[03-09 07:55:28.890 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:55:28.890 14485:14485 I/PPSSPPNativeActivity]
Joined render thread

[03-09 07:55:28.890 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:55:28.891 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:55:28.891 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:55:28.910 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onCreate)

[03-09 07:55:28.913 14485:14485 E/PPSSPPNativeActivity]
updateSystemUiVisibility: decor view not yet created, ignoring for now

[03-09 07:55:28.920 14485:14485 I/PPSSPPNativeActivity]
setcontentview before

[03-09 07:55:28.925 14485:14485 I/PPSSPPNativeActivity]
setcontentview after

[03-09 07:55:28.925 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:55:28.928 14485:14485 I/PPSSPPNativeActivity]
Setting requested rotation: 5 ('5') (onResume)

[03-09 07:55:28.929 14485:14485 I/PPSSPPNativeActivity]
onResume

[03-09 07:55:28.956 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread - not starting thread, needs surface

[03-09 07:55:28.972 14485:14485 I/PPSSPPNativeActivity]
onAttachedToWindow

[03-09 07:55:29.000 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:55:29.000 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:56:07.135 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:56:07.135 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:56:27.506 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:56:27.506 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:56:28.667 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:56:28.667 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:56:31.170 14485:14485 W/PPSSPPNativeActivity]
startRenderLoopThread: Starting thread

[03-09 07:56:31.170 14485:14485 I/PPSSPPNativeActivity]
Setting desired framerate to 60.0 Hz method=2

[03-09 07:56:33.958 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:56:33.959 14485:14485 I/PPSSPPNativeActivity]
Input player registered: desc = a718a782d34bc767f4689c232d64d527998ea7fd

[03-09 07:56:33.961 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:57:04.073 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:57:04.077 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:57:17.926 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:57:17.929 14485:14485 I/PPSSPPNativeActivity]
key event257

[03-09 07:57:24.274 14485:14485 I/PPSSPPNativeActivity]
Setting shuttingDown = true and calling Finish

[03-09 07:57:24.318 14485:14485 I/PPSSPPNativeActivity]
onPause

[03-09 07:57:24.428 14485:14485 I/PPSSPPNativeActivity]
Joining render thread...

[03-09 07:57:24.428 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:57:24.453 14485:14485 I/PPSSPPNativeActivity]
Joined render thread

[03-09 07:57:24.453 14485:14485 I/PPSSPPNativeActivity]
onPause completed

[03-09 07:57:25.245 14485:14485 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-09 07:57:25.251 14485:14485 I/PPSSPPNativeActivity]
onDestroy

[03-09 07:57:25.711 14485:14485 I/PPSSPPNativeActivity]
onDestroy>>> ˋˋˋ

@FATCatAndroid12
Copy link
Author

FATCatAndroid12 commented Mar 11, 2025

[03-11 08:54:25.261 13774:13774 D/vulkan]
searching for layers in '/data/app/~~oX1EEj8AylMicdfELm4SpA==/org.ppsspp.ppsspp-14-GNPCXdBhnmnS9WcIqxA==/lib/arm64'

[03-11 08:54:25.261 13774:13774 D/vulkan]
searching for layers in '/data/app/~~oX1EEj8AylMicdfELm4SpA==/org.ppsspp.ppsspp-14-GNPCXdBhnmnS9WcIqxA==/base.apk!/lib/arm64-v8a'

[03-11 08:54:25.263 13774:13774 D/vulkan]
searching for layers in '/vendor/lib64'

[03-11 08:54:25.711 13774:13774 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

[03-11 08:54:29.592 13774:13774 I/PPSSPPNativeActivity]
requestExitVulkanRenderLoop

copyBinderTrace from: [/data/anr/anr_2025-03-11-13-19-25-847], to: [17017-org.ppsspp.ppsspp-APP_SCOUT_HANG-trace-2025-03-11-13-19-25]

@anr2me
Copy link
Collaborator

anr2me commented Mar 11, 2025

Btw, have you tried clearing the ppsspp cache data?

@FATCatAndroid12
Copy link
Author

Btw, have you tried clearing the ppsspp cache data?

I did, this issue can only reproduce if I have both gold and regular version installed.

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

No branches or pull requests

2 participants