-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] High gpu consumption by album moving labels. #175
Comments
That's definitely a problem with @KRTirtho weird thing is that if you enable |
@karniv00l RepaintBoundary does work. It stops repaints in the Search page contents. But for some reason everything except the the Search page is getting repainted Edit: you're right, it doesn't work at all 😑 |
I've made |
Weird, I'm curious if there's a proper fix for that, seems like a common thing to have a animation like that |
I don't know why but even a small animation inside a hello world flutter app utilizes the gpu heavily |
The fix has been released. It's now available in v2.4.0 |
Is there an existing issue for this?
Current Behavior
I am getting up to 60% of GPU consumption on an integrated Intel UHD Graphics 630 under Fedora using sway as the window manager. I usually don't have any problem reproducing 4k or other middle-intensive GPU tasks with other programs.
I have observed that the GPU-consuming task inside Spotube is the one in charge of moving long album labels such as this one:
with the following GPU consumption:
Whilst if I am in the search section without any moving label I get the following GPU consumption:
Expected Behavior
Optimizing the GPU consumption of these animations would be interesting so you can get a better battery performance and not interfere with the performance of other applications.
Possible solution: Stop the animation when idle and the mouse is not over the Spotube app or the album image.
Steps To Reproduce
No response
Spotube Version
2.3.0
Operating System
Linux
Linux Distribution (if applicable)
No response
Operating System Version
Fedora 36
Installation Source
Flathub (Flatpak)
Additional information
No response
The text was updated successfully, but these errors were encountered: