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

            Bug ID: 387214
           Summary: Kwin hogs CPU occasionally on fullscreen video
                    playback
           Product: kwin
           Version: unspecified
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: kwin-bugs-n...@kde.org
          Reporter: andy...@mail.ru
  Target Milestone: ---

I've noticed that while I'm playing fullscreen video (e.g. a YouTube Let's
Play, VP9 1920x1080@60 fps) in SMPlayer/mpv the kwin_x11 process occasionally
starts consuming one CPU core 100%, as if in a busy loop. No visual artefacts
or stuttering are visible at this time.

I have no fixed steps to reproduce the problem, other than start playing video
from youtube fullscreen and watch the CPU load in KSysGuard. The CPU
consumption spikes happen at varying intervals, typically ranging from tens of
seconds to several minutes, and typically long from a few to tens of seconds.

I have these lines in /etc/environment:

KWIN_TRIPLE_BUFFER=1
KWIN_USE_BUFFER_AGE=0
__GL_SYNC_TO_VBLANK=1
__GL_SYNC_DISPLAY_DEVICE="DFP-0"
__GL_THREADED_OPTIMIZATIONS=1

I tried starting kwin_x11 with __GL_THREADED_OPTIMIZATIONS=0, but that doesn't
fix the problem, although maybe it reduces it a little. mpv is configured to
output video using VDPAU. I'm not seeing this problem with other window
managers, such as compiz or xfwm4+compton.

Kubuntu 17.10, x86_64, KWin 5.10.5, Nvidia driver 387.22, GTX980.

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

Reply via email to