From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 103142] R600g+sb: optimizer apparently stuck in an endless loop Date: Sat, 07 Oct 2017 22:37:27 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1975884921==" 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 6724789CDB for ; Sat, 7 Oct 2017 22:37:27 +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 --===============1975884921== Content-Type: multipart/alternative; boundary="15074158470.1f1Ad1.28359"; charset="UTF-8" --15074158470.1f1Ad1.28359 Date: Sat, 7 Oct 2017 22:37:27 +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=3D103142 Bug ID: 103142 Summary: R600g+sb: optimizer apparently stuck in an endless loop Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: gw.fossdev@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 134738 --> https://bugs.freedesktop.org/attachment.cgi?id=3D134738&action=3Dedit TGSI, byte code and logging output With sb enabled some shaders apparently trigger an endless loops in the sb optimizer.=20 The attached TGSI and log of a shader triggering this behaviour comes from = the Unreal Editor version 4.17.1,=20=20 The log was created with=20 #define PSC_DEBUG 1=20 in src/gallium/drivers/r600/sb_sched.cpp The problem is probably related to the "FIXME rework this loop" on line 180= 8 in the same file, and I also have the impression that it has something to do w= ith MULADD when the sources are a mix of CONST and IMM. I'd try to fix it myself, but right now I don't really have a clue how to approach this bug. best,=20 Gert --=20 You are receiving this mail because: You are the assignee for the bug.= --15074158470.1f1Ad1.28359 Date: Sat, 7 Oct 2017 22:37:27 +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 103142
Summary R600g+sb: optimizer apparently stuck in an endless loop
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter gw.fossdev@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attac=
hment 134738 [details]
TGSI, byte code and logging output

With sb enabled some shaders apparently trigger an endless loops in the sb
optimizer.=20

The attached TGSI and log of a shader triggering this behaviour comes from =
the
Unreal Editor version 4.17.1,=20=20

The log was created with=20

  #define PSC_DEBUG 1=20

in src/gallium/drivers/r600/sb_sched.cpp

The problem is probably related to the "FIXME rework this loop" o=
n line 1808 in
the same file, and I also have the impression that it has something to do w=
ith
MULADD when the sources are a mix of CONST and IMM.

I'd try to fix it myself, but right now I don't really have a clue how to
approach this bug.

best,=20
Gert


You are receiving this mail because:
  • You are the assignee for the bug.
= --15074158470.1f1Ad1.28359-- --===============1975884921== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1975884921==--