-
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
Sustained performance mode not working correctly #11018
Comments
I guess we just need to call -[Unknown] |
Tested build 980-g6615e55c5, and it looks like the issue is still present |
Think I'm just gonna call it from surfaceChanged too, let's see... |
Fingers crossed ;) And thanks for looking into it |
How is this now? |
No dice, unfortunately. Tested 985, and it still does it. Also, I noticed that if I select Landscape in PPSSPP, but launch the app in Portrait mode, Sustained performance mode won't even engage. Not sure if that'd help diagnose, but I figured I should mention it. |
That's very curious, and makes it seem like the bug maybe isn't in PPSSPP... Bumping to 1.7.0. |
I'm not so sure. I tested tinyCAM free (which is literally the only other app I know of that has an option for Sustained perf mode) and it seems to operate as you'd expect. When rotating back and forth, the mode sticks and the CPU is consistent at 1.2Ghz. Linked to another capture: Also, not posting this to pressure you or anything, just for information's sake. |
Okay, hm. Can't explain it though.. |
By the way, what are you using to get the cpu frequency in the notification area? |
App called CPU Stats It's wonky with how it displays CPU clusters, but its enough to get the info I need. |
Are there any open source Android apps which use this feature and work properly, that we could perhaps reference? -[Unknown] |
I did some googling and couldn't really find much. I did find a repo for something called moonlight-stream. Not sure what it is but they apparently use sustained perf mode. https://github.com/moonlight-stream/moonlight-android In this commit, they disable SPF during split screen Not sure if it helps, but there you go. |
Have the latest changes here helped or is it still happening? -[Unknown] |
Sorry, just got around to testing this just now. Yes, it does seem to still occur despite latest changes. |
I wonder if there would be drawbacks to calling setSustainedPerformanceMode just every second or even frame. Maybe the only solution to our weird race conditions with backbuffer size (immersive) and sustained perf is a timer that rechecks them every 73 frames or something... -[Unknown] |
We call this a bit more now, has anything improved? Make sure you're testing the latest git build (v1.9.3-754-g6edf4ddc5 or newer.) -[Unknown] |
This issue is being closed because it hasn't been updated with feedback. It's hard to tell when fixes in PPSSPP might fix other games, and sometimes certain settings or cheats may cause bugs that can't be fixed. If you have more information or can confirm it still happens in the latest git builds, please reply to this issue and it'll be reopened. If you have a new issue with the same game, just create a new issue instead. -[Unknown] |
For some reason, my device says it doesn't support it. I noticed DuckStation is not even checking for support: Are you sure it's actually doing anything in those emulators? This might actually be a bug in them. Though I'm not sure why Android on my device says it's unsupported. -[Unknown] |
Weird that my phone is supported 😂 btw what is your phone unknown?
I don't feel any improvement when I enable it 🤔 |
But I notice this on my logs.
|
It shows as supported on my Pixel 1 (Android 10) with a slightly older version of PPSSPP, but not on a Pixel 5a (Android 11 or Android 12.) -[Unknown] |
I think they kinda gave up on the feature, it wasn't used a lot I guess |
What happens?
Using Pixel 2 (Android 8.1) with sustained performance mode checked in settings.
When opening the app with Auto rotation selected, sustained performance mode activates. However, when rotating the device, sustained performance mode will then deactivate and processor will return to normal mode. Can verify with cpu monitor.
Video link to demonstrate. When in Sustained perf mode, freq shouldn't go above or below 1.2Ghz. After rotating, frequency is operating in normal mode again, rising and lowering based on demand (in video, cpu monitor is in upper left corner of status bar)
https://gfycat.com/WelloffVengefulEuropeanpolecat
What should happen?
Sustained perf mode should not disable upon rotation.
What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
PPSSPP 1.5.4-957 (latest as of yesterday, I think)
Android 8.1
The text was updated successfully, but these errors were encountered: