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

Mouse movement greatly spikes GPU usage #758

Open
Adam-Cosner opened this issue Dec 20, 2024 · 1 comment
Open

Mouse movement greatly spikes GPU usage #758

Adam-Cosner opened this issue Dec 20, 2024 · 1 comment

Comments

@Adam-Cosner
Copy link
Contributor

Adam-Cosner commented Dec 20, 2024

I noticed that whenever I move the mouse over a libcosmic app, the GPU usage greatly spikes, and when it's not moving, there's next to zero GPU usage. GTK, Qt, and even base Iced apps do not appear to cause the same effect. This image shows the difference between me moving my mouse over a GTK app vs a COSMIC app, you can probably guess which is which
screenshot-2024-12-20-20-55-31

My guess is that the view is being completely redrawn from the ground up every frame that the mouse is updated

@sgued
Copy link

sgued commented Dec 20, 2024

I believe this will be fixed once the iced that libcosmic depends on is updated to include iced-rs/iced#2662

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

No branches or pull requests

2 participants