Summary: | On X11 with NVIDIA GPU and KWIN_X11_FORCE_SOFTWARE_VSYNC=1 set, Plasma panel set to Adaptive Opacity causes system stutters when switching virtual desktops or dragging or maximizing windows | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | rickard |
Component: | platform-x11-standalone | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, nate, rylos78, xaver.hugl |
Priority: | NOR | Keywords: | regression |
Version: | 6.0.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=483015 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
rickard
2024-03-07 13:58:09 UTC
I am not entierly sure of the root cause here. The Software vsync might have been a false positive, I am not entierly sure of the root cause here. The Software vsync might have been a false positive, One theory is that it might be related to when I disable my second monitor and disable composition when I start a game, then enable it again when I am done, then kwin becomes jerky. It might be related to that. An X11 freeze caused by confused GPU timing was identified and fix. Please reopen if this persists after 6.0.2 Ok, so I found something. Firefox seems to cause the KWin lag. If I minimize Firefox, Kwin and switching desktops is smooth. If the Firefox window is open, it Kwin windows lags and switching desktops is choppy. I also noticed if a Window is maximized, the same thing happens. Also having a Window closer to the bottom bar than this, causes stutter: https://ibb.co/vdDZJvq If I drag the window closer to the bottom, it's no longer smooth to switch desktops with the scrolling effect enabled. Sorry for spamming regarding this. I think I found the reason now, if the bottom panel Opacity is set to "Adaptive" and a window is close enough to the panel (the drop shadow?), things begin to stutter. If you set it to anything but "Adaptive", the stutter disappears. Thanks. Is Firefox in CSD mode? If it is, can you tell it to use the system titlebar and see if that makes the issue go away? If that works, can you see if the problem happens with any other CSD-using apps like Gedit or Blanket? It happens with any window when it's close enough to the bottom bar or is maximized. Kcalc, Kate, Konsole etc. Firefox just happend to be close enough to cause the issue, making me think it was Firefox that caused it. So to summarize: * Happens when any window is close enough to the bottom bar or is maximized, and the bar is set to adaptive opacity * It even happens if a window is maximized/or close to the bottom bar on the second desktop and you are on working on desktop 1. * Setting bar Opacity to translucent or opaque for the bar makes the issue go away. * It's not related to Vsync at all. Sorry for the confusion but it really made no sense, when sometimes everythiing was ok and suddenly it wasn't, then it was ok again. When it all really was how the windows were placed. I have a 180Hz monitor and nvidia 4070RTX, all was ultra fluid on plasma5 and getting this stuttering on plasma6. I've disabled panel floating mode and set it to opaque, now it is fluid. If i enable both these settings, or 1 of them, stuttering will come. Something need to be fixed on the new plasma6 panel. Rickard, do you have an NVIDIA GPU by any chance? (In reply to Nate Graham from comment #10) > Rickard, do you have an NVIDIA GPU by any chance? Yes, RTX 4070. KDE 5 did not have this issue, it's a KDE 6 thing. Thanks a lot! Does it also happen with the panel set to Opaque but Floating, and then does the lag happen when you perform an action that causes the panel to switch between floating and docked modes? Ok, it's just Bug 475468. *** This bug has been marked as a duplicate of bug 475468 *** |