After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732990 - simple pipeline with gst-vaapi and vdpau backend hangs
simple pipeline with gst-vaapi and vdpau backend hangs
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-10 12:37 UTC by Cyril Baletaud
Modified: 2016-07-27 14:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cyril Baletaud 2014-07-10 12:37:15 UTC
I ran the following pipeline :

gst-launch-1.0 -v filesrc location=/home/cyril/h264_720p_hp_5.1_6mbps_ac3_planet.mp4 ! qtdemux ! vaapidecode ! vaapisink 
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
/GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)5.1, profile=(string)high, codec_data=(buffer)01640033ffe1001867640033ac34e2805005ba10001974f004c4b408f18318a801008468eebce5531cc305d2628d13080214868783a1c0d04e12142c0ac0da02fe10042ad35e9e850b748c778a1410088b172105449ca3050e204448b20a4d8a081827090809848541dc4290a43164215a201900cae8340f81e86f03300b6017002ac05981d61a07802a8400a902087404700bc010506e036404b811805902e07203e0087ff85b, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24000/1001
/GstPipeline:pipeline0/GstVaapiSink:vaapisink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt709, framerate=(fraction)24000/1001
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:01:52.879826948
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
Caught SIGSEGV
  • #0 __lll_lock_wait
    from /lib64/libpthread.so.0
  • #1 _L_lock_571
    from /lib64/libpthread.so.0
  • #2 pthread_mutex_lock
    from /lib64/libpthread.so.0
  • #3 ??
    from /usr/lib64/libGL.so.1
  • #4 ??
    from /usr/lib64/libGL.so.1
  • #5 ??
    from /usr/lib64/libGL.so.1
  • #6 ??
    from /usr/lib64/libGL.so.1
  • #7 _dl_fini
    from /lib64/ld-linux-x86-64.so.2
  • #8 __run_exit_handlers
    from /lib64/libc.so.6
  • #9 exit
    from /lib64/libc.so.6
  • #10 __libc_start_main
    from /lib64/libc.so.6
  • #11 _start


Same pipeline on PC with Intel vaapi driver works well

vainfo 
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG4Simple            : VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

gst-inspect-1.0 --version
gst-inspect-1.0 version 1.2.4
GStreamer 1.2.4
http://packages.gentoo.org/package/media-libs/gstreamer
Comment 1 sreerenj 2016-03-24 16:53:49 UTC
Moving to Product:GStreamer, Component:gstreamer-vaapi
Comment 2 Víctor Manuel Jáquez Leal 2016-07-27 14:32:38 UTC
Other VA backends, besides intel or gallium, are blacklisted (bug 764673) because they are currently unmaintained, I'm closing this bug as invalid since it refers to libva-vdpau-driver which is unmaintained, thus unsupported.

You can try with gallium backend, available in recent versions of mesa.