-
Notifications
You must be signed in to change notification settings - Fork 495
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
Neovides uses cpu while idle #440
Comments
On windows it shows using ~95% of the GPU in addition to ~1.5% of CPU when idle and in the background. If I lower the framerate to 20, it goes down to ~40%. The very high GPU usage seems more concerning than the CPU usage. |
Yeah I need to track down what exactly is going on |
It also appears to increase over time indicating a leak of some sort |
I don't really understand the codebase, but it looks like idle events are created, but never handled. https://github.com/Kethku/neovide/blob/68582e05516fd3f6744752d8198ff3016d2190b9/src/editor/window.rs#L381-L383 |
It seems to be related to multigrid, since I don't have the problem anymore after disabling it. Scrolling down, as in to render the next line, with it enabled triggers it, possibly smooth scrolling? On another note, neovide scrolling seems to using a bit more GPU power than something like Chrome. It's fairly negligible for me, topping out at ~8% GPU, but something I noticed. |
Found the issue :) |
Looks like the most recent rewrite broke the idle pausing of the renderer. I'll need to track down why that is and fix it.
The text was updated successfully, but these errors were encountered: