[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #21 from Marek Olšák mar...@gmail.com 2011-04-21 00:04:46 PDT --- You may also try 'git clean -fdx' instead of 'make clean'. It deletes the all files and directories not added in git, as if you made a clean clone. Nevertheless, the crash in loopback_* is caused by wrong libGL.so being installed. By the way, may I suggest not closing a bug before people reporting it confirm the fix or solution is working for them? Anyone can always re-open it anyway. Also try this: LIBGL_DEBUG=verbose glxinfo It prints which driver is loaded. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #22 from Alexandre Demers alexandre.f.dem...@gmail.com 2011-04-21 00:19:54 PDT --- (In reply to comment #21) You may also try 'git clean -fdx' instead of 'make clean'. It deletes the all files and directories not added in git, as if you made a clean clone. Nevertheless, the crash in loopback_* is caused by wrong libGL.so being installed. By the way, may I suggest not closing a bug before people reporting it confirm the fix or solution is working for them? Anyone can always re-open it anyway. Also try this: LIBGL_DEBUG=verbose glxinfo It prints which driver is loaded. I'm using make realclean when compiling and I always hard reset git when fetching. Is it enough or does make clean -fdx better? Nevertheless, LIBGL_DEBUG=verbose glxinfo gives me: name of display: :0 libGL: OpenDriver: trying /usr/lib/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib/r600_dri.so libGL error: dlopen /usr/lib/r600_dri.so failed (/usr/lib/r600_dri.so: cannot open shared object file: No such file or directory) libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so ls -la /usr/lib/dri gives: lrwxrwxrwx 1 root root 30 2011-04-21 02:15 /usr/lib/dri - /usr/lib/x86_64-linux-gnu/dri/ I deleted all libGL and dri files and folders (which scrapped my setup at first) befores rebuilding and reinstalling. I made sure it's really using the good files. Otherwise, how could we explain that building mesa with --enable-shared-api shows the problem, while disabling it doesn't? It means at least that libGL.so is being replaced. Then, there is libglapi.so left... I had a look at libglapi.so and here again, everything is pointing to the good file: ldd /usr/bin/glxinfo linux-vdso.so.1 = (0x7fff4e7ff000) libGL.so.1 = /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x7fb3ad9a9000) libX11.so.6 = /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x7fb3ad66f000) libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7fb3ad2da000) libglapi.so.0 = /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x7fb3ad0b6000) ... What should we do to help you more? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #23 from Marek Olšák mar...@gmail.com 2011-04-21 00:26:31 PDT --- No idea, but hard-resetting is useless for you as it only resets the source files. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #24 from Fabio fabio@libero.it 2011-04-21 01:03:22 PDT --- I have a similar problem that happens on r300g/r300/swrastg/swrast when using shared-glapi. It still affects only glxgears but rather than crashing it shows psychedelic colors. https://bugs.freedesktop.org/show_bug.cgi?id=35268 may be related, I also tried applying patch attached there but it doesn't fix my problem. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Fabio fabio@libero.it changed: What|Removed |Added CC||fabio@libero.it -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Marek Olšák mar...@gmail.com changed: What|Removed |Added CC||ianml...@gmail.com --- Comment #14 from Marek Olšák mar...@gmail.com 2011-04-20 08:43:10 PDT --- *** Bug 36318 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Marek Olšák mar...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||NOTABUG --- Comment #15 from Marek Olšák mar...@gmail.com 2011-04-20 08:59:14 PDT --- I ran into this problem when upgrading my distribution and fixed it easily. Make sure glxgears picks up the correct libGL.so. You may have multiple such files in you system at various locations, like: /usr/lib/libGL.so /usr/lib/mesa/libGL.so /usr/local/... etc. I had libGL from git in /usr/lib, but my system always picks up the one in /usr/lib/mesa, which contained the libGL provided by my distribution. I made a symlink from /usr/lib/mesa/libGL* to my libGL from git and that fixed it. Do: ldd /usr/bin/glxgears and see which libGL.so file is used. If it's not the one you compiled and installed, overwrite it by the correct one. Closing as NOT A BUG. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #16 from almos aaalmo...@gmail.com 2011-04-20 11:21:55 PDT --- (In reply to comment #15) Make sure glxgears picks up the correct libGL.so. You may have multiple such files in you system at various locations, like: ... I had libGL from git in /usr/lib, but my system always picks up the one in /usr/lib/mesa, which contained the libGL provided by my distribution. I made a symlink from /usr/lib/mesa/libGL* to my libGL from git and that fixed it. ... and see which libGL.so file is used. If it's not the one you compiled and installed, overwrite it by the correct one. I don't get it. I have mesa 7.10.2 installed in /usr/lib, and git version in /home/almos/sources/mesa/. I do this: $ export LIBGL_DRIVERS_PATH=/home/almos/sources/mesa/lib/gallium and glxinfo reports: OpenGL vendor string: X.Org R300 Project OpenGL renderer string: Gallium 0.4 on ATI RV350 OpenGL version string: 2.1 Mesa 7.11-devel (git-d2afae3) ... Checking some executables: $ ldd `which glxgears` libGL.so.1 = /usr/lib/libGL.so.1 (0xb769f000) ... $ ldd `which glxinfo` libGL.so.1 = /usr/lib/libGL.so.1 (0xb774c000) ... $ ldd `which foobillard` libGL.so.1 = /usr/lib/libGL.so.1 (0xb76f6000) ... $ ldd ./googleearth-bin libGL.so.1 = /usr/lib/libGL.so.1 (0xb574e000) ... But only glxgears segfaults, and nothing else. Am I missing something? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #17 from Marc marvi...@gmx.de 2011-04-20 12:22:42 PDT --- I don't have these linker tricks at all here (opensuse), so I don't think this is the reason. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Alexandre Demers alexandre.f.dem...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|NOTABUG | --- Comment #18 from Alexandre Demers alexandre.f.dem...@gmail.com 2011-04-20 12:43:24 PDT --- ldd points to the good lib destination here. I tested gltron and it doesn't crash, RendererFeatTest.bin64 also works fine, glxinfo is reporting the good compiled version. glxgears is the only application crashing right now when mesa is compiled with --enable-shared-api (when mesa is compiled without that parameter, glxgears doesn't crash). So I'm reopening this bug since it's not fixed. By the way, may I suggest not closing a bug before people reporting it confirm the fix or solution is working for them? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #19 from Andrew Randrianasulu rand...@mail.ru 2011-04-20 13:17:49 PDT --- (In reply to comment #15) I ran into this problem when upgrading my distribution and fixed it easily. Make sure glxgears picks up the correct libGL.so. You may have multiple such files in you system at various locations, like: /usr/lib/libGL.so /usr/lib/mesa/libGL.so /usr/local/... etc. I had libGL from git in /usr/lib, but my system always picks up the one in /usr/lib/mesa, which contained the libGL provided by my distribution. I made a symlink from /usr/lib/mesa/libGL* to my libGL from git and that fixed it. Do: ldd /usr/bin/glxgears and see which libGL.so file is used. If it's not the one you compiled and installed, overwrite it by the correct one. Closing as NOT A BUG. I can confirm my glxgears spinning again, but people below this comment still have problems Sorry for long silince, i've tested few onfigurations without shared dri, with LD_LIBRARY_PATH trick, tried some bisect and make clean instead of make distclean ... none worked, but deleting wrong libGL (and symlinking right one) fixed things here. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Marc marvi...@gmx.de changed: What|Removed |Added CC||marvi...@gmx.de --- Comment #11 from Marc marvi...@gmx.de 2011-04-19 01:40:14 PDT --- only happens here when shared-glapi is enabled (r600g) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #12 from Alexandre Demers alexandre.f.dem...@gmail.com 2011-04-19 07:36:02 PDT --- (In reply to comment #11) only happens here when shared-glapi is enabled (r600g) Confirmed also here that the bug only appears when Mesa is compiled with --enable-shared-glapi. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #9 from almos aaalmo...@gmail.com 2011-04-17 12:38:17 PDT --- Created an attachment (id=45740) -- (https://bugs.freedesktop.org/attachment.cgi?id=45740) backtrace with r300g I don't know if it helps, but I attached a backtrace created with r300g at d2afae33f896ece1af0c8953ac9ce141c39f6dd2 A bit different from the previous ones. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #10 from Benjamin Bellec b.bel...@gmail.com 2011-04-17 14:44:22 PDT --- I'm running on F15 x86-PAE (libdrm 2.4.25) with the 2.6.39-rc3.fc16's kernel + mesa git (r600g - RV770), and I haven't this kind of problem. glxgears is running fine. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev