From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D2FD8E00BA2; Mon, 7 Aug 2017 08:08:41 -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 68580E0088C for ; Mon, 7 Aug 2017 08:08:38 -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; Mon, 7 Aug 2017 17:08:36 +0200 Date: Mon, 7 Aug 2017 17:08:36 +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: <3174272441-21928@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: Mon, 07 Aug 2017 15:08:41 -0000 Content-Type: multipart/alternative; boundary="=-EFG3DGifTE0uS3kxL/K/" --=-EFG3DGifTE0uS3kxL/K/ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 = --=-EFG3DGifTE0uS3kxL/K/ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Von: =20 Vahid Gharaee <vgharaee@gmail.com>
An: =20 <meta-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<= /p>

we= ston works fine.

qml-compositor example does not work:

on running weston : = ;

= un= able to lock lockfile /run/user/root/wayland-0.lock, maybe another composit= or is running.

 

without weston:

QXcbConnection: Could= not connect to display : 0.0 


= 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 comp= ositor examples with the eglfs QPA plugin (-platform eglfs), but of course = 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
mkdir -p= /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -platfo= rm eglfs


&nbs= p;

 

PS:

LD_LIBRARY_PATH=3D/usr/lib

DISPLAY=3D:0.0 

<= p style=3D"margin: 0px; padding: 0px; border: 0px none; font-size: 14px; fo= nt-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande&q= uot;,sans-serif; vertical-align: baseline; color: rgb(81, 98, 111); min-hei= ght: 8pt;"> 

for qtwayland i copied :

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

 

could anyone help me please?

1- should= i bitbake another image?

2- should i compile compositor and install it on bo= ard?

3- do i need specific environment variable? 

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

 

thanks a lot



--=20
_______________________________________________
meta-freescale mailing list
meta-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
benja= min.federau@basyskom.com  | www.basyskom.com
 
Handelsregister: Darmstadt HRB 9352
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler

= --=-EFG3DGifTE0uS3kxL/K/--