-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Pre-existing SPU cache kills performance in LittleBigPlanet games (#10003) #10497
Comments
|
Which cache? |
|
SPU cache is the one that makes the most difference between the 3. |
|
same problem but on LBP1 |
|
Issue #10045 talks about the same problem, but the reported pull is incorrect, in fact this problem is a regression caused by the pull #10003 by @elad335 |
|
Interesting. I started LittleBigPlanet 1 for the first time and got a solid 30fps. The next time it dropped to 23FPS for no reason and I was wondering what's wrong with my machine. Maybe this is the cause. |
|
Can someone upload SPU cache dat file after FPS is dropped? |
|
\cache\BCES00141\ppu-Jo3ijKqksCR388Rnxnw5vwpisVCV-EBOOT.BIN"spu-safe-v1-tane.dat" right ? |
|
spu-safe-v1-tane.zip |
|
I'd like to ask for logs (make sure to use latest version), but with a few debug options set in config:
|
Okay, I had a problem while doing it with pre-existing cache. I did what you asked but game won't boot with SPU debug on, only with profiler. At the end of "building spu cache" RPCS3 closes without any error. The log with deleted cache is exactly as requested. |
|
I am having the same issue, where having existing SPU caches causes performance to tank in NPUA80662 (LittleBigPlanet 2). Here are some logs from me as well, with "SPU Debug" and "SPU Profiler" enabled in (the game's custom) Unlike @Kilowog01, my game successfully booted with "SPU Debug" enabled when running the 2nd time (with existing SPU cache). Here is the SPU Cache file used in the 2nd run (at least, I think this is the right file): In both runs, I launched the game, spammed The slowdown exists throughout the entire game, no matter what level I'm playing (or even if I'm not in a level and am in the "pod" (the game's "lobby")). Here is a screenshot from the 1st (cleared SPU cache) run: RPCS3 Version: |
|
it seems that Neko fixed SPU debug, i can run the game now. |
|
This issue appears to be related to logging. I can reproduce this to some extent on builds going all the way back to last September (probably further, but that's where I stopped). 0.0.15-12025 does appear to have made it worse though; when launching with an existing spu cache before this build, performance would dip by about 25% for me, whereas now it drops by about 50%. With logs silenced, performance is consistent boot after boot with or without an existing SPU cache: With logs enabled, performance takes a dip. Launching the game with no SPU cache results in the performance below: Closing the emulator and relaunching the game with logs enabled and an existing SPU cache causes performance to tank |
|
Heavily outdated and probably fixed, also log spam iirc is reduced significantly since. |






Quick summary
Pre-existing SPU cache kills LittleBigPlanet 2 performance.
Details
During my adventures trying to reach 100% in LBP2, tweaking a setting here, installing a DLC there, new savegame, new build etc. I noticed that sometimes the game ran at 30fps, especially on the first run. That wasn't normal, I was used to 17ish fps.
I started the investigations, downloaded a new build, installed the minimum necessary and bam, constant 30fps. But when i restarted the game, there was loss of 12fps with instability.
So I found that if I delete all caches, the game goes back to 30fps. While the shader cache is being compiled the fps drops a bit, but then I can play at 30 for as long as I want(I tested for about 2 hours), the fps doesn't decrease over time, it's always around 30fps. But if I restart the game, the fps drops back to 17ish.
The logs contained here are with default settings, with the exception of the overlay performance.
Pre-existing cache:
https://user-images.githubusercontent.com/16064499/123503758-44bb5e80-d62b-11eb-9591-3c2fb1ba0abe.mp4
RPCS3_old cache.log.gz
Fresh cache:
https://user-images.githubusercontent.com/16064499/123503750-3c632380-d62b-11eb-9e18-0e17db93b043.mp4
RPCS3_fresh cache.log.gz
Fresh cache after a while:
https://user-images.githubusercontent.com/16064499/123504482-083e3180-d630-11eb-932e-2b7fd0b07192.mp4
System configuration:
The text was updated successfully, but these errors were encountered: