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.12k stars 2.16k forks source link

Medievil fps drops #15988

Open QrTa opened 2 years ago

QrTa commented 2 years ago

Game or games this happens in

UCES-00006

What area of the game

Dan's Crypt if you start spinning at a room

Screenshot_2022-09-08-11-44-20-531_com google android apps photos

Loading screens overally runs at 10-30/60fps

Speed seen in PPSSPP

80-100% 50-60fps

GE frame capture and debug statistics

No response

Platform

Android

Mobile phone model or graphics card

POCO F3 Adreno 650

PPSSPP version affected

v1.13.1-843-g7450f3ef7

Last working version

No response

Graphics backend (3D API)

OpenGL / GLES

Any other notes or things you've tried

Vulkan, GLES tried got the same result.

Checklist

QrTa commented 2 years ago

Loading screens

https://user-images.githubusercontent.com/81707167/189091747-aaf7762b-0ce1-4914-b59e-31e7de14606d.mp4

https://user-images.githubusercontent.com/81707167/189092087-70b6635f-4a4a-4b0f-bd2b-86c12cbd9551.mp4

Fps drops

https://user-images.githubusercontent.com/81707167/189091999-d875b9af-bcb2-4183-92d0-e1d397309d0d.mp4

unknownbrackets commented 2 years ago

If a picture is worth a thousand words and a video is worth ten thousand, a GE frame dump is worth a million words.

-[Unknown]

QrTa commented 2 years ago

Tried to catch 3 times, the recording only started after the fps stabilized so I'm not download them. For the 4th try the debugger freezed at "Recording" now it's not connects.

ghost commented 2 years ago

What if you added this game id to ForceMax60FPS?

QrTa commented 2 years ago

@Gamemulatorer what is that? How can I add it?

ghost commented 2 years ago

@Gamemulatorer what is that? How can I add it?

Create compat.ini file in your psp/system folder. Screenshot_2022-09-16-22-31-00-82

QrTa commented 2 years ago

There are still slowdowns. Screenshot_2022-09-16-16-37-03-662_org.ppsspp.ppsspp.jpg

ghost commented 2 years ago

If a picture is worth a thousand words and a video is worth ten thousand, a GE frame dump is worth a million words.

-[Unknown]

Here we go...

UCES00006.ppdmp.zip

ghost commented 2 years ago

There are still slowdowns. Screenshot_2022-09-16-16-37-03-662_org.ppsspp.ppsspp.jpg

Also on my phone :( Screenshot_2022-09-16-23-27-54-31

QrTa commented 2 years ago

@Gamemulatorer I mean mine is running with full speed, but there are places where I stand and starts spinning I got these drops but only for a second or half. This is why I can't catch GE dump from the slowdown.

ghost commented 2 years ago

@Gamemulatorer I mean mine is running with full speed, but there are places where I stand and starts spinning I got these drops but only for a second or half. This is why I can't catch GE dump from the slowdown.

Both happens in OGl and VK backend? Are you using the 120hz screen refresh rate of your phone?

QrTa commented 2 years ago

Yep, OGLES and Vulkan. I'm using my screen on 60Hz.

ghost commented 2 years ago

Yep, OGLES and Vulkan. I'm using my screen on 60Hz.

What happen if you turn off hardware transform?

ghost commented 1 year ago

No feedback/outdated???

hrydgard commented 1 year ago

No, i think there is an actual issue in this game, timing maybe, that should be investigated

ghost commented 1 year ago

This is the same as https://github.com/hrydgard/ppsspp/issues/12313#issuecomment-903581961 I got stable fps if I overclock it.

https://user-images.githubusercontent.com/37603562/208288091-13fab01e-b2cc-4117-aadf-bffc5db19c1e.mp4

Snapdragon 439

ghost commented 1 year ago

Or this might be improve if ever sync to host is implemented https://github.com/hrydgard/ppsspp/issues/15081

unknownbrackets commented 1 year ago

An FPS drop to 50/60 can't even possibly be helped by that, no. That's a request to scale game speed to the ratio of your display speed (for example, if your display is 75 Hz, to run at 125% speed, or if your display is 59 Hz, run at 98% speed.)

In this case, the game is (sometimes) outputting less than 59.94 frames per second. Even if you fast-forwarded emulation constantly to 125% for a 75 Hz display, it would still be outputting 16% less frames than it should, so you'd still get a frame drop.

It would help if someone can check this on a real PSP, just so we're sure there aren't FPS drops in the game itself. It's probably some timing issue, though, I guess... usually we're faster than we should be, though.

-[Unknown]

ghost commented 1 year ago

@QrTa what if you set emulated psp cpu clock to 666mhz?

antipirgos commented 1 week ago

We need 30/60 fps cheat codes for this game its the only way to play normal.