Uwe,

> We have an iMX6 board running with X11, so in general it should be possible.

Yes, I too run X11 on my iMX6 board, but, seems it running without of any acceleration (I use -platform xcb option to run my app).

Here is a part of Qt-build summary:

  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGL on X11 ........................... no
  LinuxFB ................................ yes
  VNC .................................... yes
  Mir client ............................. no
  X11:
    Using system-provided XCB libraries .. yes
    EGL on X11 ........................... no
    Xinput2 .............................. yes
    XCB XKB .............................. yes
    XLib ................................. yes
    XCB render ........................... yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... yes
    Native painting (experimental) ....... yes

where can be see that 'EGL on X11' is disabled.

A main point ia that if I build a BSP without of X11 support with EGLFS enabled, then OpenGL work like a sharm... but! only with QtQuick, not with QtWiggets..

But I started coding of my app using Qwt, and then I didn’t assume that I will faced with such troubles with QtWidgets performance on iMX6, because on Desktop's all works fine.

> Nowadays I would consider the X11 paint engine being an argument for running X11

Agree X11 - it is for QtWidgets. But when the video drivers support aceleration via X11. But with iMX6 && vivante - it is some hell.

Maybe someone has a patches for vivante and can share it? Or is it vivante limitations? :)


Guys,

have someone else an expiriens with iMX6 on X11 and QtWidgets? Is it possible to build an BSP with QtWidgets acceleration there?

I don't want to port my app to QtQuick... It is hell ^ hell.


23.03.2019 21:04, Uwe Rathmann пишет:
On Fri, 22 Mar 2019 19:06:24 +0300, Denis Shienkov wrote:

I'm trying to build a Yocto image, but the config tests fails on 'executing config test egl-x11' test with:

We have an iMX6 board running with X11, so in general it should be
possible. But this is using an early version of Qt5 - before
QT_XCB_NATIVE_PAINTING had been added ( 5.10 ).

It is some years ago and I was not part of our BSP team, but IIRC the
Vivante support didn't work out of the box and we needed some patches to
get things running.

Our use case is running a Qt/Quick application - the motivation for using X11 here is that we needed VNC support, something that was not available for EGLFS at that time.

Nowadays I would consider the X11 paint engine being an argument for
running X11 - even with Qt/Quick - once you have expensive QPainter based code and you can't live with certain problems of the OpenGL paint engine.

Uwe

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to