All of lore.kernel.org
 help / color / mirror / Atom feed
* Eglfs issue with mx53
@ 2014-01-01 10:09 Simone
  2014-01-01 20:34 ` Simone
  0 siblings, 1 reply; 4+ messages in thread
From: Simone @ 2014-01-01 10:09 UTC (permalink / raw)
  To: <meta-freescale@yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

Hello,
I've prepared an image which include meta-qt5 (from master branch) for my imx53 board.

The bitbake completed fine, but anyhow when I try to launch the demo (cinematicexperience in my case, but the same as a new project) I cannot see anything, and on the command line I have this error:

eglfs could not initialize egl display
EGL aborted

Notice that i can't see the qeglfshooks_mx5.cpp source file in the tree.
I have this hook file for imx6 (and with the imx6 sabre board) eglfs work fine.

Maybe it is related?
Any suggestion?

Happy new year to all!
Simone

[-- Attachment #2: Type: text/html, Size: 1480 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Eglfs issue with mx53
  2014-01-01 10:09 Eglfs issue with mx53 Simone
@ 2014-01-01 20:34 ` Simone
  2014-01-02  8:24   ` Eric Bénard
  0 siblings, 1 reply; 4+ messages in thread
From: Simone @ 2014-01-01 20:34 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 5041 bytes --]

Update:

I compared the current qmake.conf with the imx6sabre qmake.conf (which is working) and I have some doubt:

 

In imx6 qmake.conf, the ENV are:

IMX6_CFLAGS                                    = -DLINUX=1 -DEGL_API_FB=1

QMAKE_LIBS_EGL                             += -lEGL

QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL -lGAL

QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL -lGAL

 

On imx5 side, they are:

IMX5_CFLAGS                                    = -D_LINUX=1

QMAKE_LIBS_EGL                             += -lEGL

QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL

QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL

 

I’ve marked as bold the libraries which are present on imx6 conf, but NOT in the mx5 conf.

In CFLAGS there is also another difference, on imx6 I have DLINUX=1 instead of D_LINUX=1.

 

Now, I thought to include these difference in mx5 configuration, but the qtbase configure command fail saying that libGAL is missing (see the last part of the bitbake log below)

 

 

OpenGL ES 2.x auto-detection... ()

| compiling /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/opengles2/opengles2.cpp

| linking opengles2

| /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld: cannot find -lGAL

| collect2: error: ld returned 1 exit status

| make: *** [opengles2] Error 1

| OpenGL ES 2.x disabled.

| The OpenGL ES 2.0 functionality test failed!

|  You might need to modify the include and library search paths by editing

|  QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in

|  /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/mkspecs/linux-oe-g++.

| WARNING: /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/run.do_configure.10027:1 exit 1 from

|   /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/configure -v -dont-process -opensource -confirm-license -sysroot /home/cx/fsl-bsp/build/tmp/sysroots/cjbc1 -no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib -datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir /usr/share/doc/qt5 -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir /usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir /usr/share/qt5/translations -testsdir /usr/share/qt5/tests -examplesdir /usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir /home/cx/fsl-bsp/build/tmp/sysroots/cjbc1/usr/lib/qt5 -external-hostbindir /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/bin/qt5 -platform /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/lib/qt5/mkspecs/linux-oe-g++ -xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch -no-rpath -pkg-config -xcb -no-sql-db2 -no-gstreamer -xfixes -freetype -system-libjpeg -pulseaudio -no-nis -gtkstyle -no-sql-mysql -qt-pcre -no-iconv -no-xkb -xinput -no-fontconfig -no-kms -no-sql-sqlite -system-libpng -tslib -icu -no-alsa -no-glib -nomake tests -evdev -xinerama -no-sql-oci -no-sql-sqlite2 -no-accessibility -widgets -xrandr -libudev -xinput2 -xcursor -no-openvg -opengl es2 -eglfs -xvideo -xsync -no-sql-tds -xshape -dbus -system-zlib -openssl -xrender -no-mitshm -no-sm -no-sql-ibase -no-sql-psql -no-directfb -release -no-sql-odbc -no-linuxfb

| ERROR: Function failed: do_configure (log file is located at /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/log.do_configure.10027)

ERROR: Task 6 (/home/cx/fsl-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase_5.1.1.bb, do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2288 tasks of which 2287 didn't need to be rerun and 1 failed.

 

 

 

Do you think the way that I have undertaken makes sense?

If yes, how I can build the requested libGAL which seems to be not present in my image?

I’ve tried googling a bit but I found nothing helpful.

 

Thanks so much

Simone

 

 

 

Da: Simone [mailto:cjb.sw.nospam@gmail.com] 
Inviato: mercoledì 1 gennaio 2014 11:09
A: <meta-freescale@yoctoproject.org>
Oggetto: Eglfs issue with mx53

 

Hello,

I've prepared an image which include meta-qt5 (from master branch) for my imx53 board.

 

The bitbake completed fine, but anyhow when I try to launch the demo (cinematicexperience in my case, but the same as a new project) I cannot see anything, and on the command line I have this error:

 

eglfs could not initialize egl display

EGL aborted

 

Notice that i can't see the qeglfshooks_mx5.cpp source file in the tree.

I have this hook file for imx6 (and with the imx6 sabre board) eglfs work fine.

 

Maybe it is related?

Any suggestion?

 

Happy new year to all!

Simone


[-- Attachment #2: Type: text/html, Size: 14270 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Eglfs issue with mx53
  2014-01-01 20:34 ` Simone
@ 2014-01-02  8:24   ` Eric Bénard
  2014-01-02 10:20     ` Simone
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bénard @ 2014-01-02  8:24 UTC (permalink / raw)
  To: Simone; +Cc: meta-freescale

Hi,

Le Wed, 1 Jan 2014 21:34:22 +0100,
"Simone" <cjb.sw.nospam@gmail.com> a écrit :

> Update:
> 
> I compared the current qmake.conf with the imx6sabre qmake.conf (which is working) and I have some doubt:
> 
>  
> 
> In imx6 qmake.conf, the ENV are:
> 
> IMX6_CFLAGS                                    = -DLINUX=1 -DEGL_API_FB=1
> 
> QMAKE_LIBS_EGL                             += -lEGL
> 
> QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL -lGAL
> 
> QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL -lGAL
> 
>  
> 
> On imx5 side, they are:
> 
> IMX5_CFLAGS                                    = -D_LINUX=1
> 
> QMAKE_LIBS_EGL                             += -lEGL
> 
> QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL
> 
> QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL
> 
>  
> 
> I’ve marked as bold the libraries which are present on imx6 conf, but NOT in the mx5 conf.
> 
> In CFLAGS there is also another difference, on imx6 I have DLINUX=1 instead of D_LINUX=1.
> 
>  
> 
> Now, I thought to include these difference in mx5 configuration, but the qtbase configure command fail saying that libGAL is missing (see the last part of the bitbake log below)
> 
i.MX6 and i.MX5 GPU libraries are totally different (as they don't share
the same GPU).
The current configuration was tested on an i.MX53 QSB (without X11 and
Wayland).

Eric


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Eglfs issue with mx53
  2014-01-02  8:24   ` Eric Bénard
@ 2014-01-02 10:20     ` Simone
  0 siblings, 0 replies; 4+ messages in thread
From: Simone @ 2014-01-02 10:20 UTC (permalink / raw)
  To: Eric Bénard; +Cc: <meta-freescale@yoctoproject.org>

Hello Eric,
I've done some other steps and tries, but always the same result.
I don't want X11, and my board is totally based on imx53qsb.
The scenario is perfect but i'm unlucky and nothing works.. :-)

It seems to me that there is no gpu lib for opengl es2 on my build, so I tried to include amd-gpu-bin-mx51 (not the x11 version).
During bitbake I have some errors telling me that there are conflicts with the x11 version of the gpu libs. Probably gstreamer (I need gstreamer) have dependencies to it?

Anyhow the build is completed and the image containing gpu libs give the same issue when try to launch the qt5 application in eglfs platform.

I'm afraid.
Any input about what i can check?

Thanks so much
Simone





> Il giorno 02/gen/2014, alle ore 09:24, Eric Bénard <eric@eukrea.com> ha scritto:
> 
> Hi,
> 
> Le Wed, 1 Jan 2014 21:34:22 +0100,
> "Simone" <cjb.sw.nospam@gmail.com> a écrit :
> 
>> Update:
>> 
>> I compared the current qmake.conf with the imx6sabre qmake.conf (which is working) and I have some doubt:
>> 
>> 
>> 
>> In imx6 qmake.conf, the ENV are:
>> 
>> IMX6_CFLAGS                                    = -DLINUX=1 -DEGL_API_FB=1
>> 
>> QMAKE_LIBS_EGL                             += -lEGL
>> 
>> QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL -lGAL
>> 
>> QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL -lGAL
>> 
>> 
>> 
>> On imx5 side, they are:
>> 
>> IMX5_CFLAGS                                    = -D_LINUX=1
>> 
>> QMAKE_LIBS_EGL                             += -lEGL
>> 
>> QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -lEGL
>> 
>> QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL
>> 
>> 
>> 
>> I’ve marked as bold the libraries which are present on imx6 conf, but NOT in the mx5 conf.
>> 
>> In CFLAGS there is also another difference, on imx6 I have DLINUX=1 instead of D_LINUX=1.
>> 
>> 
>> 
>> Now, I thought to include these difference in mx5 configuration, but the qtbase configure command fail saying that libGAL is missing (see the last part of the bitbake log below)
> i.MX6 and i.MX5 GPU libraries are totally different (as they don't share
> the same GPU).
> The current configuration was tested on an i.MX53 QSB (without X11 and
> Wayland).
> 
> Eric


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-02 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01 10:09 Eglfs issue with mx53 Simone
2014-01-01 20:34 ` Simone
2014-01-02  8:24   ` Eric Bénard
2014-01-02 10:20     ` Simone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.