anyone knows which kernel version supports dma_buf for v4l2src?
Zhao, Halley
halley.zhao at intel.com
Wed Dec 4 01:21:08 PST 2013
Hi Experts:
v4l2src in (gst 1.2) supports dma_buf.
However, when I tried it on Ubuntu 13.10, it reports ": Failed EXPBUF: Inappropriate ioctl for device".
Anyone knows which version of kernel support this feature?
Thanks.
Linux halley-has 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
halley at halley-has:~/b-ocl/beignet/build$ gst-launch-1.0 v4l2src io-mode=4 ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.040275368 21534 0xfa9230 WARN v4l2 gstv4l2bufferpool.c:331:gst_v4l2_buffer_pool_alloc_buffer: Failed EXPBUF: Inappropriate ioctl for device
0:00:00.040315993 21534 0xfa9230 WARN bufferpool gstbufferpool.c:297:do_alloc_buffer:<v4l2bufferpool0> alloc function failed
0:00:00.040325688 21534 0xfa9230 WARN bufferpool gstbufferpool.c:331:default_start:<v4l2bufferpool0> failed to allocate buffer
0:00:00.040334329 21534 0xfa9230 ERROR v4l2 gstv4l2bufferpool.c:551:gst_v4l2_buffer_pool_start:<v4l2bufferpool0> failed to start streaming
0:00:00.040342986 21534 0xfa9230 ERROR bufferpool gstbufferpool.c:491:gst_buffer_pool_set_active:<v4l2bufferpool0> start failed
0:00:00.040351130 21534 0xfa9230 ERROR basesrc gstbasesrc.c:2922:gst_base_src_set_allocation:<v4l2src0> failed to activate bufferpool.
0:00:00.040369099 21534 0xfa9230 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<v4l2src0> error: Internal data flow error.
0:00:00.040380282 21534 0xfa9230 WARN basesrc gstbasesrc.c:2865:gst_base_src_loop:<v4l2src0> error: streaming task paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.027960315
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131204/9b09fbab/attachment.html>
More information about the gstreamer-devel
mailing list