-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
God of War: Ghost of Sparta "Restart from Checkpoint" loading speed regressions #10763
Comments
Based on that range, most likely candidates: #10455 - I don't think this matters with map files off, though? In theory, it shouldn't be slower. If it's not clearing or drawing, but flipping frequently and this is causing a slowdown, that seems like a different kind of bug than the FPS limiting was even meant to fix? Maybe it's causing sceDisplay timing to get confused and calculate timestep wrong? -[Unknown] |
I can try to compile the project and narrow it down to the exact commit (it's almost certainly #10456 though), but if it's an acknowledged dirty heuristic would it be acceptable to just blacklist games that are known to interact poorly with the change and fall back to the old behavior? |
I think we should simply whitelist that hack for the games it helps. |
Whitelist the waiting on flip real PSPs don't do, or whitelist not waiting in games doing that breaks? Which is that hack? -[Unknown] |
Well, you got a good point there, it does probably make more sense the other way around. |
I can't repro this in the demo, but #10785 may have helped if this had anything to do with frameskip. Maybe we could do the same: if it did no drawing whatsoever, also delay? But that kinda seems weird, is it just because it uses flip immediate or something? Doesn't it mean we have a timing bug if - when it draws absolutely nothing - calling the flip function a lot makes the game slow? -[Unknown] |
I'm not sure, I'll see if I can figure something out. |
Tested this, it's still an issue. It can be skipped easily using unthrottle though. |
Something causes it to sleep, and it just idles (added some extra logging here):
|
Reverting this line "fixes" it though (as expected from the early results in this thread): Not sure what the best fix might be... |
Is it because What if Seems like it must be that -[Unknown] |
Limit the flip delay in the other direction to try to work around #10763.
Moving further investigation to 1.7. |
…ng-hack Revert "Limit the flip delay in the other direction to try to work around #10763."
What happens?
After dying in God of War: Ghost of Sparta, the screen turns black and gameplay does not resume for 16 seconds.
What should happen?
The game displays "Loading" in the lower-right corner and restarts within 1-2 seconds.
What hardware and operating system are you running PPSSPP on? GPU might matter if it's a graphical issue.
Pixel 2, Android 8.1.
More information
Unfortunately the builds page is missing quite a few Android builds between the last known good version and the regression; this is as close as I was able to bisect it:
v1.5.4-198-gd487c7556 bad
v1.5.4-176-g43166c47e good
I'm curious if #10668 is directly related to this issue or a separate coincidental regression, as it too regressed at some point these two builds.
The latest build (v1.5.4-727-g9849ceadc) still exhibits both issues.
The text was updated successfully, but these errors were encountered: