Qt 5.6 + EGLFS + SGX



  • Hi,

    i have some problems with the BeagleBoneBlack+SGX and Qt5.
    My goal ist a runnig QtQuickControlls2 application on the BeagleBoneBlack.

    My State:

    • Kernel: 4.1 LTS
      https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Mainline

    • RooFS: Debian 8.2 Minimal
      https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Debian8

    • OpenGL: EGLFS
      https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SGX

    • Qt: 5.6.0-beta
      https://download.qt.io/development_releases/qt/5.6/5.6.0-beta/single/qt-everywhere-opensource-src-5.6.0-beta.tar.gz

    • Qt-config-parameter
      ./configure
      -prefix ${PREFIX}
      -extprefix ${PREFIX}
      -sysroot ${ROOTFS_DIR}
      -device linux-beaglebone-g++
      -xplatform linux-linaro-gnueabihf-g++
      -device-option CROSS_COMPILE=${CC_PRE}
      -release
      -opensource
      -confirm-license
      -v -silent
      -opengl es2
      -make libs
      -nomake examples -nomake tests

    • Build options:
      Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 clock-gettime clock-monotonic compile_examples concurrent cross_compile cups dbus dbus-linked egl eglfs eglfs_gbm egl_x11 enable_new_dtags evdev eventfd fontconfig full-config gbm getaddrinfo getifaddrs glib gtk2 gtkstyle harfbuzz iconv inotify ipv6ifname kms large-config largefile libudev linuxfb medium-config minimal-config mremap mtdev nis opengl opengles2 openssl openvg pcre png posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports release rpath shared silent small-config system-freetype system-jpeg system-png system-zlib threadsafe-cloexec use_gold_linker xcb xcb-glx xcb-plugin xcb-render xcb-sm xcb-xlib xinput2 xkbcommon-evdev xlib xrender
      Build parts ............ libs
      Mode ................... release
      Using sanitizer(s)...... none
      Using C++ standard ..... c++11
      Using gold linker....... yes
      Using new DTAGS ........ yes
      Using PCH .............. yes
      Using LTCG ............. no
      Target compiler supports:
      Neon ................. no

      Qt modules and options:
      Qt D-Bus ............... yes (linked to dbus-1)
      Qt Concurrent .......... yes
      Qt GUI ................. yes
      Qt Widgets ............. yes
      Large File ............. yes
      QML debugging .......... yes
      Use system proxies ..... no

      Support enabled for:
      Accessibility .......... yes
      ALSA ................... yes
      CUPS ................... yes
      Evdev .................. yes
      FontConfig ............. yes
      FreeType ............... yes (system library)
      Glib ................... yes
      GStreamer .............. no
      GTK theme .............. yes
      HarfBuzz ............... yes (bundled copy)
      Iconv .................. yes
      ICU .................... no
      Image formats:
      GIF .................. yes (plugin, using bundled copy)
      JPEG ................. yes (plugin, using system library)
      PNG .................. yes (in QtGui, using system library)
      libinput................ no
      Logging backends:
      journald ............... no
      syslog ............... no
      mtdev .................. yes (system library)
      Networking:
      getaddrinfo .......... yes
      getifaddrs ........... yes
      IPv6 ifname .......... yes
      libproxy.............. no
      OpenSSL .............. yes (loading libraries at run-time)
      NIS .................... yes
      OpenGL / OpenVG:
      EGL .................. yes
      OpenGL ............... yes (OpenGL ES 2.0+)
      OpenVG ............... yes-auto
      PCRE ................... yes (bundled copy)
      pkg-config ............. yes
      PulseAudio ............. yes
      QPA backends:
      DirectFB ............. no
      EGLFS ................ yes
      EGLFS i.MX6 ........ no
      EGLFS i.MX6 Wayland. no
      EGLFS EGLDevice .... no
      EGLFS GBM .......... yes
      EGLFS Mali ......... no
      EGLFS Raspberry Pi . no
      EGLFS X11 .......... yes
      LinuxFB .............. yes
      Mir client............ no
      XCB .................. yes (system library)
      EGL on X ........... yes
      GLX ................ yes
      MIT-SHM ............ yes
      Xcb-Xlib ........... yes
      Xcursor ............ yes (loaded at runtime)
      Xfixes ............. yes (loaded at runtime)
      Xi ................. no
      Xi2 ................ yes
      Xinerama ........... yes (loaded at runtime)
      Xrandr ............. yes (loaded at runtime)
      Xrender ............ yes
      XKB ................ yes
      XShape ............. yes
      XSync .............. yes
      XVideo ............. yes
      Session management ..... yes
      SQL drivers:
      DB2 .................. no
      InterBase ............ no
      MySQL ................ no
      OCI .................. no
      ODBC ................. yes (plugin)
      PostgreSQL ........... no
      SQLite 2 ............. no
      SQLite ............... yes (plugin, using bundled copy)
      TDS .................. yes (plugin)
      tslib .................. no
      udev ................... yes
      xkbcommon-x11........... yes (system library)
      xkbcommon-evdev......... yes
      zlib ................... yes (system library)

    • Problem/Error:
      debian@arm:/opt/untitled2/bin$ ./untitled2 -platform eglfs
      QML debugging is enabled. Only use this in a safe environment.
      gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
      gbm: Last dlopen error: /usr/lib/dri/tilcdc_dri.so: cannot open shared object file: No such file or directory
      failed to load driver: tilcdc
      gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
      gbm: Last dlopen error: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
      failed to load driver: kms_swrast
      gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
      gbm: Last dlopen error: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
      failed to load swrast driver
      Could not create GBM device (No such file or directory)
      Could not open device /dev/dri/card0 - aborting!
      Aborted

    I hope someone can help me.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.