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

            Bug ID: 528762
           Summary: kwin memory usage and cpu load keep rising when
                    watching videos for around 1.5-2hours with nvidia gpu
    Classification: Plasma
           Product: kwin
      Version First 6.8.2
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
I have a nvidia gpu. After around 1.5-2 hours of usage I get heavy micro
stutters. Logging out and back in  fixed this immediately. 
STEPS TO REPRODUCE
1. Log into my plasma 6.8.2 Wayland session with my nvidia gpu with driver
620.70.06
2. use the system for around 1.5-2 hours, especially when watching videos for
longer periods 

OBSERVED RESULT
When watching videos for some time kWin memory usage rises around 4-5MB per
minute. In around 80 minutes from 471 MB to 805 MB. CPU load rises from  7% to
around 20% sometimes even 60%. When I close all videos or games it keeps
growing but way slower. At around 700-800MB the micro stutters start to get
visibly noticeable. When not watching any video content after a fresh relog it
barely rises.
I measured with mpv a 60 fps video for 20 seconds. Problem is not fixed when
disabling the second monitor. 


| State | kwin RSS | kwin CPU | vsync-jitter | dropped / delayed frames |
|---|---|---|---|---|
| Long-running session | ~1.36 GB | 33–65 % | 2.5–3.7 | up to 348 / 90 |
| Same session after ~1.5 h, other run | ~790 MB | ~20 % | 1.18 | 0 / 46 |
| Right after re-login (same boot) | 486 MB | 5 % | 0.05 | 0 / 5 |

EXPECTED RESULT
The memory usage and cpu load should not keep on rising


SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): CachyOS Linux
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
nvidia open driver: 620.70.06

ADDITIONAL INFORMATION
GPU is a nvidia RTX 5080

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

Reply via email to