https://bugs.freedesktop.org/show_bug.cgi?id=36318
Summary: r600g segfaults Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: ianmllgn@gmail.com
r600g segfaults running glxgears. Here is a backtrace
#0 0x00007ffff5327f6e in loopback_VertexAttrib3svNV (index=1283, v=0x1e08) at main/api_loopback.c:1137 #1 0x00007ffff532800f in loopback_VertexAttribs3svNV (index=<value optimized out>, n=<value optimized out>, v=0x2dd) at main/api_loopback.c:1220 #2 0x00007ffff525eed6 in execute_list (ctx=0xb55960, list=<value optimized out>) at main/dlist.c:8163 #3 0x00007ffff526130a in _mesa_CallList (list=1) at main/dlist.c:8511 #4 0x0000000000401ce2 in draw () #5 0x00000000004035c9 in main ()
https://bugs.freedesktop.org/show_bug.cgi?id=36318
--- Comment #1 from Marek Olšák maraeo@gmail.com 2011-04-16 23:37:38 PDT --- Try 'make clean'.
https://bugs.freedesktop.org/show_bug.cgi?id=36318
--- Comment #2 from Yannick Dirou yannick.dirou@axetic.com 2011-04-17 02:28:10 PDT --- I had similar problem (with r300g) ,
In fact glxgears did not load the right mesa lib despite a good ldconfig -v (added new mesa path 000_mesa.conf)
do: ldd /usr/bin/glxgears it should show the path of the lib used by the app if it is wrong and you use natty or another ubuntu a temporary fix is:
sudo rm /etc/ld.so.conf.d/GL.conf (symbolic link to original mesa) sudo ldconfig
don't know the right fix though
https://bugs.freedesktop.org/show_bug.cgi?id=36318
--- Comment #3 from Alexandre Demers alexandre.f.demers@gmail.com 2011-04-17 09:22:02 PDT --- If ldd confirms you are using the good library, have a look at the following bug: https://bugs.freedesktop.org/show_bug.cgi?id=36282
It may explain the problem. Otherwise, watchout for Natty, things are a real mess because drivers are now installed under the multiarch folder, but the dev files are installed in a different folder. So if you just compiled and installed like you were doing in previous Ubuntu version, you will end up in a dead end. I had to work a bit to figure everything out.
https://bugs.freedesktop.org/show_bug.cgi?id=36318
--- Comment #4 from Ian Milligan ianmllgn@gmail.com 2011-04-18 07:33:20 PDT --- Interesting, I'm using LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH I don't think that is the problem. It's only glxgears having this problem, however, so that problem may be with it.
https://bugs.freedesktop.org/show_bug.cgi?id=36318
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Marek Olšák maraeo@gmail.com 2011-04-20 08:43:10 PDT ---
*** This bug has been marked as a duplicate of bug 36282 ***
dri-devel@lists.freedesktop.org