Skip to content
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

Dragon ball z Tenkaichi tag team fps drop #17918

Closed
5 tasks done
qazxsw4320 opened this issue Aug 17, 2023 · 27 comments
Closed
5 tasks done

Dragon ball z Tenkaichi tag team fps drop #17918

qazxsw4320 opened this issue Aug 17, 2023 · 27 comments
Labels
Performance Unexpected slow performance issues
Milestone

Comments

@qazxsw4320
Copy link

Game or games this happens in

Dragon ball z tenkaichi tag team

What area of the game

Any time you transform as Goku or use a super attack as Goku or other characters as well.

Speed seen in PPSSPP

70% (21/30)

GE frame capture and debug statistics

Screenshot_20230816-233152
Screenshot_20230816-233138
Screenshot_20230816-232419

Platform

Android

Mobile phone model or graphics card

Moto g pure

PPSSPP version affected

15.4

Last working version

14.4

Graphics backend (3D API)

Vulkan

Any other notes or things you've tried

I tried the latest build as well and the performance is even worse. Also the 14.4 version wasn't perfect and still got frame drops but they weren't as bad as 15.4 and the slow down wasn't as bad.

Checklist

  • Test in the latest git build in case it's already fixed.
  • Search for other reports of the same issue.
  • Try resetting settings or older versions and include if the issue is related.
  • Try changing graphics settings to determine if one causes the slowdown.
  • Include logs or screenshots of issue.
@hrydgard
Copy link
Owner

Hm, that's strange, not seeing anything in the debug stats that would slow it down too much, and if anything I would have thought it would run faster now.

Can you take a GE framedump right during the slow parts? https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump

@hrydgard hrydgard added the Performance Unexpected slow performance issues label Aug 17, 2023
@qazxsw4320
Copy link
Author

qazxsw4320 commented Aug 17, 2023

Here is the frame dump. Thank you for the hard work you guys do. Also I had trouble uploading so sorry for deleting my comment many times.
ULUS10537.zip

@hrydgard
Copy link
Owner

Thank you. Hm, not sure a framedump will do the trick in this case, can you upload a save state too? Just when the animation that slows down starts.

@qazxsw4320
Copy link
Author

dbz save states.zip

Here are my save states. I added 3 of them.

@hrydgard hrydgard added this to the v1.16.0 milestone Aug 17, 2023
@qazxsw4320
Copy link
Author

Hopefully they helped

@hrydgard
Copy link
Owner

Thanks, they will help when I investigate it. I'm gonna try running on some of my devices that have the same GPU as yours.

@hrydgard
Copy link
Owner

hrydgard commented Aug 17, 2023

I'm messing around on my Redmi 9A which is a slow device with the same GPU as yours. I'm trying various tweaks to make things similar to the past versions, but not seeing much difference.

At 1x, everything is fast enough in Vulkan at least, and at 2x, things indeed slow down like you say, in both GL and Vulkan. Really not sure what might have made such a difference... Hm.

@hrydgard
Copy link
Owner

@qazxsw4320 I think I'm gonna have to compare a bunch of old builds.

Could you provide the same or similar savestates, but made with 14.4 or earlier? Unfortunately states from newer versions in PPSSPP can't be loaded in older ones..

@qazxsw4320
Copy link
Author

qazxsw4320 commented Aug 17, 2023

psp save state 14.4.zip
Here is for 14.4. The performance is a little better and the fps drops don't last as long. I tried 13.2 to see if it was better but for some reason the speed goes down to 20% and even putting the resolution at 1 doesn't make it work. I don't know if maybe the game is heavy, but I remember older versions also having better performance but I don't know why downloading older versions are worst now.

@hrydgard
Copy link
Owner

hrydgard commented Aug 17, 2023

note to self, hold down L and R and press triangle to get and repeat a fairly big attack that slows down a bit.

Honestly I'm seeing very little performance difference between 14.4 and a fresh build. I tested a change that disables "ubershaders" on this GPU (makes more but simpler shaders, so more shader stutter but a bit more performance) and it does seem to recover an FPS or two in this case, but nothing huge. Also, the device seems to go in and out of a higher power state so measurements are very inconsistent...

I'm considering adding the ubershader thing as an option for you and other people to play with to see if it makes a difference, because it's the only major change to GPU usage between 1.14 and 1.15. Maybe I'll just put it in developer settings as "Disable ubershaders".

@qazxsw4320
Copy link
Author

qazxsw4320 commented Aug 17, 2023

Alright cool, thank you very much👍. I'll probably just stick to 1x resolution then since there aren't any slowdowns.

hrydgard added a commit that referenced this issue Aug 17, 2023
Might be helpful to diagnose performance problems on user devices.

Additionally, moves the texture replacement controls to the top. They
should probably be moved somewhere else entirely...

See #17918
@hrydgard
Copy link
Owner

Feel free to check the two new developer options I added in #17922 as well, see if they help (try turning off the two ubershader options and see if you get some speed back or not). They're in Tools / Developer Tools, scroll down.

@hrydgard hrydgard modified the milestones: v1.16.0, v1.17.0 Aug 17, 2023
@qazxsw4320
Copy link
Author

Iv tried them and it's a TINY bit faster but not a major difference. I have been using the skip buffer effects option and I seem to get a bit better performance there

@hrydgard
Copy link
Owner

Yeah I thought they would have a bigger impact, either faster or slower. But something else seems to be the bottleneck, just can't figure out what..

@qazxsw4320
Copy link
Author

Yeah l, like I said I remember some older version had better performance. but now for some odd reason when I use 13.2 or lower the game drops even more in performance. I guess I'll probably just end up using frame skip or go to 1x resolution at this point

@qazxsw4320
Copy link
Author

qazxsw4320 commented Aug 17, 2023

@hrydgard Also I had performance problems on star wars battlefront elite squadron. But when I underclocked the cpu on that game I actually got a huge performance boost and same with battlefront 2. I hoped if I underclocked cpu on dragon ball z tenkaichi tag team I'd get the same results and I actually did get like a 5% speed boost.

@qazxsw4320
Copy link
Author

@hrydgard I didn't know If you make a new issue or not but I wanted to let you know the latest version, heavily slows the game in the main menu. It was normal in 16.6 but after the latest version when you go the main menu the game heavily slows down and when your in any menu but the gameplay runs at ok speed.

@hrydgard
Copy link
Owner

That's a surprise, odd. I guess you're still on the Moto G Pure?

@qazxsw4320
Copy link
Author

@hrydgard yeah but i tried it with 2 other phones I have as well aich as a Samsung galaxy a12 and Samsung galaxy achieve, which I know is an older phone but like I said once you press start and go tot the menu it slows down heavily in newer versions and this didn't happen in 16.6. The game play did also get bit slower at 2x resolution but it runs full speed at 1x.

@hrydgard
Copy link
Owner

hrydgard commented Nov 28, 2023

OK, I'll look into it soon. Thanks for the additional info!

@qazxsw4320
Copy link
Author

@hrydgard ok thank you. Let me know if you need any save States or something.

@hrydgard
Copy link
Owner

@qazxsw4320 The menu slowdown should be fixed now in the latest builds, since #18505.

Can you try a new build and verify, and Is the in-game slowdown still there?

@qazxsw4320
Copy link
Author

@hrydgard the slow down is fixed. However on opengl the it's a black screen with sound. In vulkan it works.

@hrydgard
Copy link
Owner

Ok, I'll look into that.

@qazxsw4320
Copy link
Author

@hrydgard sorry, I forgot to mention on my laptop i Also get black screen on open gl, Direct3d 11 and Direct3d .

@hrydgard
Copy link
Owner

black screen fix is in, build will be ready soon.

I think I'm going to close this, don't know if there's more we can do here.

@qazxsw4320
Copy link
Author

qazxsw4320 commented Dec 12, 2023

@hrydgard ok everything is good now thank you very much still a bit slow on 2 resolution but 1 works great. Again thank you for all the hard work you do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Unexpected slow performance issues
Projects
None yet
Development

No branches or pull requests

2 participants