(gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/matt/Projects/jhbuild/native/usr/bin/gst-launch-1.0 playbin uri=file:///home/matt/test.avi video-sink=vaapisink\ use-glx=1 warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Setting pipeline to PAUSED ... libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: User requested driver 'vdpau' libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so libva info: Found init function __vaDriverInit_0_34 Breakpoint 2, vl_screen_create (display=0x815960, screen=0) at ../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:301 301 xcb_dri2_query_version_reply_t *dri2_query = NULL; (gdb) bt #0 vl_screen_create (display=0x815960, screen=0) at ../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:301 #1 0x00007ffff0aac197 in vdp_imp_device_create_x11 (display=0x815960, screen=0, device=0x815628, get_proc_address=0x7ffff12c4180 <_imp_get_proc_address>) at device.c:62 #2 0x00007ffff10c2932 in vdp_device_create_x11 (display=0x815960, screen=0, device=device@entry=0x815628, get_proc_address=get_proc_address@entry=0x815630) at vdpau_wrapper.c:394 #3 0x00007ffff12cac45 in vdpau_common_Initialize (driver_data=driver_data@entry=0x815330) at vdpau_driver.c:195 #4 0x00007ffff12cbdd1 in vdpau_Initialize_Current (ctx=0x813df0) at vdpau_driver_template.h:561 #5 __vaDriverInit_0_34 (ctx=0x813df0) at vdpau_driver.c:317 #6 0x00007ffff18eaa88 in va_openDriver (dpy=dpy@entry=0x801ed0, driver_name=) at va.c:292 #7 0x00007ffff18eb78b in vaInitialize (dpy=0x801ed0, major_version=major_version@entry=0x7fffffffd468, minor_version=minor_version@entry=0x7fffffffd46c) at va.c:475 #8 0x00007ffff1b1921b in gst_vaapi_display_create (init_value=, init_type=, display=0x61a0d0) at gstvaapidisplay.c:923 #9 gst_vaapi_display_new (klass=, init_type=, init_value=) at gstvaapidisplay.c:1091 #10 0x00007ffff5032a1c in gst_vaapi_create_display (display_type=) at gstvaapipluginutil.c:102 #11 gst_vaapi_ensure_display (element=element@entry=0x800dc0, type=GST_VAAPI_DISPLAY_TYPE_ANY) at gstvaapipluginutil.c:129 #12 0x00007ffff5032284 in gst_vaapi_plugin_base_ensure_display (plugin=plugin@entry=0x800dc0) at gstvaapipluginbase.c:233 #13 0x00007ffff5035f39 in gst_vaapisink_ensure_display (sink=0x800dc0) at gstvaapisink.c:314 #14 gst_vaapisink_ensure_uploader (sink=0x800dc0) at gstvaapisink.c:339 #15 0x00007ffff56f6a35 in gst_base_sink_change_state (element=0x800dc0, transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbasesink.c:4841 #16 0x00007ffff7b268a2 in gst_element_change_state (element=element@entry=0x800dc0, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2602 #17 0x00007ffff7b26f7c in gst_element_set_state_func (element=0x800dc0, state=GST_STATE_READY) at gstelement.c:2558 #18 0x00007ffff645571a in activate_sink (playbin=playbin@entry=0x7eaa30, sink=0x800dc0, activated=activated@entry=0x7fffffffd71c) at gstplaybin2.c:4166 #19 0x00007ffff64562d8 in activate_group (target=GST_STATE_READY, group=0x7eaeb0, playbin=0x7eaa30) at gstplaybin2.c:4909 #20 setup_next_source (playbin=playbin@entry=0x7eaa30, target=target@entry=GST_STATE_READY) at gstplaybin2.c:5305 #21 0x00007ffff6457352 in gst_play_bin_change_state (element=0x7eaa30, transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstplaybin2.c:5393 #22 0x00007ffff7b268a2 in gst_element_change_state (element=element@entry=0x7eaa30, transition=) at gstelement.c:2602 #23 0x00007ffff7b271d8 in gst_element_continue_state (element=element@entry=0x7eaa30, ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2312 #24 0x00007ffff7b26a9a in gst_element_change_state (element=element@entry=0x7eaa30, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2639 #25 0x00007ffff7b26f7c in gst_element_set_state_func (element=0x7eaa30, state=GST_STATE_PAUSED) at gstelement.c:2558 #26 0x000000000040360b in main (argc=4, argv=0x7fffffffdcc8) at gst-launch.c:1034 (gdb) c Continuing. Breakpoint 1, nouveau_drm_screen_create (fd=14) at nouveau_drm_winsys.c:44 44 struct nouveau_device *dev = NULL; (gdb) bt #0 nouveau_drm_screen_create (fd=14) at nouveau_drm_winsys.c:44 #1 0x00007ffff0930c68 in create_screen (fd=14) at target.c:9 #2 0x00007ffff09319a2 in vl_screen_create (display=0x815960, screen=-1) at ../../../../src/gallium/auxiliary/vl/vl_winsys_dri.c:376 #3 0x00007ffff0aac197 in vdp_imp_device_create_x11 (display=0x815960, screen=0, device=0x815628, get_proc_address=0x7ffff12c4180 <_imp_get_proc_address>) at device.c:62 #4 0x00007ffff10c2932 in vdp_device_create_x11 (display=0x815960, screen=0, device=device@entry=0x815628, get_proc_address=get_proc_address@entry=0x815630) at vdpau_wrapper.c:394 #5 0x00007ffff12cac45 in vdpau_common_Initialize (driver_data=driver_data@entry=0x815330) at vdpau_driver.c:195 #6 0x00007ffff12cbdd1 in vdpau_Initialize_Current (ctx=0x813df0) at vdpau_driver_template.h:561 #7 __vaDriverInit_0_34 (ctx=0x813df0) at vdpau_driver.c:317 #8 0x00007ffff18eaa88 in va_openDriver (dpy=dpy@entry=0x801ed0, driver_name=) at va.c:292 #9 0x00007ffff18eb78b in vaInitialize (dpy=0x801ed0, major_version=major_version@entry=0x7fffffffd468, minor_version=minor_version@entry=0x7fffffffd46c) at va.c:475 #10 0x00007ffff1b1921b in gst_vaapi_display_create (init_value=, init_type=, display=0x61a0d0) at gstvaapidisplay.c:923 #11 gst_vaapi_display_new (klass=, init_type=, init_value=) at gstvaapidisplay.c:1091 #12 0x00007ffff5032a1c in gst_vaapi_create_display (display_type=) at gstvaapipluginutil.c:102 #13 gst_vaapi_ensure_display (element=element@entry=0x800dc0, type=GST_VAAPI_DISPLAY_TYPE_ANY) at gstvaapipluginutil.c:129 #14 0x00007ffff5032284 in gst_vaapi_plugin_base_ensure_display (plugin=plugin@entry=0x800dc0) at gstvaapipluginbase.c:233 #15 0x00007ffff5035f39 in gst_vaapisink_ensure_display (sink=0x800dc0) at gstvaapisink.c:314 #16 gst_vaapisink_ensure_uploader (sink=0x800dc0) at gstvaapisink.c:339 #17 0x00007ffff56f6a35 in gst_base_sink_change_state (element=0x800dc0, transition=GST_STATE_CHANGE_NULL_TO_READY) at gstbasesink.c:4841 #18 0x00007ffff7b268a2 in gst_element_change_state (element=element@entry=0x800dc0, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2602 #19 0x00007ffff7b26f7c in gst_element_set_state_func (element=0x800dc0, state=GST_STATE_READY) at gstelement.c:2558 #20 0x00007ffff645571a in activate_sink (playbin=playbin@entry=0x7eaa30, sink=0x800dc0, activated=activated@entry=0x7fffffffd71c) at gstplaybin2.c:4166 #21 0x00007ffff64562d8 in activate_group (target=GST_STATE_READY, group=0x7eaeb0, playbin=0x7eaa30) at gstplaybin2.c:4909 #22 setup_next_source (playbin=playbin@entry=0x7eaa30, target=target@entry=GST_STATE_READY) at gstplaybin2.c:5305 #23 0x00007ffff6457352 in gst_play_bin_change_state (element=0x7eaa30, transition=GST_STATE_CHANGE_READY_TO_PAUSED) at gstplaybin2.c:5393 #24 0x00007ffff7b268a2 in gst_element_change_state (element=element@entry=0x7eaa30, transition=) at gstelement.c:2602 #25 0x00007ffff7b271d8 in gst_element_continue_state (element=element@entry=0x7eaa30, ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2312 #26 0x00007ffff7b26a9a in gst_element_change_state (element=element@entry=0x7eaa30, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2639 #27 0x00007ffff7b26f7c in gst_element_set_state_func (element=0x7eaa30, state=GST_STATE_PAUSED) at gstelement.c:2558 ---Type to continue, or q to quit---q Quit (gdb) c Continuing. couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable libva info: va_openDriver() returns 0 [New Thread 0x7fffedaaf700 (LWP 27582)] Pipeline is PREROLLING ... [New Thread 0x7fffed2ae700 (LWP 27583)] Got context from element 'vaapisink0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL; [New Thread 0x7fffe7df2700 (LWP 27584)] [New Thread 0x7fffe75f1700 (LWP 27585)] Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL; [New Thread 0x7fffe698f700 (LWP 27586)] [New Thread 0x7fffe580c700 (LWP 27587)] [Switching to Thread 0x7fffe580c700 (LWP 27587)] Breakpoint 1, nouveau_drm_screen_create (fd=20) at nouveau_drm_winsys.c:44 44 struct nouveau_device *dev = NULL; (gdb) bt #0 nouveau_drm_screen_create (fd=20) at nouveau_drm_winsys.c:44 #1 0x00007fffe4479a4c in create_screen (fd=20) at target.c:10 #2 0x00007fffe48e92d3 in dri2_init_screen (sPriv=0x7fffcc09b450) at dri2.c:883 #3 0x00007fffe447a9ae in driCreateNewScreen2 (scrn=0, fd=20, extensions=0x7fffcc005210, driver_extensions=0x7fffe4e19440 <__driDriverExtensions>, driver_configs=0x7fffe5809f70, data=0x7fffcc005330) at dri_util.c:158 #4 0x00007ffff45e7a05 in dri2CreateScreen (screen=0, priv=0x7fffcc001f20) at dri2_glx.c:1220 #5 0x00007ffff45ac5d4 in AllocAndFetchScreenConfigs (dpy=0x806000, priv=0x7fffcc001f20) at glxext.c:776 #6 0x00007ffff45ac9ec in __glXInitialize (dpy=0x806000) at glxext.c:881 #7 0x00007ffff45a9322 in glXGetFBConfigs (dpy=0x806000, screen=0, nelements=0x7fffe580a0b4) at glxcmds.c:1663 #8 0x00007ffff45a9224 in glXChooseFBConfig (dpy=0x806000, screen=0, attribList=0x7ffff4a0d740 , nitems=0x7fffe580a0dc) at glxcmds.c:1623 #9 0x00007ffff4808518 in gl_create_context (dpy=0x806000, screen=0, parent=0x7fffe580a130) at gstvaapiutils_glx.c:358 #10 0x00007ffff4809ca3 in _gst_vaapi_window_glx_create_context (window=0x7fffd8012ee0, foreign_context=foreign_context@entry=0x0) at gstvaapiwindow_glx.c:143 #11 0x00007ffff4809f97 in _gst_vaapi_window_glx_ensure_context (foreign_context=0x0, window=0x7fffd8012ee0) at gstvaapiwindow_glx.c:181 #12 gst_vaapi_window_glx_get_visual (window=0x7fffd8012ee0) at gstvaapiwindow_glx.c:227 #13 0x00007ffff2ef991b in gst_vaapi_window_x11_create (window=0x7fffd8012ee0, width=0x7fffe580a28c, height=0x7fffe580a288) at gstvaapiwindow_x11.c:245 #14 0x00007ffff1b22474 in gst_vaapi_window_create (window=window@entry=0x7fffd8012ee0, width=width@entry=640, height=height@entry=480) at gstvaapiwindow.c:70 #15 0x00007ffff1b22583 in gst_vaapi_window_new (window_class=window_class@entry=0x7ffff4a0d920 , display=display@entry=0x61a0d0, width=width@entry=640, height=480) at gstvaapiwindow.c:96 #16 0x00007ffff480a0ea in gst_vaapi_window_glx_new (display=0x61a0d0, width=640, height=) at gstvaapiwindow_glx.c:372 #17 0x00007ffff503744a in gst_vaapisink_ensure_window (height=, width=, sink=0x800dc0) at gstvaapisink.c:477 #18 gst_vaapisink_set_caps (base_sink=, caps=) at gstvaapisink.c:712 #19 0x00007ffff56f47bb in gst_base_sink_default_event (basesink=0x800dc0, event=0x7fffd80022a0) at gstbasesink.c:3036 #20 0x00007ffff56f062d in gst_base_sink_event (pad=, parent=0x800dc0, event=0x7fffd80022a0) at gstbasesink.c:3138 #21 0x00007ffff7b38e8b in gst_pad_send_event_unchecked (pad=pad@entry=0x802030, event=event@entry=0x7fffd80022a0, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5003 #22 0x00007ffff7b39676 in gst_pad_push_event_unchecked (pad=pad@entry=0x8591b0, event=0x7fffd80022a0, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4699 #23 0x00007ffff7b39af8 in push_sticky (pad=0x8591b0, ev=0x7fffe580a5f0, user_data=0x7fffe580a650) at gstpad.c:3332 #24 0x00007ffff7b37ee2 in events_foreach (pad=pad@entry=0x8591b0, func=func@entry=0x7ffff7b399a0 , user_data=user_data@entry=0x7fffe580a650) at gstpad.c:533 #25 0x00007ffff7b421f8 in check_sticky (event=0x7fffd80022a0, pad=0x8591b0) at gstpad.c:3388 #26 gst_pad_push_event (pad=pad@entry=0x8591b0, event=0x7fffd80022a0) at gstpad.c:4816 ---Type to continue, or q to quit---q Quit (gdb) c Continuing. couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable Breakpoint 4, _mesa_VDPAUInitNV (vdpDevice=0x1, getProcAddress=0x7ffff10c2850 ) at main/vdpau.c:57 57 GET_CURRENT_CONTEXT(ctx); (gdb) bt #0 _mesa_VDPAUInitNV (vdpDevice=0x1, getProcAddress=0x7ffff10c2850 ) at main/vdpau.c:57 #1 0x00007ffff12d432e in gl_vdpau_init (device=1, get_proc_address=0x7ffff10c2850 ) at utils_glx.c:1249 #2 0x00007ffff12d18b4 in create_surface (texture=1, target=3553, driver_data=0x815330) at vdpau_video_glx.c:239 #3 vdpau_CreateSurfaceGLX (ctx=, target=3553, texture=1, gl_surface=0x7fffcc004498) at vdpau_video_glx.c:297 #4 0x00007ffff4806f21 in _gst_vaapi_texture_create_objects (texture_id=1, texture=0x7fffcc004460) at gstvaapitexture.c:136 #5 gst_vaapi_texture_create (texture=texture@entry=0x7fffcc004460) at gstvaapitexture.c:202 #6 0x00007ffff48070cf in gst_vaapi_texture_new (display=, target=target@entry=3553, format=format@entry=32993, width=640, height=480) at gstvaapitexture.c:262 #7 0x00007ffff50364cb in gst_vaapisink_ensure_texture (surface=0x7fffdc007dc0, sink=0x800dc0) at gstvaapisink.c:859 #8 gst_vaapisink_show_frame_glx (flags=0, surface_rect=, surface=0x7fffdc007dc0, sink=0x800dc0) at gstvaapisink.c:877 #9 gst_vaapisink_show_frame (base_sink=, src_buffer=) at gstvaapisink.c:1014 #10 0x00007ffff56f9a53 in gst_base_sink_do_preroll (sink=sink@entry=0x800dc0, obj=obj@entry=0x7fffd40205b0) at gstbasesink.c:2226 #11 0x00007ffff56f9eeb in gst_base_sink_do_sync (basesink=basesink@entry=0x800dc0, obj=obj@entry=0x7fffd40205b0, late=late@entry=0x7fffe580b5b8, step_end=step_end@entry=0x7fffe580b5bc) at gstbasesink.c:2445 #12 0x00007ffff56fb0ae in gst_base_sink_chain_unlocked (basesink=basesink@entry=0x800dc0, obj=obj@entry=0x7fffd40205b0, is_list=is_list@entry=0, pad=) at gstbasesink.c:3341 #13 0x00007ffff56fcbd4 in gst_base_sink_chain_main (basesink=0x800dc0, pad=, obj=0x7fffd40205b0, is_list=0) at gstbasesink.c:3486 #14 0x00007ffff7b3a6a5 in gst_pad_chain_data_unchecked (data=0x7fffd40205b0, type=4112, pad=0x802030) at gstpad.c:3725 #15 gst_pad_push_data (pad=pad@entry=0x8591b0, type=type@entry=4112, data=, data@entry=0x7fffd40205b0) at gstpad.c:3958 #16 0x00007ffff7b41596 in gst_pad_push (pad=pad@entry=0x8591b0, buffer=buffer@entry=0x7fffd40205b0) at gstpad.c:4061 #17 0x00007ffff7b2c4eb in gst_proxy_pad_chain_default (pad=, parent=, buffer=0x7fffd40205b0) at gstghostpad.c:128 #18 0x00007ffff7b3a6a5 in gst_pad_chain_data_unchecked (data=0x7fffd40205b0, type=4112, pad=0x7fffd8006280) at gstpad.c:3725 #19 gst_pad_push_data (pad=0x7fffd80409e0, type=type@entry=4112, data=) at gstpad.c:3958 #20 0x00007ffff7b41596 in gst_pad_push (pad=, buffer=) at gstpad.c:4061 #21 0x00007ffff5709e1b in gst_base_transform_chain (pad=, parent=, buffer=) at gstbasetransform.c:2237 #22 0x00007ffff7b3a6a5 in gst_pad_chain_data_unchecked (data=0x7fffd40205b0, type=4112, pad=0x7fffdc013d00) at gstpad.c:3725 #23 gst_pad_push_data (pad=0x7fffdc013ad0, type=type@entry=4112, data=) at gstpad.c:3958 #24 0x00007ffff7b41596 in gst_pad_push (pad=, buffer=) at gstpad.c:4061 #25 0x00007ffff5709e1b in gst_base_transform_chain (pad=, parent=, buffer=) at gstbasetransform.c:2237 #26 0x00007ffff7b3a6a5 in gst_pad_chain_data_unchecked (data=0x7fffd40205b0, type=4112, pad=0x7fffdc0138a0) at gstpad.c:3725 #27 gst_pad_push_data (pad=0x7fffd8040120, type=type@entry=4112, data=) at gstpad.c:3958 #28 0x00007ffff7b41596 in gst_pad_push (pad=, buffer=) at gstpad.c:4061 #29 0x00007ffff5709e1b in gst_base_transform_chain (pad=, parent=, buffer=) at gstbasetransform.c:2237 ---Type to continue, or q to quit---q Quit (gdb) $ nm /usr/lib/vdpau/libvdpau_nouveau.so.1 | grep drm U drmGetMagic 00000000000767ba t emit_modrm 000000000007695c t emit_modrm_noreg 0000000000076996 t emit_op_modrm 00000000001b03c4 T nouveau_drm_screen_create $ nm /usr/lib/xorg/modules/dri/nouveau_dri.so | grep drm U drmFreeVersion U drmGetVersion 0000000000388ca5 t emit_modrm 0000000000388e47 t emit_modrm_noreg 0000000000388e81 t emit_op_modrm 00000000004bc608 T nouveau_drm_screen_create