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
10.85k stars 2.13k forks source link

Experiencing frequent frame-drops in multiple games #15750

Open notadityapatil opened 1 year ago

notadityapatil commented 1 year ago

Game or games this happens in

Motor Storm Arctic Edge, Midnight Club 3 Dub Edition

What area of the game

Every time when no input is provided.

Speed seen in PPSSPP

44%(27/60)

GE frame capture and debug statistics

photo_2022-07-29_23-24-41 When the acceleration button is pressed

photo_2022-07-29_23-24-46 When no button is pressed for some time

Platform

Android

Mobile phone model or graphics card

iQOO Z3

PPSSPP version affected

v1.13.1

Last working version

No response

Graphics backend (3D API)

OpenGL / GLES

Any other notes or things you've tried

I am facing this problem since the recent updates

Checklist

hrydgard commented 1 year ago

Sounds like a power-management issue with your device, where it throttles down when you're not touching the screen. This kind of trickery is quite common to preserve battery life, but is of course terrible in-game. Seems it fails to detect that PPSSPP is an interactive realtime application, somehow...

Do you have some kind of battery-saving mode enabled?

anr2me commented 1 year ago

Are you using auto-frameskipping? If you're, try disabling any frameskipping

LunaMoo commented 1 year ago

Pretty sure we already had an issue like that with the user reporting worse performance when using gamepad compared to touch screen, but I can't find it now. Maybe it was just a forum discussion. Same thing through.

Edit: could be https://github.com/hrydgard/ppsspp/issues/9375

notadityapatil commented 1 year ago

Do you have some kind of battery-saving mode enabled? No, I do not.

Check this out!

Notice how the FPS restores when I move the analog stick on left

https://user-images.githubusercontent.com/89079233/181829585-bd3a6e27-772c-43f2-bab4-cb8de99e4484.mp4

ghost commented 1 year ago

Because you are using 60fps cheat code this game is running smooth at default settings vulkan backend. Screenshot_2022-07-30-20-21-59-660_org ppsspp ppsspp

ghost commented 1 year ago

This game is really lag if you use 60fps cheat code. Screenshot_2022-07-30-20-24-11-778_org ppsspp ppsspp

unknownbrackets commented 1 year ago

It seems weird that a 60 FPS cheat would run smoother when buttons are pressed, but I guess it depends on how the 60 FPS hack was implemented.

Make sure you have "Sustained performance mode" enabled in settings, if it's supported. Though, I'm not really sure it's still being supported on newer devices/OS versions these days. The purpose of that setting was to request more stable (even if slower) performance rather than rollercoaster performance from the Android OS. Unfortunately, different device manufacturers control power different ways. If possible, reduce your settings and disable high-FPS cheats so the game runs OK even at the low end of the rollercoaster.

PPSSPP can't control the rollercoaster. If it could, every app would say "make my app the fastest and all the other loser apps slow", because everyone wants to be fast. And then your battery would run out faster and you'd say the phone sucks. Because apps can't be trusted be good citizens, PPSSPP doesn't get to ask for good performance either.

-[Unknown]

ghost commented 1 year ago

Can you still reproduce this issue using default settings no fps cheat codes?

ppmeis commented 1 year ago

Tested in latest Windows build. Without cheats everything works as espected at 30fps.

With 60fps cheat enable work perfect too. Really smooth:

image