[Bug 761940] v4l2: deadlock when using dmabuf-import (zero-copy) between two V4L2 devices

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 12 17:04:16 UTC 2016


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

--- Comment #7 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
(In reply to Carlos Alberto Lopez Perez from comment #3)
> I have been debugging this, and I have observed that if I raise
> GST_V4L2_MIN_BUFFERS from 2 to 8 I get video playback working for ~1 second
> and then it deadlocks again.
> 
> After more debugging, I think that the deadlocks happens when the bufferpool
> is full.

We call this a stall, not a dealock btw. It happens if you exhaust a buffer
pool capabilities. This would indicate the the encoder is not requesting enough
buffer from upstream (see propose_allocation) or is not releasing those buffers
properly.

-- 
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