From: bugzilla-daemon@freedesktop.org Subject: [Bug 109389] memory leak in `amdgpu_bo_create()` Date: Tue, 03 Sep 2019 20:41:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0993846965==" 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 71D0B898AA for ; Tue, 3 Sep 2019 20:41:32 +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 --===============0993846965== Content-Type: multipart/alternative; boundary="15675432921.DcAA30fa.30117" Content-Transfer-Encoding: 7bit --15675432921.DcAA30fa.30117 Date: Tue, 3 Sep 2019 20:41:32 +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 #4 from Czcibor Bohusz-Dobosz --- Created attachment 145255 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145255&action=3Dedit Galactic Civilizations III memleak log without DXVK As far as I'm understanding the logs that I've gotten, this memory leak does still occur with Linux 5.2.11-arch1-1-ARCH and Mesa 1.9.15. In my case, it is most prevalent when a Direct3D game is launched with the = use of Wine accompanied by the DXVK translation layer that converts the D3D cal= ls to Vulkan - just going to a game's main menu can eat up large amounts of memory, which are then never freed, not even as the game is closed, until caches are manually dropped with a command. However, this seems to also occur to a much smaller extent with DXVK turned off; I attach a bcc memleak log that showcases the issue with the use of Galactic Civilizations III v3.9, as the smaller amounts of memory leaked wh= en DXVK is not in use make tracing the exact call that permanently leaked memo= ry easier - if I'm not anyhow mistaken, that would make it the one that leaked 68550656 bytes in this log. --=20 You are receiving this mail because: You are the assignee for the bug.= --15675432921.DcAA30fa.30117 Date: Tue, 3 Sep 2019 20:41:32 +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 # 4 on bug 10938= 9 from Czcibor Bohusz-Dobosz
Created attachment 145255 [details]
Galactic Civilizations III memleak log without DXVK

As far as I'm understanding the logs that I've gotten, this memory leak does
still occur with Linux 5.2.11-arch1-1-ARCH and Mesa 1.9.15.

In my case, it is most prevalent when a Direct3D game is launched with the =
use
of Wine accompanied by the DXVK translation layer that converts the D3D cal=
ls
to Vulkan - just going to a game's main menu can eat up large amounts of
memory, which are then never freed, not even as the game is closed, until
caches are manually dropped with a command.

However, this seems to also occur to a much smaller extent with DXVK turned
off; I attach a bcc memleak log that showcases the issue with the use of
Galactic Civilizations III v3.9, as the smaller amounts of memory leaked wh=
en
DXVK is not in use make tracing the exact call that permanently leaked memo=
ry
easier - if I'm not anyhow mistaken, that would make it the one that leaked
68550656 bytes in this log.


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