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
CPU Spike 90% with Vsync #9621
Comments
Also happens with Cinnamon 4.2 |
Mint 20 64-bit CPU normal |
@sanawu Did you move any windows? if idle nothing will happen. you move any other app window for more than 2 second, just drag around the screen, Xorg will jump to 90% if Vsync None; Xorg 60%, Cinnamon 30% XFCE; Xorg 15% |
Yes I moved it about a good bit for a good while, nothing dissruptive happened, Linux still works, desktop functioning, CPU not spiking massively Isn't the use hardware rendering where available on the application so these issues would be with the application itself? By running lsof -p ${pid} | grep /dev/dri I can see the browser is indeed using the GPU when use hardware accelleration is enabled I am also on the low latency kernel |
I have roughly the same issue. Though I move/change window contents (e.g. playing a video or scrolling a webpage) instead of the whole window. (When I move a window, there's also some
I've observed the same. I also tried various other ways of disabling VSync (on my second monitor), but it didn't help. In addition to the above, I only observe this when a Cinnamon panel exists on my monitor with VSync (see also here and here). My other monitor (which is my primary monitor) does not have/support/use VSync (it's connected through HDMI, maybe that's why), and Cinnamon panels there don't hurt. If you only have a VSync-ed monitor, it might be inconvenient but possible to try out if removing the Cinnamon panel on that monitor improves the situation (though you might have to reconfigure it from scratch later?). |
I upgraded to Mint 20 and issue stays the same. I tried XFCE and KDE don't have this problem. |
Is there any way to debug what's going on here? Is there a way to monitor CPU time of Cinnamon's sub-threads? Is there a way to see when or how often a rerender of Cinnamon's UI is triggered (e.g. through VSync)? |
This reproduces with generic and lowlatency kernel, and with Nvidia drivers 460.80 and 465.27, but not with the nouveau (1:1.0.16-1) driver. Maybe because that one doesn't support VSync at all. Sadly it also can't control the graphics card's fan at all and is rumored to be much less stable, so I'm disinclined to use it. This also does *not reproduce with Cinnamon in software rendering mode. |
The text was updated successfully, but these errors were encountered: