Description
Hello,
I am currently running Qt on wayland on jetson xavier nx platform which has tegra_udrm without any issue by exporting QT_QPA_PLATFORM=wayland. So I created a simple example application on qt and while running the qt application on board, I am trying to reach qt application’s framebuffer in order to export it by using dma_buf from drmPrimeHandleToFD function to another process.
So In order to reach qt application’s framebuffer, I implemented another application to get resources such as crtc,encoder and tried to get plane resources in order to reach frame buffer of planes by using libDRM functions and was expecting to reach it but can not reach qt application’s framebuffer.
So Do you have any idea how to proceed with that? If it is not possible to get qt wayland framebuffer by using libdrm functions, is there some api on qt framework to manage the goal ?
Regards