tildearrow / kwin-lowlatency

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

Full screening an application makes things lag on other monitor. #120

Open Latrolage opened 2 years ago

Latrolage commented 2 years ago

When I have full screen unredirects enabled on one monitor, my other monitor gets very very laggy. They have different refresh rates.

Also, what actually does it mean by "unredirect"? I actually have no idea what this program does. I just wanted to try it out

Latrolage commented 2 years ago

sorry looks like the different refreshrate multimonitor issue was mentioned here https://github.com/tildearrow/kwin-lowlatency/issues/7#issuecomment-491477040.

But still what does it mean by unredirect? And is everything the same as default Kwin if i leave all compositor settings at default, or are there other changes?

Latrolage commented 2 years ago

Ok even without the "full-screen unredirects" option enabled, it still lags my other monitor with this compositor. It works fine on the default kwin compositor.

Logs from "Debug full-screen unredirection/direction scanout" doesn't seem to do much either. But this compositor makes my other monitor lag as long as something is fullscreen on one screen, and it worsens when "full screen unredirects" are enabled. (makes it basically 15-20fps or something)

With full screen unredirects disabled (duplicated many times in log):

Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 32x32...
Window not visible, toplevel not on output and/or not opaque.
Testing window of size 32x32...
Window not visible, toplevel not on output and/or not opaque.
Testing window of size 1920x1080...

With full screen unredirects enabled (duplicated many times in log):

Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 1x1...
Too small. Next one.
Testing window of size 32x32...
Window not visible, toplevel not on output and/or not opaque.
Testing window of size 32x32...
Window not visible, toplevel not on output and/or not opaque.
Testing window of size 1920x1080...
Scanning 0x56084cc13110