Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to enable EGLFS KMS

How to enable EGLFS KMS

Scheduled Pinned Locked Moved Solved Mobile and Embedded
8 Posts 5 Posters 7.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric Ruei
    wrote on last edited by
    #1

    I was trying to use EGLFS KMS through command-line configuration -platform eglfs and setting QT_QPA_EGLFS_INTEGRATION=eglfs_kms. Unfortunately, it did not work. Then I found out that the EGLFS KMS is not enabled at my configuration:

    QPA backends:
    DirectFB ............. no
    EGLFS ................ yes
    EGLFS i.MX6....... . no
    EGLFS KMS .......... no
    EGLFS Mali ......... no
    EGLFS Raspberry Pi . no
    EGLFS X11 .......... no
    LinuxFB .............. yes
    XCB .................. no
    ...

    It is not cleared how to enable EGLFS KMS. Any help will be highly appreciated.

    Best regards,

    Eric

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      to enable kms from configure you can call configure -kms, you also need to have libdrm-dev installed.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      R A 2 Replies Last reply
      1
      • E Offline
        E Offline
        Eric Ruei
        wrote on last edited by
        #3

        Thank you very much!
        Yes, I was able to rebuild QT5 and enable EGLFS-KMS now.

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          to enable kms from configure you can call configure -kms, you also need to have libdrm-dev installed.

          R Offline
          R Offline
          Ronak5
          wrote on last edited by Ronak5
          #4

          @SGaist said in How to enable EGLFS KMS:

          Hi and welcome to devnet,
          to enable kms from configure you can call configure -kms, you also need to have libdrm-dev installed.

          Hi I need to do this too. But i didn't get where to call this command. Could you help? Thanks.

          Also, I don't see eglfs_kms option in configure summary. So I don't know what's missing here.

          QPA backends:
          DirectFB ............. no
          EGLFS ................ yes
          EGLFS i.MX6....... . no
          EGLFS GBM .......... no
          EGLFS Mali ......... no
          EGLFS Raspberry Pi . no
          EGLFS X11 .......... no
          LinuxFB .............. no
          XCB .................. no

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            It's an option of the configure script.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • SGaistS SGaist

              Hi and welcome to devnet,

              to enable kms from configure you can call configure -kms, you also need to have libdrm-dev installed.

              A Offline
              A Offline
              Asha
              wrote on last edited by
              #6

              @SGaist

              Hi,

              I want enable this EGLFS.........no to EGLFS ........yes(in my case it is no,)so how enable this one?
              QPA backends:
              DirectFB ............. no
              EGLFS ................ yes( in my case, this one is no ,after configuration ,so i want to enable this one ,how to enable )
              EGLFS i.MX6....... . no
              EGLFS KMS .......... no
              EGLFS Mali ......... no
              EGLFS Raspberry Pi . no
              EGLFS X11 .......... no
              LinuxFB .............. yes
              XCB .................. no
              ...

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi,

                Check the configuration logs and see why the test failed. Usually it's a library missing so a development package to install.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                O 1 Reply Last reply
                1
                • SGaistS SGaist

                  Hi,

                  Check the configuration logs and see why the test failed. Usually it's a library missing so a development package to install.

                  O Offline
                  O Offline
                  onek24
                  wrote on last edited by onek24
                  #8

                  @SGaist

                  Hello,
                  configurating with -kms fails.
                  When installing libdrm-dev, it adds header files into this path:

                  sysroot/usr/include/libdrm/

                  while the file xf86drmMode.h is trying to include <drm.h>, but is in this path

                  sysroot/usr/include/

                  Do i have to manually add sysroot/usr/include/libdrm/ as an include path before configurating Qt, so that xf86drmMode.h can find the <drm.h> which is in the subdirectory libdrm?

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved