QT 5.9 IMX 6 dual plus yocto/openembedded build questions
Dexter Travis
dexter.travis at precisionplanting.com
Wed Oct 11 19:36:59 UTC 2017
I have updated to kernel 4.13. I am now back to the same general issue.
Namely Qt applications do not appear to know how to work with eglfs in my
build. the error seems to be qt.qpa.egldeviceintegration: Failed to load
EGL device 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'
EGL library doesn't support Emulator extensions
Aborted (core dumped)
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#
root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# uname -a
Linux ppdisplayimx 4.13.1-fslc+g1af258a #2 SMP PREEMPT Wed Oct 11 09:24:11
> CDT 2017 armv7l GNU/Linux
root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# dmesg | grep imx-drm
[ 1.564370] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops
> ipu_crtc_ops)
[ 1.571912] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops
> ipu_crtc_ops)
[ 1.589261] imx-drm display-subsystem: bound 120000.hdmi (ops
> dw_hdmi_imx_ops)
[ 1.596846] imx-drm display-subsystem: bound 2000000.aips-bus:ldb (ops
> imx_ldb_ops)
[ 1.748680] imx-drm display-subsystem: fb0: frame buffer device
[ 1.755299] [drm] Initialized imx-drm 1.0.0 20120507 for
> display-subsystem on minor 1
root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0# dmesg | grep etnaviv
[ 1.328208] etnaviv gpu-subsystem: bound 134000.gpu (ops gpu_ops)
[ 1.334461] etnaviv gpu-subsystem: bound 130000.gpu (ops gpu_ops)
[ 1.340698] etnaviv gpu-subsystem: bound 2204000.gpu (ops gpu_ops)
[ 1.346924] etnaviv-gpu 134000.gpu: model: GC320, revision: 5303
[ 1.414226] etnaviv-gpu 130000.gpu: model: GC3000, revision: 5450
[ 1.474338] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1216
[ 1.480451] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[ 1.487246] [drm] Initialized etnaviv 1.1.0 20151214 for gpu-subsystem
> on minor 0
root at ppdisplayimx:/usr/share/qt5everywheredemo-1.0#
My qt configure log...
Qt Gui:
> 655 Accessibility .......................... yes
> 656 FreeType ............................... yes
> 657 Using system FreeType ................ yes
> 658 HarfBuzz ............................... no
> 659 Using system HarfBuzz ................ no
> 660 Fontconfig ............................. no
> 661 Image formats:
> 662 GIF .................................. no
> 663 ICO .................................. no
> 664 JPEG ................................. yes
> 665 Using system libjpeg ............... yes
> 666 PNG .................................. yes
> 667 Using system libpng ................ yes
> 668 EGL .................................... yes
> 669 OpenVG ................................. no
> 670 OpenGL:
> 671 Desktop OpenGL ....................... no
> 672 OpenGL ES 2.0 ........................ yes
> 673 OpenGL ES 3.0 ........................ yes
> 674 OpenGL ES 3.1 ........................ yes
> 675 Session Management ..................... no
> 676 Features used by QPA backends:
> 677 evdev .................................. yes
> 678 libinput ............................... no
> 679 INTEGRITY HID .......................... no
> 680 mtdev .................................. no
> 681 tslib .................................. no
> 682 xkbcommon-evdev ........................ no
> 683 QPA backends:
> 684 DirectFB ............................... no
> 685 EGLFS .................................. yes
> 686 EGLFS details:
> 687 EGLFS i.Mx6 .......................... no
> 688 EGLFS i.Mx6 Wayland .................. no
> 689 EGLFS EGLDevice ...................... yes
> 690 EGLFS GBM ............................ no
> 691 EGLFS Mali ........................... no
> 692 EGLFS Raspberry Pi ................... no
> 693 EGL on X11 ........................... no
> 694 LinuxFB ................................ no
> 695 VNC .................................... yes
> 696 Mir client ............................. no
Any advice appreciated.
Dexter
On Tue, Oct 3, 2017 at 3:48 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Dexter,
>
> On Wed, Sep 27, 2017 at 7:17 PM, Dexter Travis
> <dexter.travis at precisionplanting.com> wrote:
>
> > Below is what I think is the relevant configure output from my
> OpenEmbedded
> > build.
> > Configure summary:
>
> I don't use OpenEmbedded/Yocto, but people are using it on mx6 with
> etnaviv:
> http://twoerner.blogspot.com.br/2017/06/gpu-support-with-
> openembedded_9.html
>
> Check this blog and if you still have issues, then post it to
> meta-freescale at yoctoproject.org and the folks there will be able to
> help you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/etnaviv/attachments/20171011/66387ae0/attachment-0001.html>
More information about the etnaviv
mailing list