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. Qt5.8 for arm:Could not open egl display
Forum Updated to NodeBB v4.3 + New Features

Qt5.8 for arm:Could not open egl display

Scheduled Pinned Locked Moved Solved Mobile and Embedded
17 Posts 3 Posters 14.9k 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.
  • H Offline
    H Offline
    hflw
    wrote on last edited by
    #8

    @aV_V I strace the Qt app with cmd "strace",get detail infomation:

    ...
    open("/dev/galcore",O_RDWR) ....... ENOTTY(Inappropriate ioctl for device)
    ...
    
    So I think the kernel config maybe not right.
    
    1 Reply Last reply
    0
    • A Offline
      A Offline
      Andrey Shmelew
      wrote on last edited by Andrey Shmelew
      #9

      please do:

      root@YOURBOARD: apt-get update
      root@YOURBOARD: apt-get upgrade
      root@YOURBOARD: apt-cache search qt5 (here is list of cached modules)
      root@YOURBOARD: apt-get install qt5-default
      .....
      root@YOURBOARD: apt-get install all_needed_modules

      should working

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hflw
        wrote on last edited by
        #10

        hi,@Andrey-Shmelew

        the apt-get don't have source list. do you know the source address?

        A 1 Reply Last reply
        0
        • H hflw

          hi,@Andrey-Shmelew

          the apt-get don't have source list. do you know the source address?

          A Offline
          A Offline
          Andrey Shmelew
          wrote on last edited by
          #11

          sorry , i don't know

          1 Reply Last reply
          0
          • H hflw

            @aV_V Studying code makes me headache.I almost lost my confidence.Do u have an OpenGL application?

            I find the key "qtbase" in the folder ipk:

            ./cortexa9hf-neon-mx6qdl/qtbase-plugins_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-tools_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-dbg_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-doc_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-mkspecs_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-dev_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-lic_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            ./cortexa9hf-neon-mx6qdl/qtbase-staticdev_5.8.0+git0+49dc9aa409-r0_cortexa9hf-neon-mx6qdl.ipk
            

            no "qtbase-examples",So i add "qtbase-examples" to IMAGE_INSTALL_append in local.conf,But when bitbake,the error:

            Couldn't find anything to satisfy 'qtbase-examples'
            

            May I know your Yocto Version?

            A Offline
            A Offline
            aV_V
            wrote on last edited by aV_V
            #12

            I'm sorry for the absence, was busy.

            @hflw said in Qt5.8 for arm:Could not open egl display:

            no "qtbase-examples",So i add "qtbase-examples" to IMAGE_INSTALL_append in local.conf,But when bitbake,the error:

            Couldn't find anything to satisfy 'qtbase-examples'
            

            Do

            PACKAGECONFIG_append_pn-qtbase = " examples"
            IMAGE_INSTALL_append = " qtbase-examples"
            

            To debug Qt backends is better to use this:

            export QT_QPA_DEBUG=1
            export QT_LOGGING_RULES="qt.qpa.*=true"
            

            Regards.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hflw
              wrote on last edited by
              #13

              @aV_V ,I add examples,but still don't work,below is debug info:

              root@b2qt-imx6dlsabresd:~# ./qqc2a 
              QML debugging is enabled. Only use this in a safe environment.
              qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_viv")
              qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_viv")
              qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_viv"
              qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_viv"
              QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
               If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
              Could not open egl display
              Aborted (core dumped)
              
              A 1 Reply Last reply
              0
              • H hflw

                @aV_V ,I add examples,but still don't work,below is debug info:

                root@b2qt-imx6dlsabresd:~# ./qqc2a 
                QML debugging is enabled. Only use this in a safe environment.
                qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_viv")
                qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_viv")
                qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_viv"
                qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_viv"
                QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
                 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
                Could not open egl display
                Aborted (core dumped)
                
                A Offline
                A Offline
                aV_V
                wrote on last edited by
                #14

                @hflw Can you confirm that qtbase-examples has been installed? Do opkg info qtbase-examples and show the output

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hflw
                  wrote on last edited by
                  #15

                  @aV_V I decide to update uboot and kernel kept the same version of Yocto.

                  after I compile yocto,i compare the rootfs file,Something more about qt-examples,I think rootfs is OK

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hflw
                    wrote on last edited by
                    #16

                    @aV_V Now it works after I updte the version to 4.1.29 of Linux and 2016-07 of uboot.

                    Nice weekend!!!

                    A 1 Reply Last reply
                    0
                    • H hflw

                      @aV_V Now it works after I updte the version to 4.1.29 of Linux and 2016-07 of uboot.

                      Nice weekend!!!

                      A Offline
                      A Offline
                      aV_V
                      wrote on last edited by
                      #17

                      @hflw :d nice

                      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