Bug 445317

Summary: VRAM doesn't clean after close application
Product: [Plasma] kwin Reporter: wwconstantin
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 5.23.3Flags: wwconstantin: Wayland+
wwconstantin: Mesa+
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
URL: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5645
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wwconstantin 2021-11-11 08:32:27 UTC
SUMMARY
After launch applications and closing it, VRAM doesn't cleaning. Most visible with heavy apps(games).
Next launched apps can works slow with memory defficite.
After kill kwin_wayland process or relaunch user session, values back to normal.
I observe this problem by 1-2 week

STEPS TO REPRODUCE
1.  Start clean session
2.  Make one or couple launches of any heavy VRAM usage app
3. See result :)


EXPECTED RESULT
free VRAM returns to normal values.

OBSERVED RESULT
It not returns :D

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.23.2 & 5.23.3
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

Mesa version: 22.0.0-git.
I use corectrl for monitoring.
Comment 1 wwconstantin 2021-11-18 11:59:33 UTC
may be depend with this issue: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5645
Comment 2 wwconstantin 2021-11-18 13:01:06 UTC
(In reply to wwconstantin from comment #1)
> may be depend with this issue:
> https://gitlab.freedesktop.org/mesa/mesa/-/issues/5645

looks like it this issue. partialy solved with latest mesa build
Comment 3 Nate Graham 2021-11-18 14:49:19 UTC
Cool, thanks for following up.