From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99748] [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=sisched Date: Fri, 10 Feb 2017 01:29:07 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0217244053==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 68CB36EA39 for ; Fri, 10 Feb 2017 01:29:07 +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 --===============0217244053== Content-Type: multipart/alternative; boundary="14866901470.dCA0D.24054"; charset="UTF-8" --14866901470.dCA0D.24054 Date: Fri, 10 Feb 2017 01:29:07 +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=3D99748 Bug ID: 99748 Summary: [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=3Dsisched Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: mike@fireburn.co.uk QA Contact: dri-devel@lists.freedesktop.org When running Civ6 using LLVM from git (SHA1's tested 1648ceaabcea762590049a74ce8b934e3bfd4fb2 and 897444660daf9e94c020efc97b63aed7e61db7ac) with R600_DEBUG=3Dsisched and the latest Mesa it would assert with the following error: Civ6: /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AMDGPU/SIMac= hineScheduler.cpp:1584: void llvm::SIScheduleBlockScheduler::blockScheduled(llvm::SIScheduleBlock*): Assertion `LiveRegsConsumers[RegP.first] =3D=3D 0' failed. This doesn't happen with LLVM-4.0.0-rc1 even when using R600_DEBUG=3Dsisched --=20 You are receiving this mail because: You are the assignee for the bug.= --14866901470.dCA0D.24054 Date: Fri, 10 Feb 2017 01:29:07 +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 99748
Summary [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R6= 00_DEBUG=3Dsisched
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter mike@fireburn.co.uk
QA Contact dri-devel@lists.freedesktop.org

When running Civ6 using LLVM from git (SHA1's tested
1648ceaabcea762590049a74ce8b934e3bfd4fb2 and
897444660daf9e94c020efc97b63aed7e61db7ac) with R600_DEBUG=3Dsisched and the
latest Mesa it would assert with the following error:

Civ6:
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AMDGPU/SIMac=
hineScheduler.cpp:1584:
void llvm::SIScheduleBlockScheduler::blockScheduled(llvm::SIScheduleBlock*):
Assertion `LiveRegsConsumers[RegP.first] =3D=3D 0' failed.

This doesn't happen with LLVM-4.0.0-rc1 even when using R600_DEBUG=3Dsische=
d


You are receiving this mail because:
  • You are the assignee for the bug.
= --14866901470.dCA0D.24054-- --===============0217244053== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0217244053==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99748] [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=sisched Date: Fri, 10 Feb 2017 20:44:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1584539309==" 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 92A476EDC2 for ; Fri, 10 Feb 2017 20:44: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 --===============1584539309== Content-Type: multipart/alternative; boundary="14867594420.27Cb1.30661"; charset="UTF-8" --14867594420.27Cb1.30661 Date: Fri, 10 Feb 2017 20:44: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=3D99748 Mike Lothian changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@fireburn.co.uk --- Comment #1 from Mike Lothian --- This wasn't limited to Civ6, saw the issue on Rocket League as well Reverting: commit ce06d9cb99298eb844b66e117f5108a06747c907 Author: Alexander Timofeev Date: Tue Feb 7 17:57:48 2017 +0000 [AMDGPU] Fix for SIMachineScheduler crash. SI Scheduler should track lane masks. Differential revision: https://reviews.llvm.org/D29442 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294324 91177308-0d34-0410-b5e6-96231b3b80d8 Allowed it to work again --=20 You are receiving this mail because: You are the assignee for the bug.= --14867594420.27Cb1.30661 Date: Fri, 10 Feb 2017 20:44: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 Mike Lothian changed bug 99748<= /a>
What Removed Added
CC   mike@fireburn.co.uk

Comment= # 1 on bug 99748<= /a> from Mike Lothian
This wasn't limited to Civ6, saw the issue on Rocket League as=
 well

Reverting:

commit ce06d9cb99298eb844b66e117f5108a06747c907
Author: Alexander Timofeev <Alexander.Timofeev@amd.com>
Date:   Tue Feb 7 17:57:48 2017 +0000

    [AMDGPU] Fix for SIMachineScheduler crash. SI Scheduler should track
             lane masks.

             Differential revision: https://reviews.llvm.org/D29442

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294324
91177308-0d34-0410-b5e6-96231b3b80d8

Allowed it to work again


You are receiving this mail because:
  • You are the assignee for the bug.
= --14867594420.27Cb1.30661-- --===============1584539309== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1584539309==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99748] [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=sisched Date: Sun, 12 Feb 2017 14:46:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1376863225==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 63C046E314 for ; Sun, 12 Feb 2017 14:46:49 +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 --===============1376863225== Content-Type: multipart/alternative; boundary="14869108090.7304.17385"; charset="UTF-8" --14869108090.7304.17385 Date: Sun, 12 Feb 2017 14:46:49 +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=3D99748 --- Comment #2 from Mike Lothian --- Created attachment 129529 --> https://bugs.freedesktop.org/attachment.cgi?id=3D129529&action=3Dedit Revert Patch Here's the revert patch to make things easier for other folk reverting --=20 You are receiving this mail because: You are the assignee for the bug.= --14869108090.7304.17385 Date: Sun, 12 Feb 2017 14:46:49 +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

Comment= # 2 on bug 99748<= /a> from Mike Lothian
Created attachment 129529 =
[details] [review]
Revert Patch

Here's the revert patch to make things easier for other folk reverting


You are receiving this mail because:
  • You are the assignee for the bug.
= --14869108090.7304.17385-- --===============1376863225== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1376863225==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 99748] [radeonsi] Civ6 Assert in LLVM SIMachineScheduler.cpp with R600_DEBUG=sisched Date: Sun, 19 Feb 2017 10:11:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1565564283==" 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 2DC366E15B for ; Sun, 19 Feb 2017 10:11: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 --===============1565564283== Content-Type: multipart/alternative; boundary="14874990900.2b319f9.27479"; charset="UTF-8" --14874990900.2b319f9.27479 Date: Sun, 19 Feb 2017 10:11:30 +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=3D99748 Axel Davy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Axel Davy --- the patch was reverted. --=20 You are receiving this mail because: You are the assignee for the bug.= --14874990900.2b319f9.27479 Date: Sun, 19 Feb 2017 10:11: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 Axel Davy changed bug 99748<= /a>
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment= # 3 on bug 99748<= /a> from Axel Davy
the patch was reverted.


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