From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2D4F0E004CF for ; Thu, 30 May 2013 23:38:31 -0700 (PDT) Received: by mail-we0-f179.google.com with SMTP id m46so895633wev.24 for ; Thu, 30 May 2013 23:38:29 -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:content-transfer-encoding; bh=Q6H4/aUsao1iWFUNgpi9wF1m21R9DUl/DxlAtJ5OK+4=; b=S/q9UwqHz8bY+zYZdvLu/Wsu4JF0PFvKaPITz4vTz403/xp/w6mZ/SwYcUlpb9QT5e 58aV4pbs/N5CeCEPGF0trheuAF5zLD8IxMCWptblLihrl+ZWln8GjNL3d/Vge/18160W 6+XjsxaL3kbiiEKRAPSUeEukKRPLeV2wfkctMTgsERqw6dE/0SWmOMoNmoKOPv5rQG4z IpFSaYaT5TvG6pLOsWPS3RitQB2oVsioU1RF11DpU/enFWgc30OeJDJBF3OhphL2GBiN QihasWmAD85d4GIFQ//EW46kY8u5o5tQLclehJpSLb4z7sbQ4m0tE1R59uIZ0d6HteQ2 Y2aQ== X-Received: by 10.180.211.197 with SMTP id ne5mr1730883wic.54.1369982309755; Thu, 30 May 2013 23:38:29 -0700 (PDT) Received: from [10.142.41.83] ([212.178.137.146]) by mx.google.com with ESMTPSA id eq15sm1703428wic.4.2013.05.30.23.38.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 23:38:28 -0700 (PDT) Message-ID: <51A84565.3080108@gmail.com> Date: Fri, 31 May 2013 08:38:29 +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> <51A61828.7090807@gmail.com> <20130529170235.4686ff3f@e6520eb> In-Reply-To: <20130529170235.4686ff3f@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: Fri, 31 May 2013 06:38:31 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 05/29/2013 05:02 PM, Eric Bénard wrote: > Le Wed, 29 May 2013 17:00:56 +0200, > Bastiaan de Nooij a écrit : > >> 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? >> > you need to remove x11 from your DISTRO_FEATURES to link against the fb > one. > > Eric YES, I got it working now, more or less... I switched back to master branch for meta-qt5 as I think the newer-versions branch got merged? Most examples give distorted results in the eglfs screen, but I guess that's in the nature of eglfs as it does not support all features used by the examples. I'm now trying to get QT quick working and tool up my development environment for developing QT quick applications on the wandboard. Thanks so far! Bastiaan.