From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111527] obs-studio + latest mesa on amdgpu/vega64 leaks kernel
memory rapidly
Date: Sat, 31 Aug 2019 20:26:10 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1201926424=="
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 1E0836E150
for ; Sat, 31 Aug 2019 20:26:11 +0000 (UTC)
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
--===============1201926424==
Content-Type: multipart/alternative; boundary="15672831710.A350DECc.8055"
Content-Transfer-Encoding: 7bit
--15672831710.A350DECc.8055
Date: Sat, 31 Aug 2019 20:26:11 +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=3D111527
Bug ID: 111527
Summary: obs-studio + latest mesa on amdgpu/vega64 leaks kernel
memory rapidly
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: not set
Priority: not set
Component: Drivers/Gallium/radeonsi
Assignee: dri-devel@lists.freedesktop.org
Reporter: john@pointysoftware.net
QA Contact: dri-devel@lists.freedesktop.org
As of at least mesa 19.3/bfac462d929 on a Vega 64:
Running obs-studio, even without starting a broadcast, will begin a seeming=
ly
exponential memory leak. It will be fine for a few minutes, until it rapid=
ly
begins consuming what appears to be kernel memory (nothing attributed to ap=
p,
but total usage skyrockets). With 32G of ram I exhaust system memory after
about three minutes, but the OOM killer doesn't know what to take down as O=
BS
itself remains low in the list. This can then murder the whole system.
However, killing OBS causes most of the memory to be freed. I say most bec=
ause
after reproducing on a fresh boot, there were apparently a few gigabytes of
unaccounted for memory that never returned. Subsequent repros of the bug on
that same boot returned to the same baseline, however. Some caching mechan=
ism
gone wrong?
I've noticed this going back at least a few weeks, but haven't a proper bis=
ect.
It should be very easy to reproduce, and happens on both Vega 64 systems I
have available.
Steps to reproduce, may not all be necessary but I confirmed this does it f=
rom
a fresh state:
- Launch obs-studio
- Enable Studio Mode by clicking the button the right
- Add two sources: "desktop capture" (select any monitor) and a single "Ima=
ge"
source (any image)
- Press Fade/Cut up top to make that state live. No need to actually start
recording/broadcasting.
- Wait a few minutes or until your system hangs. Memory usage will appear
stable for at least a full minute before taking off unprompted. It will no=
t be
attributed to the app, however, being apparently kernel memory.
Reproduces with 19.3 - bfac462d929
Does not reproduce with 19.1.4
Kernel versions 5.2.8/5.2.11 same behavior
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15672831710.A350DECc.8055
Date: Sat, 31 Aug 2019 20:26:11 +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
Bug ID |
111527
|
Summary |
obs-studio + latest mesa on amdgpu/vega64 leaks kernel memory=
rapidly
|
Product |
Mesa
|
Version |
git
|
Hardware |
Other
|
OS |
All
|
Status |
NEW
|
Severity |
not set
|
Priority |
not set
|
Component |
Drivers/Gallium/radeonsi
|
Assignee |
dri-devel@lists.freedesktop.org
|
Reporter |
john@pointysoftware.net
|
QA Contact |
dri-devel@lists.freedesktop.org
|
As of at least mesa 19.3/bfac462d929 on a Vega 64:
Running obs-studio, even without starting a broadcast, will begin a seeming=
ly
exponential memory leak. It will be fine for a few minutes, until it rapid=
ly
begins consuming what appears to be kernel memory (nothing attributed to ap=
p,
but total usage skyrockets). With 32G of ram I exhaust system memory after
about three minutes, but the OOM killer doesn't know what to take down as O=
BS
itself remains low in the list. This can then murder the whole system.
However, killing OBS causes most of the memory to be freed. I say most bec=
ause
after reproducing on a fresh boot, there were apparently a few gigabytes of
unaccounted for memory that never returned. Subsequent repros of the bug on
that same boot returned to the same baseline, however. Some caching mechan=
ism
gone wrong?
I've noticed this going back at least a few weeks, but haven't a proper bis=
ect.
It should be very easy to reproduce, and happens on both Vega 64 systems I
have available.
Steps to reproduce, may not all be necessary but I confirmed this does it f=
rom
a fresh state:
- Launch obs-studio
- Enable Studio Mode by clicking the button the right
- Add two sources: "desktop capture" (select any monitor) and a s=
ingle "Image"
source (any image)
- Press Fade/Cut up top to make that state live. No need to actually start
recording/broadcasting.
- Wait a few minutes or until your system hangs. Memory usage will appear
stable for at least a full minute before taking off unprompted. It will no=
t be
attributed to the app, however, being apparently kernel memory.
Reproduces with 19.3 - bfac462d929
Does not reproduce with 19.1.4
Kernel versions 5.2.8/5.2.11 same behavior
You are receiving this mail because:
- You are the assignee for the bug.
=
--15672831710.A350DECc.8055--
--===============1201926424==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1201926424==--