anyone knows which kernel version supports dma_buf for v4l2src?

Zhao, Halley halley.zhao at intel.com
Thu Dec 5 01:36:45 PST 2013


Thanks Dröge.
I use Ubuntu13.10 kernel (3.11) with USB camera.

Refer to https://bugzilla.gnome.org/show_bug.cgi?id=699337 
1. I think my kernel and uvc driver supports dma_buffer.
	It also works when I queue (VIDIOC_QBUF) an external dma_buf fd (from drm). It is an alternative way for USER_PTR, right?
2. does it mean UVC driver support importing external dma buf only, while not able to export dma_buf? or said not support the way like MMAP.


-----Original Message-----
From: gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-devel-bounces at lists.freedesktop.org] On Behalf Of Sebastian Dr?ge
Sent: Wednesday, December 04, 2013 6:43 PM
To: Discussion of the development of and with GStreamer
Subject: Re: anyone knows which kernel version supports dma_buf for v4l2src?

On Mi, 2013-12-04 at 09:21 +0000, Zhao, Halley wrote:
> 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?

Most important the v4l2 driver must support dmabuf, and currently only very few do. If you don't know about it, chances are good that your driver does not support dmabuf yet.

--
Sebastian Dröge <sebastian at centricular.com> Centricular Ltd - http://www.centricular.com Expertise, Straight from the Source


More information about the gstreamer-devel mailing list