vaapi decoder fails to open display and segfaults
Victor Jaquez
vjaquez at igalia.com
Fri Mar 31 04:22:01 UTC 2023
VA-API needs either a display or a DRM device to open a session. When headless,
as your case, DRM is the way to go.
Sadly, you're using a very old version of GStreamer which might not has fixes
for the correct display auto-detection.
I would only encourage you to use a recent version of GStreamer, 1.20 or 1.22,
if possible, and switch from gstreamer-vaapi elements to gstva ones in
gst-plugins-bad, which uses DRM devices by default.
vmjl
On Thu, 30 Mar 2023 at 15:47, Jon Beare via gstreamer-devel wrote:
> Hello gstreamer-devel,
>
> I am attempting to run a vaapi pipeline on a headless NUC with a Intel(R)
> Core(TM) i3-7100U CPU. I'm connected to the system via ssh (no x
> forwarding) and am hitting an error:
> 0:00:00.054879377 1786422 0x564e6d5e7000 ERROR gldisplay
> gstgldisplay_gbm.c:219:gst_gl_display_gbm_setup_drm: No connected DRM
> connector found
> ...
> 0:00:00.086796054 1787721 0x5630439af000 INFO default
> gstvaapipluginutil.c:359:gst_vaapi_find_gl_context:<vaapidecode_h264-0> No
> valid GL display found
> Caught SIGSEGV
>
> The error reproduces with:
> GST_DEBUG=4 gst-launch-1.0 filesrc location=videos/sd_london_station_sd.mp4
> ! parsebin ! vaapih264dec ! fakesink sync=true
> The error does not reproduce with:
> GST_DEBUG=4 gst-launch-1.0 filesrc location=videos/sd_london_station_sd.mp4
> ! parsebin ! avdec_h264 ! fakesink sync=true
>
> It's not clear to me why the vaapi decoder needs a display to run. I'd
> appreciate it if someone could give me some pointers to become unstuck.
>
> Thank you,
> Jon
>
> *---- Additional details follow ----*
>
> *Versions:*
> Ubuntu 20.04
> gst-launch-1.0 version 1.16.3
> GStreamer 1.16.3
>
> *jbeare at nuc3:~$ vainfo*
> error: can't connect to X server!
> libva info: VA-API version 1.7.0
> libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_7
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.7 (libva 2.6.0)
> vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1
> ()
> vainfo: Supported profile and entrypoints
> VAProfileMPEG2Simple : VAEntrypointVLD
> VAProfileMPEG2Main : VAEntrypointVLD
> VAProfileH264Main : VAEntrypointVLD
> VAProfileH264Main : VAEntrypointEncSliceLP
> VAProfileH264High : VAEntrypointVLD
> VAProfileH264High : VAEntrypointEncSliceLP
> VAProfileJPEGBaseline : VAEntrypointVLD
> VAProfileJPEGBaseline : VAEntrypointEncPicture
> VAProfileH264ConstrainedBaseline: VAEntrypointVLD
> VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
> VAProfileVP8Version0_3 : VAEntrypointVLD
> VAProfileHEVCMain : VAEntrypointVLD
> VAProfileHEVCMain10 : VAEntrypointVLD
> VAProfileVP9Profile0 : VAEntrypointVLD
> VAProfileVP9Profile2 : VAEntrypointVLD
>
> *jbeare at nuc3:~$ gst-inspect-1.0 vaapi*
> Plugin Details:
> Name vaapi
> Description VA-API based elements
> Filename
> /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so
> Version 1.16.2
> License LGPL
> Source module gstreamer-vaapi
> Source release date 2019-12-03
> Binary package gstreamer-vaapi
> Origin URL
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
>
> vaapijpegdec: VA-API JPEG decoder
> vaapimpeg2dec: VA-API MPEG2 decoder
> vaapih264dec: VA-API H264 decoder
> vaapivp8dec: VA-API VP8 decoder
> vaapivp9dec: VA-API VP9 decoder
> vaapih265dec: VA-API H265 decoder
> vaapipostproc: VA-API video postprocessing
> vaapidecodebin: VA-API Decode Bin
> vaapisink: VA-API sink
> vaapijpegenc: VA-API JPEG encoder
> vaapih264enc: VA-API H264 encoder
>
> 11 features:
> +-- 11 elements
>
> *jbeare at nuc3:~$ ll /dev/dri*
> total 0
> drwxr-xr-x 3 root root 100 Feb 9 16:44 ./
> drwxr-xr-x 19 root root 4560 Mar 20 12:45 ../
> drwxr-xr-x 2 root root 80 Feb 9 16:44 by-path/
> crw-rw---- 1 root video 226, 0 Feb 9 16:44 card0
> crw-rw---- 1 root render 226, 128 Feb 9 16:44 renderD128
>
> *jbeare at nuc3:~$ groups*
> jbeare adm sudo video plugdev users lxd libvirtd lpadmin render docker
> hugetlbfs devs guests lusers relmgr docmgr
>
> *jbeare at nuc3:~$ env | grep XDG*
> XDG_SESSION_TYPE=tty
> XDG_SESSION_CLASS=user
> XDG_SESSION_ID=8454
> XDG_RUNTIME_DIR=/run/user/10013
> XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
>
> *jbeare at nuc3:~/dev/nimble$ GST_DEBUG=4 gst-launch-1.0 filesrc
> location=videos/sd_london_station_sd.mp4 ! parsebin ! vaapih264dec !
> fakesink sync=true*
> 0:00:00.000134010 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.3
> 0:00:00.000216947 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:587:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
> 0:00:00.000269777 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:605:init_pre: Linux nuc3 5.4.0-137-generic #154-Ubuntu SMP Thu Jan 5
> 17:03:22 UTC 2023 x86_64
> 0:00:00.000699873 1788941 0x561fa31b6000 INFO GST_INIT
> gstmessage.c:128:_priv_gst_message_initialize: init messages
> 0:00:00.001599512 1788941 0x561fa31b6000 INFO GST_INIT
> gstcontext.c:84:_priv_gst_context_initialize: init contexts
> 0:00:00.001973934 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:318:_priv_gst_plugin_initialize: registering 0 static plugins
> 0:00:00.002056633 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:226:gst_plugin_register_static: registered static plugin
> "staticelements"
> 0:00:00.002071987 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:228:gst_plugin_register_static: added static plugin
> "staticelements", result: 1
> 0:00:00.002097234 1788941 0x561fa31b6000 INFO GST_REGISTRY
> gstregistry.c:1733:ensure_current_registry: reading registry cache:
> /home/jbeare/.cache/gstreamer-1.0/registry.x86_64.bin
> 0:00:00.017789807 1788941 0x561fa31b6000 INFO GST_REGISTRY
> gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded
> /home/jbeare/.cache/gstreamer-1.0/registry.x86_64.bin in 0.015661 seconds
> 0:00:00.017894850 1788941 0x561fa31b6000 INFO GST_REGISTRY
> gstregistry.c:1592:scan_and_update_registry: Validating plugins from
> registry cache: /home/jbeare/.cache/gstreamer-1.0/registry.x86_64.bin
> 0:00:00.020269837 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:1524:gst_plugin_ext_dep_extract_env_vars_paths:<plugin247>
> ignoring environment variable content '1': either not an absolute path or
> not a path at all
> 0:00:00.020504169 1788941 0x561fa31b6000 INFO GST_REGISTRY
> gstregistry.c:1691:scan_and_update_registry: Registry cache has not changed
> 0:00:00.020520244 1788941 0x561fa31b6000 INFO GST_REGISTRY
> gstregistry.c:1768:ensure_current_registry: registry reading and updating
> done, result = 1
> 0:00:00.020539552 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:806:init_post: GLib runtime version: 2.64.6
> 0:00:00.020552848 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:808:init_post: GLib headers version: 2.64.6
> 0:00:00.020562818 1788941 0x561fa31b6000 INFO GST_INIT
> gst.c:810:init_post: initialized GStreamer successfully
> 0:00:00.020601021 1788941 0x561fa31b6000 INFO GST_PIPELINE
> gstparse.c:336:gst_parse_launch_full: parsing pipeline description 'filesrc
> location=videos/sd_london_station_sd.mp4 ! parsebin ! vaapih264dec !
> fakesink sync=true '
> 0:00:00.021352395 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin
> "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
> 0:00:00.021376838 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:363:gst_element_factory_create: creating element
> "filesrc"
> 0:00:00.021512037 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstBaseSrc at 0x561fa34002c0> adding pad
> 'src'
> 0:00:00.021565591 1788941 0x561fa31b6000 INFO filesrc
> gstfilesrc.c:261:gst_file_src_set_location: filename :
> videos/sd_london_station_sd.mp4
> 0:00:00.021579706 1788941 0x561fa31b6000 INFO filesrc
> gstfilesrc.c:262:gst_file_src_set_location: uri :
> file:///home/jbeare/dev/nimble/videos/sd_london_station_sd.mp4
> 0:00:00.023164108 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin
> "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
> 0:00:00.023184728 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:363:gst_element_factory_create: creating element
> "parsebin"
> 0:00:00.023299556 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:360:gst_element_factory_create: creating element
> "typefind" named "typefind"
> 0:00:00.023369812 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstTypeFindElement at 0x561fa340c0b0>
> adding pad 'sink'
> 0:00:00.023400288 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstTypeFindElement at 0x561fa340c0b0>
> adding pad 'src'
> 0:00:00.023449478 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:928:gst_element_get_static_pad: found pad typefind:sink
> 0:00:00.023520254 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2377:gst_pad_link_prepare: trying to link sink:proxypad0 and
> typefind:sink
> 0:00:00.023540978 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2585:gst_pad_link_full: linked sink:proxypad0 and typefind:sink,
> successful
> 0:00:00.023552010 1788941 0x561fa31b6000 INFO GST_EVENT
> gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
> 0:00:00.023582180 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstParseBin at 0x561fa3408020> adding
> pad 'sink'
> 0:00:00.028880653 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.7.0
> 0:00:00.028923952 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: Trying to open
> /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
> 0:00:00.031276733 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_7
> 0:00:00.032150105 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
> 0:00:00.032168761 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.7
> 0:00:00.032557072 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.7.0
> 0:00:00.032584758 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: Trying to open
> /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
> 0:00:00.032603787 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_7
> 0:00:00.033057982 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
> 0:00:00.033073835 1788941 0x561fa31b6000 INFO vaapi
> gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.7
> 0:00:00.033090409 1788941 0x561fa31b6000 INFO vaapidisplay
> gstvaapidisplay.c:906:gst_vaapi_display_create:<vaapidisplaydrm0> new
> display addr=0x561fa34200f0
> 0:00:00.033540749 1788941 0x561fa31b6000 INFO GST_PLUGIN_LOADING
> gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin
> "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvaapi.so" loaded
> 0:00:00.033556859 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:363:gst_element_factory_create: creating element
> "vaapih264dec"
> 0:00:00.033679389 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstVideoDecoder at 0x561fa3444b60>
> adding pad 'sink'
> 0:00:00.033701370 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstVideoDecoder at 0x561fa3444b60>
> adding pad 'src'
> 0:00:00.033719658 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:928:gst_element_get_static_pad: found pad (null):sink
> 0:00:00.033741969 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:928:gst_element_get_static_pad: found pad (null):src
> 0:00:00.033767826 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:363:gst_element_factory_create: creating element
> "fakesink"
> 0:00:00.033888789 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:671:gst_element_add_pad:<GstBaseSink at 0x561fa3430cc0> adding
> pad 'sink'
> 0:00:00.033919398 1788941 0x561fa31b6000 INFO GST_ELEMENT_FACTORY
> gstelementfactory.c:363:gst_element_factory_create: creating element
> "pipeline"
> 0:00:00.034015897 1788941 0x561fa31b6000 INFO GST_PIPELINE
> grammar.y:648:gst_parse_perform_link: linking some pad of GstFileSrc named
> filesrc0 to some pad of GstParseBin named parsebin0 (0/0) with caps "(NULL)"
> 0:00:00.034034829 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstutils.c:1771:gst_element_link_pads_full: trying to link element
> filesrc0:(any) to element parsebin0:(any)
> 0:00:00.034051841 1788941 0x561fa31b6000 INFO GST_PADS
> gstutils.c:1034:gst_pad_check_link: trying to link filesrc0:src and
> parsebin0:sink
> 0:00:00.034083756 1788941 0x561fa31b6000 INFO GST_PADS
> gstutils.c:1587:prepare_link_maybe_ghosting: filesrc0 and parsebin0 in same
> bin, no need for ghost pads
> 0:00:00.034104993 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2377:gst_pad_link_prepare: trying to link filesrc0:src and
> parsebin0:sink
> 0:00:00.034130393 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2585:gst_pad_link_full: linked filesrc0:src and parsebin0:sink,
> successful
> 0:00:00.034142160 1788941 0x561fa31b6000 INFO GST_EVENT
> gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
> 0:00:00.034156699 1788941 0x561fa31b6000 INFO GST_EVENT
> gstpad.c:5812:gst_pad_send_event_unchecked:<filesrc0:src> Received event on
> flushing pad. Discarding
> 0:00:00.034184871 1788941 0x561fa31b6000 INFO GST_PIPELINE
> grammar.y:648:gst_parse_perform_link: linking some pad of GstParseBin named
> parsebin0 to some pad of GstVaapiDecode_h264 named vaapidecode_h264-0 (0/0)
> with caps "(NULL)"
> 0:00:00.034201350 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstutils.c:1771:gst_element_link_pads_full: trying to link element
> parsebin0:(any) to element vaapidecode_h264-0:(any)
> 0:00:00.034219387 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:src> pad has no peer
> 0:00:00.034277000 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstelement.c:925:gst_element_get_static_pad: no such pad 'src_%u' in
> element "parsebin0"
> 0:00:00.034295256 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstutils.c:1225:gst_element_get_compatible_pad:<parsebin0> Could not find a
> compatible pad to link to vaapidecode_h264-0:sink
> 0:00:00.034311028 1788941 0x561fa31b6000 INFO default
> gstutils.c:2161:gst_element_link_pads_filtered: Could not link pads:
> parsebin0:(null) - vaapidecode_h264-0:(null)
> 0:00:00.034339521 1788941 0x561fa31b6000 INFO GST_PIPELINE
> grammar.y:648:gst_parse_perform_link: linking some pad of
> GstVaapiDecode_h264 named vaapidecode_h264-0 to some pad of GstFakeSink
> named fakesink0 (0/0) with caps "(NULL)"
> 0:00:00.034355390 1788941 0x561fa31b6000 INFO GST_ELEMENT_PADS
> gstutils.c:1771:gst_element_link_pads_full: trying to link element
> vaapidecode_h264-0:(any) to element fakesink0:(any)
> 0:00:00.034371772 1788941 0x561fa31b6000 INFO GST_PADS
> gstutils.c:1034:gst_pad_check_link: trying to link vaapidecode_h264-0:src
> and fakesink0:sink
> 0:00:00.034391992 1788941 0x561fa31b6000 INFO GST_PADS
> gstutils.c:1587:prepare_link_maybe_ghosting: vaapidecode_h264-0 and
> fakesink0 in same bin, no need for ghost pads
> 0:00:00.034410044 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2377:gst_pad_link_prepare: trying to link vaapidecode_h264-0:src
> and fakesink0:sink
> 0:00:00.034430271 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:2585:gst_pad_link_full: linked vaapidecode_h264-0:src and
> fakesink0:sink, successful
> 0:00:00.034441117 1788941 0x561fa31b6000 INFO GST_EVENT
> gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
> 0:00:00.034455073 1788941 0x561fa31b6000 INFO GST_EVENT
> gstpad.c:5812:gst_pad_send_event_unchecked:<vaapidecode_h264-0:src>
> Received event on flushing pad. Discarding
> Setting pipeline to PAUSED ...
> 0:00:00.034510439 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<fakesink0> current NULL pending
> VOID_PENDING, desired next READY
> 0:00:00.034527503 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2688:gst_element_continue_state:<fakesink0> completed state
> change to READY
> 0:00:00.034542677 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<fakesink0> notifying
> about state-changed NULL to READY (VOID_PENDING pending)
> 0:00:00.034572633 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'fakesink0'
> changed state to 2(READY) successfully
> 0:00:00.034589539 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<vaapidecode_h264-0> current NULL
> pending VOID_PENDING, desired next READY
> 0:00:00.034604629 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2688:gst_element_continue_state:<vaapidecode_h264-0> completed
> state change to READY
> 0:00:00.034618454 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<vaapidecode_h264-0>
> notifying about state-changed NULL to READY (VOID_PENDING pending)
> 0:00:00.034636421 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child
> 'vaapidecode_h264-0' changed state to 2(READY) successfully
> 0:00:00.034653621 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<parsebin0> current NULL pending
> VOID_PENDING, desired next READY
> 0:00:00.034675087 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<typefind> current NULL pending
> VOID_PENDING, desired next READY
> 0:00:00.034689973 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2688:gst_element_continue_state:<typefind> completed state
> change to READY
> 0:00:00.034704615 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<typefind> notifying
> about state-changed NULL to READY (VOID_PENDING pending)
> 0:00:00.034723403 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2952:gst_bin_change_state_func:<parsebin0> child 'typefind'
> changed state to 2(READY) successfully
> 0:00:00.034739670 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2688:gst_element_continue_state:<parsebin0> completed state
> change to READY
> 0:00:00.034753391 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<parsebin0> notifying
> about state-changed NULL to READY (VOID_PENDING pending)
> 0:00:00.034772341 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'parsebin0'
> changed state to 2(READY) successfully
> 0:00:00.034787496 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<filesrc0> current NULL pending
> VOID_PENDING, desired next READY
> 0:00:00.034801505 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2688:gst_element_continue_state:<filesrc0> completed state
> change to READY
> 0:00:00.034815125 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<filesrc0> notifying
> about state-changed NULL to READY (VOID_PENDING pending)
> 0:00:00.034832365 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'filesrc0'
> changed state to 2(READY) successfully
> 0:00:00.034849164 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2660:gst_element_continue_state:<pipeline0> committing state
> from NULL to READY, pending PAUSED, next PAUSED
> 0:00:00.034862791 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2588:_priv_gst_element_state_changed:<pipeline0> notifying
> about state-changed NULL to READY (PAUSED pending)
> 0:00:00.034893121 1788941 0x561fa31b6000 INFO GST_STATES
> gstelement.c:2668:gst_element_continue_state:<pipeline0> continue state
> change READY to PAUSED, final PAUSED
> 0:00:00.034914783 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<fakesink0> current READY pending
> VOID_PENDING, desired next PAUSED
> 0:00:00.034937842 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2959:gst_bin_change_state_func:<pipeline0> child 'fakesink0' is
> changing state asynchronously to PAUSED
> 0:00:00.034954257 1788941 0x561fa31b6000 INFO GST_STATES
> gstbin.c:2503:gst_bin_element_set_state:<vaapidecode_h264-0> current READY
> pending VOID_PENDING, desired next PAUSED
> 0:00:00.034979307 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstvaapivideocontext.c:150:context_pad_query:<vaapidecode_h264-0:src>
> context pad peer query failed
> 0:00:00.034992494 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.035005148 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstvaapivideocontext.c:150:context_pad_query:<vaapidecode_h264-0:sink>
> context pad peer query failed
> 0:00:00.035017599 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstvaapivideocontext.c:223:_gst_context_query:<vaapidecode_h264-0> posting
> `need-context' message
> 0:00:00.035052980 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:src> pad peer query failed
> 0:00:00.035066126 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.035078336 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:sink> pad peer query failed
> 0:00:00.035090591 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:176:_gst_context_query:<vaapidecode_h264-0> posting need
> context message
> 0:00:00.035109928 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:src> pad peer query failed
> 0:00:00.035124582 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.035136980 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:sink> pad peer query failed
> 0:00:00.035149280 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:176:_gst_context_query:<vaapidecode_h264-0> posting need
> context message
> 0:00:00.035165569 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:src> pad peer query failed
> 0:00:00.035178268 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.035190038 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:sink> pad peer query failed
> 0:00:00.035201291 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:176:_gst_context_query:<vaapidecode_h264-0> posting need
> context message
> 0:00:00.035221620 1788941 0x561fa31b6000 INFO gldisplay
> gstgldisplay.c:284:gst_gl_display_new: creating a display, user
> choice:(NULL) (platform: (NULL))
> 0:00:00.035537694 1788941 0x561fa31b6000 INFO gldisplay
> gstgldisplay_wayland.c:161:gst_gl_display_wayland_new: Failed to open
> Wayland display connection.
> 0:00:00.035678702 1788941 0x561fa31b6000 INFO gldisplay
> gstgldisplay_x11.c:98:gst_gl_display_x11_new: Failed to open X11 display
> connection with name, '(null)'
> 0:00:00.052591679 1788941 0x561fa31b6000 ERROR gldisplay
> gstgldisplay_gbm.c:219:gst_gl_display_gbm_setup_drm: No connected DRM
> connector found
> 0:00:00.052608850 1788941 0x561fa31b6000 WARN gldisplay
> gstgldisplay_gbm.c:453:gst_gl_display_gbm_new: Failed to initialize DRM
> 0:00:00.072109821 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:240:gst_gl_element_propagate_display_context:<vaapidecode_h264-0>
> posting have context (0x561fa34302a0) message with display (0x561fa34204c0)
> 0:00:00.072145175 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:src> pad peer query failed
> 0:00:00.072155317 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.072163770 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:sink> pad peer query failed
> 0:00:00.072170392 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:176:_gst_context_query:<vaapidecode_h264-0> posting need
> context message
> 0:00:00.072181645 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:src> pad peer query failed
> 0:00:00.072189470 1788941 0x561fa31b6000 INFO GST_PADS
> gstpad.c:4237:gst_pad_peer_query:<vaapidecode_h264-0:sink> pad has no peer
> 0:00:00.072196293 1788941 0x561fa31b6000 INFO GST_CONTEXT
> gstglutils.c:115:pad_query:<vaapidecode_h264-0:sink> pad peer query failed
> 0:00:00.072203630 1788941 0x561fa31b6000 INFO vaapidecode
> gstvaapipluginbase.c:1226:gst_vaapi_plugin_base_create_gl_context:<vaapidecode_h264-0>
> creating a new GstGL context
> 0:00:00.072226509 1788941 0x561fa31b6000 INFO glcontext
> gstglcontext.c:332:gst_gl_context_new: creating a context for display
> <gldisplaygbm0>, user choice:(null)
> 0:00:00.072276991 1788941 0x561fa31b6000 INFO glwindow
> gstglwindow.c:247:gst_gl_window_new: creating a window, user choice:(null)
> 0:00:00.072286729 1788941 0x561fa31b6000 INFO glwindow
> gstglwindow_x11.c:136:gst_gl_window_x11_new: Wrong display type 128 for
> this window type 1
> 0:00:00.072417400 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1233:gst_gl_context_create_thread:<glcontextegl0> Attempting
> to create opengl context. user chosen api(s) (any), compiled api support
> (opengl opengl3 gles2) display api (any)
> 0:00:00.077326847 1788941 0x561fa3430360 INFO glcontext
> gstglcontext_egl.c:592:gst_gl_context_egl_create_context: egl initialized,
> version: 1.5
> 0:00:00.079534945 1788941 0x561fa3430360 INFO glcontext
> gstglcontext_egl.c:638:gst_gl_context_egl_create_context: Bound OpenGL
> 0:00:00.079597016 1788941 0x561fa3430360 INFO glcontext
> gstglcontext_egl.c:455:gst_gl_context_egl_choose_config: config set:
> 140102974082816, 1
> 0:00:00.081097016 1788941 0x561fa3430360 INFO glcontext
> gstglcontext_egl.c:746:gst_gl_context_egl_create_context: gl context
> created: 140102974051200
> 0:00:00.081143028 1788941 0x561fa3430360 INFO glcontext
> gstglcontext_egl.c:828:gst_gl_context_egl_create_context: surface created
> 0:00:00.081157392 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1247:gst_gl_context_create_thread:<glcontextegl0> created
> context
> 0:00:00.083348404 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1263:gst_gl_context_create_thread:<glcontextegl0> available
> GL APIs: opengl3
> 0:00:00.083460997 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1075:_create_context_info:<glcontextegl0> GL_VERSION: 4.6
> (Core Profile) Mesa 21.2.6
> 0:00:00.083489838 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1077:_create_context_info:<glcontextegl0>
> GL_SHADING_LANGUAGE_VERSION: 4.60
> 0:00:00.083501484 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1080:_create_context_info:<glcontextegl0> GL_VENDOR: Intel
> 0:00:00.083513995 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1082:_create_context_info:<glcontextegl0> GL_RENDERER: Mesa
> Intel(R) HD Graphics 620 (KBL GT2)
> 0:00:00.084036000 1788941 0x561fa3430360 INFO glcontext
> gstgldebug.c:346:_gst_gl_debug_enable:<glcontextegl0> Enabling GL context
> debugging
> 0:00:00.084067148 1788941 0x561fa3430360 INFO glcontext
> gstglcontext.c:1136:_unlock_create_thread:<glcontextegl0> gl thread running
> 0:00:00.084097128 1788941 0x561fa31b6000 INFO glcontext
> gstglcontext.c:1042:gst_gl_context_create:<glcontextegl0> gl thread created
> 0:00:00.084125817 1788941 0x561fa31b6000 INFO vaapidecode
> gstvaapipluginbase.c:1196:gst_vaapi_plugin_base_set_gl_context:<vaapidecode_h264-0>
> GL context: <glcontextegl0>
> 0:00:00.084133969 1788941 0x561fa31b6000 INFO default
> gstvaapipluginutil.c:359:gst_vaapi_find_gl_context:<vaapidecode_h264-0> No
> valid GL display found
> Caught SIGSEGV
> #0 0x00007f6c60381c7f in __GI___wait4
> #1 0x00007f6c604d7893 in g_on_error_stack_trace ()
> #2 0x0000561fa1a959c0 in ()
> #3 0x00007f6c604a5420 in <signal handler called> ()
> #4 0x0000561fa34caff0 in ()
> #5 0x00007f6c5f2eebec in XQueryExtension ()
> #6 0x00007f6c5f2e2227 in XInitExtension ()
> #7 0x00007f6c5f14e3f1 in XextAddDisplay ()
> #8 0x00007f6c5f6039c6 in () at /usr/lib/x86_64-linux-gnu/libXrandr.so.2
> #9 0x00007f6c5f604065 in XRRQueryExtension ()
> #10 0x00007f6c5f73ebe3 in ()
> #11 0x00007f6c5f73ece7 in ()
> #12 0x00007f6c5f6e9fc4 in ()
> #13 0x00007f6c5f6bf9c6 in ()
> #14 0x00007f6c5f6bd5b4 in ()
> #15 0x00007f6c5f6ba663 in ()
> #16 0x00007f6c5f8c04ff in () at
> /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
> #17 0x00007f6c6069f9d2 in gst_element_change_state ()
> #18 0x00007f6c606a0119 in ()
> #19 0x00007f6c6067c1b8 in ()
> #20 0x00007f6c6069f9d2 in gst_element_change_state ()
> #21 0x00007f6c6069fa1b in gst_element_change_state ()
> #22 0x00007f6c606a0119 in ()
> #23 0x0000561fa1a9356e in ()
> #24 0x00007f6c602c3083 in __libc_start_main (main=
> #25 0x0000561fa1a93c0e in ()
More information about the gstreamer-devel
mailing list