spacepaste

  1.  
  2. $ echo $PATH
  3. /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
  4. # echo $PATH
  5. /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
  6. # ldd /usr/bin/glxinfo
  7. linux-vdso.so.1 (0x00007ffc49df7000)
  8. libGL.so.1 => /usr/lib64/opengl/nvidia/lib/libGL.so.1 (0x00007fa025add000)
  9. libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fa02578d000)
  10. libc.so.6 => /lib64/libc.so.6 (0x00007fa0253f7000)
  11. libnvidia-tls.so.381.22 => /usr/lib64/libnvidia-tls.so.381.22 (0x00007fa0251f3000)
  12. libnvidia-glcore.so.381.22 => /usr/lib64/libnvidia-glcore.so.381.22 (0x00007fa023364000)
  13. libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fa02314f000)
  14. libdl.so.2 => /lib64/libdl.so.2 (0x00007fa022f4b000)
  15. libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fa022d1e000)
  16. /lib64/ld-linux-x86-64.so.2 (0x00007fa025e1e000)
  17. libm.so.6 => /lib64/libm.so.6 (0x00007fa022a22000)
  18. libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fa02281e000)
  19. libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fa022618000)
  20. libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007fa022400000)
  21. librt.so.1 => /lib64/librt.so.1 (0x00007fa0221f8000)
  22. libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa021fdc000)
  23. $ gdb glxinfo
  24. GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
  25. Copyright (C) 2017 Free Software Foundation, Inc.
  26. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  27. This is free software: you are free to change and redistribute it.
  28. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  29. and "show warranty" for details.
  30. This GDB was configured as "x86_64-pc-linux-gnu".
  31. Type "show configuration" for configuration details.
  32. For bug reporting instructions, please see:
  33. <https://bugs.gentoo.org/>.
  34. Find the GDB manual and other documentation resources online at:
  35. <http://www.gnu.org/software/gdb/documentation/>.
  36. For help, type "help".
  37. Type "apropos word" to search for commands related to "word"...
  38. Reading symbols from glxinfo...(no debugging symbols found)...done.
  39. (gdb) run
  40. Starting program: /usr/bin/glxinfo
  41. [Thread debugging using libthread_db enabled]
  42. Using host libthread_db library "/lib64/libthread_db.so.1".
  43. name of display: :0
  44. X Error of failed request: BadValue (integer parameter out of range for operation)
  45. Major opcode of failed request: 153 (GLX)
  46. Minor opcode of failed request: 24 (X_GLXCreateNewContext)
  47. Value in failed request: 0x0
  48. Serial number of failed request: 35
  49. Current serial number in output stream: 36
  50. [Inferior 1 (process 28374) exited with code 01]
  51. (gdb) thread apply all bt
  52. (gdb) q
  53.