QT 5.9 IMX 6 dual plus yocto/openembedded build questions

Dexter Travis dexter.travis at precisionplanting.com
Tue Oct 3 18:57:12 UTC 2017


I have tried a few different configuration options with qt and still
getting errors.  I did add the qteverywhere demo to my build to make sure
my app was not an issue.

 root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# export
> QT_QPA_EGLFS_INTEGRATION=eglfs_kms
> root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# ./QtDemo -platform
> eglfs
> QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open
> failed
> QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open
> failed
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> qt.qpa.egldeviceintegration: Failed to load EGL device integration
> "eglfs_kms"
> EGL library doesn't support Emulator extensions
> Aborted (core dumped)
> root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0#


It seems that eglfs_kms plug is not found either.   my usr lib directory
contains the following files that seems like the right thing but perhaps
not?  many other libs also present.
./usr/lib/libQt5EglFsKmsSupport.so.5
./usr/lib/dri/kms_swrast_dri.so
./usr/lib/libQt5EglFsKmsSupport.so.5.9
./usr/lib/libQt5EglFsKmsSupport.so.5.9.2
./usr/lib/qt5/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so

./usr/lib/dri/etnaviv_dri.so
./usr/lib/libdrm_etnaviv.so.1
./usr/lib/libdrm_etnaviv.so.1.0.0

./usr/lib/dri/imx-drm_dri.so
./usr/lib/libdrm.so.2
./usr/lib/libdrm_etnaviv.so.1
./usr/lib/libdrm.so.2.4.0
./usr/lib/libdrm_etnaviv.so.1.0.0

dmesg | grep etna shows
[    1.534099] etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops)
[    1.540262] etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops)
[    1.546414] etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops)
[    1.552611] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303
[    1.616581] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450
[    1.676956] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216
[    1.683068] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0

If i set QT_QPA_EGLFS_INTEGRATION=eglfs_kms_egldevice i get a different
error.

root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# export
> QT_QPA_EGLFS_INTEGRATION=eglfs_kms_egldevice
> root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# ./QtDemo -platform
> eglfs
> QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open
> failed
> QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open
> failed
> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
> EGL_EXT_device_base missing
> Aborted (core dumped)
> root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0#


Any additional assistance appreciated.

Thank you,


On Thu, Sep 28, 2017 at 3:02 AM, Lucas Stach <l.stach at pengutronix.de> wrote:

> Hi Dexter,
>
> Am Mittwoch, den 27.09.2017, 17:17 -0500 schrieb Dexter Travis:
> > 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"
>
> ^^ That's the wrong eglfs plugin. What you want for the open-source
> stack is the eglfs_kms plugin, not the Vivante proprietary driver
> specific one.
>
> > [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.
>
> Regards,
> Lucas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20171003/3fb15c9b/attachment.html>


More information about the etnaviv mailing list