From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 91828] R600 LLVM Assertion in Instructions.cpp:1499
Date: Mon, 31 Aug 2015 20:23:15 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1276693048=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 3C0CC6E16C
for ; Mon, 31 Aug 2015 13:23:15 -0700 (PDT)
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
--===============1276693048==
Content-Type: multipart/alternative; boundary="1441052595.3bF2c2C0.23233"; charset="UTF-8"
--1441052595.3bF2c2C0.23233
Date: Mon, 31 Aug 2015 20:23:15 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=91828
Bug ID: 91828
Summary: R600 LLVM Assertion in Instructions.cpp:1499
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: dri-devel@lists.freedesktop.org
Reporter: ikalvachev@gmail.com
QA Contact: dri-devel@lists.freedesktop.org
Created attachment 118020
--> https://bugs.freedesktop.org/attachment.cgi?id=118020&action=edit
Log of running Xonotic with R600_DEBUG=llvm,ps,vs. The last shader causes
assertion.
This bug happen with wide variety of games. I managed to reproduce it with the
free Xonotic v0.8.1. The exact command is
`R600_DEBUG=llvm,ps,vs ./xonotic-linux32-glx`.
(Then start the first single player map. Crash happens at first in-game frame.)
The error I get is:
---
xonotic-linux32-glx: Instructions.cpp:1499:
llvm::InsertElementInst::InsertElementInst(llvm::Value *, llvm::Value *,
llvm::Value *, const llvm::Twine &, llvm::Instruction *): Assertion
`isValidOperands(Vec, Elt, Index) && "Invalid insertelement instruction
operands!"' failed.
---
I've obtained that error by compiling debug versions of LLVM 3.6.2 and current
git of Mesa. Unfortunately the backtrace doesn't produce any relevant info.
I'm reporting the bug here, because the error happens during the phase where
TGSI code is translated into the intrinsics that LLVM understand. I do not see
llvm intrinsics code for the last TGSI shader, so I cannot reproduce the crash
with `llc`. I think it is quite likely that the problem is caused by some LLVM
API change, that have not been reflected in Mesa.
I know that R600 LLVM is not under active development. However at the moment
that code is crashing on regular basis. Mesa should be able to work with any
recent LLVM release and 3.6.2 is the latest current release. If you do not
intend to maintain it, then you might consider removing it.
I would prefer the bug(s) to be fixed. Nine exposes quite a number of SB bugs
and having other options is always good for testing.
--
You are receiving this mail because:
You are the assignee for the bug.
--1441052595.3bF2c2C0.23233
Date: Mon, 31 Aug 2015 20:23:15 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
| Bug ID |
91828
|
| Summary |
R600 LLVM Assertion in Instructions.cpp:1499
|
| Product |
Mesa
|
| Version |
git
|
| Hardware |
Other
|
| OS |
All
|
| Status |
NEW
|
| Severity |
normal
|
| Priority |
medium
|
| Component |
Drivers/Gallium/r600
|
| Assignee |
dri-devel@lists.freedesktop.org
|
| Reporter |
ikalvachev@gmail.com
|
| QA Contact |
dri-devel@lists.freedesktop.org
|
Created attachment 118020 [details]
Log of running Xonotic with R600_DEBUG=llvm,ps,vs. The last shader causes
assertion.
This bug happen with wide variety of games. I managed to reproduce it with the
free Xonotic v0.8.1. The exact command is
`R600_DEBUG=llvm,ps,vs ./xonotic-linux32-glx`.
(Then start the first single player map. Crash happens at first in-game frame.)
The error I get is:
---
xonotic-linux32-glx: Instructions.cpp:1499:
llvm::InsertElementInst::InsertElementInst(llvm::Value *, llvm::Value *,
llvm::Value *, const llvm::Twine &, llvm::Instruction *): Assertion
`isValidOperands(Vec, Elt, Index) && "Invalid insertelement instruction
operands!"' failed.
---
I've obtained that error by compiling debug versions of LLVM 3.6.2 and current
git of Mesa. Unfortunately the backtrace doesn't produce any relevant info.
I'm reporting the bug here, because the error happens during the phase where
TGSI code is translated into the intrinsics that LLVM understand. I do not see
llvm intrinsics code for the last TGSI shader, so I cannot reproduce the crash
with `llc`. I think it is quite likely that the problem is caused by some LLVM
API change, that have not been reflected in Mesa.
I know that R600 LLVM is not under active development. However at the moment
that code is crashing on regular basis. Mesa should be able to work with any
recent LLVM release and 3.6.2 is the latest current release. If you do not
intend to maintain it, then you might consider removing it.
I would prefer the bug(s) to be fixed. Nine exposes quite a number of SB bugs
and having other options is always good for testing.
You are receiving this mail because:
- You are the assignee for the bug.
--1441052595.3bF2c2C0.23233--
--===============1276693048==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1276693048==--
From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 91828] R600 LLVM Assertion in Instructions.cpp:1499
Date: Wed, 09 Sep 2015 08:52:18 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1231996369=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D1BA56E23D
for ; Wed, 9 Sep 2015 01:52:17 -0700 (PDT)
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
--===============1231996369==
Content-Type: multipart/alternative; boundary="1441788737.E60f1.31414"; charset="UTF-8"
--1441788737.E60f1.31414
Date: Wed, 9 Sep 2015 08:52:17 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.freedesktop.org/show_bug.cgi?id=3D91828
Michel D=C3=A4nzer changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Michel D=C3=A4nzer ---
(In reply to iive from comment #0)
> I know that R600 LLVM is not under active development. However at the mom=
ent
> that code is crashing on regular basis. Mesa should be able to work with =
any
> recent LLVM release and 3.6.2 is the latest current release. If you do not
> intend to maintain it, then you might consider removing it.
It's why it's disabled by default both at build time and at runtime. At this
point, it should only be enabled by someone who wants to work on fixing it.
--=20
You are receiving this mail because:
You are the assignee for the bug.
--1441788737.E60f1.31414
Date: Wed, 9 Sep 2015 08:52:17 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
=
Michel D=C3=A4nzer
changed
bug 91828<=
/a>
| What |
Removed |
Added |
| Status |
NEW
|
RESOLVED
|
| Resolution |
---
|
WONTFIX
|
Comment=
# 1
on bug 91828<=
/a>
from Michel D=C3=A4nzer
(In reply to iive from =
comment #0)
> I know that R600 LLVM is not under active develo=
pment. However at the moment
> that code is crashing on regular basis. Mesa should be able to work wi=
th any
> recent LLVM release and 3.6.2 is the latest current release. If you do=
not
> intend to maintain it, then you might consider removing it.
It's why it's disabled by default both at build time and at runtime. At this
point, it should only be enabled by someone who wants to work on fixing it.=
You are receiving this mail because:
=20=20=20=20=20=20
- You are the assignee for the bug.
--1441788737.E60f1.31414--
--===============1231996369==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1231996369==--