- $ gdb vainfo
- GNU gdb 6.1.1 [FreeBSD]
- Copyright 2004 Free Software Foundation, Inc.
- GDB is free software, covered by the GNU General Public License, and you are
- welcome to change it and/or distribute copies of it under certain conditions.
- Type "show copying" to see the conditions.
- There is absolutely no warranty for GDB. Type "show warranty" for details.
- This GDB was configured as "amd64-marcel-freebsd"...
- (gdb) b vdpau_driver.c:233
- No source file named vdpau_driver.c.
- Make breakpoint pending on future shared library load? (y or [n]) y
- Breakpoint 1 (vdpau_driver.c:233) pending.
- (gdb) r
- Starting program: /usr/local/bin/vainfo
- libva: libva version 0.31.1-sds1
- Xlib: extension "XFree86-DRI" missing on display ":0.0".
- libva: va_getDriverName() returns 0
- libva: Trying to open /usr/local/lib/va/drivers/nvidia_drv_video.so
- [New LWP 100250]
- Breakpoint 2 at 0x801805d05: file vdpau_driver.c, line 233.
- Pending breakpoint "vdpau_driver.c:233" resolved
- [New Thread 8016401c0 (LWP 100250)]
- [Switching to Thread 8016401c0 (LWP 100250)]
- Breakpoint 2, vdpau_do_Initialize (ctx=0x80162e200) at vdpau_driver.c:233
- 233 ASSERT(vdp_status == VDP_STATUS_OK);
- (gdb) set print pretty
- (gdb) p vdp_status
- $1 = VDP_STATUS_NO_IMPLEMENTATION
- (gdb) p *driver_data
- $2 = {
- va_context = 0x80162e200,
- config_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- context_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- surface_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- glx_surface_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- buffer_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- ---Type <return> to continue, or q <return> to quit---
- heap_size = 0,
- heap_increment = 0
- },
- output_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- image_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- subpicture_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- mixer_heap = {
- object_size = 0,
- id_offset = 0,
- heap_index = 0x0,
- next_free = 0,
- heap_size = 0,
- heap_increment = 0
- },
- gl_data = 0x0,
- x11_dpy = 0x801604000,
- x11_screen = 0,
- vdp_device = 1,
- ---Type <return> to continue, or q <return> to quit---
- vdp_get_proc_address = 0,
- vdp_vtable = {
- vdp_device_destroy = 0,
- vdp_generate_csc_matrix = 0,
- vdp_video_surface_create = 0,
- vdp_video_surface_destroy = 0,
- vdp_video_surface_get_bits_ycbcr = 0,
- vdp_video_surface_put_bits_ycbcr = 0,
- vdp_output_surface_create = 0,
- vdp_output_surface_destroy = 0,
- vdp_output_surface_get_bits_native = 0,
- vdp_output_surface_put_bits_native = 0,
- vdp_output_surface_render_bitmap_surface = 0,
- vdp_output_surface_render_output_surface = 0,
- vdp_output_surface_query_put_bits_indexed_capabilities = 0,
- vdp_output_surface_put_bits_indexed = 0,
- vdp_bitmap_surface_query_capabilities = 0,
- vdp_bitmap_surface_create = 0,
- vdp_bitmap_surface_destroy = 0,
- vdp_bitmap_surface_put_bits_native = 0,
- vdp_video_mixer_create = 0,
- vdp_video_mixer_destroy = 0,
- vdp_video_mixer_render = 0,
- vdp_video_mixer_get_attribute_values = 0,
- vdp_video_mixer_set_attribute_values = 0,
- vdp_presentation_queue_create = 0,
- vdp_presentation_queue_destroy = 0,
- vdp_presentation_queue_set_background_color = 0,
- vdp_presentation_queue_get_background_color = 0,
- vdp_presentation_queue_display = 0,
- vdp_presentation_queue_block_until_surface_idle = 0,
- vdp_presentation_queue_query_surface_status = 0,
- vdp_presentation_queue_target_create_x11 = 0,
- vdp_presentation_queue_target_destroy = 0,
- vdp_decoder_create = 0,
- vdp_decoder_destroy = 0,
- vdp_decoder_render = 0,
- vdp_decoder_query_capabilities = 0,
- vdp_video_surface_query_ycbcr_caps = 0,
- ---Type <return> to continue, or q <return> to quit---
- vdp_output_surface_query_rgba_caps = 0,
- vdp_get_api_version = 0,
- vdp_get_information_string = 0,
- vdp_get_error_string = 0
- },
- vdp_impl_type = 0,
- vdp_impl_version = 0,
- va_display_attrs = {{
- type = VADisplayAttribBrightness,
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }, {
- type = VADisplayAttribBrightness,
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }, {
- type = VADisplayAttribBrightness,
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }, {
- type = VADisplayAttribBrightness,
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }, {
- type = VADisplayAttribBrightness,
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }, {
- type = VADisplayAttribBrightness,
- ---Type <return> to continue, or q <return> to quit---
- min_value = 0,
- max_value = 0,
- value = 0,
- flags = 0
- }},
- va_display_attrs_mtime = {0, 0, 0, 0, 0, 0},
- va_display_attrs_count = 0
- }
- (gdb) q
- The program is running. Exit anyway? (y or n) y