-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
High CPU usage if vsync is disabled #1248
Comments
This is expected: disabling vsync makes picom render new frames as fast as possible, which means a really high fps, which means high CPU usage. maybe I ask why you chose to disable vsync? If there's a compelling use case, we can consider adding a frame rate limiter. |
Sorry for the late reply: for me disabling vsync makes the compositor more responsive and smooth (especially for FTlabs animations). Probably it is not noticeable with cutting age hardware, but for i5 igpu it is the case. |
@yushui multi-monitor mixed refresh-rate setups on X11 get force Vsynced to the lowest display's output. The only way to get around this is to disable compositor Vsync. |
Also, GLX animations are very stuttery for me without Vsync on Nvidia. I assume this is due to suboptimal resource usage. |
Noticed it started happening after frame pacing and vblank additions
GPU, drivers, and screen setup
picom version
v11.2
Configuration:
Configuration file
Steps of reproduction
Expected behavior
Picom takes not so much of CPU
Current Behavior
(292 root children)
Picom takes up to 80% of CPU - vsync disabled
Picom takes 30% of CPU - vsync enabled
The text was updated successfully, but these errors were encountered: