Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 5.77 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ gdb vainfo
  2. GNU gdb 6.1.1 [FreeBSD]
  3. Copyright 2004 Free Software Foundation, Inc.
  4. GDB is free software, covered by the GNU General Public License, and you are
  5. welcome to change it and/or distribute copies of it under certain conditions.
  6. Type "show copying" to see the conditions.
  7. There is absolutely no warranty for GDB.  Type "show warranty" for details.
  8. This GDB was configured as "amd64-marcel-freebsd"...
  9. (gdb) b vdpau_driver.c:233
  10. No source file named vdpau_driver.c.
  11. Make breakpoint pending on future shared library load? (y or [n]) y
  12.  
  13. Breakpoint 1 (vdpau_driver.c:233) pending.
  14. (gdb) r
  15. Starting program: /usr/local/bin/vainfo
  16. libva: libva version 0.31.1-sds1
  17. Xlib:  extension "XFree86-DRI" missing on display ":0.0".
  18. libva: va_getDriverName() returns 0
  19. libva: Trying to open /usr/local/lib/va/drivers/nvidia_drv_video.so
  20. [New LWP 100250]
  21. Breakpoint 2 at 0x801805d05: file vdpau_driver.c, line 233.
  22. Pending breakpoint "vdpau_driver.c:233" resolved
  23. [New Thread 8016401c0 (LWP 100250)]
  24. [Switching to Thread 8016401c0 (LWP 100250)]
  25.  
  26. Breakpoint 2, vdpau_do_Initialize (ctx=0x80162e200) at vdpau_driver.c:233
  27. 233         ASSERT(vdp_status == VDP_STATUS_OK);
  28. (gdb) set print pretty
  29. (gdb) p vdp_status
  30. $1 = VDP_STATUS_NO_IMPLEMENTATION
  31. (gdb) p *driver_data
  32. $2 = {
  33.   va_context = 0x80162e200,
  34.   config_heap = {
  35.     object_size = 0,
  36.     id_offset = 0,
  37.     heap_index = 0x0,
  38.     next_free = 0,
  39.     heap_size = 0,
  40.     heap_increment = 0
  41.   },
  42.   context_heap = {
  43.     object_size = 0,
  44.     id_offset = 0,
  45.     heap_index = 0x0,
  46.     next_free = 0,
  47.     heap_size = 0,
  48.     heap_increment = 0
  49.   },
  50.   surface_heap = {
  51.     object_size = 0,
  52.     id_offset = 0,
  53.     heap_index = 0x0,
  54.     next_free = 0,
  55.     heap_size = 0,
  56.     heap_increment = 0
  57.   },
  58.   glx_surface_heap = {
  59.     object_size = 0,
  60.     id_offset = 0,
  61.     heap_index = 0x0,
  62.     next_free = 0,
  63.     heap_size = 0,
  64.     heap_increment = 0
  65.   },
  66.   buffer_heap = {
  67.     object_size = 0,
  68.     id_offset = 0,
  69.     heap_index = 0x0,
  70.     next_free = 0,
  71. ---Type <return> to continue, or q <return> to quit---
  72.     heap_size = 0,
  73.     heap_increment = 0
  74.   },
  75.   output_heap = {
  76.     object_size = 0,
  77.     id_offset = 0,
  78.     heap_index = 0x0,
  79.     next_free = 0,
  80.     heap_size = 0,
  81.     heap_increment = 0
  82.   },
  83.   image_heap = {
  84.     object_size = 0,
  85.     id_offset = 0,
  86.     heap_index = 0x0,
  87.     next_free = 0,
  88.     heap_size = 0,
  89.     heap_increment = 0
  90.   },
  91.   subpicture_heap = {
  92.     object_size = 0,
  93.     id_offset = 0,
  94.     heap_index = 0x0,
  95.     next_free = 0,
  96.     heap_size = 0,
  97.     heap_increment = 0
  98.   },
  99.   mixer_heap = {
  100.     object_size = 0,
  101.     id_offset = 0,
  102.     heap_index = 0x0,
  103.     next_free = 0,
  104.     heap_size = 0,
  105.     heap_increment = 0
  106.   },
  107.   gl_data = 0x0,
  108.   x11_dpy = 0x801604000,
  109.   x11_screen = 0,
  110.   vdp_device = 1,
  111. ---Type <return> to continue, or q <return> to quit---
  112.   vdp_get_proc_address = 0,
  113.   vdp_vtable = {
  114.     vdp_device_destroy = 0,
  115.     vdp_generate_csc_matrix = 0,
  116.     vdp_video_surface_create = 0,
  117.     vdp_video_surface_destroy = 0,
  118.     vdp_video_surface_get_bits_ycbcr = 0,
  119.     vdp_video_surface_put_bits_ycbcr = 0,
  120.     vdp_output_surface_create = 0,
  121.     vdp_output_surface_destroy = 0,
  122.     vdp_output_surface_get_bits_native = 0,
  123.     vdp_output_surface_put_bits_native = 0,
  124.     vdp_output_surface_render_bitmap_surface = 0,
  125.     vdp_output_surface_render_output_surface = 0,
  126.     vdp_output_surface_query_put_bits_indexed_capabilities = 0,
  127.     vdp_output_surface_put_bits_indexed = 0,
  128.     vdp_bitmap_surface_query_capabilities = 0,
  129.     vdp_bitmap_surface_create = 0,
  130.     vdp_bitmap_surface_destroy = 0,
  131.     vdp_bitmap_surface_put_bits_native = 0,
  132.     vdp_video_mixer_create = 0,
  133.     vdp_video_mixer_destroy = 0,
  134.     vdp_video_mixer_render = 0,
  135.     vdp_video_mixer_get_attribute_values = 0,
  136.     vdp_video_mixer_set_attribute_values = 0,
  137.     vdp_presentation_queue_create = 0,
  138.     vdp_presentation_queue_destroy = 0,
  139.     vdp_presentation_queue_set_background_color = 0,
  140.     vdp_presentation_queue_get_background_color = 0,
  141.     vdp_presentation_queue_display = 0,
  142.     vdp_presentation_queue_block_until_surface_idle = 0,
  143.     vdp_presentation_queue_query_surface_status = 0,
  144.     vdp_presentation_queue_target_create_x11 = 0,
  145.     vdp_presentation_queue_target_destroy = 0,
  146.     vdp_decoder_create = 0,
  147.     vdp_decoder_destroy = 0,
  148.     vdp_decoder_render = 0,
  149.     vdp_decoder_query_capabilities = 0,
  150.     vdp_video_surface_query_ycbcr_caps = 0,
  151. ---Type <return> to continue, or q <return> to quit---
  152.     vdp_output_surface_query_rgba_caps = 0,
  153.     vdp_get_api_version = 0,
  154.     vdp_get_information_string = 0,
  155.     vdp_get_error_string = 0
  156.   },
  157.   vdp_impl_type = 0,
  158.   vdp_impl_version = 0,
  159.   va_display_attrs = {{
  160.       type = VADisplayAttribBrightness,
  161.       min_value = 0,
  162.       max_value = 0,
  163.       value = 0,
  164.       flags = 0
  165.     }, {
  166.       type = VADisplayAttribBrightness,
  167.       min_value = 0,
  168.       max_value = 0,
  169.       value = 0,
  170.       flags = 0
  171.     }, {
  172.       type = VADisplayAttribBrightness,
  173.       min_value = 0,
  174.       max_value = 0,
  175.       value = 0,
  176.       flags = 0
  177.     }, {
  178.       type = VADisplayAttribBrightness,
  179.       min_value = 0,
  180.       max_value = 0,
  181.       value = 0,
  182.       flags = 0
  183.     }, {
  184.       type = VADisplayAttribBrightness,
  185.       min_value = 0,
  186.       max_value = 0,
  187.       value = 0,
  188.       flags = 0
  189.     }, {
  190.       type = VADisplayAttribBrightness,
  191. ---Type <return> to continue, or q <return> to quit---
  192.       min_value = 0,
  193.       max_value = 0,
  194.       value = 0,
  195.       flags = 0
  196.     }},
  197.   va_display_attrs_mtime = {0, 0, 0, 0, 0, 0},
  198.   va_display_attrs_count = 0
  199. }
  200. (gdb) q
  201. The program is running.  Exit anyway? (y or n) y