Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48658

Run-time Platform changes from eglfs to linuxfb

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9
    • 5.5.0
    • QPA: LinuxFB
    • None
    • be17ca27f6df3ae55924595cbd387c99b49b398d

    Description

      To whom it may concern:

      It is rather a question than a bug report.
      Our QT5 was built with -gpa 'eglfs' option to use SGX acceleration on several TI omap platforms running Linux. To verify whether we can use the same QT5 build for software rendering, we changed the plugin platform to LinuxFB by setting the environment variable QT_QPA_PLATFORM=linuxfs. We were able to run several QT5 examples such as widgets/painting/affine/affine, , widgets/painting/deform/deform, and widgets/widgets/calculator/calculator. They run well except that none of them took the full screen:
      Both affine and deform took about 2/3 of the long and the page is squeezed. For the calculator, it took also 2/3 of screen, but the calculator only appeared at the left-top screen.

      We have added some debug trace which indicates that QT5 find the resolution information from dev/fb0 correctly.

      "fb res 800x480 virtual 800x480, line_len 3200, bpp 32"

      The resolution matches the output from a simple fb-test program.
      root@am437x-evm:~# /opt/fb-test
      fb-test 1.1.0 (rosetta)
      fb res 800x480 virtual 800x480, line_len 3200, bpp 32

      Is it OK to change the plugin platform dynamically?
      Is the behavior we observed expected?
      What else do we need to configure to have full screen FBdev display?
      Should we rebuild QT5 with -qpa 'linuxfb' for software rendering?

      Your kind assistance will be highly appreciated!

      Best regards,

      Eric Ruei

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-48658
          # Subject Branch Project Status CR V

          Activity

            People

              lagocs Laszlo Agocs
              ericruei Eric Ruei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes