problem with gDEBugger

Hi,
i have a problem to start gDEBugger. It is a tool for debugging OpenGL applications and therefore needs to connect to libGL and friends by itself. Other OpenGL programms work (glxgears runs with 24661.127 FPS and my own program starts), nvidia-settings is also present.

libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
./gDEBugger: line 34: 6949 Segmentation fault /home/damdam/bin/gDEBugger581-x86_64/./gDEBugger-bin

LIBGL_DEBUG=verbose ./gDEBugger
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/updates/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/updates/swrast_dri.so
libGL error: dlopen /usr/lib64/dri/updates/swrast_dri.so failed (/usr/lib64/dri/updates/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL error: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
./gDEBugger: line 34: 7018 Segmentation fault /home/damdam/bin/gDEBugger581-x86_64/./gDEBugger-bin

info about my system:

OpenSuse 13.1

uname -a: Linux linux-u6y4 3.11.10-21-desktop #1 SMP PREEMPT Mon Jul 21 15:28:46 UTC 2014 (9a9565d) x86_64 x86_64 x86_64 GNU/Linux

glxinfo:
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, …
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, …
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile, …
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 550 Ti/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 340.32
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
GL_AMD_multi_draw_indirect, GL_ARB_ES2_compatibility, …

OpenGL version string: 4.4.0 NVIDIA 340.32
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
GL_AMD_multi_draw_indirect, GL_ARB_ES2_compatibility, …

228 GLX Visuals
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat

0x021 24 tc 0 24 0 r y . 8 8 8 0 . s 4 24 8 16 16 16 16 0 0 None

311 GLXFBConfigs:
visual x bf lv rg d st colorbuffer sr ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a F gb bf th cl r g b a ns b eat

0x105 24 tc 0 24 0 r y . 8 8 8 0 . s 4 24 8 16 16 16 16 0 0 None

this is my Xorg.0.log

i’ve tried to reinstall the nvidia drivers, i updated cuda from 5.5 to 6.5 (allthough not really related, is it?) and i also reinstalled all mesa packages that were installed before. I checked that all mesa packages are installed from the standard suse repo (and corrected some 32 bit packages which were not). I tried the gremedy and AMD gDEBugger versions and later even CodeXL (which looks like it is based on gDEBugger) but all to no avail… CodeXL didn’t crash right away, but it didn’t work either. It used to work on my computer, but this was ages ago, might have been a different OpenSuse version…

can anybody help?

it might be related (all though i don’t think so), but i used to have problems with driver installation. Unfortunately the thread is in german:
https://forums.opensuse.org/showthread.php/494304-OpenSUSE-13-1-drm-Symbole-fehlen-bei-Installation-von-nVidia-Treiber?p=2622260#post2622260

the resolution was to deinstall compat-drivers-kmp-desktop, which was installed by accident and which pulled in old drivers.

i asked the same question on stack overflow http://stackoverflow.com/questions/26202156/gdebugger-libgl-error-on-linux

there is new information, no solution though:

strace -e open ./gDEBugger-bin 2>&1 | grep libGL.so
open("./tls/x86_64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./tls/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./x86_64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("./libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib64/mpi/gcc/openmpi/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/home/damdam/bin/pgmodeler/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/X11R6/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/X11R6/lib64/libGL.so.340.32", O_RDONLY) = 3
open("/usr/X11R6/lib64/libGL.so.340.32", O_RDONLY) = 3
open("/usr/X11R6/lib64/libGL.so.340.32", O_RDONLY) = 4
open("/usr/lib64/libGL.so.1", O_RDONLY|O_CLOEXEC) = 7
open("/usr/X11R6/lib64/libGL.so.340.32", O_RDONLY) = 7
open("/usr/lib64/libGL.so.1", O_RDONLY) = 7


for comparison, this is the same for a working program: http://paste.opensuse.org/76645738 and this is the full output (without grep): http://paste.opensuse.org/8336779
it seems like the correct libGL is found, but not used. any ideas on how to fix?