[Bug 785085] multiple vaapi encoding pipelines on radeonsi segfault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 20 13:17:15 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=785085

--- Comment #7 from Julien Isorce <julien.isorce at gmail.com> ---
Also can you try adding ",format=RGBA ! vaapipostproc" like this:

videotestsrc is-live=true !
video/x-raw,width=1280,height=1024,framerate=20/1,format=RGBA ! vaapipostproc !
vaapih264enc ! testsink
Also try RGBx, BGRx and BGRA.

Also can you try to comment the block (while keeping the original pipeline, so
without adding the format/vaapipostproc):

  /* enable direct upload if upstream requests raw video */
  if (gst_caps_is_video_raw (caps)) {
    usage_flag = GST_VAAPI_IMAGE_USAGE_FLAG_DIRECT_UPLOAD;
    GST_INFO_OBJECT (plugin, "enabling direct upload in sink allocator");
  }

here
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/tree/gst/vaapi/gstvaapipluginbase.c#n519

Also can you check if coded_buf is null here too
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/picture.c#n424
. Btw, have you checked coded_buf and surf nullity as per comment #4 ?

And can you compile mesa with --enabl-debug flag.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list