As I am also experiencing the Qt xcb problem described here I am trying to start my application using LD_PRELOAD:
LD_PRELOAD=~/.tgd/libs/libNvidia_gfx_debugger.so ./myApplication
However this results in a segfault and the following backtrace:
#3 0x00007faee4bad200 in () at /lib64/libc.so.6
#4 0x00007faee5c68144 in () at /usr/X11R6/lib64/libGL.so.1
#5 0x00007faeec30ddd5 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#6 0x00007faeeb927167 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#7 0x00007faeeb802557 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#8 0x00007faeebb3ee49 in () at /home/esger/.tgd/libs/libNvidia_gfx_debugger.so
#9 0x00007faeea8528e6 in GLTexture::create(Image&, int, int) (this=0x24139a0, image=
…, flags=1056992, skip_mipmaps=0)
I don’t think my application (using Unigine engine) is doing anything illegal. Without LGD the application runs fine without any problems.