-
Notifications
You must be signed in to change notification settings - Fork 79
COSMIC applications very laggy upon resizing #753
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
Comments
Not sure if this might be related to pop-os/cosmic-comp#883. The lagginess only affects libcosmic apps, but the High CPU usage during resizing might cause it. |
This is probably because of iced's full redrawing on every update, which should be improved once iced 0.14 comes out and libcosmic switches to it |
I don't think it is the main cause, the issue wasn't present in the previous alphas. |
It was present for me for quite a while, I think even before the first alpha. |
@Adam-Cosner What iced’s improvement are you referring to? |
@idoric Iced 0.14 added Reactive Rendering, when iced 0.14 fully releases and COSMIC integrates that it'll reduce resource usage |
When resizing the window, widgets will need as much redrawing with reactive rendering as they do now, since this updates the widgets. |
Aha! At last I've discovered the cause of the issue. This is an issue with iced's WGPU implementation |
This appears to have been fixed in iced 0.14, so we just need for that rebase to happen |
Correction, on my investigation this is due to most libcosmic apps using the iGPU, which doesn't handle resizing very well. |
The issue is also present on desktop PC. |
Latest commits for cosmic-comp should have fixed this |
I am testing on pop-os/cosmic-comp@53d2cf0 for cosmic-comp and have the same issue with resizing still. |
@Quackdoc is the performance at least a bit better? |
going back and forth I can tell there is a difference, but there is still considerably lag. |
Just tested on my system and the resizing appears to be mostly functional now (not running at 3 FPS) but it does still feel kind of jittery. |
Is it fixed now? |
for me at least it is on a 4k 60fps display with 150% scaling. Resizing is smooth. |
Uh oh!
There was an error while loading. Please reload this page.
Resizing COSMIC applications appears to be incredibly laggy, this does not occur with applications from any other toolkit.
lag.webm
The text was updated successfully, but these errors were encountered: