| Summary: | KRDP Memory Usage Filling System RAM | ||
|---|---|---|---|
| Product: | [Plasma] KRdp | Reporter: | Nicholas Clewer <nick.clewer> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | ahiemstra, jackyzy823, sitter |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
System Info Screenshot
Flamegraph Export Hotspot Parser File Heaptrack of krdpserver |
||
|
Description
Nicholas Clewer
2025-07-03 06:11:15 UTC
I tried all sorts of things but I can't reproduce this on master. Could you maybe try to run krdpserver through hotspot https://github.com/KDAB/hotspot and upload the recording or a screenshot of the flamegraph for inspection. Created attachment 182924 [details]
Flamegraph Export
Flamegraph image of process during issue
Created attachment 182925 [details]
Hotspot Parser File
Export of Hotspot Parser during issue
Video capture of issue, logging into host with Windows 11 RDP Client. Memory ticks up faster with more screen activity till kernel kills process. https://youtu.be/0YPL46OJM8A Oh sorry! I am a muppet. Hotspot is for cpu usage analysis, we'll want the data from running heaptrack https://invent.kde.org/sdk/heaptrack ๐ Created attachment 183112 [details]
Heaptrack of krdpserver
Added Heaptrack
Yeah that pretty much looks like a leak in mesa not our code. You appear to be missing debug symbols though. Could you do another recording but first run debuginfod-find debuginfo /usr/lib/libgallium-25.1.4-arch1.2.so to fetch the debug symbols. I hope that works anyway ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. Hi , i also encountered the same memory leak bug of krdp under llvmpipe (non 3d acceleration under VM). After searching , i came here from the post https://forum.endeavouros.com/t/krdp-memory-leak-oom/75156 The bug won't happened on virgl and softpipe. this makes me recall bug 507746 So I think the root cause is the same as bug 507746 . mesa's implementation of dmabuf in llvmpipe has some bugs. and after applying patch from https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37088 and testing with krdp, i think it is fixed . (however not as the version 25.2.3 mentioned in https://forum.endeavouros.com/t/krdp-memory-leak-oom/75156 , i think this patch will be included in 25.3.0) |