From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 20C3AE004CF for ; Wed, 29 May 2013 08:01:00 -0700 (PDT) Received: by mail-bk0-f41.google.com with SMTP id jc10so4995306bkc.28 for ; Wed, 29 May 2013 08:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=nbUThFBHq+L3AA8uW3ReqeyzvbwuouswEVy4xHJaV4k=; b=AJ15Y/ZNUvjC12X40EM3kwdSE1jzBnvIIxEjpy87SfyF2n2xz4YjrnPEfacekU9T4N K9mmJg9xxIzYGwAyInU2xIRK5zUKEFXMuhLE2l0KlhiqOp3kuSvfxzUjOWVCIfdvKrBr zJ8gt41SnSJgamKIAguU8FDY6J1ApZF2g47A53YlORlY+k14yXEXDwaUH3WA4EidKLmN RnD+CxLyOzOBy7DxCAbW1K3Xr8f+iMe3c3Sp5L71yMT6PFfkKecDYFQezaqvVobhcHSG 0p1SD8h2/NyPf38o5C7smmLPPCoh/5N4OOQXee0d/fe07zn+XmPUtb2ZwYSPbKNIq6+D p5WA== X-Received: by 10.204.187.135 with SMTP id cw7mr813955bkb.8.1369839659843; Wed, 29 May 2013 08:00:59 -0700 (PDT) Received: from [10.142.41.83] ([212.178.137.146]) by mx.google.com with ESMTPSA id b12sm12163970bkz.0.2013.05.29.08.00.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 08:00:59 -0700 (PDT) Message-ID: <51A61828.7090807@gmail.com> Date: Wed, 29 May 2013 17:00:56 +0200 From: Bastiaan de Nooij User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?UTF-8?B?RXJpYyBCw6luYXJk?= References: <519CDA52.3040007@gmail.com> <20130522170249.69459bc3@e6520eb> <51A44D52.9040608@gmail.com> <20130528090442.0b4ad7a4@e6520eb> <51A4C156.1090704@gmail.com> <20130528165627.572b9bf9@e6520eb> In-Reply-To: <20130528165627.572b9bf9@e6520eb> Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador Subject: Re: QT4.8 or 5.0 on wandboard-solo (I.MX6S) with OPENGL ES2 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:01:01 -0000 Content-Type: multipart/alternative; boundary="------------050902030904030602060108" --------------050902030904030602060108 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 05/28/2013 04:56 PM, Eric Bénard wrote: > Le Tue, 28 May 2013 16:38:14 +0200, > Bastiaan de Nooij a écrit : > >> On 05/28/2013 09:04 AM, Eric Bénard wrote: >>> Le Tue, 28 May 2013 08:23:14 +0200, >>> Bastiaan de Nooij a écrit : >>> >>>> On 05/22/2013 05:02 PM, Eric Bénard wrote: >>>>> Hi Bastiaan, >>>>> >>>>> Le Wed, 22 May 2013 16:46:42 +0200, >>>>> Bastiaan de Nooij a écrit : >>>>>> Qt-embedded builds fine. >>>>>> However running actual opengl ES2 code results in a segmentation fault. >>>>>> Also qtdemo results in a segmentation fault. >>>>>> >>>>>> I would like to give you more detailed information, however I'm a little >>>>>> short on time to work on this. >>>>>> I will try to make a stacktrace tomorrow. >>>>>> >>>>> FWIW : I have a working (runtime tested with hellogl_es2 -platform >>>>> eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to >>>>> send it by friday. >>>>> >>>>> Eric >>>> Hi Eric, Otavio, >>>> >>>> at this point I'm convinced I need QT 5 for the project I'm working on, >>>> it delivers far better performance for QML (according to various >>>> internet sources). >>>> >>>> I'm still very much interested in testing your QT5 patches/bbappends, >>>> to see if I can achieve decent performance on the IMX6S. >>>> >>> patches sent this night, please check the ML >>> >>> Eric >> Hi Eric, Otavio, >> I'm afraid I need a little more help.... >> I'm quite new to yocto and as a result I find it difficult to get results. >> >> what I've done so far: >> >> I set-up the fsl-community-bsp-base >> repo for my >> wandboard-solo. >> I added the meta-qt5 layer from the github repository (and adjusted my >> bblayers.conf). >> I applied the patch of Vol 77 of the ML on meta-fsl-arm. >> I modified a core-image-minimal recepe to build qtbase qtbase-tools and >> qtbase-plugins. >> >> when I build this image, the build proceeds fine, however the resulting >> image contains version 5.0.1 of QT for opengl Desktop (!?) >> (according to the do_configure logfile for qtbase) >> >> In volume 78 of the ML, Eric mentions "cherry-pick e7a477a" >> I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the >> meta-qt5 repo, but this results in: >> fatal: ambiguous argument 'e7a477a': unknown revision or path not in the >> working tree. >> >> According to the same mail I also should apply the patches from >> http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html >> ? >> Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc >> I should be able to build a eglfs supporting version of qt5? >> >> If I get the last part right, the only thing I need help with is the >> cherry-picking part... >> > try getting in meta-qt5 the branch > origin/newer-versions > > Eric OK, I switched to the origin/newer-versions branch for QT5. now building fails on missing binaries (vivante?): make[3]: Leaving directory `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic' .obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)': /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: undefined reference to `fbDestroyWindow' .obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': /home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: undefined reference to `fbCreateWindow' ... How do I get the missing libraries? Regards, Bastiaan --------------050902030904030602060108 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 05/28/2013 04:56 PM, Eric Bénard wrote:
Le Tue, 28 May 2013 16:38:14 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :

On 05/28/2013 09:04 AM, Eric Bénard wrote:
Le Tue, 28 May 2013 08:23:14 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :

On 05/22/2013 05:02 PM, Eric Bénard wrote:
Hi Bastiaan,

Le Wed, 22 May 2013 16:46:42 +0200,
Bastiaan de Nooij <nooijb.hotraco@gmail.com> a écrit :
Qt-embedded builds fine.
However running actual opengl ES2 code results in a segmentation fault.
Also qtdemo results in a segmentation fault.

I would like to give you more detailed information, however I'm a little
short on time to work on this.
I will try to make a stacktrace tomorrow.

FWIW : I have a working (runtime tested with hellogl_es2 -platform
eglfs) bbappend for meta-qt5 and eglfs platform on i.MX6. I'll try to
send it by friday.

Eric
Hi Eric, Otavio,

at this point I'm convinced I need QT 5 for the project I'm working on,
it delivers far better performance for QML (according to various
internet sources).

I'm still very much interested in testing your QT5 patches/bbappends,
to see if I can achieve decent performance on the IMX6S.

patches sent this night, please check the ML

Eric
Hi Eric, Otavio,
I'm afraid I need a little more help....
I'm quite new to yocto and as a result I find it difficult to get results.

what I've done so far:

I set-up the fsl-community-bsp-base 
<https://github.com/Freescale/fsl-community-bsp-base> repo for my 
wandboard-solo.
I added the meta-qt5 layer from the github repository (and adjusted my 
bblayers.conf).
I applied the patch of Vol 77 of the ML on meta-fsl-arm.
I modified a core-image-minimal recepe to build qtbase qtbase-tools and 
qtbase-plugins.

when I build this image, the build proceeds fine, however the resulting 
image contains version 5.0.1 of QT for opengl Desktop (!?)
(according to the do_configure logfile for qtbase)

In volume 78 of the ML, Eric mentions "cherry-pick e7a477a"
I 'm afraid don't know how. I tried 'git cherry-pick e7a477a' on the 
meta-qt5 repo, but this results in:
fatal: ambiguous argument 'e7a477a': unknown revision or path not in the 
working tree.

According to the same mail I also should apply the patches from
http://lists.openembedded.org/pipermail/openembedded-devel/2013-May/090861.html 
?
Then, after setting QT version 5.0.2 in conf/distro/include/qt5-versions.inc
I should be able to build a eglfs supporting version of qt5?

If I get the last part right, the only thing I need help with is the 
cherry-picking part...

try getting in meta-qt5 the branch
origin/newer-versions

Eric
OK, I switched to the origin/newer-versions branch for QT5.
now building fails on missing binaries (vivante?):
make[3]: Leaving directory `/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/build/src/plugins/generic'
.obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::destroyNativeWindow(_FBWindow*)':
/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:86: undefined reference to `fbDestroyWindow'
.obj/release-shared/qeglfshooks_imx6.o: In function `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)':
/home/jenkins/git/fsl/build3/tmp/work/wandboard_solo-poky-linux-gnueabi/qtbase/5.0.2-r1.0/qtbase-opensource-src-5.0.2/mkspecs/linux-oe-g++/qeglfshooks_imx6.cpp:79: undefined reference to `fbCreateWindow'
...
How do I get the missing libraries?

Regards,
Bastiaan
--------------050902030904030602060108--