QT 5.9 IMX 6 dual plus yocto/openembedded build questions

Dexter Travis dexter.travis at precisionplanting.com
Wed Sep 27 22:17:09 UTC 2017


I have a working custom board that has been running kernel 4.1 and the
proprietary vivante drivers.  We would like to migrate to kernel 4.9 or
later and are therefore moving to etnaviv drivers.

This is a no X11 and no wayland on this embedded display.

When I try to run the app I get the following output with the "./app
-platform eglfs"

root at ppdisplayimx:~# ./app -platform eglfs
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open
failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open
failed
[default] QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/runtime-root'
[qt.qpa.egldeviceintegration] Failed to load EGL device integration
"eglfs_viv"
[default] EGL library doesn't support Emulator extensions
Aborted (core dumped)
root at ppdisplayimx:~#

Please help me understand what I am missing in order to get the app to run
with etna drivers on this system?  Thank you.


I believe I have the kernel configured correctly I get psplash to display
my splash screen. dmesg provides the following

root at ppdisplayimx:~# dmesg | grep -i etna
[    1.624695] etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops)
[    1.630872] etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops)
[    1.637072] etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops)
[    1.643302] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303
[    1.769759] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450
[    1.897845] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216
[    1.903991] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
root at ppdisplayimx:~#


Below is what I think is the relevant configure output from my OpenEmbedded
build.
Configure summary:

Building on: linux-oe-g++ (arm, CPU features: neon)
Building for: linux-oe-g++ (arm, CPU features: neon)
Configuration: cross_compile use_gold_linker compile_examples
enable_new_dtags largefile neon silent shared release c++11 c++14 c++1z
concurrent dbus mremap no-qml-debug reduce_exports stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C++ standard ..................... C++1z
  Using gold linker ...................... yes
  Using new DTAGS ........................ yes
  Using precompiled headers .............. no
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ libs tools
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... yes
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  QML debugging .......................... no
  udev ................................... yes
  Using system zlib ...................... yes
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... no
  iconv .................................. yes
  ICU .................................... no
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  Using system PCRE2 ..................... no
Qt Network:
  getaddrinfo() .......................... yes
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  SCTP ................................... no
  Use system proxies ..................... yes
Qt Sql:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. no
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... no
    Using system HarfBuzz ................ no
  Fontconfig ............................. no
  Image formats:
    GIF .................................. no
    ICO .................................. no
    JPEG ................................. yes
      Using system libjpeg ............... yes
    PNG .................................. yes
      Using system libpng ................ yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
  Session Management ..................... no
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon-evdev ........................ no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... no
  LinuxFB ................................ no
  VNC .................................... yes
  Mir client ............................. no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no

Note: -hostbindir is not a subdirectory of -hostprefix.
Note: -hostlibdir is not a subdirectory of -hostprefix.
Note: -hostdatadir is not a subdirectory of -hostprefix.

WARNING: Feature xinput2 is insignificant in this configuration, ignoring
related command line option(s).

WARNING: Feature xkb is insignificant in this configuration, ignoring
related command line option(s).

WARNING: Feature xkbcommon-system is insignificant in this configuration,
ignoring related command line option(s).

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into
'/home/build/ppdev/bakery/gen3/oe-imx-summer/build/tmp-glibc/work/armv7ahf-neon-imx-oe-linux-gnueabi/qtbase/5.9.0+gitAUTOINC+f6b36eaafe-r0/recipe-sysroot/usr'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

DEBUG: Shell function do_configure finished
DEBUG: Executing python function do_qa_configure
DEBUG: Python function do_qa_configure finished
DEBUG: Executing shell function qmake5_base_postconfigure
DEBUG: Shell function qmake5_base_postconfigure finished


Dexter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20170927/588dffb6/attachment.html>


More information about the etnaviv mailing list