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

cosmic-panel degraded performance after some time #331

Open
tdback opened this issue Jan 15, 2025 · 5 comments
Open

cosmic-panel degraded performance after some time #331

tdback opened this issue Jan 15, 2025 · 5 comments

Comments

@tdback
Copy link

tdback commented Jan 15, 2025

I've noticed that after my desktop's screen has been off overnight, moving the mouse over the panel will get exponentially laggy. There seems to be slightly more RAM usage over time as well, although I can't confirm the panel is the cause. I am not sure if this is related to using an NVIDIA GPU on my desktop, because as far as I can tell my laptop without a dedicated GPU does not experience this issue.

Desktop specs:
CPU: AMD Ryzen 7 5700X
GPU: NVIDIA GeForce RTX 3060
Kernel: 6.6.69
NVIDIA Drivers: 565.77
Cosmic version: 1.0.0-alpha.5-unstable

Current power saving options:
Turn off the screen after: 5 minutes
Automatic suspend: Never

@alex100306
Copy link

I am having this same issue

@tdback
Copy link
Author

tdback commented Jan 17, 2025

@wash2 I will pull from master and report back in the coming days if #332 resolves this! Thank you!

@tdback
Copy link
Author

tdback commented Jan 19, 2025

TLDR: For those facing this same issue, I suggest upgrading to the latest commit on the master branch, as it improves the panel's performance quite dramatically (in my limited testing).

Checking in on this: while the mouse still seems to snag when moving the cursor over the panel, it is very subtle in comparison to before. I've also noticed some spikes in CPU usage with cosmic-comp when dragging my mouse across the panel. The laggy behavior is now really only noticeable when you are frantically moving your mouse back and forth across the panel, which I can't imagine most users are doing. All of the panel applets are still usable, with no noticeable performance hit. Overall, performance has improved dramatically when comparing the two versions of cosmic-panel over a 24hr period. If it does get to an unusable state, I suggest running pkill cosmic-panel in your terminal as a temporary fix to avoid a full reboot.

I still see no issue with the panel on my laptop, which has been running alpha.5 for the past ~2 weeks. This is leading me to believe that some performance hit could be in part of using an NVIDIA GPU on Wayland. For others experiencing this issue, such as @alex100306, I think it would be helpful to share specs to see if there is any correlation.

Updated specs:
Kernel: 6.6.71
Cosmic version: 1.0.0-alpha.5.1-unstable

@unknownK19
Copy link

After using Several times My mouse cursor became laggy while hovering on panel.
That means CPU has to deal larger Memory Operation on Cosmic-panel.

@tdback
Copy link
Author

tdback commented Jan 21, 2025

Unfortunately I think it may be related to that. Coming back to my desktop today the mouse cursor was quite laggy when hovering it over the panel.

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

3 participants