-
- $ echo $PATH
- /usr/x86_64-pc-linux-gnu/gcc-bin/5.4.0:/usr/lib/llvm/4/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/nvidia-cg-toolkit/bin:/usr/games/bin:/opt/cuda/bin
-
- # echo $PATH
- /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin:/usr/lib/llvm/4/bin:/opt/nvidia-cg-toolkit/bin:/opt/cuda/bin
-
- # ldd /usr/bin/glxinfo
- linux-vdso.so.1 (0x00007ffc49df7000)
- libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007fa025add000)
- libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa02578d000)
- libc.so.6 => /lib64/libc.so.6 (0x00007fa0253f7000)
- libnvidia-tls.so.381.22 => /usr/lib64/libnvidia-tls.so.381.22 (0x00007fa0251f3000)
- libnvidia-glcore.so.381.22 => /usr/lib64/libnvidia-glcore.so.381.22 (0x00007fa023364000)
- libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa02314f000)
- libdl.so.2 => /lib64/libdl.so.2 (0x00007fa022f4b000)
- libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa022d1e000)
- /lib64/ld-linux-x86-64.so.2 (0x00007fa025e1e000)
- libm.so.6 => /lib64/libm.so.6 (0x00007fa022a22000)
- libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa02281e000)
- libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fa022618000)
- libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fa022400000)
- librt.so.1 => /lib64/librt.so.1 (0x00007fa0221f8000)
- libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa021fdc000)
-
- $ gdb glxinfo
- GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
- Copyright (C) 2017 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-pc-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://bugs.gentoo.org/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from glxinfo...(no debugging symbols found)...done.
- (gdb) run
- Starting program: /usr/bin/glxinfo
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib64/libthread_db.so.1".
- name of display: :0
- X Error of failed request: BadValue (integer parameter out of range for operation)
- Major opcode of failed request: 153 (GLX)
- Minor opcode of failed request: 24 (X_GLXCreateNewContext)
- Value in failed request: 0x0
- Serial number of failed request: 35
- Current serial number in output stream: 36
- [Inferior 1 (process 28374) exited with code 01]
- (gdb) thread apply all bt
- (gdb) q
-