DMAbuf flickering from three different sources

Matteo Valdina matteo.valdina at gmail.com
Wed Oct 3 16:19:28 UTC 2018


Hi Y'all,

I'm working in a Weston-based compositor (4.0 and later on the 5.0) and I
faced an issue.

I have two different sources (1 QT application and 2 GStreamer waylandsink)
that provide content a live stream using the linux-dmabuf-unstable-v1.
The issue is that the frames of this three sources are displayed in
randomly on all these sources.

I mean that source 1 display some frame for source 1 and some frame from
source 2 or 3. And this is affecting multiple processes (the QT application
is a different process).

It looks like the same DMAbuf pool is shared across all applications.

This is a Kernel 4.12, Weston 5.0, Qt5, GStreamer 1.14 Mesa 18.1.7 and on
an Intel HD graphics 610.

Any suggestions to tackle this?

Best
Matteo Valdina

-- 
“There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way is
to make it so complicated that there are no obvious deficiencies. The first
method is far more difficult.”
- Tony Hoare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20181003/beffd243/attachment.html>


More information about the wayland-devel mailing list