-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Tomb Raider Anniversary and Tomb Raider Legend strange framerate drop #7677
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
Comments
I'm casually playing tomb raider legend ppsspp official version 1.0.1 and it works well, I clarified that my pc is old,I did not try the tomb raider anniversary |
Tomb Raider Anniversary probe in the latest builds and fps drop is disastrous, the game also has serious sound problems, I hope to focus on a good game and it fixed some day, greetings, merry christmas |
If the current FPS is low, the sound will be scratchy, because it's not playing it fast enough. Your only option to improve sound quality is to reduce settings / increase frameskip so that you're not running slow. This doesn't mean there are bugs in sound; it means you're running slow. I don't have this game, so I can't reproduce. It's possible it is influenced by texture scaling or other options. Try the defaults. -[Unknown] |
thank you very much for your quick reply. will try your suggestion |
the same problems in the latest versions of ppsspp 1.2.2. I try everything |
As far as I know TR Legend has an actual bug with it's built-in framelimiter which happens on real hardware as well. Either way game bug, not a PPSSPP issue, so this could be closed, not sure about the other game through. That or this is another performance issue with trying to run heavy 60fps games on weak devices which is not exactly anything that can be fixed and to make things worse workaround for the game bug makes it even heavier. |
my pc strip the dark souls 2 pc the most good. that weak PC is talking to me, the game goes wrong in windows 64bit |
Yeah. It's a "problem" that happens on real PSP too. |
@hrydgard @unknownbrackets |
Are there any log messages at these times? -[Unknown] |
@unknownbrackets The console was constantly spamming the first group of messages when I was using Auto CPU clock speed, after setting it to 333 MHz they stopped (this game needs it to use 60 FPS, but only on PC cuz Android runs ok, which is still weird) This is how the console looks like after using 333MHz from the start: The other errors appeared when I skipped the intro cutscenes. No errors in-game though. I should mention that what I said in the comment above was correct on Android. In my tests on the PC version, the speed fully recovered regardless of Software skinning setting. When it's off, the only difference it makes is that the game lags for just a fraction of a second (like a tiny "freeze") but becomes smooth later. When it's on, the game stutters (frame drop) much longer, but it never "freezes". If it helps, here are the Vulkan features of my driver: The Vulkan features of my phone are in this issue: #11227 |
Line 1988 in f5e5614
The buffer size can't be 0, so that's weird. I wonder if it actually happens on a console, or if it's a symptom of something else. -[Unknown] |
This issue is still very much apparent in the latest build (1.9.0 at the time of writing). It's masked to a certain extent on strong hardware (especially PC) - on my Oneplus 5 the framerate will drop in half and frameskipping=1 is enough to rescue it but on my old Oneplus One it makes the game unplayable. |
Still slow... |
Same issue, why is there no fix for this so far? The game runs smooth 60fps but then after some random time it slows down to 80% of normal speed until reloading game. |
AFAIR TR games were an awful ports on PSP platform and they had framerate issues even on real hardware with a workaround in overclocking PSP cpu(which in case of emulation would increase requirements). |
Well, that the ports are bad doesn't exclude the possibility of an emulation bug. Or could be both. |
I dont think this is a throttle issue of the device, the firetv 4k max stick is really cold or just a little bit warm, if running this game. This is also not a FPS issue, the game isnt stuttering as if low FPS, it just "slows down" as a slow motion effect. I dont know what this triggers, it seems random. The game runs smooth in menu, and also first intro loading and when in the starting area standing still. Turning around for a while and jumping around suddenly triggers this problem or not. |
The game has those slow downs on PSP, it basically has a broken variable framerate that doesn't always compensate speed, the only way to fix it is to ensure it's running at max FPS all the time which can only happen when PSP cpu is overclocked high enough, but that again will increase requirements. I don't think I'd call an amazon firestick a gaming device, I bought the latest one for my parents to replace their laggy smart TV interface and it doesn't get warm exactly because it doesn't really clock high, perfect device for an older couple, not soo much as a gaming rig. |
Well it's nice to see this issue get attention after so long. I tested again today with my Oneplus 7T and windows PC (i7 12700k, 2060 super) and can't reproduce the bug any more. Slower hardware is still very much affected I should imagine as per my comment from 2019. I still have the Oneplus 5 around here somewhere and can test again in the current build if neeeded. |
Problem A: If your problem is a "slowdown", that get's reflected in emulation speed it simply means the hardware you're using is not fast enough, it's usually not caused by any bug and rarely anything can be done to work around it and still have the game emulated correctly. Problem B: Those TR games have their own issue which can cause slowdown even when emulation speed stays 100% due to real hardware not being fast enough and the fact that it's variable fps is buggy and doesn't always change the speed with framerate correctly on change. It's possible you didn't encounter that issue on different hardware simply because it doesn't happen in the place you tried, but it's there, it's a known issue affecting real hardware which was never fixed by the company who took the money for it, but mostly solved by overclocking PSP CPU(and probably completely solved on PPSSPP due to much stronger OC). On weak mobile hardware both A and B should be affecting people that try to play it, but enforcing a workaround for the "B" problem would just make "A" problem worse for them so there's not that much point in doing so imo. |
I know exactly how to reproduce the bug based on my earlier testing. The slowdown occurs happens when Lara hangs from an object and it only resets to full speed if a cutscene plays. This is easily tested in Croft Manor - in the first room, go to the boxes in the corner and jump and hang. On weak hardware the FPS will drop right at this point. Now drop down and stand on the button to trigger the fireplace cutscene. After it plays, the FPS will return to normal. |
still slow on latest build version |
If you need a cheat to limit FPS because overclocking PSP CPU doesn't help it simply means your hardware is not fast enough, it's no longer just about game issue. |
I was testing both these games on both my current devices, an old PC desktop and on a low-end Android, and as described by the OP I can see this occur on both devices, but for me the desktop can recover the speed shortly after the problem is triggered but Android cannot, there only after some ingame cutscene. I've already given up on trying to get these more demanding titles to run well on my current devices other than through more drastic means like underclocking the emulated CPU or using cheats to limit the FPS, but I wonder why the emulation speed can recovers on my desktop but not on Android, I even came here thinking it was an Android-only issue (I was testing with default settings and without using underclocking or any cheat, of course). |
Different hardware has different limitations, you quite likely will hit different bottlenecks between weak android device and outdated/weak pc and also mobiles aren't designed to run at high clocks for a long time. Mobile operating systems will not allow to continuosly use full performance of the device. Also again, Tomb Raider for PSP is a really bad port which was released in a state that's buggy even on real hardware. Whenever FPS limit changes internally in the game it might not handle it correctly and run at incorrect speed. When underclocking emulated PSP cpu you can only make those internal game problems more common and sewere. |
Thanks for the clarification.
Yeah but not using underclock or cheats also will means not being able run these and also other games, so I am aware of the possible problems and/or downsides this can cause but it is the only solution for me at the moment. I'll never going to report any problems caused by any configuration other than the default, I just commented that above because I was surprised that this also occurs on the desktop, I came here thinking it was an Android-only issue. And, as I said, I tested it on default settings just to be sure. |
why didn't I realize it before?. try it on samasung m20 |
sorry for my comment above,. Edit : |
here is a list of costumes that make the game slow. if wear this costume, the game runs very smoothly without a drop in fps All default setting. I just tried in the first place. |
Sorry I want to ask. Frame dump |
Seems likeliest that software and GL have it right here, hm. |
I also can confirm this in Anniversary, I haven't tested Legend yet. I tested it on my Android device with default settings. It's quite simple to test, I downloaded a complete save here, opened the game, entered Croft Manor and went to the bedroom (up the main staircase on the left, second door). There you can change the unlocked outfits/costumes. With the default outfit, pressing Circle (to rolling) will triggers the issue. Just change the outfit to one of the mentioned above that doesn't triggers the issue, the FPS will recover, and pressing Circle, even repeatedly, the issue will not be triggered. If you go back and change again to an outfit that triggers the issue, right when you press Circle once again the issue is triggered again. I've also played around Croft Manor with an outfit that doesn't triggers the issue and the game is quite stable. My device is weak, but just some areas cause some slowdowns and the speed recovers as soon as you leave them. With an outfit that triggers this issue, the game is unplayable. @IrfanH495 congratulations on discovering and to patiently testing all of this. I think it's enough information to if some dev will look at this issue someday. |
@matheuswillder I also made a video today, so that other people can see what makes the fps drop, playing one stage in the default settings |
Hm, that's really quite interesting! Also, the sound is really bad for you in that video... it sound worse than it should. I think we really need some time-stretched audio to cover the gaps when it's this close to full framerate... |
I think it's just my device is weak, |
Well if this is caused in some devices because the device is weak, there is nothing that can be done other than the user buying a more powerful device. However it could also be a bug, and what you discovered about the outfits/costumes "solving" the problem makes it seem like that, but we'll have to wait for a developer to look at this, if they have the game and time to test. As I said above what you've already discovered is enough information in case any developer has time to look at it someday. This issue is over 8 years old, so I recommend you just go play other games that work on weak devices. I also can't buy any device more powerful than what I have so I'll just playing games that work. Edit: typo. |
Well, if changing character model(as that's what different costumes essentialy are) causes heavier emulation, it still doesn't mean a bug, it's probably rendered in a different way, possibly using some additional effect. |
Thank you bro! U really solved the problem that has troubled me for many years! |
sorry, i want to ask. |
You might have to adjust sensitivity in "Calibrate Analog Stick" to reach into the corners properly |
Thank you, the analog is now working normally. |
I've been trying those two games and both run smoothly at 60FPS either on my PC and Android phone. However certain game actions (or keypresses?) make the framerate drop to about 30FPS and 50% speed, making the games almost unplayable even with a high frameskip. Everytime I roll or everytime I grab onto a ledge AND then try to move laterally this happens (in both games and platforms). Might happen with other actions too. Jumping, shooting and using grappling hook seemed ok.
The strange thing is that no matter what you do, the game will run at 50% speed even after rolling or climbing action is finished. However I noticed that triggering an ingame cutscene solves the issue until one of the actions above is done again. Graphics and other settings doesn't seem to solve or mitigate the problem at all, the game runs approximately at the same speed and FPS with both "low" or "high" settings.
I would have attached a log but it seems no errors or warnings are generated when the issue araises. The errors reported were logged way before or after the mentioned events, so I'm not sure this would be useful
The text was updated successfully, but these errors were encountered: