* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
@ 2016-04-19 0:14 ` bugzilla-daemon
2016-04-19 0:41 ` bugzilla-daemon
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 0:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 471 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Rafael Castillo from comment #0)
> R600_DEBUG=sisched
Does it also happen without sisched?
Please attach the stderr output from running the game with
R600_DEBUG=fs,vs,tes,tcs,gs,ps (if you're running with sisched, you can append
those items to R600_DEBUG with a comma).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1286 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
2016-04-19 0:14 ` bugzilla-daemon
@ 2016-04-19 0:41 ` bugzilla-daemon
2016-04-19 0:47 ` bugzilla-daemon
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 0:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 360 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #2 from Rafael Castillo <jrch2k10@gmail.com> ---
Created attachment 123039
--> https://bugs.freedesktop.org/attachment.cgi?id=123039&action=edit
R600_debug log
Attached output as requested, thx very much for your time
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
2016-04-19 0:14 ` bugzilla-daemon
2016-04-19 0:41 ` bugzilla-daemon
@ 2016-04-19 0:47 ` bugzilla-daemon
2016-04-19 0:49 ` bugzilla-daemon
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 0:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1558 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #3 from Rafael Castillo <jrch2k10@gmail.com> ---
yes, it happens without sisched it seems.
Btw just in case my Mesa is compiled with this flags
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong
-fstack-check -D_GLIBCXX_USE_CXX11_ABI=1 -flto-compression-level=9 -flto=8
-ffat-lto-objects"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong
-fstack-check -D_GLIBCXX_USE_CXX11_ABI=1 -flto-compression-level=9 -flto=8
-ffat-lto-objects"
shouldn't too relevant but just in case (ArchLinux latest updates)
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
Objetivo: x86_64-unknown-linux-gnu
Configurado con: /build/gcc-multilib/src/gcc-5-20160209/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release
Modelo de hilos: posix
gcc versión 5.3.0 (GCC)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2367 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (2 preceding siblings ...)
2016-04-19 0:47 ` bugzilla-daemon
@ 2016-04-19 0:49 ` bugzilla-daemon
2016-04-19 1:02 ` bugzilla-daemon
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 0:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 445 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Rafael Castillo from comment #0)
> hi guys, since GL4.2 update(not sure if mesa or llvm are to blame)
FWIW, LLVM looks more likely to me. Any chance you can try rolling back Mesa to
the snapshot before the problem occurred and then bisect LLVM?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1260 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (3 preceding siblings ...)
2016-04-19 0:49 ` bugzilla-daemon
@ 2016-04-19 1:02 ` bugzilla-daemon
2016-04-19 1:33 ` bugzilla-daemon
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 1:02 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #5 from Rafael Castillo <jrch2k10@gmail.com> ---
i can try but i don't compile llvm by hand i use lcarlier's repo but i'll try
to see what can i do, maybe he has some old llvm snapshots still in the repo
that i can compare.
if not i'll try to modify the pkgbuild to use github repo instead since i'm
allergic to svn.
i guess gimme a couple of days to check :)
any tip to tell mesa to use a custom llvm path? i would like to avoid trashing
my llvm install if possible
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1357 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (4 preceding siblings ...)
2016-04-19 1:02 ` bugzilla-daemon
@ 2016-04-19 1:33 ` bugzilla-daemon
2016-04-19 1:47 ` bugzilla-daemon
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 1:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 644 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Rafael Castillo from comment #5)
> i can try but i don't compile llvm by hand i use lcarlier's repo but i'll
> try to see what can i do, maybe he has some old llvm snapshots still in the
> repo that i can compare.
FWIW, the first step would be to confirm that the problem occurs with old Mesa
and new LLVM.
> any tip to tell mesa to use a custom llvm path?
I recommend the --with-llvm-prefix= parameter to Mesa's configure script for
that.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1496 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (5 preceding siblings ...)
2016-04-19 1:33 ` bugzilla-daemon
@ 2016-04-19 1:47 ` bugzilla-daemon
2016-04-19 2:21 ` bugzilla-daemon
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 1:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 653 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #7 from Rafael Castillo <jrch2k10@gmail.com> ---
i found it(sort of), thank god for pacman cache :)
all the way to llvm 266362 all is good but the lcarlier builds from 266410 are
broken, so the culprit must be on those commits.(my internet right now is
turtle slow so i don't have the exact commit but that range should be small
enough)
btw this is tested without touching my Mesa build, so yes is LLVM :) nice eye.
if i have better internet tomorrow i'll try to see if i can get a precise
commit in that range
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1400 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (6 preceding siblings ...)
2016-04-19 1:47 ` bugzilla-daemon
@ 2016-04-19 2:21 ` bugzilla-daemon
2016-04-19 2:44 ` bugzilla-daemon
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 2:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 454 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #8 from Rafael Castillo <jrch2k10@gmail.com> ---
Created attachment 123041
--> https://bugs.freedesktop.org/attachment.cgi?id=123041&action=edit
Source games broken log
Actually mesa seems to be broken too but only for chromium and source
games(LLVM version fixed X Rebirth as previous post)
attached debug log
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1340 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (7 preceding siblings ...)
2016-04-19 2:21 ` bugzilla-daemon
@ 2016-04-19 2:44 ` bugzilla-daemon
2016-04-19 3:59 ` bugzilla-daemon
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 2:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #9 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Rafael Castillo from comment #8)
> Actually mesa seems to be broken too but only for chromium and source
> games(LLVM version fixed X Rebirth as previous post)
If that's with new Mesa and old LLVM, it might just be due to mismatching
LLVM/Mesa snapshots, not a bug. If this problem happens with the new LLVM
snapshot as well, please file a new report about it and try getting a backtrace
of the crash.
> attached debug log
BTW, this contains a lot of noise due to R600_DEBUG=fs,vs,tes,tcs,gs,ps. You
can remove those again.
P.S. Please don't put single files in tarballs, just compress them directly.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1655 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (8 preceding siblings ...)
2016-04-19 2:44 ` bugzilla-daemon
@ 2016-04-19 3:59 ` bugzilla-daemon
2016-04-19 16:31 ` bugzilla-daemon
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 3:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 624 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arsenm2@gmail.com
--- Comment #10 from Michel Dänzer <michel@daenzer.net> ---
Using one of the failing shaders from the attached R600_debug log, I was able
to bisect this to SVN r266378 ("AMDGPU: Run SIFoldOperands after
PeepholeOptimizer").
Matt, can you take a look?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1903 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (9 preceding siblings ...)
2016-04-19 3:59 ` bugzilla-daemon
@ 2016-04-19 16:31 ` bugzilla-daemon
2016-04-20 1:13 ` bugzilla-daemon
2016-04-20 3:36 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-19 16:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 479 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #11 from Matt Arsenault <arsenm2@gmail.com> ---
(In reply to Michel Dänzer from comment #10)
> Using one of the failing shaders from the attached R600_debug log, I was
> able to bisect this to SVN r266378 ("AMDGPU: Run SIFoldOperands after
> PeepholeOptimizer").
>
> Matt, can you take a look?
Can you post the IR for the specific shader
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1318 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (10 preceding siblings ...)
2016-04-19 16:31 ` bugzilla-daemon
@ 2016-04-20 1:13 ` bugzilla-daemon
2016-04-20 3:36 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-20 1:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 423 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
--- Comment #12 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 123075
--> https://bugs.freedesktop.org/attachment.cgi?id=123075&action=edit
Example IR triggering the bug
(In reply to Matt Arsenault from comment #11)
> Can you post the IR for the specific shader
Here you are.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1391 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread* [Bug 95011] LLVM failed to compile shader on TAHITI
2016-04-18 23:35 [Bug 95011] LLVM failed to compile shader on TAHITI bugzilla-daemon
` (11 preceding siblings ...)
2016-04-20 1:13 ` bugzilla-daemon
@ 2016-04-20 3:36 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2016-04-20 3:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=95011
Matt Arsenault <arsenm2@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #13 from Matt Arsenault <arsenm2@gmail.com> ---
Same problem fixed by Nioolai's r266825
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1952 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread