From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7EBB9E00A9B; Wed, 9 Aug 2017 02:19:45 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx1.basyskom.com (mail.basyskom.com [136.243.128.73]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2B940E0090A for ; Wed, 9 Aug 2017 02:19:43 -0700 (PDT) X-Footer: YmFzeXNrb20uY29t Received: from [193.158.222.106] ([193.158.222.106]) (authenticated user bfed@basyskom.com) by mx1.basyskom.com (Kerio Connect 9.2.4) with ESMTPSA for vgharaee@gmail.com; Wed, 9 Aug 2017 11:19:40 +0200 Date: Wed, 9 Aug 2017 11:19:40 +0200 X-Mailer: Kerio Connect 9.2.4/Kerio Connect Client X-User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Message-ID: <3326052061-4943@mx1.basyskom.com> X-Priority: 3 Importance: Normal In-Reply-To: MIME-Version: 1.0 From: Benjamin Federau To: Vahid Gharaee Cc: meta-freescale@yoctoproject.org Subject: Re: qtwayland 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, 09 Aug 2017 09:19:45 -0000 Content-Type: multipart/alternative; boundary="=-L3KRsjYMccz/4fKaUEBG" --=-L3KRsjYMccz/4fKaUEBG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Von: Vahid Gharaee =20 Gesendet: 08.08.2017 7:44=20 Betreff: Re: [meta-freescale] qtwayland=20 Dear Benjamin, thanks for the reply. with "fsl-image-qt5" I do not have 'eglfs' platform plugin. I looked into q= t-base recipe and the 'eglfs' exists there!! when i build image "fsl-image-gui" then I was able to run $qml-copositor -p= latform eglfs but I want qt libraries! how could I have eglfs on "fsl-image-qt5" it just = has: offscreen, minimal, wayland, wayland-egl. sorry if the question is idiotic! i'm new in qt and yocto! thanks again for your help. Vahid Ok, it looks like the fsl-image-qt5 is set up for X11 and the fsl-image-gui= image does not contain any Qt libs. To be honest I haven't used the yocto = bsp 4.1.0-2.1.0 from NXP, so I do not know more details about its recipe co= ntents and it could be that there is no QtWayland ready-to use image for yo= u. Maybe you should create your own image recipe to get QtWayland running. On Mon, Aug 7, 2017 at 7:38 PM, Benjamin Federau wrote: Von: Vahid Gharaee =20 An: =20 Gesendet: 02.08.2017 12:38=20 Betreff: [meta-freescale] qtwayland=20 Dear all, I have imx6sxsabresd, yocto 4.1.0-2.1.0 from NXP. i built image=C2=A0fsl-image-qt5 also=C2=A0qtwayland weston works fine. qml-compositor example does not work: on running weston :=C2=A0 unable to lock lockfile /run/user/root/wayland-0.lock, maybe another compos= itor is running. =C2=A0 without weston: QXcbConnection: Could not connect to display : 0.0=C2=A0 It looks like the qml-compositor is started with the xcb QPA plugin. Have y= ou installed a X server and it is running? On my i.MX6 I use the Qt compositor examples with the eglfs QPA plugin (-pl= atform eglfs), but of course it depends on your image setup.=20 I also have to set the XDG_RUNTIME_DIR env var. E.g.: export XDG_RUNTIME_DIR=3D/tmp/weston-$USER mkdir -p /tmp/weston-$USER chmod 700 /tmp/weston-$USER qml-compositor -platform eglfs =C2=A0 =C2=A0 PS: LD_LIBRARY_PATH=3D/usr/lib DISPLAY=3D:0.0=C2=A0 =C2=A0 for qtwayland i copied : /tmp/work/cortexA9hf-neon-mx6sx-poky-linux-gnueabi/qtwayland/ima= ge/usr=C2=A0to=C2=A0/usr/ =C2=A0 could anyone help me please? 1- should i bitbake another image? 2- should i compile compositor and install it on board? 3- do i need specific environment variable?=C2=A0 4- does qtwayland works for this distribution i have? =C2=A0 thanks a lot=20 -- =20 _______________________________________________=20 meta-freescale mailing list=20 meta-freescale@yoctoproject.org=20 https://lists.yoctoproject.org/listinfo/meta-freescale=20 --=20 =C2=A0=20 M.Sc. Benjamin Federau=20 Integration Engineer=20 =C2=A0=20 basysKom GmbH=20 Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany=20 benjamin.federau@basyskom.com=C2=A0 | www.basyskom.com=20 =C2=A0=20 Handelsregister: Darmstadt HRB 9352=20 Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler =20= --=-L3KRsjYMccz/4fKaUEBG Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Von: =20 Vahid Gharaee <vgharaee@gmail.com>
Gesendet: =20 08.08.2017 7:44
Betreff: =20 Re: [meta-freescale] qtwayland

Dear Benjamin,
thanks for the rep= ly.

with "fsl-image-qt5" I do not have 'eglfs' pla= tform plugin. I looked into qt-base recipe and the 'eglfs' exists there!!
when i build image "fsl-image-gui" then I was able to run $qml-cop= ositor -platform eglfs
but I want qt libraries! how could I have = eglfs on "fsl-image-qt5" it just has: offscreen, minimal, wayland, wayland-= egl.
sorry if the question is idiotic! i'm new in qt and yocto!

thanks again for your help.
Vahid

Ok, it looks like the fsl-image-qt5 is set up fo= r X11 and the fsl-image-gui image does not contain any Qt libs. To be hones= t I haven't used the yocto bsp 4.1.0-2.1.0 from NXP, s= o I do not know more details about its recipe contents and it could be that= there is no QtWayland ready-to use image for you.
Maybe you should crea= te your own image recipe to get QtWayland running.

On Mon, Aug 7, 2017 at 7:38 PM, Benjamin F= ederau <benjamin.federau@basyskom.com> wrote:

Von: =20 Vahid Gharaee <vgharaee@gmai= l.com>
An: =20 <m= eta-freescale@yoctoproject.org>
Gesendet: =20 02.08.2017 12:38
Betreff: =20 [meta-freescale] qtwayland

Dear all,

I have imx6sxsabresd, yocto 4.1.0-2.1= .0 from NXP.

i built image fsl-image-qt5

also qtwayland

=

westo= n works fine.

qml-compositor example does not work:

on running weston : 

unabl= e to lock lockfile /run/user/root/wayland-0.lock, maybe another compositor = is running.

 

without weston:

QXcbConnection: Could no= t connect to display : 0.0 

=
It looks like the qml-compositor is started with the xcb QPA plugin. Ha= ve you installed a X server and it is running?
On my i.MX6 I use the Qt = compositor examples with the eglfs QPA plugin (-platform eglfs), but of cou= rse it depends on your image setup.
I also have to set the XDG_RUNTIME_= DIR env var.
E.g.:
export XDG_RUNTIME_DIR=3D/tmp/weston-$USER
mkdi= r -p /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -pl= atform eglfs


&nb= sp;

 

PS:

LD_LIBRARY_PATH=3D/usr/lib

DISPLAY=3D:0.0 

=

 

for qtwayland i copied :

<board dir>/tmp/work/cortexA9= hf-neon-mx6sx-poky-linux-gnueabi/qtwayland/image/usr to <board>/usr/

 

could anyone help me please?

1- shoul= d i bitbake another image?

2- should i compile compositor and install it on b= oard?

3- do i need specific environment variable? 

4- does qtwayland works= for this distribution i have?

 

thanks a lot



--=20
_______________________________________________
meta-freescale mailing list
m= eta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale



--
 
M.Sc. Benjamin Federau
Integration Engineer
 
basysKom GmbH
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany
benjamin.federau@basyskom.com  | www.basyskom.com
 
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler

=

= --=-L3KRsjYMccz/4fKaUEBG--