All of lore.kernel.org
 help / color / mirror / Atom feed
* qtwayland
@ 2017-08-02 10:38 Vahid Gharaee
  2017-08-07 15:08 ` qtwayland Benjamin Federau
  0 siblings, 1 reply; 4+ messages in thread
From: Vahid Gharaee @ 2017-08-02 10:38 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

Dear all,

I have imx6sxsabresd, yocto 4.1.0-2.1.0 from NXP.

i built image fsl-image-qt5

also qtwayland

weston works fine.

qml-compositor example does not work:

on running weston :

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



without weston:

QXcbConnection: Could not connect to display : 0.0





PS:

LD_LIBRARY_PATH=/usr/lib

DISPLAY=:0.0



for qtwayland i copied :

<board
dir>/tmp/work/cortexA9hf-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 board?

3- do i need specific environment variable?

4- does qtwayland works for this distribution i have?



thanks a lot

[-- Attachment #2: Type: text/html, Size: 7094 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: qtwayland
  2017-08-02 10:38 qtwayland Vahid Gharaee
@ 2017-08-07 15:08 ` Benjamin Federau
  2017-08-08  5:44   ` qtwayland Vahid Gharaee
  0 siblings, 1 reply; 4+ messages in thread
From: Benjamin Federau @ 2017-08-07 15:08 UTC (permalink / raw)
  To: Vahid Gharaee; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1893 bytes --]



 Von:   Vahid Gharaee <vgharaee@gmail.com> 
 An:   <meta-freescale@yoctoproject.org> 
 Gesendet:   02.08.2017 12:38 
 Betreff:   [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
weston works fine.
qml-compositor example does not work:
on running weston : 
unable to lock lockfile /run/user/root/wayland-0.lock, maybe another compositor 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 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 course it depends on your image setup. 
I also have to set the XDG_RUNTIME_DIR env var.
E.g.:
export XDG_RUNTIME_DIR=/tmp/weston-$USER
mkdir -p /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -platform eglfs






 
 
PS:
LD_LIBRARY_PATH=/usr/lib
DISPLAY=:0.0 
 
for qtwayland i copied :
<board dir>/tmp/work/cortexA9hf-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 board?
3- do i need specific environment variable? 
4- does qtwayland works for this distribution i have?
 
thanks a lot 

--  
_______________________________________________ 
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 
benjamin.federau@basyskom.com  | www.basyskom.com 
  
Handelsregister: Darmstadt HRB 9352 
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler


[-- Attachment #2: Type: text/html, Size: 10058 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: qtwayland
  2017-08-07 15:08 ` qtwayland Benjamin Federau
@ 2017-08-08  5:44   ` Vahid Gharaee
  2017-08-09  9:19     ` qtwayland Benjamin Federau
  0 siblings, 1 reply; 4+ messages in thread
From: Vahid Gharaee @ 2017-08-08  5:44 UTC (permalink / raw)
  To: Benjamin Federau; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2619 bytes --]

Dear Benjamin,
thanks for the reply.

with "fsl-image-qt5" I do not have 'eglfs' platform 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-copositor
-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

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

>
> * Von: * Vahid Gharaee <vgharaee@gmail.com>
> * An: * <meta-freescale@yoctoproject.org>
> * Gesendet: * 02.08.2017 12:38
> * Betreff: * [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
>
> weston works fine.
>
> qml-compositor example does not work:
>
> on running weston :
>
> unable to lock lockfile /run/user/root/wayland-0.lock, maybe another
> compositor 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
> 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 course it depends on your image setup.
> I also have to set the XDG_RUNTIME_DIR env var.
> E.g.:
> export XDG_RUNTIME_DIR=/tmp/weston-$USER
> mkdir -p /tmp/weston-$USER
> chmod 700 /tmp/weston-$USER
> qml-compositor -platform eglfs
>
>
>
>
>
>
> PS:
>
> LD_LIBRARY_PATH=/usr/lib
>
> DISPLAY=:0.0
>
>
>
> for qtwayland i copied :
>
> <board dir>/tmp/work/cortexA9hf-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 board?
>
> 3- do i need specific environment variable?
>
> 4- does qtwayland works for this distribution i have?
>
>
>
> thanks a lot
>
>
> --
> _______________________________________________
> 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
> benjamin.federau@basyskom.com  | www.basyskom.com
>
> Handelsregister: Darmstadt HRB 9352
> Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler
>
>
>

[-- Attachment #2: Type: text/html, Size: 10886 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: qtwayland
  2017-08-08  5:44   ` qtwayland Vahid Gharaee
@ 2017-08-09  9:19     ` Benjamin Federau
  0 siblings, 0 replies; 4+ messages in thread
From: Benjamin Federau @ 2017-08-09  9:19 UTC (permalink / raw)
  To: Vahid Gharaee; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 2981 bytes --]

Von:   Vahid Gharaee <vgharaee@gmail.com> 

 Gesendet:   08.08.2017 7:44 
 Betreff:   Re: [meta-freescale] qtwayland 


Dear Benjamin,
thanks for the reply.


with "fsl-image-qt5" I do not have 'eglfs' platform 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-copositor -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 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 contents and it could be that there is no QtWayland ready-to use image for you.
Maybe you should create your own image recipe to get QtWayland running.







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



 Von:   Vahid Gharaee <vgharaee@gmail.com> 
 An:   <meta-freescale@yoctoproject.org> 
 Gesendet:   02.08.2017 12:38 
 Betreff:   [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
weston works fine.
qml-compositor example does not work:
on running weston : 
unable to lock lockfile /run/user/root/wayland-0.lock, maybe another compositor 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 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 course it depends on your image setup. 
I also have to set the XDG_RUNTIME_DIR env var.
E.g.:
export XDG_RUNTIME_DIR=/tmp/weston-$USER
mkdir -p /tmp/weston-$USER
chmod 700 /tmp/weston-$USER
qml-compositor -platform eglfs






 
 
PS:
LD_LIBRARY_PATH=/usr/lib
DISPLAY=:0.0 
 
for qtwayland i copied :
<board dir>/tmp/work/cortexA9hf-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 board?
3- do i need specific environment variable? 
4- does qtwayland works for this distribution i have?
 
thanks a lot 

--  
_______________________________________________ 
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 
benjamin.federau@basyskom.com  | www.basyskom.com 
  
Handelsregister: Darmstadt HRB 9352 
Geschaeftsfuehrung: Dr.-Ing. Eva Brucherseifer, Heike Ziegler


 

[-- Attachment #2: Type: text/html, Size: 12807 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-09  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-02 10:38 qtwayland Vahid Gharaee
2017-08-07 15:08 ` qtwayland Benjamin Federau
2017-08-08  5:44   ` qtwayland Vahid Gharaee
2017-08-09  9:19     ` qtwayland Benjamin Federau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.