Created attachment 143800 [details]
Video showing the 4 MB leak in 25 seconds
It was found that the kernel 5.0 has a memory leak when Vulkan applications are used. It seems this leak can be even more intense than the one from bug 107899.
On drm-tip and linux-git, the commit 61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f fixes this leak. However, the leak is present on the kernel 5.0.5, currently the latest stable.
vulkan-smoketest is enough to trigger the leak. On slabtop, it shows:
80275 80275 100% 0,62K 3211 25 51376K i915_request
Steps to reproduce:
1) Open a Vulkan application, for example, vulkan-smoketest.
OS: Xubuntu 18.04;
Kernel: 5.0.0-8 (Disco Dingo) to 5.0.5;
CPU: Intel Core i3-6100U;
GPU: Intel HD Graphics 520;
Memory: 8 GB.
iirc the fix is commit 61a98b1b9a8c7a21a2d666a090dcf5f1c70c659f
Author: Christian König <firstname.lastname@example.org>
Date: Tue Dec 11 18:34:41 2018 +0800
drm/syncobj: remove drm_syncobj_cb and cleanup
This completes "drm/syncobj: Drop add/remove_callback from driver
interface" and cleans up the implementation a bit.
Signed-off-by: Christian König <email@example.com>
Reviewed-by: Chunming Zhou <firstname.lastname@example.org>
Fix available in drm-tip and 5.1-rc1 but not in stable branch 5.0.5.
> Fix available in drm-tip and 5.1-rc1 but not in stable branch 5.0.5.
Still, enough for us to close this, isn't it?
Fixed upstream and not our bug. Move to DRM/other, assign to Christian to decide what to do with the potential stable backport.