https://bugs.kde.org/show_bug.cgi?id=528840
Bug ID: 528840
Summary: plasmashell RSS grows ~47 MB/h on NVIDIA Wayland
session
Classification: Plasma
Product: plasmashell
Version First 6.7.5
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 198459
--> https://bugs.kde.org/attachment.cgi?id=198459&action=edit
heaptrack excerpt: peak consumers and leaks, plasmashell, 927 s
DESCRIPTION
plasmashell RSS increases steadily during normal desktop use on a Wayland
session with the proprietary NVIDIA driver. No VRAM growth is visible in
nvidia-smi; only host RAM grows. There are no crashes and no visible
functional problems, only memory use.
On Plasma 6.7.5 with driver 615.78.08 the rate was 87-95 MB/h (16.5 GB of
RSS after 15 days uptime). After updating to 6.8.2 and 620.70.06 it dropped
to about 47 MB/h, so a part of the problem is fixed, but a residual leak
remains.
Reproduced on 6.8.2 (current stable in Arch repositories) at
about 47 MB/h; measured on 6.7.5 at 87-95 MB/h.
STEPS TO REPRODUCE
1. Start a Wayland Plasma session with the proprietary NVIDIA driver.
2. Use the desktop normally: open and close Kickoff, browse, leave it idle.
3. Watch VmRSS of plasmashell over one hour.
4. Optionally restart plasmashell and repeat: the growth resumes from the
new baseline.
Actual result: baseline RSS after restart is about 400 MB, then +9 to 11 MB
every 15 minutes, about 47 MB/h. After 17 hours it reached 1212 MB.
Expected result: RSS stays close to the baseline.
SOFTWARE/OS VERSIONS
Plasma version: 6.8.2
KDE Frameworks version: 6.31.0
Qt version: 6.12.0
Distribution: Arch Linux
Kernel: 7.3.3-1-cachyos
Graphics: NVIDIA GTX 1660 SUPER, driver 620.70.06 (proprietary), open kernel
modules from linux-cachyos-nvidia-open 7.3.3-1
Session: Wayland, single 1920x1080 monitor at 60 Hz
Wallpaper: static image, no slideshow, no media frame widget
ADDITIONAL INFORMATION
heaptrack, 927 seconds of a normally used session:
22,952,240 allocations, peak heap 331 MB, 9.89 MB not freed (about 38 MB/h,
consistent with the RSS growth).
Top peak consumers, all in the NVIDIA driver:
122.28 MB libnvidia-eglcore.so.620.70.06 167,909 calls
24.62 MB libnvidia-eglcore
16.78 MB libnvidia-eglcore
14.72 MB libnvidia-eglcore
13.53 MB libnvidia-eglcore
Common stack:
QSGRhiLayer::grab()
QSGRhiLayer::updateTexture()
QSGRenderer::preprocess()
QQuickWindowPrivate::renderSceneGraph()
QSwapBuffers
libEGL_nvidia.so.0
libnvidia-eglcore.so.620.70.06
Tested and ruled out:
- removed the weather widgets from the system tray: tooltip spam stopped,
growth rate unchanged;
- removed a third-party Panel Colorizer widget: no change;
- QT_QUICK_BACKEND=software: 141 MB/h, worse;
- QSG_RENDER_LOOP=threaded: 45 MB/h, no improvement over the basic loop;
- configuration is close to stock, no custom Plasma theme, effects default.
I attached a heaptrack excerpt as a text file instead of the full 47 MB
trace.
--
You are receiving this mail because:
You are watching all bug changes.