-
Notifications
You must be signed in to change notification settings - Fork 14
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
Frame drops while home screen is shown #10
Comments
i liked the new lines feature btw :3 |
This is actually happening intentionally to not slow down the launcher. Android restricts Live Wallpapers to a maximum frame rate of 30 fps to keep the launcher responsive. Additionally, the app automatically throttles the frequency (only for the live wallpaper) as soon as rendering takes longer than it should (see daaba0b). This takes load off the CPU if it's busy doing background work (from other apps). As much as I like my waving lines, I still think that rendering the live wallpaper should have the lowest priority as it's just visual sugar 😉 |
i see ^^ it's still sad to see it drop to less than 4 frames per second in a few seconds after it starts ^^' is there any way to set a target for when the launcher is open (e.g 12fps) and restrict it in every other case (i.e launcher not in foreground)? edit:typo |
Hm, I'm not sure I understand - if you see the live wallpaper, the launcher is always in the foreground 🤔 But I have to say that it's quite rare that I see such a heavy frame drop 🤔 This should be the exception, not the rule. Does it get better when you reduce the number of lines? |
i just tested here, it seems like yes. i also noticed that it also seems a bit heavier whenever the waves are at its peak. for reference, my phone isn't the most high-end, and it often struggles to render highly detailed graphics (1.5GB of ram often with other stuff in the background), so i usually consider 10 to 16fps to be the point where i think it is running okay, and a few versions back it was running around that level |
i'm noticing a hard drop in frames as well, to the point where it's very noticeable when it slows down after opening the launcher. perhaps a framerate cap/adjustment setting would be more effective?
|
while the performance seems fine while the wallpapers are shown in the selector, there is a large drop in the framerate while the home screen is shown. the overall performance of the app launcher remains untouched..
version 1.13.0 under Android 5.1.1
The text was updated successfully, but these errors were encountered: