[Bug 782774] kmssink: drop last rendered buffer on ALLOCATION and DRAIN queries
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Jul 6 21:31:41 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=782774
--- Comment #20 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
New patchset, I update the commit on the "kmssink: Factor out copying to dump
buffer". I also had to add a bug fix, as the GEM handle were leaked. These GEM
are holding ref to the DMABuf object (kernel side). For the main patch, I now
properly use show_frame() to update the image, I just realized that there was
some state that would not get updated otherwise.
Yet, with v4l2src ! kmssink with Intel DRM it still does not work (get ebusy
from the v4l2 driver). This is caused by the DRM driver holding a ref for an
arbitrary amount of time after all userspace reference being dropped and
despite a non-dmabuf backed FB being set for scanout. I could of course work
around with sleeps, but we'll need to figure-out something better. I have been
told that Atomic DRM API would make this easier, I haven't read that yet.
--
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