Query regarding Qt DRM Mastership while using EGLFS platform plugin
-
Hello,
We are currently developing a Qt application for Intel Atom Embedded board. Intel Atom is used for decoding multiple video streams and rendering on the HDMI display using Intel Media SDK (by Intel for Atom series).For the purpose of rendering decoded stream on the display Intel Media SDK uses DRM subsystem which requires DRM mastership for mode setting and rendering.
Now, when we are running our Qt application using EGLFS platform plugin on the board which used DRM backend, it acquires DRM mastership.
Due to this the (process or thread) which is doing the task of decoding and rendering video on the display won't get the DRM mastership and failed to render videos.
We want to use Qt application as an overlay to the decode stream for drawing windows and other menu stuffs.
We have also tried running Qt application using linuxfb platform plugin but in that case linuxfb draws output below the rendered video. While we require the Qt application to use the top layer.
Question: Is there any way to share/control DRM mastership of Qt application with other such application who wants to simultaneously render some stuff along with Qt GUI?
-
Hi and welcome to devnet,
That's an interesting use case. I can't answer to your question sorry.
It looks like you would need something like texture sharing.
You might want to bring this question to the
interest mailing list. You'll find there Qt's developers/maintainers.