From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9864EE01653 for ; Fri, 27 Sep 2013 02:54:25 -0700 (PDT) Received: by mail-ea0-f182.google.com with SMTP id o10so1119993eaj.27 for ; Fri, 27 Sep 2013 02:54:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=Z9r5yM9aVA5rEBQwSUF01gdKDVh34TESeAullrNlMX4=; b=K057WMPLvSYAREf2BhZ218FLIhUwHtrCFQPIUI+w2uzif19W12qknHGeVJAYa2uAQ5 BxAdYJduPZZGJxWSqI7eirDN5wCRSSgaevjvibA4KzdaByUEHiTphMZwTGaxYFEOm6TS QdhjoxGFyCXPsK+R+4bgVlI6JvNuYrvJuFAxaboOiSTv8dLkiH2S9u1g8lQAtVRySGMs qreKgx77RJJ9JHIvEu8mBa9PpYLDBOlMSozCKpAwY3s2I/TF/H8qgNTDQruUQybqECOX Y+xpLg3qe/1h2/Bx/UsAirMk0sj1gD9OjzD46q0JhX2/3QiMRhLBPzbEIgzJPFzdGlvi vB5w== X-Gm-Message-State: ALoCoQmwkASzbqnVOXY/bMvMf+UY41o2TbJoNhvAIb7NS1bXpbh+5FlH5ytk/QKlZgDkuAZLucyG X-Received: by 10.15.43.206 with SMTP id x54mr1065981eev.79.1380275664406; Fri, 27 Sep 2013 02:54:24 -0700 (PDT) Received: from rudolf.localnet (ppp-88-217-17-151.dynamic.mnet-online.de. [88.217.17.151]) by mx.google.com with ESMTPSA id h52sm14272979eez.3.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 27 Sep 2013 02:54:24 -0700 (PDT) From: Thomas Senyk To: meta-freescale@yoctoproject.org Date: Fri, 27 Sep 2013 11:54:23 +0200 Message-ID: <81221592.eNB8d9CoxG@rudolf> Organization: Pelagicore AG User-Agent: KMail/4.11.1 (Linux/3.11.1-1-ARCH; KDE/4.11.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Subject: Re: iMX6 Qt / EGLFS 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, 27 Sep 2013 09:54:27 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Wednesday, 25 September, 2013 14:55:51 Bell, Andrew [Allen & Heath UK] wrote: > Hi All > > Could someone tell me the current state of next branch for iMX6 solo / dual > lite for EGLFS support ? It's working flawlessly :) > > I'm trying to get Qt 5 with opengl compiled externally against my Yocto > generated rootfs - as recommended in a few other threads. > > I've removed X11 and wayland from poky.conf then bitbaked the lsb-sdk. > > When I point the qt build at the rootfs generated by the SDK, it fails as > the the EGL includes / libraries are missing. > > I've then transplanted the EGL headers / libraries from the wandboard-dual > sysroot within the yocto build tree into the SDK generated sysroot and it > gets further but still fails ... I've added IMAGE_INSTALL += "gpu-viv-bin-mx6q" to my image .. you can also use CORE_IMAGE_EXTRA_INSTALL in your local.conf to make sure it's built and deployed. > > obj/release-shared/qeglfshooks_imx6.o: In function > `QEglFSImx6Hooks::createNativeWindow(QSize const&, QSurfaceFormat const&)': > eglfshooks_imx6.cpp:(.text+0x38): undefined reference to `fbCreateWindow' sounds like you got the wront libEGL.so .. you're sure you don't have X11 in your DISTRO_FEATURES? objdump -x libEGL.so.1 should give you some idea which version it is. > > I've tracked down some conditional code within recipes-graphics in > gpu-viv-bin-mx6q which suggests the variant of libEGL.so may be conditional > on X11 / Wayland defines to the build. yes! Different versions are packaged depening on the DISTRO_FEATURES variable. > > Does anyone know what library provides the fbCreateWindow create above - do > I need a libEGL-fb.so variant ? libEGL-fb.so or libEGL-wl.so will do. libEGL-x11 won't. > > There's also hints that I may have to define USE_X11=no to get this > conditional EGL build behavior, if so where does this define need to be > placed. If you have no X11 in DISTRO_FEATURES then the gpu-viv-bin-mx6q will take the right versions! > > Finally does the gpu-viv-bin-mx6q only apply to the quad core version or is > this relevant to the solo / dual lite variants ? No, to all of them. I've running the same binaries on wandboard-solo > > Any help appreciated ! > > Thanks > > Andrew.