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. eglfs + framebuffer - display issue

eglfs + framebuffer - display issue

Scheduled Pinned Locked Moved Solved Mobile and Embedded
28 Posts 3 Posters 10.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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #12

    Looks like the configure output is not complete, I don't see any failure there.

    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
    • python74P Offline
      python74P Offline
      python74
      wrote on last edited by
      #13

      What You mean by incomplete?

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

        In verbose mode, the configure script prints way more lines than what you have here.

        Did you re-run configure from a clean state ?

        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
        • python74P Offline
          python74P Offline
          python74
          wrote on last edited by
          #15

          before config i did make clean all

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

            You just cleaned the build artefacts not the configuration stuff. You should do out of source builds, that way you can just nuke the build folder if something fails and the source will stay clean.

            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
            • python74P Offline
              python74P Offline
              python74
              wrote on last edited by
              #17

              Thanks. How to do build to another dir?

              jsulmJ 1 Reply Last reply
              0
              • python74P python74

                Thanks. How to do build to another dir?

                jsulmJ Online
                jsulmJ Online
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #18

                @python74

                mkdir build
                cd build
                PATH_TO_QT_SOURCE/configure ...
                make
                

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • python74P Offline
                  python74P Offline
                  python74
                  wrote on last edited by
                  #19

                  Thanks for help. But i have another problem. I removed old src directory an was trying to compile qt again. And then problem starts - running configure script and instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake wchich btw i removed wit previous QT. Qt5 was installed with qt creator. How to avoid that?

                  jsulmJ 1 Reply Last reply
                  0
                  • python74P python74

                    Thanks for help. But i have another problem. I removed old src directory an was trying to compile qt again. And then problem starts - running configure script and instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake wchich btw i removed wit previous QT. Qt5 was installed with qt creator. How to avoid that?

                    jsulmJ Online
                    jsulmJ Online
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #20

                    @python74 said in eglfs + framebuffer - display issue:

                    instead make shell trying to use /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

                    Sorry, I don't understand that: if you try to call make qmake is called or what? Can you please explain better (show the steps you did)?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • python74P Offline
                      python74P Offline
                      python74
                      wrote on last edited by
                      #21

                      Sorry, I'm not good with english.
                      Right now i'm in work so i can't post output from console.
                      Previously I compiled qt with bad options (running configure command without some parameters), but also installed qt creator from repository (apt-get). Later I removed whole directory with qt source, and made new with clean sources. Inside new sources directory I have launched configure script in terminal. Process starts with qmake build, but stops with error: load(qt_config) not recognized (or similar - i'll post output after work). So in console i typed "make clean all" and then instead make shell calls /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. Then I removed all qt from system with qt5 directory via apt-get an nothing changes - cant run configure script because of calling non existing /usr/lib/x86_64-linux-gnu/qt5/bin/qmake. I've exported MAKE=/usr/bin/make - still error: load(qt_config)

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

                        You should start by cleaning things.

                        Delete your current Qt sources and then uncompress the archive again so you are really in a clean state to build.

                        Then, as suggested make an out of source build like @jsulm showed.

                        When you want to use qmake, use the full path to the executable. The one found by your console is the system installed qmake and it's currently not the one you want to use.

                        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
                        • python74P Offline
                          python74P Offline
                          python74
                          wrote on last edited by
                          #23

                          my point is i removed qt5 (with qmake) installed in /usr/lib/x86_64-linux-gnu/qt5/bin/qmake, but still make command points to this particular qmake

                          jsulmJ 1 Reply Last reply
                          0
                          • python74P python74

                            my point is i removed qt5 (with qmake) installed in /usr/lib/x86_64-linux-gnu/qt5/bin/qmake, but still make command points to this particular qmake

                            jsulmJ Online
                            jsulmJ Online
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #24

                            @python74 Please do a clean rebuild first! Old Makefiles will still point to that old qmake as they do not know that you removed it.

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • python74P Offline
                              python74P Offline
                              python74
                              wrote on last edited by
                              #25

                              You mean remove makefiles from qt source directory? I deleted whole directory and unpacked sources fro zip again

                              1 Reply Last reply
                              0
                              • python74P Offline
                                python74P Offline
                                python74
                                wrote on last edited by
                                #26

                                thanks very much guys. I know im pain in the ass but explain me please one more thing: A20 have mali GPU. After config i have:
                                QPA backends:
                                DirectFB ............................... no
                                EGLFS .................................. yes
                                EGLFS details:
                                EGLFS i.Mx6 .......................... no
                                EGLFS i.Mx6 Wayland .................. no
                                EGLFS EGLDevice ...................... no
                                EGLFS GBM ............................ yes
                                EGLFS Mali ........................... no
                                EGLFS Raspberry Pi ................... no
                                EGL on X11 ........................... yes
                                LinuxFB ................................ yes
                                VNC .................................... yes
                                Mir client ............................. no

                                Why scripts dont recognize mali? It is a way to enable it? like ie CFG_EGLFS_MALI=yes

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

                                  You have to use your device sysroot. If you are using the one provided by Linaro, it won't contain the specifics for your target.

                                  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
                                  1
                                  • python74P Offline
                                    python74P Offline
                                    python74
                                    wrote on last edited by
                                    #28

                                    Hi
                                    After few nights of work finally done. I've cleared all files and run compile process on new sources so I have now Qt5.9.1. Very important: on sunxi linux with Allwinner A20 you need to change:

                                    qtbase/src/plugins/platforms/eglfs/api/qeglfsdeviceintegration.cpp

                                    EGLNativeWindowType QEglFSDeviceIntegration::createNativeWindow(QPlatformWindow *platformWindow,
                                    const QSize &size,
                                    const QSurfaceFormat &format)
                                    {
                                    Q_UNUSED(platformWindow);
                                    Q_UNUSED(size);
                                    Q_UNUSED(format);
                                    //return 0;
                                    static struct mali_native_window native_window = {
                                    .width = (short unsigned int)size.width(),
                                    .height = (short unsigned int)size.height(),
                                    };
                                    return &native_window;
                                    }

                                    or eglfs fails.
                                    Thank You guys veeery much for help and Your patience
                                    Regards
                                    Rafal

                                    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