https://bugs.freedesktop.org/show_bug.cgi?id=65193
Priority: medium Bug ID: 65193 Assignee: dri-devel@lists.freedesktop.org Summary: [bisected] r600g, can't launch Gnome Shell and KDE since mesa updated to 5de41575a127eb8a6a0fe5c71a73b372f9b89f53 Severity: critical Classification: Unclassified OS: All Reporter: alexandre.f.demers@gmail.com Hardware: All Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
I haven't been able to log in Gnome Shell or KDE lately since I updated mesa from git. Using XFCE and doing some tests, I've found out glxgears returns an assertion error when launch. glxgears fails with the following error: sb/sb_expr.cpp:455:fold_alu_op2: Assertion `v0 && v1 && n.dst[0]' failed. line 6: 15521 Trace/breakpoint trap (core dumped) $1
Bisecting ended up point to culprit commit: commit 5de41575a127eb8a6a0fe5c71a73b372f9b89f53 Author: Vadim Girlin vadimgirlin@gmail.com Date: Mon May 27 14:23:47 2013 +0400
r600g/sb: improve folding for SETcc
Signed-off-by: Vadim Girlin vadimgirlin@gmail.com
:040000 040000 96a6fd8851d84f62896ecfba6c4a7df5a7963325 ade9a1e6d7fd56ed8cf413a2138c38011f1b9827 M src
Using latest drm, ddx from git on a Radeon HD6950 Cayman.
https://bugs.freedesktop.org/show_bug.cgi?id=65193
Alexandre Demers alexandre.f.demers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[bisected] r600g, can't |[bisected] r600g, can't |launch Gnome Shell and KDE |launch glxgears since mesa |since mesa updated to |updated to |5de41575a127eb8a6a0fe5c71a7 |5de41575a127eb8a6a0fe5c71a7 |3b372f9b89f53 |3b372f9b89f53
https://bugs.freedesktop.org/show_bug.cgi?id=65193
--- Comment #1 from Alexandre Demers alexandre.f.demers@gmail.com --- It seems the identified failed assertion is not the prime root of Gnome Shell and KDE not launching. A previous commit must be the culprit for the other problem (I'm tracking it down right now). However, commit 5de41575a127eb8a6a0fe5c71a73b372f9b89f53 does prevent glxgears from running as it should.
https://bugs.freedesktop.org/show_bug.cgi?id=65193
--- Comment #2 from Alexandre Demers alexandre.f.demers@gmail.com --- (In reply to comment #1)
It seems the identified failed assertion is not the prime root of Gnome Shell and KDE not launching. A previous commit must be the culprit for the other problem (I'm tracking it down right now). However, commit 5de41575a127eb8a6a0fe5c71a73b372f9b89f53 does prevent glxgears from running as it should.
Forget about what I just said, I made a mistake, wrongly resync before last build. Retesting right away.
https://bugs.freedesktop.org/show_bug.cgi?id=65193
Alexandre Demers alexandre.f.demers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|[bisected] r600g, can't |[bisected] r600g, can't |launch glxgears since mesa |launch Gnome Shell and KDE |updated to |since mesa updated to |5de41575a127eb8a6a0fe5c71a7 |5de41575a127eb8a6a0fe5c71a7 |3b372f9b89f53 |3b372f9b89f53
--- Comment #3 from Alexandre Demers alexandre.f.demers@gmail.com --- commit 5de41575a127eb8a6a0fe5c71a73b372f9b89f53 is really the first bad commit preventing Gnome Shell and KDE from starting correctly (Gnome ends with a Oops and KDE just fails and relaunches X).
https://bugs.freedesktop.org/show_bug.cgi?id=65193
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ptpzz@yandex.ru
--- Comment #4 from Andreas Boll andreas.boll.dev@gmail.com --- Are you using the default backend + sb or llvm backend + sb?
Ccing vadimg.
https://bugs.freedesktop.org/show_bug.cgi?id=65193
--- Comment #5 from Vadim Girlin ptpzz@yandex.ru --- Created attachment 80097 --> https://bugs.freedesktop.org/attachment.cgi?id=80097&action=edit [PATCH] r600g/sb: fix broken assert
Attached patch should fix the assert. Does it fix you issues?
https://bugs.freedesktop.org/show_bug.cgi?id=65193
--- Comment #6 from Alexandre Demers alexandre.f.demers@gmail.com --- (In reply to comment #4)
Are you using the default backend + sb or llvm backend + sb?
Ccing vadimg.
R600_DEBUG=sb is set.
In my build script, I set the following: baseExec="./autogen.sh --prefix=/usr \ --enable-debug \ --enable-osmesa \ --enable-gbm \ --enable-xvmc \ --enable-vdpau \ --enable-gles1 \ --enable-gles2 \ --enable-openvg \ --enable-xorg \ --enable-xa \ --enable-egl \ --enable-gallium-egl \ --enable-glx-tls \ --enable-texture-float \ --enable-wgl \ --with-gallium-drivers=r600,swrast,svga \ --with-dri-drivers= \ --with-egl-platforms=x11,drm,wayland"
So that would be default + SB, right?
https://bugs.freedesktop.org/show_bug.cgi?id=65193
--- Comment #7 from Alexandre Demers alexandre.f.demers@gmail.com --- (In reply to comment #5)
Created attachment 80097 [details] [review] [PATCH] r600g/sb: fix broken assert
Attached patch should fix the assert. Does it fix you issues?
Yes, it does.
https://bugs.freedesktop.org/show_bug.cgi?id=65193
Vadim Girlin ptpzz@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Vadim Girlin ptpzz@yandex.ru --- Patch pushed with commit eb4c992ea5e69083d2bc705d2460ce956c5063a7
dri-devel@lists.freedesktop.org