hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.45k stars 2.19k forks source link

Maid Paradise Mezase! Maid Number One! fps drop #18452

Closed IrfanH495 closed 6 months ago

IrfanH495 commented 1 year ago

Game or games this happens in

NPJH00099 - メイド☆ぱらだいす ~目指せ!メイドナンバーワン!~

What area of the game

while playing quiz and giving massages

Speed seen in PPSSPP

78% 24/30

GE frame capture and debug statistics

NPJH00099_0001.zip Screenshot_20231130-003021_PPSSPP Screenshot_20231130-001532_PPSSPP

Platform

Android

Mobile phone model or graphics card

Samsung M20

OS: Android 8.1 (Oreo), upgradable to Android 10, One UI 2 Chipset: Exynos 7904 (14 nm) CPU: Octa-core (2x1.8 GHz Cortex-A73 & 6x1.6 GHz Cortex-A53) GPU: Mali-G71 MP2

PPSSPP version affected

ppsspp-v1.16.6-368-g737ec3e90-

Last working version

.

Graphics backend (3D API)

Vulkan

Any other notes or things you've tried

I tried adding to BlockTransferAllowCreateFB make damage in the massaging part right where the character's image is talking Screenshot_20231130-001909_PPSSPP

Checklist

hrydgard commented 1 year ago

Strange game haha.

It's clear that the performance issue is the readback. Reducing render resolution to 1x can potentially help a bit.

But this seems likely (although absolutely not certain!) to be a case where reading back slightly old data would work fine, unlike some other games that need readbacks. We have a mode that allows reading back data from a few frames ago that runs faster, although it's not exposed. I think I'll add a compat flag for it so you can play with it and see if it helps.

hrydgard commented 1 year ago

Created https://github.com/hrydgard/ppsspp/pull/18461 .

IrfanH495 commented 1 year ago

Strange game haha.

yes unlike the main game, this is just a collection of mini games from GachiTora! Abarenbou Kyoushi in High School game

It's clear that the performance issue is the readback. Reducing render resolution to 1x can potentially help a bit.

in the quiz place there is no fps drop on 1x PSP, in the massage place 2x PSP there is no fps drop

hrydgard commented 1 year ago

Alright. Anyway, the setting is in, so once there's a build, feel free to see if it helps. It may also very well break things!

IrfanH495 commented 1 year ago

in version ppsspp-v1.16.6-386-g5bd943740-android if added to AllowDelayedReadbacks readback become 0, makes the character image white Screenshot_20231202-191321_PPSSPP

hrydgard commented 1 year ago

Is that with Vulkan?

IrfanH495 commented 1 year ago

Is that with Vulkan?

yes This is also the same as Gachitora after finding out he also has readback, didn't realize I was playing it 100% finished but used compact to increase speed Screenshot_20231202-194922_PPSSPP Screenshot_20231202-194358_PPSSPP Screenshot_20231202-194125_PPSSPP

hrydgard commented 1 year ago

Alright, I guess the setting won't work with this game then.