[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-04-21 Thread vindicator
https://bugs.kde.org/show_bug.cgi?id=483538

--- Comment #7 from vindicator  ---
Created attachment 168764
  --> https://bugs.kde.org/attachment.cgi?id=168764=edit
Heaptrack Top-Down

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

[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-04-21 Thread vindicator
https://bugs.kde.org/show_bug.cgi?id=483538

--- Comment #6 from vindicator  ---
Created attachment 168763
  --> https://bugs.kde.org/attachment.cgi?id=168763=edit
Heaptrack Consumed

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

[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-04-21 Thread vindicator
https://bugs.kde.org/show_bug.cgi?id=483538

vindicator  changed:

   What|Removed |Added

 CC||nroycea+...@gmail.com

--- Comment #5 from vindicator  ---
I'm also encountering a memory leak when hovering over the applications in the
status bar (not VRAM though).
X11 (but probably wayland as well since I switched back to X11 after another
unusable wayland issue).

I'll be attaching screencaps of heaptrack's "Consumed" and "Top-Down" tabs.

You'll notice the few areas in the chart where I intentionally hovered over
each active application in the status bar back and forth several times, along
with my time away from my computer (where there was no change).

Is the thumbnail/preview being created and not cached or disposed of every
time? Just cache it once for a given PID and dispose of it when the process
terminates.

My undesirable workaround for plasmashell as a whole is just to have it die by
using "MemoryMax=600M" for the service, where it then just respawns fresh
(though open applications in the statusbar may get rearranged each time).
I used that for wayland too, but it was happening much more frequently (more
than once a day vs probably a week+ on X11 before it dies), and it was worse
for wayland because yesterday before I switched, plasmashell was stuck in a
dying state and there were 2 processes open for it. I had to SIGKILL the
earlier one.

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

[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-03-19 Thread Michał Lubas
https://bugs.kde.org/show_bug.cgi?id=483538

Michał Lubas  changed:

   What|Removed |Added

 CC||lubaso...@hotmail.com

--- Comment #4 from Michał Lubas  ---
FWIW, I have two GPUs - RX570 (amdgpu) and 12900k integrated (i915), with one
monitor connected to each gpu. When I start switching between konsole windows
when both are present on the monitor connected to the amd gpu, the VRAM is not
rising. But when I move both konsole windows to the monitor connected to the
Intel gpu and start swithing windows then VRAM (on the *amdgpu* and also system
RAM/GTT after a while) is rising rapidly. Disabling thumbnails indeed fixes the
issue, thank you for the workaround.

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

[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-03-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=483538

x...@wch.one changed:

   What|Removed |Added

 CC||x...@wch.one

--- Comment #3 from x...@wch.one ---
I have this issue too, similar configuration, by following the steps I was able
to get VRAM to jump from < 1gb to 2.5gb and RAM from ~300mb to 750mb (Though
while trying to figure out the source I had it at 1gb+ before). Disabling hover
thumbnail also prevents the leak for me.

Integrated Radeon GPU on AMD 7 Pro 5850U 
Linux: 6.7.9-arch1-1
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Wayland Version: 1.22.0-1
Mesa Version: 24.0.3

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

[kwin] [Bug 483538] [Wayland] VRAM leak when repeatedly switching between window icons

2024-03-15 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=483538

Fushan Wen  changed:

   What|Removed |Added

   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
   Keywords||wayland
Product|plasmashell |kwin
Summary|VRAM leak when repeatedly   |[Wayland] VRAM leak when
   |switching between window|repeatedly switching
   |icons   |between window icons
   Target Milestone|1.0 |---
  Component|Task Manager and Icons-Only |wayland-generic
   |Task Manager|

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