From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111077] link_shader and deserialize_glsl_program suddenly
consume huge amount of RAM
Date: Sat, 21 Sep 2019 09:11:06 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1665017590=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 9E6FA6E06E
for ; Sat, 21 Sep 2019 09:11:06 +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
--===============1665017590==
Content-Type: multipart/alternative; boundary="15690570661.3D3AF50.8377"
Content-Transfer-Encoding: 7bit
--15690570661.3D3AF50.8377
Date: Sat, 21 Sep 2019 09:11:06 +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=3D111077
--- Comment #46 from roland@rptd.ch ---
(In reply to Marek Ol=C5=A1=C3=A1k from comment #21)
> How do I reproduce it?
Looks like the trace file is too large to be attached here. I've put the fi=
le
on my server to access: http://rptd.ch/misc/debug/deigde.trace.7z
Replaying that trace shows the problematic behavior.
With the commit reverted the trace loads very fast and memory consumption g=
oes
up normally. With the commit not reverted loading takes long and memory
consumption jumps by 4G roughly.
Frame 0 is maybe a bit tricky to evaluate. Here the game engine does OpenGL
capability detection and and OpenGL implementation error checks. So you will
find various warnings, errors and such which only serve the purpose to figu=
re
out if what the OpenGL claims to support is actually really supported.
Frame 2279 is where the loading takes place. This is no more detection code=
so
if anything is wrong in there then it's of interest.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15690570661.3D3AF50.8377
Date: Sat, 21 Sep 2019 09:11:06 +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
Comme=
nt # 46
on bug 11107=
7
from roland@rptd.ch
(In reply to Marek Ol=C5=A1=C3=A1k from comment #21)
> How do I reproduce it?
Looks like the trace file is too large to be attached here. I've put the fi=
le
on my server to access: http://rptd.ch/misc/debug/deigde.trace.7z
Replaying that trace shows the problematic behavior.
With the commit reverted the trace loads very fast and memory consumption g=
oes
up normally. With the commit not reverted loading takes long and memory
consumption jumps by 4G roughly.
Frame 0 is maybe a bit tricky to evaluate. Here the game engine does OpenGL
capability detection and and OpenGL implementation error checks. So you will
find various warnings, errors and such which only serve the purpose to figu=
re
out if what the OpenGL claims to support is actually really supported.
Frame 2279 is where the loading takes place. This is no more detection code=
so
if anything is wrong in there then it's of interest.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15690570661.3D3AF50.8377--
--===============1665017590==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1665017590==--