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.37k stars 2.18k forks source link

TNA Impact! Cross the Line (USA) freezes up at the start of a new match with Simulate UMD Delays #15877

Open benderscruffy opened 2 years ago

benderscruffy commented 2 years ago

Game or games this happens in

TNA Impact! Cross the Line (USA)

What area of the game / PPSSPP

after you choose your wrestlers and venue it freezes up on the loading screen

What should happen

start a new match

Logs

ppsspplog.zip

Platform

Windows

Mobile phone model or graphics card

AMD RX 580

PPSSPP version affected

PPSSPP v1.13.1-395

Last working version

No response

Graphics backend (3D API)

Vulkan

Checklist

sum2012 commented 2 years ago

1 I test no problem (Nvidia ) windows 7. CRC:6F74367A

unknownbrackets commented 2 years ago

The log has a lot of sceUmdReplaceProhibit() / 1=sceUmdCheckMedium() / sceUmdReplacePermit(). Maybe some of these should consume cycles or reschedule, and aren't? There's also a lot of 1=sceDisplayWaitVblank(): not waiting since in vblank which maybe are too quick.

It was reading data, then seeming stalled up. In this log, at 34:55:835 it last read some data. The game hadn't called sceIoPollAsync() yet for the result when it was closed at 35:00:470. It polled before that at 34:55:822, 34:44:411, 34:41:808, 34:33:612, and 34:30:019. That's quite some space between polling, even usually.

My best guess is that some operation is either eating too many cycles or not nearly enough, so performance is bad. Or maybe we're just accurately emulating how slot its loading was on a real PSP... I think it would potentially eventually load if you gave it long enough.

-[Unknown]