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, 06 Jul 2019 17:46:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1728550014==" 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 DF57F89893 for ; Sat, 6 Jul 2019 17:46:22 +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 --===============1728550014== Content-Type: multipart/alternative; boundary="15624351820.09Ec4.22058" Content-Transfer-Encoding: 7bit --15624351820.09Ec4.22058 Date: Sat, 6 Jul 2019 17:46:22 +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 Bug ID: 111077 Summary: link_shader and deserialize_glsl_program suddenly consume huge amount of RAM Product: Mesa Version: 18.3 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: roland@rptd.ch QA Contact: dri-devel@lists.freedesktop.org Created attachment 144715 --> https://bugs.freedesktop.org/attachment.cgi?id=3D144715&action=3Dedit Valgrind massif log Since a recent update a few days ago an application which barely consumes 2G RAM at full load is very slow to load and compiling shaders causes over 16G= RAM to be consumed when the app eventually crashes. I don't know what exactly in the update caused problems but certainly Mesa,= the amdgpu driver and LLVM did get updates. I also tried using Mesa 19.x but the problem is the same. Driver is xf86-video-amdgpu-19.0.1 . LLVM is 7.0.x . I've already deleted the mesa shader cache and all caches the application creates. I've totally recompiled the system (GenToo) to make sure no strange problems can be around. I've also tried with a completely fresh user to run= the app. Using valgrind --tool=3Dmassif the culprit seems to be ralloc_size which is called by the two above mentioned methods. I've attached a massif log of a couple of seconds running of the application and shutting it down before me= mory skyrockets even more. The app in question shows at that point of time only = an empty scene with a simple shader doing a sky-box. The rest is Non OpenGL UI stuff. Classified this as blocker since as soon as you try loading more shaders not even 32G seems to be enough to cope with the rampaging glsl compiler. --=20 You are receiving this mail because: You are the assignee for the bug.= --15624351820.09Ec4.22058 Date: Sat, 6 Jul 2019 17:46:22 +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 111077
Summary link_shader and deserialize_glsl_program suddenly consume hug= e amount of RAM
Product Mesa
Version 18.3
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity blocker
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter roland@rptd.ch
QA Contact dri-devel@lists.freedesktop.org

Created attachment 144715 [details]
Valgrind massif log

Since a recent update a few days ago an application which barely consumes 2G
RAM at full load is very slow to load and compiling shaders causes over 16G=
 RAM
to be consumed when the app eventually crashes.

I don't know what exactly in the update caused problems but certainly Mesa,=
 the
amdgpu driver and LLVM did get updates.

I also tried using Mesa 19.x but the problem is the same.

Driver is xf86-video-amdgpu-19.0.1 . LLVM is 7.0.x .

I've already deleted the mesa shader cache and all caches the application
creates. I've totally recompiled the system (GenToo) to make sure no strange
problems can be around. I've also tried with a completely fresh user to run=
 the
app.

Using valgrind --tool=3Dmassif the culprit seems to be ralloc_size which is
called by the two above mentioned methods. I've attached a massif log of a
couple of seconds running of the application and shutting it down before me=
mory
skyrockets even more. The app in question shows at that point of time only =
an
empty scene with a simple shader doing a sky-box. The rest is Non OpenGL UI
stuff.

Classified this as blocker since as soon as you try loading more shaders not
even 32G seems to be enough to cope with the rampaging glsl compiler.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15624351820.09Ec4.22058-- --===============1728550014== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1728550014==-- 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, 06 Jul 2019 18:01:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0024522417==" 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 57F7A88E4B for ; Sat, 6 Jul 2019 18:01:14 +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 --===============0024522417== Content-Type: multipart/alternative; boundary="15624360740.fF070.26441" Content-Transfer-Encoding: 7bit --15624360740.fF070.26441 Date: Sat, 6 Jul 2019 18:01:14 +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 #1 from roland@rptd.ch --- I've started the application now also in a debugger and went to loading a simple model which causes tons of RAM to be consumes by the shader compiler= . I interrupted with GDB and made a trace: #0 0x00007f650ee794e7 in __memcpy_ssse3 () from /lib64/libc.so.6 #1 0x00007f650776a390 in blob_write_bytes () from /usr/lib64/dri/radeonsi_dri.so #2 0x00007f650776a4e8 in blob_write_uint32 () from /usr/lib64/dri/radeonsi_dri.so #3 0x00007f6507636421 in serialize_glsl_program () from /usr/lib64/dri/radeonsi_dri.so #4 0x00007f6507638132 in shader_cache_write_program_metadata(gl_context*, gl_shader_program*) () from /usr/lib64/dri/radeonsi_dri.so #5 0x00007f65074a9a38 in link_program_error () from /usr/lib64/dri/radeonsi_dri.so #6 0x00007f6509d85a3d in deoglShaderLanguage::pLinkShader (this=3D0x7f65004= 360c0, handle=3D298) at src/modules/graphic/opengl/src/shaders/deoglShaderLanguage.cpp:1272 #7 0x00007f6509d86537 in deoglShaderLanguage::CompileShader (this=3D0x7f65004360c0, program=3D...) at src/modules/graphic/opengl/src/shaders/deoglShaderLanguage.cpp:530 Mesa gets stuck inside "link_program_error" =3D> "shader_cache_write_program_metadata" =3D> "serialize_glsl_program" . Most probably serialize_glsl_program goes rampage there but I have no idea if th= is is the real reason. According to the massif logs though ralloc_size is call= ed with GB of data multiple time in there somewhere. --=20 You are receiving this mail because: You are the assignee for the bug.= --15624360740.fF070.26441 Date: Sat, 6 Jul 2019 18:01:14 +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 # 1 on bug 11107= 7 from roland@rptd.ch
I've started the application now also in a debugger and went t=
o loading a
simple model which causes tons of RAM to be consumes by the shader compiler=
. I
interrupted with GDB and made a trace:

#0 0x00007f650ee794e7 in __memcpy_ssse3 () from /lib64/libc.so.6
#1 0x00007f650776a390 in blob_write_bytes () from
/usr/lib64/dri/radeonsi_dri.so
#2 0x00007f650776a4e8 in blob_write_uint32 () from
/usr/lib64/dri/radeonsi_dri.so
#3 0x00007f6507636421 in serialize_glsl_program () from
/usr/lib64/dri/radeonsi_dri.so
#4 0x00007f6507638132 in shader_cache_write_program_metadata(gl_context*,
gl_shader_program*) () from /usr/lib64/dri/radeonsi_dri.so
#5 0x00007f65074a9a38 in link_program_error () from
/usr/lib64/dri/radeonsi_dri.so
#6 0x00007f6509d85a3d in deoglShaderLanguage::pLinkShader (this=3D0x7f65004=
360c0,
handle=3D298) at
src/modules/graphic/opengl/src/shaders/deoglShaderLanguage.cpp:1272
#7 0x00007f6509d86537 in deoglShaderLanguage::CompileShader
(this=3D0x7f65004360c0, program=3D...) at
src/modules/graphic/opengl/src/shaders/deoglShaderLanguage.cpp:530

Mesa gets stuck inside "link_program_error" =3D>
"shader_cache_write_program_metadata" =3D> "serialize_gls=
l_program" . Most
probably serialize_glsl_program goes rampage there but I have no idea if th=
is
is the real reason. According to the massif logs though ralloc_size is call=
ed
with GB of data multiple time in there somewhere.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15624360740.fF070.26441-- --===============0024522417== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0024522417==-- 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: Sun, 07 Jul 2019 17:57:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0400202887==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 90E57897EB for ; Sun, 7 Jul 2019 17:57: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 --===============0400202887== Content-Type: multipart/alternative; boundary="15625222620.B7a9a.1993" Content-Transfer-Encoding: 7bit --15625222620.B7a9a.1993 Date: Sun, 7 Jul 2019 17:57: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=3D111077 --- Comment #2 from roland@rptd.ch --- I don't know what other information can help so I collected information abo= ut the state that worked (before the update) and the state that does not work anymore (after the update): before update (working state): media-libs/mesa-18.2.8 - x11-drivers/xf86-video-amdgpu-18.1.0 - x11-libs/libdrm-2.4.96 - sys-devel/llvm-6.0.1 - sys-devel/llvmgold-6 - sys-devel/llvm-common-6.0.1 after update (memory consumption bug present): - media-libs/mesa-18.3.6 (I also tested media-libs/mesa-19.0.6 and media-libs/mesa-19.1.1 with same result) - x11-drivers/xf86-video-amdgpu-19.0.1 - x11-libs/libdrm-2.4.97 - sys-devel/llvm-7.1.0 - sys-devel/llvmgold-7 - sys-devel/llvm-common-7.1.0 Is there anything else that can help? --=20 You are receiving this mail because: You are the assignee for the bug.= --15625222620.B7a9a.1993 Date: Sun, 7 Jul 2019 17:57: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 # 2 on bug 11107= 7 from roland@rptd.ch
I don't know what other information can help so I collected in=
formation about
the state that worked (before the update) and the state that does not work
anymore (after the update):

before update (working state):
media-libs/mesa-18.2.8
- x11-drivers/xf86-video-amdgpu-18.1.0
- x11-libs/libdrm-2.4.96
- sys-devel/llvm-6.0.1
- sys-devel/llvmgold-6
- sys-devel/llvm-common-6.0.1

after update (memory consumption bug present):
- media-libs/mesa-18.3.6 (I also tested media-libs/mesa-19.0.6 and
  media-libs/mesa-19.1.1 with same result)
- x11-drivers/xf86-video-amdgpu-19.0.1
- x11-libs/libdrm-2.4.97
- sys-devel/llvm-7.1.0
- sys-devel/llvmgold-7
- sys-devel/llvm-common-7.1.0

Is there anything else that can help?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15625222620.B7a9a.1993-- --===============0400202887== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0400202887==-- 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: Mon, 08 Jul 2019 02:04:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0295662190==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 93015899B3 for ; Mon, 8 Jul 2019 02:04:59 +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 --===============0295662190== Content-Type: multipart/alternative; boundary="15625514991.ebeb.17335" Content-Transfer-Encoding: 7bit --15625514991.ebeb.17335 Date: Mon, 8 Jul 2019 02:04:59 +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 #3 from Timothy Arceri --- Are you able to build mesa from git and do a git bisect to find the problem commit? --=20 You are receiving this mail because: You are the assignee for the bug.= --15625514991.ebeb.17335 Date: Mon, 8 Jul 2019 02:04:59 +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 # 3 on bug 11107= 7 from Timothy Arceri
Are you able to build mesa from git and do a git bisect to fin=
d the problem
commit?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15625514991.ebeb.17335-- --===============0295662190== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0295662190==-- 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: Fri, 12 Jul 2019 16:02:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1271694970==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 23B306E11E for ; Fri, 12 Jul 2019 16:02:10 +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 --===============1271694970== Content-Type: multipart/alternative; boundary="15629473300.1D8d30.30988" Content-Transfer-Encoding: 7bit --15629473300.1D8d30.30988 Date: Fri, 12 Jul 2019 16:02:10 +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 #4 from roland@rptd.ch --- I tried compiling from source but it does not work. Seems to have troubles = with libdrm. configure: error: Package requirements (libdrm >=3D 2.4.75 libdrm_intel >=3D 2.4.75) were not met: Can't seem to get past this one. --=20 You are receiving this mail because: You are the assignee for the bug.= --15629473300.1D8d30.30988 Date: Fri, 12 Jul 2019 16:02:10 +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 11107= 7 from roland@rptd.ch
I tried compiling from source but it does not work. Seems to h=
ave troubles with
libdrm.

configure: error: Package requirements (libdrm >=3D 2.4.75 libdrm_intel =
>=3D
2.4.75) were not met:

Can't seem to get past this one.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15629473300.1D8d30.30988-- --===============1271694970== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1271694970==-- 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: Fri, 12 Jul 2019 16:03:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1235691885==" 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 73B296E202 for ; Fri, 12 Jul 2019 16:03:29 +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 --===============1235691885== Content-Type: multipart/alternative; boundary="15629474090.CDC17a.30973" Content-Transfer-Encoding: 7bit --15629474090.CDC17a.30973 Date: Fri, 12 Jul 2019 16:03:29 +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 #5 from roland@rptd.ch --- For the records: installed version is 2.4.97 --=20 You are receiving this mail because: You are the assignee for the bug.= --15629474090.CDC17a.30973 Date: Fri, 12 Jul 2019 16:03:29 +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 # 5 on bug 11107= 7 from roland@rptd.ch
For the records: installed version is 2.4.97


You are receiving this mail because:
  • You are the assignee for the bug.
= --15629474090.CDC17a.30973-- --===============1235691885== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1235691885==-- 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: Mon, 15 Jul 2019 23:59:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0523952349==" 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 3FB9289E23 for ; Mon, 15 Jul 2019 23:59:29 +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 --===============0523952349== Content-Type: multipart/alternative; boundary="15632351692.Df0Aa1.12613" Content-Transfer-Encoding: 7bit --15632351692.Df0Aa1.12613 Date: Mon, 15 Jul 2019 23:59:29 +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 #6 from Timothy Arceri --- (In reply to roland@rptd.ch from comment #4) > I tried compiling from source but it does not work. Seems to have troubles > with libdrm. >=20 > configure: error: Package requirements (libdrm >=3D 2.4.75 libdrm_intel >= =3D > 2.4.75) were not met: >=20 > Can't seem to get past this one. Are you sure you have the libdrm-devel package installed? --=20 You are receiving this mail because: You are the assignee for the bug.= --15632351692.Df0Aa1.12613 Date: Mon, 15 Jul 2019 23:59:29 +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 # 6 on bug 11107= 7 from Timothy Arceri
(In reply to roland@=
rptd.ch from comment #4)
> I tried compiling from source but it does not wo=
rk. Seems to have troubles
> with libdrm.
>=20
> configure: error: Package requirements (libdrm >=3D 2.4.75 libdrm_i=
ntel >=3D
> 2.4.75) were not met:
>=20
> Can't seem to get past this one.

Are you sure you have the libdrm-devel package installed?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15632351692.Df0Aa1.12613-- --===============0523952349== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0523952349==-- 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: Tue, 16 Jul 2019 16:42:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225343488==" 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 5E4226E152 for ; Tue, 16 Jul 2019 16:42:38 +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 --===============0225343488== Content-Type: multipart/alternative; boundary="15632953581.6bAb5.8623" Content-Transfer-Encoding: 7bit --15632953581.6bAb5.8623 Date: Tue, 16 Jul 2019 16:42:38 +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 #7 from roland@rptd.ch --- I'm on GenToo. It's a source based distro thus every package installed has headers and libraries installed too otherwise the distro won't work. So I'm positive everything required for compiling mesa is there (as I've mesa "emerged"). --=20 You are receiving this mail because: You are the assignee for the bug.= --15632953581.6bAb5.8623 Date: Tue, 16 Jul 2019 16:42:38 +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 11107= 7 from roland@rptd.ch
I'm on GenToo. It's a source based distro thus every package i=
nstalled has
headers and libraries installed too otherwise the distro won't work. So I'm
positive everything required for compiling mesa is there (as I've mesa
"emerged").


You are receiving this mail because:
  • You are the assignee for the bug.
= --15632953581.6bAb5.8623-- --===============0225343488== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0225343488==-- 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: Thu, 18 Jul 2019 16:24:29 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0139767820==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 062836E437 for ; Thu, 18 Jul 2019 16:24:29 +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 --===============0139767820== Content-Type: multipart/alternative; boundary="15634670680.fc391.24646" Content-Transfer-Encoding: 7bit --15634670680.fc391.24646 Date: Thu, 18 Jul 2019 16:24:28 +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 #9 from roland@rptd.ch --- I get two config attempts. This is the second one. Do you see anything out = of place here? meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /u= sr --sysconfdir /etc --wrap-mode nodownload -Dplatforms=3Dx11,surfaceless,wayland,drm -Dllvm=3Dtrue -Dlmsensors=3Dtrue -Dlibunwind=3Dfalse -Dgallium-nine=3Dfalse -Dgallium-va=3Dfalse -Dgallium-v= dpau=3Dfalse -Dgallium-xa=3Dfalse -Dgallium-xvmc=3Dfalse -Dgallium-opencl=3Dicd -Dosmesa= =3Dnone -Dbuild-tests=3Dfalse -Dglx=3Ddri -Dshared-glapi=3Dtrue -Ddri3=3Dtrue -Degl= =3Dtrue -Dgbm=3Dtrue -Dgles1=3Dfalse -Dgles2=3Dtrue -Dglvnd=3Dfalse -Dselinux=3Dfal= se -Dvalgrind=3Dfalse -Ddri-drivers=3Dr100,r200 -Dgallium-drivers=3Dr300,r600,radeonsi,swrast -Dvulkan-drivers=3Damd --buil= dtype plain -Db_ndebug=3Dtrue /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-1= 9.0.8 /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8-abi_x86_64.amd64 --=20 You are receiving this mail because: You are the assignee for the bug.= --15634670680.fc391.24646 Date: Thu, 18 Jul 2019 16:24:28 +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 # 9 on bug 11107= 7 from roland@rptd.ch
I get two config attempts. This is the second one. Do you see =
anything out of
place here?

meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /u=
sr
--sysconfdir /etc --wrap-mode nodownload
-Dplatforms=3Dx11,surfaceless,wayland,drm -Dllvm=3Dtrue -Dlmsensors=3Dtrue
-Dlibunwind=3Dfalse -Dgallium-nine=3Dfalse -Dgallium-va=3Dfalse -Dgallium-v=
dpau=3Dfalse
-Dgallium-xa=3Dfalse -Dgallium-xvmc=3Dfalse -Dgallium-opencl=3Dicd -Dosmesa=
=3Dnone
-Dbuild-tests=3Dfalse -Dglx=3Ddri -Dshared-glapi=3Dtrue -Ddri3=3Dtrue -Degl=
=3Dtrue
-Dgbm=3Dtrue -Dgles1=3Dfalse -Dgles2=3Dtrue -Dglvnd=3Dfalse -Dselinux=3Dfal=
se
-Dvalgrind=3Dfalse -Ddri-drivers=3Dr100,r200
-Dgallium-drivers=3Dr300,r600,radeonsi,swrast -Dvulkan-drivers=3Damd --buil=
dtype
plain -Db_ndebug=3Dtrue /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-1=
9.0.8
/var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8-abi_x86_64.amd64
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15634670680.fc391.24646-- --===============0139767820== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0139767820==-- 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, 20 Jul 2019 17:46:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0676084909==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C206C6E8C2 for ; Sat, 20 Jul 2019 17:46:48 +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 --===============0676084909== Content-Type: multipart/alternative; boundary="15636448082.aDffCE.28690" Content-Transfer-Encoding: 7bit --15636448082.aDffCE.28690 Date: Sat, 20 Jul 2019 17:46:48 +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 #10 from Matt Turner --- (In reply to roland@rptd.ch from comment #9) > I get two config attempts. This is the second one. Do you see anything out > of place here? >=20 > meson --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix > /usr --sysconfdir /etc --wrap-mode nodownload > -Dplatforms=3Dx11,surfaceless,wayland,drm -Dllvm=3Dtrue -Dlmsensors=3Dtrue > -Dlibunwind=3Dfalse -Dgallium-nine=3Dfalse -Dgallium-va=3Dfalse > -Dgallium-vdpau=3Dfalse -Dgallium-xa=3Dfalse -Dgallium-xvmc=3Dfalse > -Dgallium-opencl=3Dicd -Dosmesa=3Dnone -Dbuild-tests=3Dfalse -Dglx=3Ddri > -Dshared-glapi=3Dtrue -Ddri3=3Dtrue -Degl=3Dtrue -Dgbm=3Dtrue -Dgles1=3Df= alse > -Dgles2=3Dtrue -Dglvnd=3Dfalse -Dselinux=3Dfalse -Dvalgrind=3Dfalse > -Ddri-drivers=3Dr100,r200 -Dgallium-drivers=3Dr300,r600,radeonsi,swrast > -Dvulkan-drivers=3Damd --buildtype plain -Db_ndebug=3Dtrue > /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8 > /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8-abi_x86_64.amd64 Just change the /var/tmp/portage/... path to your own build directory and y= ou should be good :) --=20 You are receiving this mail because: You are the assignee for the bug.= --15636448082.aDffCE.28690 Date: Sat, 20 Jul 2019 17:46:48 +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 # 10 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #9)
> I get two config attempts. This is the second on=
e. Do you see anything out
> of place here?
>=20
> meson --buildtype plain --libdir lib64 --localstatedir /var/lib --pref=
ix
> /usr --sysconfdir /etc --wrap-mode nodownload
> -Dplatforms=3Dx11,surfaceless,wayland,drm -Dllvm=3Dtrue -Dlmsensors=3D=
true
> -Dlibunwind=3Dfalse -Dgallium-nine=3Dfalse -Dgallium-va=3Dfalse
> -Dgallium-vdpau=3Dfalse -Dgallium-xa=3Dfalse -Dgallium-xvmc=3Dfalse
> -Dgallium-opencl=3Dicd -Dosmesa=3Dnone -Dbuild-tests=3Dfalse -Dglx=3Dd=
ri
> -Dshared-glapi=3Dtrue -Ddri3=3Dtrue -Degl=3Dtrue -Dgbm=3Dtrue -Dgles1=
=3Dfalse
> -Dgles2=3Dtrue -Dglvnd=3Dfalse -Dselinux=3Dfalse -Dvalgrind=3Dfalse
> -Ddri-drivers=3Dr100,r200 -Dgallium-drivers=3Dr300,r600,radeonsi,swrast
> -Dvulkan-drivers=3Damd --buildtype plain -Db_ndebug=3Dtrue
> /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8
> /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-19.0.8-abi_x86_64.am=
d64

Just change the /var/tmp/portage/... path to your own build directory and y=
ou
should be good :)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15636448082.aDffCE.28690-- --===============0676084909== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0676084909==-- 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, 20 Jul 2019 23:37:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0258930448==" 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 8F55189CF3 for ; Sat, 20 Jul 2019 23:37: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 --===============0258930448== Content-Type: multipart/alternative; boundary="15636658520.c1fb0D7e.21482" Content-Transfer-Encoding: 7bit --15636658520.c1fb0D7e.21482 Date: Sat, 20 Jul 2019 23:37: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=3D111077 --- Comment #11 from roland@rptd.ch --- Unfortunately it does not compile like this: FAILED: src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o=20 cc -Isrc/amd/common/2a96a08@@amd_common@sta -Isrc/amd/common -I../src/amd/common -Isrc/../include -I../src/../include -Isrc -I../src -Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler -I../src/compiler -Isrc/amd -I../src/amd -Isrc/compiler/nir -I../src/compiler/nir -I/usr/lib64/llvm/7/include -I/usr/include/libdrm -fdiagnostics-color=3Dalways -DNDEBUG -pipe -D_FILE_OFFSET_BITS=3D64 -std= =3Dc99 '-DVERSION=3D"18.0.0-rc2"' -DPACKAGE_VERSION=3DVERSION '-DPACKAGE_BUGREPORT=3D"https://bugs.freedesktop.org/enter_bug.cgi?product= =3DMesa"' -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD= _L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_LIBDRM -DHAVE_ZLIB -DHAVE_PTHRE= AD -DHAVE_LLVM=3D0x0710 -DMESA_LLVM_VERSION_PATCH=3D0 -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_LIBSENSORS=3D1 -Wall -Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes -fno-math-errno -fno-trapping-math -fPIC -pthread -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -fvisibility=3Dhidden -MD -MQ 'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o' -MF 'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o.d' -o 'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o' -c ../src/amd/common/ac_nir_to_llvm.c ../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_finalize_m= odule=E2=80=99: ../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration of function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you mean =E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplicit-fu= nction-declaration] LLVMAddPromoteMemoryToRegisterPass(passmgr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LLVMAddDemoteMemoryToRegisterPass cc1: some warnings being treated as errors [425/1549] Compiling C object 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'. ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.= --15636658520.c1fb0D7e.21482 Date: Sat, 20 Jul 2019 23:37: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

Comme= nt # 11 on bug 11107= 7 from roland@rptd.ch
Unfortunately it does not compile like this:

FAILED: src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c=
.o=20
cc -Isrc/amd/common/2a96a08@@amd_common@sta -Isrc/amd/common
-I../src/amd/common -Isrc/../include -I../src/../include -Isrc -I../src
-Isrc/mapi -I../src/mapi -Isrc/mesa -I../src/mesa -I../src/gallium/include
-Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/compiler
-I../src/compiler -Isrc/amd -I../src/amd -Isrc/compiler/nir
-I../src/compiler/nir -I/usr/lib64/llvm/7/include -I/usr/include/libdrm
-fdiagnostics-color=3Dalways -DNDEBUG -pipe -D_FILE_OFFSET_BITS=3D64 -std=
=3Dc99
'-DVERSION=3D"18.0.0-rc2"' -DPACKAGE_VERSION=3DVERSION
'-DPACKAGE_BUGREPORT=3D"https://bugs.freedesktop.org/enter_bug.cgi?product=
=3DMesa"'
-DGLX_USE_TLS -DHAVE_X11_PLATFORM -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM
-DHAVE_SURFACELESS_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32
-DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL
-DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS
-DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL
-DHAVE___BUILTIN_UNREACHABLE -DHAVE_FUNC_ATTRIBUTE_CONST
-DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC
-DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK
-DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED
-DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_VISIBILITY
-DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DUSE_SSE41
-DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS
-DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_STRTOD=
_L
-DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_LIBDRM -DHAVE_ZLIB -DHAVE_PTHRE=
AD
-DHAVE_LLVM=3D0x0710 -DMESA_LLVM_VERSION_PATCH=3D0 -DHAVE_WAYLAND_PLATFORM
-DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_LIBSENSORS=3D1 -Wall
-Werror=3Dimplicit-function-declaration -Werror=3Dmissing-prototypes
-fno-math-errno -fno-trapping-math -fPIC -pthread -D__STDC_LIMIT_MACROS
-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-fvisibility=3Dhidden -MD -MQ
'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o' -MF
'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o.d' -o
'src/amd/common/2a96a08@@amd_common@sta/ac_nir_to_llvm.c.o' -c
../src/amd/common/ac_nir_to_llvm.c
../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_finalize_m=
odule=E2=80=99:
../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration of
function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you mean
=E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplicit-fu=
nction-declaration]
  LLVMAddPromoteMemoryToRegisterPass(passmgr);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LLVMAddDemoteMemoryToRegisterPass
cc1: some warnings being treated as errors
[425/1549] Compiling C object
'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'.
ninja: build stopped: subcommand failed.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15636658520.c1fb0D7e.21482-- --===============0258930448== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0258930448==-- 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: Mon, 22 Jul 2019 16:57:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1837065184==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A011D89CF9 for ; Mon, 22 Jul 2019 16:57:19 +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 --===============1837065184== Content-Type: multipart/alternative; boundary="15638146391.9ceCf02A0.31132" Content-Transfer-Encoding: 7bit --15638146391.9ceCf02A0.31132 Date: Mon, 22 Jul 2019 16:57:19 +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 #12 from Matt Turner --- (In reply to roland@rptd.ch from comment #11) > ../src/amd/common/ac_nir_to_llvm.c > ../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_finalize= _module=E2=80=99: > ../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration of > function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you me= an > =E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplicit-= function-declaration] > LLVMAddPromoteMemoryToRegisterPass(passmgr); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > LLVMAddDemoteMemoryToRegisterPass > cc1: some warnings being treated as errors > [425/1549] Compiling C object > 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'. > ninja: build stopped: subcommand failed. Is this during the bisect, or when? Try adding=20 #if HAVE_LLVM >=3D 0x0700 #include #endif to the #include section of src/amd/common/ac_nir_to_llvm.c --=20 You are receiving this mail because: You are the assignee for the bug.= --15638146391.9ceCf02A0.31132 Date: Mon, 22 Jul 2019 16:57:19 +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 # 12 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #11)
> ../src/amd/common/ac_nir_to_llvm.c
> ../src/amd/common/ac_nir_to_llvm.c: In function =E2=80=98ac_llvm_final=
ize_module=E2=80=99:
> ../src/amd/common/ac_nir_to_llvm.c:6614:2: error: implicit declaration=
 of
> function =E2=80=98LLVMAddPromoteMemoryToRegisterPass=E2=80=99; did you=
 mean
> =E2=80=98LLVMAddDemoteMemoryToRegisterPass=E2=80=99? [-Werror=3Dimplic=
it-function-declaration]
>   LLVMAddPromoteMemoryToRegisterPass(passmgr);
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   LLVMAddDemoteMemoryToRegisterPass
> cc1: some warnings being treated as errors
> [425/1549] Compiling C object
> 'src/mesa/bbe4a73@@mesa_gallium@sta/main_format_utils.c.o'.
> ninja: build stopped: subcommand failed.

Is this during the bisect, or when?

Try adding=20

#if HAVE_LLVM >=3D 0x0700
#include <llvm-c/Transforms/Utils.h>
#endif

to the #include section of src/amd/common/ac_nir_to_llvm.c


You are receiving this mail because:
  • You are the assignee for the bug.
= --15638146391.9ceCf02A0.31132-- --===============1837065184== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1837065184==-- 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: Wed, 24 Jul 2019 11:49:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1163558760==" 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 A04A96E4CA for ; Wed, 24 Jul 2019 11:49:47 +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 --===============1163558760== Content-Type: multipart/alternative; boundary="15639689871.dC6Ff9a0E.27782" Content-Transfer-Encoding: 7bit --15639689871.dC6Ff9a0E.27782 Date: Wed, 24 Jul 2019 11:49:47 +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 #13 from roland@rptd.ch --- I checked out the 18.2 branch which I assume should work (if the theory is correct). Modifying files won't work with bisecting, right? --=20 You are receiving this mail because: You are the assignee for the bug.= --15639689871.dC6Ff9a0E.27782 Date: Wed, 24 Jul 2019 11:49:47 +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 # 13 on bug 11107= 7 from roland@rptd.ch
I checked out the 18.2 branch which I assume should work (if t=
he theory is
correct).

Modifying files won't work with bisecting, right?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15639689871.dC6Ff9a0E.27782-- --===============1163558760== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1163558760==-- 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: Fri, 26 Jul 2019 17:11:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1145489690==" 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 C1ABF6EDCE for ; Fri, 26 Jul 2019 17:11:55 +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 --===============1145489690== Content-Type: multipart/alternative; boundary="15641611152.dc08b3B.25210" Content-Transfer-Encoding: 7bit --15641611152.dc08b3B.25210 Date: Fri, 26 Jul 2019 17:11:55 +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 #14 from Matt Turner --- (In reply to roland@rptd.ch from comment #13) > I checked out the 18.2 branch which I assume should work (if the theory is > correct). >=20 > Modifying files won't work with bisecting, right? You'll probably have to 'git apply' the patch after each step, and 'git checkout -f' before each time you do 'git bisect good/bad' --=20 You are receiving this mail because: You are the assignee for the bug.= --15641611152.dc08b3B.25210 Date: Fri, 26 Jul 2019 17:11:55 +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 # 14 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #13)
> I checked out the 18.2 branch which I assume sho=
uld work (if the theory is
> correct).
>=20
> Modifying files won't work with bisecting, right?

You'll probably have to 'git apply' the patch after each step, and 'git
checkout -f' before each time you do 'git bisect good/bad'


You are receiving this mail because:
  • You are the assignee for the bug.
= --15641611152.dc08b3B.25210-- --===============1145489690== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1145489690==-- 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, 17 Aug 2019 07:24:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1683959653==" 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 0BD988926A for ; Sat, 17 Aug 2019 07:24:44 +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 --===============1683959653== Content-Type: multipart/alternative; boundary="15660266831.0e79.15582" Content-Transfer-Encoding: 7bit --15660266831.0e79.15582 Date: Sat, 17 Aug 2019 07:24:43 +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 #15 from roland@rptd.ch --- I've tried now the patching approach. I had to patch in total three files: src/amd/common/ac_nir_to_llvm.c src/gallium/auxiliary/gallivm/lp_bld_init.c src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c Nevertheless the build still fails at linking stage (see fail_log attachmen= t). --=20 You are receiving this mail because: You are the assignee for the bug.= --15660266831.0e79.15582 Date: Sat, 17 Aug 2019 07:24:43 +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 # 15 on bug 11107= 7 from roland@rptd.ch
I've tried now the patching approach. I had to patch in total =
three files:

src/amd/common/ac_nir_to_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_init.c
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c

Nevertheless the build still fails at linking stage (see fail_log attachmen=
t).


You are receiving this mail because:
  • You are the assignee for the bug.
= --15660266831.0e79.15582-- --===============1683959653== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1683959653==-- 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, 17 Aug 2019 07:25:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0038387663==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C35376E480 for ; Sat, 17 Aug 2019 07:25:12 +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 --===============0038387663== Content-Type: multipart/alternative; boundary="15660267121.71ec.16761" Content-Transfer-Encoding: 7bit --15660267121.71ec.16761 Date: Sat, 17 Aug 2019 07:25:12 +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 #16 from roland@rptd.ch --- Created attachment 145083 --> https://bugs.freedesktop.org/attachment.cgi?id=3D145083&action=3Dedit Linking fail log --=20 You are receiving this mail because: You are the assignee for the bug.= --15660267121.71ec.16761 Date: Sat, 17 Aug 2019 07:25:12 +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 # 16 on bug 11107= 7 from roland@rptd.ch
Created attachment 145083 <=
a href=3D"attachment.cgi?id=3D145083&action=3Dedit" title=3D"Linking fa=
il log">[details]
Linking fail log


You are receiving this mail because:
  • You are the assignee for the bug.
= --15660267121.71ec.16761-- --===============0038387663== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0038387663==-- 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, 17 Aug 2019 15:29:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0939060290==" 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 3A97889824 for ; Sat, 17 Aug 2019 15:29:30 +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 --===============0939060290== Content-Type: multipart/alternative; boundary="15660557700.e31d8.24635" Content-Transfer-Encoding: 7bit --15660557700.e31d8.24635 Date: Sat, 17 Aug 2019 15:29:29 +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 #17 from Matt Turner --- The build failure is in Clover, the OpenCL implementation. If the applicati= on that triggers the huge amount of RAM problem is not using OpenCL, disable OpenCL in meson configure and try to get past that. --=20 You are receiving this mail because: You are the assignee for the bug.= --15660557700.e31d8.24635 Date: Sat, 17 Aug 2019 15:29:30 +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 # 17 on bug 11107= 7 from Matt Turner
The build failure is in Clover, the OpenCL implementation. If =
the application
that triggers the huge amount of RAM problem is not using OpenCL, disable
OpenCL in meson configure and try to get past that.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15660557700.e31d8.24635-- --===============0939060290== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0939060290==-- 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, 24 Aug 2019 16:33:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0775716840==" 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 06EB66E0D8 for ; Sat, 24 Aug 2019 16:33: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 --===============0775716840== Content-Type: multipart/alternative; boundary="15666643850.E3064Cc2.17051" Content-Transfer-Encoding: 7bit --15666643850.E3064Cc2.17051 Date: Sat, 24 Aug 2019 16:33:05 +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 Matt Turner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mattst88@gmail.com --- Comment #18 from Matt Turner --- Cc'ing myself in case more help is needed bisecting. --=20 You are receiving this mail because: You are the assignee for the bug.= --15666643850.E3064Cc2.17051 Date: Sat, 24 Aug 2019 16:33:05 +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 Matt Turner changed bug 11107= 7
What Removed Added
CC   mattst88@gmail.com

Comme= nt # 18 on bug 11107= 7 from Matt Turner
Cc'ing myself in case more help is needed bisecting.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15666643850.E3064Cc2.17051-- --===============0775716840== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0775716840==-- 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: Sun, 25 Aug 2019 18:45:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0714291260==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E7EE46E11F for ; Sun, 25 Aug 2019 18:45:41 +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 --===============0714291260== Content-Type: multipart/alternative; boundary="15667587411.aeADcEf.21999" Content-Transfer-Encoding: 7bit --15667587411.aeADcEf.21999 Date: Sun, 25 Aug 2019 18:45:41 +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 #19 from roland@rptd.ch --- Need to shift this back to GenToo since compiling (aka bisecting) is not the problem right now but GenToo (which actually is the "only" distro I've seen this problem on so far). --=20 You are receiving this mail because: You are the assignee for the bug.= --15667587411.aeADcEf.21999 Date: Sun, 25 Aug 2019 18:45:41 +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 # 19 on bug 11107= 7 from roland@rptd.ch
Need to shift this back to GenToo since compiling (aka bisecti=
ng) is not the
problem right now but GenToo (which actually is the "only" distro=
 I've seen
this problem on so far).


You are receiving this mail because:
  • You are the assignee for the bug.
= --15667587411.aeADcEf.21999-- --===============0714291260== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0714291260==-- 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: Wed, 28 Aug 2019 18:35:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1996719225==" 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 E83B9894DD for ; Wed, 28 Aug 2019 18:35:02 +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 --===============1996719225== Content-Type: multipart/alternative; boundary="15670173020.D5192Af85.26438" Content-Transfer-Encoding: 7bit --15670173020.D5192Af85.26438 Date: Wed, 28 Aug 2019 18:35:02 +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 Matt Turner changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maraeo@gmail.com Keywords| |bisected --- Comment #20 from Matt Turner --- Great. We've got a bisect, and reverting the commit from 19.0.8 fixes the issue. commit 9176703788c66de8287c6224650b1ff8d4238126 Author: Marek Ol=C5=A1=C3=A1k Date: Wed Aug 8 15:37:21 2018 -0400 radeonsi: increase the maximum UBO size to 2 GB Same as the closed driver. This causes a failure in GL45-CTS.compute_shader.max, which has a trivi= al bug. Tested-by: Dieter N=C3=BCtzel (see https://bugs.gentoo.org/690066#c33) --=20 You are receiving this mail because: You are the assignee for the bug.= --15670173020.D5192Af85.26438 Date: Wed, 28 Aug 2019 18:35:02 +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 Matt Turner changed bug 11107= 7
What Removed Added
CC   maraeo@gmail.com
Keywords   bisected

Comme= nt # 20 on bug 11107= 7 from Matt Turner
Great. We've got a bisect, and reverting the commit from 19.0.=
8 fixes the
issue.

commit 9176703788c66de8287c6224650b1ff8d4238126
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date:   Wed Aug 8 15:37:21 2018 -0400

    radeonsi: increase the maximum UBO size to 2 GB

    Same as the closed driver.

    This causes a failure in GL45-CTS.compute_shader.max, which has a trivi=
al
    bug.

    Tested-by: Dieter N=C3=BCtzel <Dieter@nuetzel-hh.de>

(see https://bugs.gentoo.org=
/690066#c33)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15670173020.D5192Af85.26438-- --===============1996719225== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1996719225==-- 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: Wed, 28 Aug 2019 19:24:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2126469746==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3129F89DD8 for ; Wed, 28 Aug 2019 19:24:44 +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 --===============2126469746== Content-Type: multipart/alternative; boundary="15670202842.5cb43.31714" Content-Transfer-Encoding: 7bit --15670202842.5cb43.31714 Date: Wed, 28 Aug 2019 19:24:44 +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 #21 from Marek Ol=C5=A1=C3=A1k --- How do I reproduce it? --=20 You are receiving this mail because: You are the assignee for the bug.= --15670202842.5cb43.31714 Date: Wed, 28 Aug 2019 19:24:44 +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 # 21 on bug 11107= 7 from Marek Ol=C5=A1=C3=A1k
How do I reproduce it?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15670202842.5cb43.31714-- --===============2126469746== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2126469746==-- 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: Mon, 02 Sep 2019 17:47:14 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0932677836==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 98094898B7 for ; Mon, 2 Sep 2019 17:47:14 +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 --===============0932677836== Content-Type: multipart/alternative; boundary="15674464341.cFE1.24960" Content-Transfer-Encoding: 7bit --15674464341.cFE1.24960 Date: Mon, 2 Sep 2019 17:47:14 +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 #22 from roland@rptd.ch --- Hi Marek, This is going to be complicated. The application is not yet free to use by others (working on getting it to release shape). I would have to figure out first how to break this down into a reproducible test case since I don't kn= ow myself what triggers the bug. If you can think of some corner values to narrow down in what direction to search I can fully mess with the source code over here. The faulty commit t= alks about UBO maximum size so this might be a start. The OpenGL Capabilities fr= om the GPU is this: - UBO Maximum Block Size =3D 65536 - UBO Buffer Offset Alignment =3D 4 So the maximum size used by the application is 65536 bytes. UBOs are used as shared buffers so blocks of data are placed next to each o= ther respecting alignment and updated. UBOs are created like this: glBindBuffer(GL_UNIFORM_BUFFER, pUBO) // <=3D done once glBufferData(GL_UNIFORM_BUFFER, bufferSize, NULL, GL_DYNAMIC_DRAW) // <=3D= done once glMapBufferRange(GL_UNIFORM_BUFFER, stride * elementCount, elementStride, GL_WRITE_ONLY | GL_MAP_INVALIDATE_RANGE_BIT) // <=3D done for each data bl= ock written Data then written and unmapped In particular this means a larger UBO is created once then individual blocks are written to it using ranged mapping. Just a wield guess but could the problem be related to this kind of usage pattern? --=20 You are receiving this mail because: You are the assignee for the bug.= --15674464341.cFE1.24960 Date: Mon, 2 Sep 2019 17:47:14 +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 # 22 on bug 11107= 7 from roland@rptd.ch
Hi Marek,

This is going to be complicated. The application is not yet free to use by
others (working on getting it to release shape). I would have to figure out
first how to break this down into a reproducible test case since I don't kn=
ow
myself what triggers the bug.

If you can think of some corner values to narrow down in what direction to
search I can fully mess with the source code over here. The faulty commit t=
alks
about UBO maximum size so this might be a start. The OpenGL Capabilities fr=
om
the GPU is this:

- UBO Maximum Block Size =3D 65536
- UBO Buffer Offset Alignment =3D 4

So the maximum size used by the application is 65536 bytes.

UBOs are used as shared buffers so blocks of data are placed next to each o=
ther
respecting alignment and updated.

UBOs are created like this:

glBindBuffer(GL_UNIFORM_BUFFER, pUBO)  // <=3D done once
glBufferData(GL_UNIFORM_BUFFER, bufferSize, NULL, GL_DYNAMIC_DRAW)  // <=
=3D done
once
glMapBufferRange(GL_UNIFORM_BUFFER, stride * elementCount, elementStride,
GL_WRITE_ONLY | GL_MAP_INVALIDATE_RANGE_BIT)  // <=3D done for each data=
 block
written

Data then written and unmapped

In particular this means a larger UBO is created once then individual blocks
are written to it using ranged mapping. Just a wield guess but could the
problem be related to this kind of usage pattern?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15674464341.cFE1.24960-- --===============0932677836== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0932677836==-- 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: Tue, 03 Sep 2019 23:24:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0518037100==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E2430899F0 for ; Tue, 3 Sep 2019 23:24:24 +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 --===============0518037100== Content-Type: multipart/alternative; boundary="15675530643.7df42.24703" Content-Transfer-Encoding: 7bit --15675530643.7df42.24703 Date: Tue, 3 Sep 2019 23:24:24 +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 #23 from Matt Turner --- Can you make an apitrace of the application that demonstrates the problem? --=20 You are receiving this mail because: You are the assignee for the bug.= --15675530643.7df42.24703 Date: Tue, 3 Sep 2019 23:24:24 +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 # 23 on bug 11107= 7 from Matt Turner
Can you make an apitrace of the application that demonstrates =
the problem?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15675530643.7df42.24703-- --===============0518037100== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0518037100==-- 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: Wed, 04 Sep 2019 17:30:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0399921144==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 94DD5893A3 for ; Wed, 4 Sep 2019 17:30:00 +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 --===============0399921144== Content-Type: multipart/alternative; boundary="15676182001.9790E64.1756" Content-Transfer-Encoding: 7bit --15676182001.9790E64.1756 Date: Wed, 4 Sep 2019 17:30:00 +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 #24 from roland@rptd.ch --- (In reply to Matt Turner from comment #23) > Can you make an apitrace of the application that demonstrates the problem? I can only try RenderDoc. But can you export an API trace with it? --=20 You are receiving this mail because: You are the assignee for the bug.= --15676182001.9790E64.1756 Date: Wed, 4 Sep 2019 17:30:00 +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 # 24 on bug 11107= 7 from roland@rptd.ch
(In reply to Matt Turner from comment #23)
> Can you make an apitrace of the application that=
 demonstrates the problem?

I can only try RenderDoc. But can you export an API trace with it?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15676182001.9790E64.1756-- --===============0399921144== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0399921144==-- 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: Wed, 04 Sep 2019 18:17:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0329798551==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A4E1A89BDB for ; Wed, 4 Sep 2019 18:17:15 +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 --===============0329798551== Content-Type: multipart/alternative; boundary="15676210351.3AF5.11545" Content-Transfer-Encoding: 7bit --15676210351.3AF5.11545 Date: Wed, 4 Sep 2019 18:17:15 +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 #25 from Matt Turner --- (In reply to roland@rptd.ch from comment #24) > (In reply to Matt Turner from comment #23) > > Can you make an apitrace of the application that demonstrates the probl= em? >=20 > I can only try RenderDoc. But can you export an API trace with it? A RenderDoc trace would probably be fine. Any way to reproduce it would be fine. --=20 You are receiving this mail because: You are the assignee for the bug.= --15676210351.3AF5.11545 Date: Wed, 4 Sep 2019 18:17:15 +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 # 25 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #24)
> (In reply to Matt Turner from comment #23)
> > Can you make an apitrace of the application that demonstrates the=
 problem?
>=20
> I can only try RenderDoc. But can you export an API trace with it?

A RenderDoc trace would probably be fine. Any way to reproduce it would be
fine.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15676210351.3AF5.11545-- --===============0329798551== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0329798551==-- 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: Fri, 06 Sep 2019 00:27:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0854332849==" 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 D50756E126 for ; Fri, 6 Sep 2019 00:27:13 +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 --===============0854332849== Content-Type: multipart/alternative; boundary="15677296333.ebd0FfDAA.2263" Content-Transfer-Encoding: 7bit --15677296333.ebd0FfDAA.2263 Date: Fri, 6 Sep 2019 00:27:13 +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 #26 from roland@rptd.ch --- I've tried getting something done with RenderDoc but I did not get anywhere= . I can capture the scene in the application (basically just a sky-box) but tha= t's not really helpful. The problem happens while shaders are compiled. So the = RAM consumption goes through the roof while loading. Once the shaders are loaded the RAM does not raise anymore while rendering. But I can't seem to get RenderDoc to trace the shader compilation steps. Any ideas how to trace this situation? --=20 You are receiving this mail because: You are the assignee for the bug.= --15677296333.ebd0FfDAA.2263 Date: Fri, 6 Sep 2019 00:27:13 +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 # 26 on bug 11107= 7 from roland@rptd.ch
I've tried getting something done with RenderDoc but I did not=
 get anywhere. I
can capture the scene in the application (basically just a sky-box) but tha=
t's
not really helpful. The problem happens while shaders are compiled. So the =
RAM
consumption goes through the roof while loading. Once the shaders are loaded
the RAM does not raise anymore while rendering. But I can't seem to get
RenderDoc to trace the shader compilation steps. Any ideas how to trace this
situation?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15677296333.ebd0FfDAA.2263-- --===============0854332849== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0854332849==-- 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, 07 Sep 2019 18:11:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1125592683==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id EF6E989E1B for ; Sat, 7 Sep 2019 18:11:47 +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 --===============1125592683== Content-Type: multipart/alternative; boundary="15678799070.89b3.31036" Content-Transfer-Encoding: 7bit --15678799070.89b3.31036 Date: Sat, 7 Sep 2019 18:11:47 +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 #27 from Matt Turner --- Is the shader-cache causing the shaders to be loaded from disk instead of compiled? Try with the environment variable MESA_GLSL_CACHE_DISABLE=3D1 --=20 You are receiving this mail because: You are the assignee for the bug.= --15678799070.89b3.31036 Date: Sat, 7 Sep 2019 18:11:47 +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 # 27 on bug 11107= 7 from Matt Turner
Is the shader-cache causing the shaders to be loaded from disk=
 instead of
compiled?

Try with the environment variable MESA_GLSL_CACHE_DISABLE=3D1


You are receiving this mail because:
  • You are the assignee for the bug.
= --15678799070.89b3.31036-- --===============1125592683== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1125592683==-- 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: Sun, 08 Sep 2019 08:57:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1637914919==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 989D38991A for ; Sun, 8 Sep 2019 08:57:39 +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 --===============1637914919== Content-Type: multipart/alternative; boundary="15679330592.aacaEb7DC.8021" Content-Transfer-Encoding: 7bit --15679330592.aacaEb7DC.8021 Date: Sun, 8 Sep 2019 08:57:39 +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 #28 from roland@rptd.ch --- I had deleted the cache already so I doubt this is the problem. I tried pul= ling all the shaders and trying to make a small console app just compiling them = but so far no luck. I guess I need to check out the culprit commit to better na= rrow down what I need in the console app to show the problem. --=20 You are receiving this mail because: You are the assignee for the bug.= --15679330592.aacaEb7DC.8021 Date: Sun, 8 Sep 2019 08:57:39 +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 # 28 on bug 11107= 7 from roland@rptd.ch
I had deleted the cache already so I doubt this is the problem=
. I tried pulling
all the shaders and trying to make a small console app just compiling them =
but
so far no luck. I guess I need to check out the culprit commit to better na=
rrow
down what I need in the console app to show the problem.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15679330592.aacaEb7DC.8021-- --===============1637914919== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1637914919==-- 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: Mon, 09 Sep 2019 00:58:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208166021==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A11BD896E9 for ; Mon, 9 Sep 2019 00:58: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 --===============1208166021== Content-Type: multipart/alternative; boundary="15679907220.2320.27084" Content-Transfer-Encoding: 7bit --15679907220.2320.27084 Date: Mon, 9 Sep 2019 00:58: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=3D111077 --- Comment #29 from Timothy Arceri --- (In reply to roland@rptd.ch from comment #22) > Hi Marek, >=20 > This is going to be complicated. The application is not yet free to use by > others (working on getting it to release shape). I would have to figure o= ut > first how to break this down into a reproducible test case since I don't > know myself what triggers the bug. >=20 > If you can think of some corner values to narrow down in what direction to > search I can fully mess with the source code over here. The faulty commit > talks about UBO maximum size so this might be a start. The OpenGL > Capabilities from the GPU is this: >=20 > - UBO Maximum Block Size =3D 65536 > - UBO Buffer Offset Alignment =3D 4 >=20 > So the maximum size used by the application is 65536 bytes. >=20 > UBOs are used as shared buffers so blocks of data are placed next to each > other respecting alignment and updated. >=20 > UBOs are created like this: >=20 > glBindBuffer(GL_UNIFORM_BUFFER, pUBO) // <=3D done once > glBufferData(GL_UNIFORM_BUFFER, bufferSize, NULL, GL_DYNAMIC_DRAW) // <= =3D > done once > glMapBufferRange(GL_UNIFORM_BUFFER, stride * elementCount, elementStride, > GL_WRITE_ONLY | GL_MAP_INVALIDATE_RANGE_BIT) // <=3D done for each data = block > written >=20 > Data then written and unmapped >=20 > In particular this means a larger UBO is created once then individual blo= cks > are written to it using ranged mapping. Just a wield guess but could the > problem be related to this kind of usage pattern? UBOs are written to the shader cache, and shade cache items are kept in mem= ory in a queue when all threads are busy compiling. If you have large UBOs this could indeed be your problem. The following merge request might be helpful. Are you able to give this a t= est? https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852 --=20 You are receiving this mail because: You are the assignee for the bug.= --15679907220.2320.27084 Date: Mon, 9 Sep 2019 00:58: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

Comme= nt # 29 on bug 11107= 7 from Timothy Arceri
(In reply to roland@=
rptd.ch from comment #22)
> Hi Marek,
>=20
> This is going to be complicated. The application is not yet free to us=
e by
> others (working on getting it to release shape). I would have to figur=
e out
> first how to break this down into a reproducible test case since I don=
't
> know myself what triggers the bug.
>=20
> If you can think of some corner values to narrow down in what directio=
n to
> search I can fully mess with the source code over here. The faulty com=
mit
> talks about UBO maximum size so this might be a start. The OpenGL
> Capabilities from the GPU is this:
>=20
> - UBO Maximum Block Size =3D 65536
> - UBO Buffer Offset Alignment =3D 4
>=20
> So the maximum size used by the application is 65536 bytes.
>=20
> UBOs are used as shared buffers so blocks of data are placed next to e=
ach
> other respecting alignment and updated.
>=20
> UBOs are created like this:
>=20
> glBindBuffer(GL_UNIFORM_BUFFER, pUBO)  // <=3D done once
> glBufferData(GL_UNIFORM_BUFFER, bufferSize, NULL, GL_DYNAMIC_DRAW)  //=
 <=3D
> done once
> glMapBufferRange(GL_UNIFORM_BUFFER, stride * elementCount, elementStri=
de,
> GL_WRITE_ONLY | GL_MAP_INVALIDATE_RANGE_BIT)  // <=3D done for each=
 data block
> written
>=20
> Data then written and unmapped
>=20
> In particular this means a larger UBO is created once then individual =
blocks
> are written to it using ranged mapping. Just a wield guess but could t=
he
> problem be related to this kind of usage pattern?

UBOs are written to the shader cache, and shade cache items are kept in mem=
ory
in a queue when all threads are busy compiling. If you have large UBOs this
could indeed be your problem.

The following merge request might be helpful. Are you able to give this a t=
est?

ht=
tps://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852


You are receiving this mail because:
  • You are the assignee for the bug.
= --15679907220.2320.27084-- --===============1208166021== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1208166021==-- 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: Mon, 09 Sep 2019 17:03:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1866141549==" 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 D456A89BFD for ; Mon, 9 Sep 2019 17:03: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 --===============1866141549== Content-Type: multipart/alternative; boundary="15680486123.CC83B5490.1031" Content-Transfer-Encoding: 7bit --15680486123.CC83B5490.1031 Date: Mon, 9 Sep 2019 17:03: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=3D111077 --- Comment #30 from roland@rptd.ch --- How I best test this? Just check out the branch and build it or apply it somehow to the mesa branch I have here from bisecting? --=20 You are receiving this mail because: You are the assignee for the bug.= --15680486123.CC83B5490.1031 Date: Mon, 9 Sep 2019 17:03: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

Comme= nt # 30 on bug 11107= 7 from roland@rptd.ch
How I best test this? Just check out the branch and build it o=
r apply it
somehow to the mesa branch I have here from bisecting?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15680486123.CC83B5490.1031-- --===============1866141549== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1866141549==-- 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: Mon, 09 Sep 2019 17:47:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1552691192==" 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 C43D489CA8 for ; Mon, 9 Sep 2019 17:47:20 +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 --===============1552691192== Content-Type: multipart/alternative; boundary="15680512402.F34ED2f.10954" Content-Transfer-Encoding: 7bit --15680512402.F34ED2f.10954 Date: Mon, 9 Sep 2019 17:47:20 +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 #31 from Matt Turner --- (In reply to roland@rptd.ch from comment #30) > How I best test this? Just check out the branch and build it or apply it > somehow to the mesa branch I have here from bisecting? wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch' a= nd store it in /etc/portage/patches/media-libs/mesa/ Then just rebuild (with portage) a version of Mesa that is known to have the bug. --=20 You are receiving this mail because: You are the assignee for the bug.= --15680512402.F34ED2f.10954 Date: Mon, 9 Sep 2019 17:47:20 +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 # 31 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #30)
> How I best test this? Just check out the branch =
and build it or apply it
> somehow to the mesa branch I have here from bisecting?

wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patc=
h' and
store it in /etc/portage/patches/media-libs/mesa/

Then just rebuild (with portage) a version of Mesa that is known to have the
bug.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15680512402.F34ED2f.10954-- --===============1552691192== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1552691192==-- 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: Tue, 10 Sep 2019 19:26:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1970282387==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AC3176E0EE for ; Tue, 10 Sep 2019 19:26:19 +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 --===============1970282387== Content-Type: multipart/alternative; boundary="15681435791.fb07.23006" Content-Transfer-Encoding: 7bit --15681435791.fb07.23006 Date: Tue, 10 Sep 2019 19:26:19 +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 #32 from roland@rptd.ch --- Is there a way I can verify the rebuilding has picked up the patch file? I rebuild and started the application but the result is the same. Now I'm not sure if the patch is not working or not picked up properly. --=20 You are receiving this mail because: You are the assignee for the bug.= --15681435791.fb07.23006 Date: Tue, 10 Sep 2019 19:26:19 +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 # 32 on bug 11107= 7 from roland@rptd.ch
Is there a way I can verify the rebuilding has picked up the p=
atch file? I
rebuild and started the application but the result is the same. Now I'm not
sure if the patch is not working or not picked up properly.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15681435791.fb07.23006-- --===============1970282387== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1970282387==-- 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: Tue, 10 Sep 2019 20:21:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0919747258==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E7DE76E998 for ; Tue, 10 Sep 2019 20:21:29 +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 --===============0919747258== Content-Type: multipart/alternative; boundary="15681468893.A5dCEa3d.32202" Content-Transfer-Encoding: 7bit --15681468893.A5dCEa3d.32202 Date: Tue, 10 Sep 2019 20:21:29 +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 #33 from Matt Turner --- It will show the patch being applied before configuration. --=20 You are receiving this mail because: You are the assignee for the bug.= --15681468893.A5dCEa3d.32202 Date: Tue, 10 Sep 2019 20:21:29 +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 # 33 on bug 11107= 7 from Matt Turner
It will show the patch being applied before configuration.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --15681468893.A5dCEa3d.32202-- --===============0919747258== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0919747258==-- 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: Tue, 10 Sep 2019 22:36:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0313047569==" 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 0B0406E093 for ; Tue, 10 Sep 2019 22:36:16 +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 --===============0313047569== Content-Type: multipart/alternative; boundary="15681549750.b7baD5a5a.20491" Content-Transfer-Encoding: 7bit --15681549750.b7baD5a5a.20491 Date: Tue, 10 Sep 2019 22:36:15 +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 #34 from roland@rptd.ch --- I do not see anything mentioned there. I've wget the file into /etc/portage/patches/media-libs/mesa/ directory, which did not exist. Anyth= ing else I need to do to get Gentoo to pick up the patch? --=20 You are receiving this mail because: You are the assignee for the bug.= --15681549750.b7baD5a5a.20491 Date: Tue, 10 Sep 2019 22:36:15 +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 # 34 on bug 11107= 7 from roland@rptd.ch
I do not see anything mentioned there. I've wget the file into
/etc/portage/patches/media-libs/mesa/ directory, which did not exist. Anyth=
ing
else I need to do to get Gentoo to pick up the patch?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15681549750.b7baD5a5a.20491-- --===============0313047569== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0313047569==-- 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: Wed, 11 Sep 2019 00:10:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0509767835==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 08E866E9DF for ; Wed, 11 Sep 2019 00:10:15 +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 --===============0509767835== Content-Type: multipart/alternative; boundary="15681606141.2ACFA0.5296" Content-Transfer-Encoding: 7bit --15681606141.2ACFA0.5296 Date: Wed, 11 Sep 2019 00:10:14 +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 #35 from Matt Turner --- (In reply to roland@rptd.ch from comment #34) > I do not see anything mentioned there. I've wget the file into > /etc/portage/patches/media-libs/mesa/ directory, which did not exist. > Anything else I need to do to get Gentoo to pick up the patch? p50-ethernet ~ # mkdir -p /etc/portage/patches/media-libs/mesa/ p50-ethernet ~ # cd /etc/portage/patches/media-libs/mesa/ p50-ethernet /etc/portage/patches/media-libs/mesa # wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch' --2019-09-10 17:09:04--=20 https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch Resolving gitlab.freedesktop.org... 35.185.111.185 Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: =E2=80=981852.patch=E2=80=99 1852.patch [ <=3D>=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ] 13.33K --.-KB/s in 0.08s=20=20=20 2019-09-10 17:09:04 (163 KB/s) - =E2=80=981852.patch=E2=80=99 saved [13646] p50-ethernet /etc/portage/patches/media-libs/mesa # ebuild /var/db/repos/gentoo/media-libs/mesa/mesa-19.2.0_rc2.ebuild prepare * mesa-19.2.0-rc2.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 [ ok ] >>> Unpacking source... >>> Unpacking mesa-19.2.0-rc2.tar.xz to /var/tmp/portage/media-libs/mesa-19= .2.0_rc2/work >>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.2.0_rc2/work >>> Preparing source in /var/tmp/portage/media-libs/mesa-19.2.0_rc2/work/me= sa-19.2.0-rc2 ... * Applying 1852.patch ...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 [ ok ] * User patches applied. >>> Source prepared. "Applying 1852.patch" is what you should see. There's nothing else you need to do other than putting the patch into that directory. --=20 You are receiving this mail because: You are the assignee for the bug.= --15681606141.2ACFA0.5296 Date: Wed, 11 Sep 2019 00:10:14 +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 # 35 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #34)
> I do not see anything mentioned there. I've wget=
 the file into
> /etc/portage/patches/media-libs/mesa/ directory, which did not exist.
> Anything else I need to do to get Gentoo to pick up the patch?

p50-ethernet ~ # mkdir -p /etc/portage/patches/media-libs/mesa/
p50-ethernet ~ # cd /etc/portage/patches/media-libs/mesa/
p50-ethernet /etc/portage/patches/media-libs/mesa # wget
'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch'
--2019-09-10 17:09:04--=20
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch
Resolving gitlab.freedesktop.org... 35.185.111.185
Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: =E2=80=981852.patch=E2=80=99

1852.patch                                               [ <=3D>=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                ]  13.33K  --.-KB/s    in 0.08s=20=20=20

2019-09-10 17:09:04 (163 KB/s) - =E2=80=981852.patch=E2=80=99 saved [13646]

p50-ethernet /etc/portage/patches/media-libs/mesa # ebuild
/var/db/repos/gentoo/media-libs/mesa/mesa-19.2.0_rc2.ebuild prepare
 * mesa-19.2.0-rc2.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                            [ ok ]
>>> Unpacking source...
>>> Unpacking mesa-19.2.0-rc2.tar.xz to /var/tmp/portage/media-lib=
s/mesa-19.2.0_rc2/work
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.2.0_rc2=
/work
>>> Preparing source in /var/tmp/portage/media-libs/mesa-19.2.0_rc=
2/work/mesa-19.2.0-rc2 ...
 * Applying 1852.patch ...=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                            [ ok ]
 * User patches applied.
>>> Source prepared.


"Applying 1852.patch" is what you should see.

There's nothing else you need to do other than putting the patch into that
directory.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15681606141.2ACFA0.5296-- --===============0509767835== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0509767835==-- 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: Wed, 11 Sep 2019 16:50:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1220448181==" 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 9A3B76E2FF for ; Wed, 11 Sep 2019 16:50:26 +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 --===============1220448181== Content-Type: multipart/alternative; boundary="15682206260.f0E7aD.21911" Content-Transfer-Encoding: 7bit --15682206260.f0E7aD.21911 Date: Wed, 11 Sep 2019 16:50:26 +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 #37 from Matt Turner --- (In reply to roland@rptd.ch from comment #36) > # mkdir -p /etc/portage/patches/media-libs/mesa/ > # cd /etc/portage/patches/media-libs/mesa/ > wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch' > --2019-09-11 18:35:51--=20 > https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch > Resolving gitlab.freedesktop.org... 35.185.111.185 > Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected. > HTTP request sent, awaiting response... 200 OK > Length: unspecified [text/plain] > Saving to: =E2=80=981852.patch=E2=80=99 >=20 > 1852.patch [ <=3D>=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > ] 13.33K --.-KB/s in 0.1s=20=20=20=20 >=20 > 2019-09-11 18:35:52 (113 KB/s) - =E2=80=981852.patch=E2=80=99 saved [1364= 6] > # ebuild /usr/portage/media-libs/mesa/mesa-19.0.8.ebuild prepare > * mesa-19.0.8.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > [ ok ] > * checking ebuild checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 > [ ok ] > * checking miscfile checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 > [ ok ] > >>> Unpacking source... > >>> Unpacking mesa-19.0.8.tar.xz to /var/tmp/portage/media-libs/mesa-19.0= .8/work > >>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.0.8/work > >>> Preparing source in /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa= -19.0.8 ... > >>> Source prepared. >=20 > I'm sorry but this procedure does not pick up the patch. Any ideas why th= is > could be the case? The directory /var/db/repos/gentoo/media-libs/mesa/ in > your version does not exist on my system. Huh. Very strange. :| (The /var/db/repos/gentoo path is the new path for ebuild repositories. It's exactly the same as /usr/portage on your system. It's a pretty recent chang= e. See https://wiki.gentoo.org/wiki//var/db/repos/gentoo) Maybe just build and test from a git checkout, like you were doing in the g= it bisect. I'm not sure why portage isn't applying the patch :( --=20 You are receiving this mail because: You are the assignee for the bug.= --15682206260.f0E7aD.21911 Date: Wed, 11 Sep 2019 16:50:26 +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 # 37 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #36)
> # mkdir -p /etc/portage/patches/media-libs/mesa/
> # cd /etc/portage/patches/media-libs/mesa/
> wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852=
.patch'
> --2019-09-11 18:35:51--=20
> https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch=

> Resolving gitlab.freedesktop.org... 35.185.111.185
> Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/plain]
> Saving to: =E2=80=981852.patch=E2=80=99
>=20
> 1852.patch                                 [ <=3D>=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> ]  13.33K  --.-KB/s    in 0.1s=20=20=20=20
>=20
> 2019-09-11 18:35:52 (113 KB/s) - =E2=80=981852.patch=E2=80=99 saved [1=
3646]
> # ebuild /usr/portage/media-libs/mesa/mesa-19.0.8.ebuild prepare
>  * mesa-19.0.8.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> [ ok ]
>  * checking ebuild checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
> [ ok ]
>  * checking miscfile checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20
> [ ok ]
> >>> Unpacking source...
> >>> Unpacking mesa-19.0.8.tar.xz to /var/tmp/portage/media-li=
bs/mesa-19.0.8/work
> >>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.0.=
8/work
> >>> Preparing source in /var/tmp/portage/media-libs/mesa-19.0=
.8/work/mesa-19.0.8 ...
> >>> Source prepared.
>=20
> I'm sorry but this procedure does not pick up the patch. Any ideas why=
 this
> could be the case? The directory /var/db/repos/gentoo/media-libs/mesa/=
 in
> your version does not exist on my system.

Huh. Very strange. :|

(The /var/db/repos/gentoo path is the new path for ebuild repositories. It's
exactly the same as /usr/portage on your system. It's a pretty recent chang=
e.
See https://w=
iki.gentoo.org/wiki//var/db/repos/gentoo)

Maybe just build and test from a git checkout, like you were doing in the g=
it
bisect. I'm not sure why portage isn't applying the patch :(


You are receiving this mail because:
  • You are the assignee for the bug.
= --15682206260.f0E7aD.21911-- --===============1220448181== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1220448181==-- 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: Wed, 11 Sep 2019 16:39:58 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0283056999==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 607856E31D for ; Wed, 11 Sep 2019 16:39:58 +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 --===============0283056999== Content-Type: multipart/alternative; boundary="15682199980.Fd99BCa.19836" Content-Transfer-Encoding: 7bit --15682199980.Fd99BCa.19836 Date: Wed, 11 Sep 2019 16:39:58 +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 #36 from roland@rptd.ch --- # mkdir -p /etc/portage/patches/media-libs/mesa/ # cd /etc/portage/patches/media-libs/mesa/ wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch' --2019-09-11 18:35:51--=20 https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch Resolving gitlab.freedesktop.org... 35.185.111.185 Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: =E2=80=981852.patch=E2=80=99 1852.patch [ <=3D>=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ] 13.33K --.-KB/s in 0.1s=20= =20=20=20 2019-09-11 18:35:52 (113 KB/s) - =E2=80=981852.patch=E2=80=99 saved [13646] # ebuild /usr/portage/media-libs/mesa/mesa-19.0.8.ebuild prepare * mesa-19.0.8.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [ ok ] * checking ebuild checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 [ ok ] * checking miscfile checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 [ ok ] >>> Unpacking source... >>> Unpacking mesa-19.0.8.tar.xz to /var/tmp/portage/media-libs/mesa-19.0.8= /work >>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.0.8/work >>> Preparing source in /var/tmp/portage/media-libs/mesa-19.0.8/work/mesa-1= 9.0.8 ... >>> Source prepared. I'm sorry but this procedure does not pick up the patch. Any ideas why this could be the case? The directory /var/db/repos/gentoo/media-libs/mesa/ in y= our version does not exist on my system. --=20 You are receiving this mail because: You are the assignee for the bug.= --15682199980.Fd99BCa.19836 Date: Wed, 11 Sep 2019 16:39:58 +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 # 36 on bug 11107= 7 from roland@rptd.ch
# mkdir -p /etc/portage/patches/media-libs/mesa/
# cd /etc/portage/patches/media-libs/mesa/
wget 'https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patc=
h'
--2019-09-11 18:35:51--=20
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1852.patch
Resolving gitlab.freedesktop.org... 35.185.111.185
Connecting to gitlab.freedesktop.org|35.185.111.185|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: =E2=80=981852.patch=E2=80=99

1852.patch                                 [ <=3D>=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                         ]  13.33K  --.-KB/s    in 0.1s=20=
=20=20=20

2019-09-11 18:35:52 (113 KB/s) - =E2=80=981852.patch=E2=80=99 saved [13646]
# ebuild /usr/portage/media-libs/mesa/mesa-19.0.8.ebuild prepare
 * mesa-19.0.8.tar.xz BLAKE2B SHA512 size ;-) ...=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                                                                     [ ok ]
 * checking ebuild checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20
                                                                     [ ok ]
 * checking miscfile checksums ;-) ...=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking mesa-19.0.8.tar.xz to /var/tmp/portage/media-libs/me=
sa-19.0.8/work
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-19.0.8/work
>>> Preparing source in /var/tmp/portage/media-libs/mesa-19.0.8/wo=
rk/mesa-19.0.8 ...
>>> Source prepared.

I'm sorry but this procedure does not pick up the patch. Any ideas why this
could be the case? The directory /var/db/repos/gentoo/media-libs/mesa/ in y=
our
version does not exist on my system.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15682199980.Fd99BCa.19836-- --===============0283056999== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0283056999==-- 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: Thu, 12 Sep 2019 16:40:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2034612259==" 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 55E9E6EDC8 for ; Thu, 12 Sep 2019 16:40:41 +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 --===============2034612259== Content-Type: multipart/alternative; boundary="15683064410.Ac733.25766" Content-Transfer-Encoding: 7bit --15683064410.Ac733.25766 Date: Thu, 12 Sep 2019 16:40:41 +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 #38 from roland@rptd.ch --- Could it be that your patch is not for version "mesa-19.0.8" as I'm using? (newer ones are keyworded) --=20 You are receiving this mail because: You are the assignee for the bug.= --15683064410.Ac733.25766 Date: Thu, 12 Sep 2019 16:40:41 +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 # 38 on bug 11107= 7 from roland@rptd.ch
Could it be that your patch is not for version "mesa-19.0=
.8" as I'm using?
(newer ones are keyworded)


You are receiving this mail because:
  • You are the assignee for the bug.
= --15683064410.Ac733.25766-- --===============2034612259== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2034612259==-- 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: Fri, 13 Sep 2019 22:55:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0319936801==" 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 87C586F49F for ; Fri, 13 Sep 2019 22:55:38 +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 --===============0319936801== Content-Type: multipart/alternative; boundary="15684153382.044Ec33eF.25798" Content-Transfer-Encoding: 7bit --15684153382.044Ec33eF.25798 Date: Fri, 13 Sep 2019 22:55:38 +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 #39 from Matt Turner --- (In reply to roland@rptd.ch from comment #38) > Could it be that your patch is not for version "mesa-19.0.8" as I'm using? > (newer ones are keyworded) Perhaps try 19.2.0_rc3. That's much closer to master. Whatever the case, if the patch doesn't apply to 19.0.8 and portage tried (= and as a result failed) to apply it, it would give an error and stop. --=20 You are receiving this mail because: You are the assignee for the bug.= --15684153382.044Ec33eF.25798 Date: Fri, 13 Sep 2019 22:55:38 +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 # 39 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #38)
> Could it be that your patch is not for version &=
quot;mesa-19.0.8" as I'm using?
> (newer ones are keyworded)

Perhaps try 19.2.0_rc3. That's much closer to master.

Whatever the case, if the patch doesn't apply to 19.0.8 and portage tried (=
and
as a result failed) to apply it, it would give an error and stop.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15684153382.044Ec33eF.25798-- --===============0319936801== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0319936801==-- 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: Sun, 15 Sep 2019 13:31:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0252612865==" 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 E620D6E059 for ; Sun, 15 Sep 2019 13:31:44 +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 --===============0252612865== Content-Type: multipart/alternative; boundary="15685543041.D97f.30132" Content-Transfer-Encoding: 7bit --15685543041.D97f.30132 Date: Sun, 15 Sep 2019 13:31:44 +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 #40 from roland@rptd.ch --- I tested the patch now against the master GIT from mesa. It makes no difference. RAM consumption still sky-rockets and application then crashes. --=20 You are receiving this mail because: You are the assignee for the bug.= --15685543041.D97f.30132 Date: Sun, 15 Sep 2019 13:31:44 +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 # 40 on bug 11107= 7 from roland@rptd.ch
I tested the patch now against the master GIT from mesa. It ma=
kes no
difference. RAM consumption still sky-rockets and application then crashes.=


You are receiving this mail because:
  • You are the assignee for the bug.
= --15685543041.D97f.30132-- --===============0252612865== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0252612865==-- 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: Sun, 15 Sep 2019 13:35:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0296964839==" 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 1AA766E061 for ; Sun, 15 Sep 2019 13:35:39 +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 --===============0296964839== Content-Type: multipart/alternative; boundary="15685545390.F9D9fED.30109" Content-Transfer-Encoding: 7bit --15685545390.F9D9fED.30109 Date: Sun, 15 Sep 2019 13:35:39 +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 #41 from roland@rptd.ch --- EDIT: to sum up: 1) GIT master + patch =3D> bug present 2) GIT master - patch + revert-commit =3D> bug fixed --=20 You are receiving this mail because: You are the assignee for the bug.= --15685545390.F9D9fED.30109 Date: Sun, 15 Sep 2019 13:35:39 +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 # 41 on bug 11107= 7 from roland@rptd.ch
EDIT: to sum up:
1) GIT master + patch =3D> bug present
2) GIT master - patch + revert-commit =3D> bug fixed


You are receiving this mail because:
  • You are the assignee for the bug.
= --15685545390.F9D9fED.30109-- --===============0296964839== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0296964839==-- 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: Thu, 19 Sep 2019 05:01:39 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1706159648==" 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 5E0566EA09 for ; Thu, 19 Sep 2019 05:01:39 +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 --===============1706159648== Content-Type: multipart/alternative; boundary="15688692990.0d4C.26790" Content-Transfer-Encoding: 7bit --15688692990.0d4C.26790 Date: Thu, 19 Sep 2019 05:01:39 +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 #42 from Matt Turner --- (In reply to roland@rptd.ch from comment #41) > EDIT: to sum up: > 1) GIT master + patch =3D> bug present > 2) GIT master - patch + revert-commit =3D> bug fixed If you don't have a way for developers to reproduce the issue themselves, i= t's likely to go unfixed. --=20 You are receiving this mail because: You are the assignee for the bug.= --15688692990.0d4C.26790 Date: Thu, 19 Sep 2019 05:01:39 +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 # 42 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #41)
> EDIT: to sum up:
> 1) GIT master + patch =3D> bug present
> 2) GIT master - patch + revert-commit =3D> bug fixed

If you don't have a way for developers to reproduce the issue themselves, i=
t's
likely to go unfixed.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15688692990.0d4C.26790-- --===============1706159648== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1706159648==-- 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: Thu, 19 Sep 2019 17:23:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1811922476==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D3CC86F7D7 for ; Thu, 19 Sep 2019 17:23:12 +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 --===============1811922476== Content-Type: multipart/alternative; boundary="15689137922.Cd7B.31841" Content-Transfer-Encoding: 7bit --15689137922.Cd7B.31841 Date: Thu, 19 Sep 2019 17:23:12 +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 #43 from roland@rptd.ch --- Sorry, but this is rude. I waited for an answer on my result of testing the patch (as requested) and that's what I get as answer? I can continue trying= to find a reproducible task but then please say that you acknowledged my findi= ng so I can continue in a helpful way. --=20 You are receiving this mail because: You are the assignee for the bug.= --15689137922.Cd7B.31841 Date: Thu, 19 Sep 2019 17:23:12 +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 # 43 on bug 11107= 7 from roland@rptd.ch
Sorry, but this is rude. I waited for an answer on my result o=
f testing the
patch (as requested) and that's what I get as answer? I can continue trying=
 to
find a reproducible task but then please say that you acknowledged my findi=
ng
so I can continue in a helpful way.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15689137922.Cd7B.31841-- --===============1811922476== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1811922476==-- 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: Thu, 19 Sep 2019 20:20:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0998336980==" 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 BF0E36FB4C for ; Thu, 19 Sep 2019 20:20:18 +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 --===============0998336980== Content-Type: multipart/alternative; boundary="15689244183.5Bf63e.1787" Content-Transfer-Encoding: 7bit --15689244183.5Bf63e.1787 Date: Thu, 19 Sep 2019 20:20:18 +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 Matt Turner changed: What |Removed |Added ---------------------------------------------------------------------------- CC|mattst88@gmail.com | --- Comment #44 from Matt Turner --- (In reply to roland@rptd.ch from comment #43) > Sorry, but this is rude. I waited for an answer on my result of testing t= he > patch (as requested) and that's what I get as answer? I can continue tryi= ng > to find a reproducible task but then please say that you acknowledged my > finding so I can continue in a helpful way. Huh? Thanks for testing, but I'm just informing you now that the stab-in-the-dark attempted fix didn't solve it that you're probably not goi= ng to see this fixed unless you can find a way for developers to reproduce. I'm not sure why you think that's rude. And honestly I've spent soooo much time trying to help you and it's been *painful* at every step. I've done this kind of triage for 10 years and I d= on't remember a more frustrating experience helping a user. I'm un'Cc'ing myself since I don't work on this driver and I feel that my time is better spent elsewhere. Best of luck. --=20 You are receiving this mail because: You are the assignee for the bug.= --15689244183.5Bf63e.1787 Date: Thu, 19 Sep 2019 20:20:18 +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 Matt Turner changed bug 11107= 7
What Removed Added
CC mattst88@gmail.com  

Comme= nt # 44 on bug 11107= 7 from Matt Turner
(In reply to roland@=
rptd.ch from comment #43)
> Sorry, but this is rude. I waited for an answer =
on my result of testing the
> patch (as requested) and that's what I get as answer? I can continue t=
rying
> to find a reproducible task but then please say that you acknowledged =
my
> finding so I can continue in a helpful way.

Huh? Thanks for testing, but I'm just informing you now that the
stab-in-the-dark attempted fix didn't solve it that you're probably not goi=
ng
to see this fixed unless you can find a way for developers to reproduce. I'm
not sure why you think that's rude.

And honestly I've spent soooo much time trying to help you and it's been
*painful* at every step. I've done this kind of triage for 10 years and I d=
on't
remember a more frustrating experience helping a user. I'm un'Cc'ing myself
since I don't work on this driver and I feel that my time is better spent
elsewhere.

Best of luck.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15689244183.5Bf63e.1787-- --===============0998336980== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0998336980==-- 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: Fri, 20 Sep 2019 16:03:46 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0030987110==" 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 E8D3A6FD47 for ; Fri, 20 Sep 2019 16:03:45 +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 --===============0030987110== Content-Type: multipart/alternative; boundary="15689954250.2BDD.14871" Content-Transfer-Encoding: 7bit --15689954250.2BDD.14871 Date: Fri, 20 Sep 2019 16:03:45 +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 #45 from roland@rptd.ch --- That was now really rude. Anyways. I'm interested in a solution, not discus= sion so I've pulled an apitrace of the situation. This does reproduce the proble= m. It's though 60M in size. Compressed it's 8M. Can I attach such a file here = or shall I put it on an external file host? --=20 You are receiving this mail because: You are the assignee for the bug.= --15689954250.2BDD.14871 Date: Fri, 20 Sep 2019 16:03:45 +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 # 45 on bug 11107= 7 from roland@rptd.ch
That was now really rude. Anyways. I'm interested in a solutio=
n, not discussion
so I've pulled an apitrace of the situation. This does reproduce the proble=
m.
It's though 60M in size. Compressed it's 8M. Can I attach such a file here =
or
shall I put it on an external file host?


You are receiving this mail because:
  • You are the assignee for the bug.
= --15689954250.2BDD.14871-- --===============0030987110== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0030987110==-- 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==-- 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: Wed, 25 Sep 2019 18:50:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0306342854==" 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 914C66F3D3 for ; Wed, 25 Sep 2019 18:50:22 +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 --===============0306342854== Content-Type: multipart/alternative; boundary="15694374220.a0B4effC.10054" Content-Transfer-Encoding: 7bit --15694374220.a0B4effC.10054 Date: Wed, 25 Sep 2019 18:50:22 +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 GitLab Migration User changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #47 from GitLab Migration User -= -- -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/141= 6. --=20 You are receiving this mail because: You are the assignee for the bug.= --15694374220.a0B4effC.10054 Date: Wed, 25 Sep 2019 18:50:22 +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 GitLab Migration User changed bug 11107= 7
What Removed Added
Resolution --- MOVED
Status NEW RESOLVED

Comme= nt # 47 on bug 11107= 7 from GitLab Migration User
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this =
link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1416.
        


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