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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
I have a similar (?) bug: plasmashell leaks GPU memory at a very high rate (~ 1
GiB per day during normal usage), while RSS remains constant (so there's no
heap leak). My version of the leak is related to task manager
previews/thumbnails and possibly accelerated by color management.

I've been able to reproduce readily on Plasma 6.6.4 (without any 3rd party
plasmoids, themes etc.), on several i915 iGPUs from different generations (Kaby
Lake-H, Comet Lake-H, Alder Lake-U), but not on a recent amdgpu iGPU (Strix
Halo 8060S).

Steps to reproduce (on e.g. stock Kubuntu 26.04 and Fedora 44 live images):

1. check the "Hide other windows when hovering over previews" option in task
manager settings.
2. Enable color management in KWin (System Settings -> Display & Monitor ->
Color profile -> e.g. Built-in, but an ICC profile will work too, as long as
the option is not "None").
3. Hover over a task manager item, so the preview thumbnail is displayed, then
hover over the thumbnail itself.
4. Move the cursor away from the thumbnail, anywhere towards the desktop. If
you move it back to the taskbar, the bug won’t be triggered.
5. Repeat steps 3 and 4 (several tens of times should be enough to see the
leak).

Restarting plasmashell immediately frees up the leaked memory.

Before (on a freshly restarted plasmashell):

$ grep -c i915.gem /proc/$(pidof plasmashell)/maps
128
$ sudo grep objects /sys/kernel/debug/dri/1/i915_gem_objects
1399 shrinkable [0 free] objects, 3181690880 bytes
$ gputop -n1 | grep plasmashell
50854     279M     279M |  0.0%  ||  0.0%  ||  0.0%  ||  0.0%  | plasmashell

After (50 repetitions of steps 3-4):

$ grep -c i915.gem /proc/$(pidof plasmashell)/maps
207
$ sudo grep objects /sys/kernel/debug/dri/1/i915_gem_objects
1509 shrinkable [0 free] objects, 3887955968 bytes
$ gputop -n1 | grep plasmashell
50854       1G       1G |  0.0%  ||  0.0%  ||  0.0%  ||  0.0%  | plasmashell

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

Reply via email to