Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-979

How to copy a qt application framebuffer from one process to another

    XMLWordPrintable

Details

    • Task
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • None
    • Demo, Examples, Other
    • None

    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

      TestRail: Results

        Attachments

          Activity

            People

              teemu.holappa Teemu Holappa
              ekrems Ekrem Şahin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases