tildearrow / kwin-lowlatency

archived - X11 full-screen unredirection and lots'a settings for KWin
373 stars 10 forks source link

When VSYNC disabled on Nvida, high CPU usage #76

Open StarrKiss opened 4 years ago

StarrKiss commented 4 years ago

Hello, I don't honestly notice vsync or that sort of tearing that much, I use this for stutter reduction and animation curves. As such, my compositor settings are set up like this: image Recently, WITHOUT UPDATING, Kwin has now been taking up upwards of 8 percent of my CPU, and I have a relatively beefy CPU. How do I fix this problem?

tildearrow commented 4 years ago

Can you please paste the output of

top -p `pgrep kwin_x11`

after 5 seconds? I want to see if KWin is eating one CPU core.

(P. S. it is not recommended to disable VSync)

StarrKiss commented 4 years ago

Here: https://pastebin.com/9D8W7Jb6 Why is it not recomended to disable Vsync? Wouldn't that reduce load on CPU? (also, if not, what should I send the VSYNC mechanism to, as I am using a newer Nvidia driver?)

tildearrow commented 4 years ago

Disabling VSync:

Are you having problems with VSync on? I am not sure what VSync mechanism to use, but try tinkering a bit, and tell me which one works best.