https://bugs.kde.org/show_bug.cgi?id=444536

            Bug ID: 444536
           Summary: Compositor slows down to ~1fps after changing any of
                    the compositor settings or restarting kwin
           Product: kwin
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: yabo...@gmail.com
  Target Milestone: ---

SUMMARY
Compositor slows down to ~1fps after changing any of the compositor settings.
It can also be triggered by running `kwin --replace`. The only way I found of
fixing this is to log out and back in. 

STEPS TO REPRODUCE
1. Log in to KDE. The compositor runs smoothly
2. Change compositor settings or restart kwin with `kwin --replace`.
3. Compositor now runs extremely slowly, around 1 fps.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 21.04
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Video demonstrating the issue: https://photos.app.goo.gl/373CiNmyF4MGjUZU6

There is no significant CPU or GPU utilization when the problem is triggered.

The only way I found to make the desktop usable again without logging out is to
change the compositor engine to XRender.

kwin --replace prints the following:
 pmitas@pmitas-ThinkPad-T490  ~  kwin --replace &
[1] 54579
 ⚙ pmitas@pmitas-ThinkPad-T490  ~  kwin_xkbcommon: XKB:
/usr/share/X11/locale/en_US.UTF-8/Compose:5079:46: this compose sequence is a
duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5081:48: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5083:48: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5087:47: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5089:46: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5097:48: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5101:46: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5103:46: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5107:45: this
compose sequence is a duplicate of another; skipping line
kwin_xkbcommon: XKB: /usr/share/X11/locale/en_US.UTF-8/Compose:5110:46: this
compose sequence is a duplicate of another; skipping line
 ⚙ pmitas@pmitas-ThinkPad-T490  ~  OpenGL vendor string:                  
Intel
OpenGL renderer string:                 Mesa Intel(R) UHD Graphics 620 (WHL
GT2)
OpenGL version string:                  4.6 (Compatibility Profile) Mesa 21.0.3
OpenGL shading language version string: 4.60
Driver:                                 Intel
GPU class:                              Unknown
OpenGL version:                         4.6
GLSL version:                           4.60
Mesa version:                           21.0.3
X server version:                       1.20.11
Linux kernel version:                   5.11
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_core: XCB error: 10 (BadAccess), sequence: 3883, resource id: 1998, major
code: 142 (Composite), minor code: 2 (RedirectSubwindows)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to