From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 109389] memory leak in `amdgpu_bo_create()` Date: Fri, 06 Sep 2019 21:14:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1695214361==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B4484892B0 for ; Fri, 6 Sep 2019 21:14:42 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1695214361== Content-Type: multipart/alternative; boundary="15678044822.08B0.18787" Content-Transfer-Encoding: 7bit --15678044822.08B0.18787 Date: Fri, 6 Sep 2019 21:14:42 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D109389 --- Comment #7 from Czcibor Bohusz-Dobosz --- Created attachment 145288 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145288&action=3Dedit DRM/Radeon glxgears memleak log Took a while to perform some more tests, and it turns out that running glxg= ears with amdgpu also leaks memory - launching a hundred of glxgears instances l= eaks about 400 megabytes, only freed after they are killed and the caches are manually dropped with the command `echo 3 > /proc/sys/vm/drop_caches`. Because glxgears does not need Vulkan support, it had also been possible fo= r me to confirm that the massive persisting leak is definitely caused by the amd= gpu driver - attached is a bcc memleak log of glxgears taken with the radeon driver. On a side note, launching vkcube seems to leak memory with the described ca= ll at a very similar rate as well. --=20 You are receiving this mail because: You are the assignee for the bug.= --15678044822.08B0.18787 Date: Fri, 6 Sep 2019 21:14:42 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 7 on bug 10938= 9 from Czcibor Bohusz-Dobosz
Created attachme=
nt 145288 [details]
DRM/Radeon glxgears memleak log

Took a while to perform some more tests, and it turns out that running glxg=
ears
with amdgpu also leaks memory - launching a hundred of glxgears instances l=
eaks
about 400 megabytes, only freed after they are killed and the caches are
manually dropped with the command `echo 3 > /proc/sys/vm/drop_caches`.

Because glxgears does not need Vulkan support, it had also been possible fo=
r me
to confirm that the massive persisting leak is definitely caused by the amd=
gpu
driver - attached is a bcc memleak log of glxgears taken with the radeon
driver.

On a side note, launching vkcube seems to leak memory with the described ca=
ll
at a very similar rate as well.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15678044822.08B0.18787-- --===============1695214361== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1695214361==--