Re: [meta-freescale] imx6 mesa-etnaviv performance to expect

2018-09-07 Thread Otavio Salvador
On Fri, Sep 7, 2018 at 5:16 PM Andreas Müller  wrote:
> I am currently working on BSP refresh for Variscite VARSOM iMX6.
> Patches to meta-freescale-3rdparty will be sent soon (see [1]) and
> when brave enough I'll give linux mainline a try - but currently I am
> not :).
> For many reasons I try to avoid BLOBs for graphic acceleration. One of
> them on vivante is that I cannot have X/Wayland in same image. BTW
> That caused dozens of patches in meta-qt5-extra/kde which I am really
> tired of maintaining.
> So I decided to give mesa-etnaviv on linux-fslc a go. Up to now
> nothing burned down and most periphery works but I have the feeling
> that system feels a bit sluggish.
>
> My setup:
> * GC2000 vivante
> * Xserver(1.19.6)
> * latest xf86-video-armada / libdrm-armada seemed quiet recently
> * Mesa (18.1.3)
> * libdrm (2.4.91)
> * connected by HDMI to a monitor 1280x1024.
>
> With glmark2-es2 I get results of 80 frame/s.
>
> Now my question:
>
> Is this a value to expect? Or do others get higher values which means
> I am doing something wrong. Answers of any kind welcome :)

If you use master you will likely see some improvement due to newer
mesa and libdrm.

I did a look at your patches and I'd love to get it merged. Specially
about your dts patches, did you consider sending it to mainline?
either way, I'd prefer to apply it to our fork then carry patches on
it.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH] wpewebkit: update gst http plugin dependency Change gstreamer http plugin dependency specific to iMX gstreamer

2018-09-07 Thread Otavio Salvador
On Fri, Aug 31, 2018 at 1:16 PM Sivasubramanian Patchaiperumal
 wrote:
>
> Yes Otavio as we are still using 
> https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/meta-bsp/recipes-multimedia/gstreamer?h=morty-4.9.51-8mq_ga
>  branch only.

Please consider using our master branch.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Is meta-freescale (sumo branch) ready to use?

2018-09-07 Thread Otavio Salvador
Glad to hear it!
On Fri, Sep 7, 2018 at 3:31 AM Stefano Cappa
 wrote:
>
> Perfect thank you, it worked
>
> Il gio 6 set 2018, 14:22 Otavio Salvador  
> ha scritto:
>>
>>
>>
>> On Thu, Sep 6, 2018 at 3:16 AM Stefano Cappa  
>> wrote:
>>>
>>> Otavio, thank you for the answer
>>>
>>> For imx6 ULL evk is the same? Because I'm using exactly that version.
>>>
>>> Also, can I change Linux and uboot form the default -imx versions to the 
>>> mainline -fslc?
>>> If yes, how ? Because by default is using -imx.
>>
>>
>> You can append the 'use-mainline-bsp' override in the machine.
>>
>> --
>> Otavio Salvador O.S. Systems
>> http://www.ossystems.com.brhttp://code.ossystems.com.br
>> Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750



-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH 10/10] pulseaudio: Enable allow-autospawn-for-root as default

2018-09-07 Thread Otavio Salvador
On Mon, Aug 6, 2018 at 1:55 PM Yuqing Zhu  wrote:
>
> Start pulseaudio as root.
>
> Signed-off-by: Yuqing Zhu 

This is not related to the BSP but a behavior setting. If you really
want to enable it, do it inside the fsl distro.

-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] imx6 mesa-etnaviv performance to expect

2018-09-07 Thread Andreas Müller
Hi,

I am currently working on BSP refresh for Variscite VARSOM iMX6.
Patches to meta-freescale-3rdparty will be sent soon (see [1]) and
when brave enough I'll give linux mainline a try - but currently I am
not :).
For many reasons I try to avoid BLOBs for graphic acceleration. One of
them on vivante is that I cannot have X/Wayland in same image. BTW
That caused dozens of patches in meta-qt5-extra/kde which I am really
tired of maintaining.
So I decided to give mesa-etnaviv on linux-fslc a go. Up to now
nothing burned down and most periphery works but I have the feeling
that system feels a bit sluggish.

My setup:
* GC2000 vivante
* Xserver(1.19.6)
* latest xf86-video-armada / libdrm-armada seemed quiet recently
* Mesa (18.1.3)
* libdrm (2.4.91)
* connected by HDMI to a monitor 1280x1024.

With glmark2-es2 I get results of 80 frame/s.

Now my question:

Is this a value to expect? Or do others get higher values which means
I am doing something wrong. Answers of any kind welcome :)

Cheers,

Andreas

[1] https://github.com/schnitzeltony/meta-freescale-3rdparty/tree/work-2018-09
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [3rdparty][pyro][PATCH] u-boot-script-gateworks-imx: fix bootscript source

2018-09-07 Thread Otavio Salvador
On Thu, Sep 6, 2018 at 3:49 PM Jean-François Têtu
 wrote:
>
> Currently, the recipe uses the script found relative to ${THISDIR}.
> Using ${THISDIR} prevents other recipes from using FILESEXTRAPATHS to
> overwrite the default boot script. This commit fixes this by using
> ${WORKDIR} instead.
>
> Signed-off-by: Jean-François Têtu 

Thank you for sending the patch. I applied it to the following branches:

- master
- sumo
- rocko
- pyro

Next time, please send it over master and once we merge it we can
backport. Otherwise, we might end with issues being fixed in one
branch but not another...

Best Regards,

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Tom Hochstein
Hi Gary,

The problem is the upstreaming is incomplete. I am working with Otavio on 
another set of patches that will fix this.

Tom

-Original Message-
From: Gary Bisson  
Sent: Friday, September 7, 2018 3:05 AM
To: Tom Hochstein 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [v3,04/43] weston: Fix non-GPU support

Hi Tom,

On Tue, Aug 07, 2018 at 10:41:56AM -0500, Tom Hochstein wrote:
> The desktop failed to start on i.MX parts without GPU. The problem is 
> fixed, and now the package must be configured for i.MX GPU support.
> 
> Signed-off-by: Tom Hochstein 
> ---
>  recipes-graphics/wayland/weston_4.0.0.imx.bb | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb 
> b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> index fc6a65f..7a2aab6 100644
> --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
> +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> @@ -15,7 +15,7 @@ SRC_URI = 
> "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http
> file://xwayland.weston-start \
> 
> file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \  "
> -SRCREV = "bf74309dd16d86537ff07eabf8b499cb2d25277d"
> +SRCREV = "642006cbd89e7ae51a7ce672c899614814dc4ef0"

Have you tested this patch only with a non-GPU configuration?

Because this revision simply fails to build currently for configuration with 
GPU, giving the following error:
| make: *** No rule to make target 
'protocol/alpha-compositing-unstable-v1-protocol.c', needed by 'all'.  Stop.
| ERROR: oe_runmake failed

And indeed the source code seems broken as this patch relies on files that were 
not pushed:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fimx%2Fweston-imx%2Fcommit%2F%3Fid%3D26172d61data=02%7C01%7Ctom.hochstein%40nxp.com%7Cafaf2673728b4acfb5ba08d61498ad18%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636719043304342156sdata=iwYl2Cj9qoPmRRnkvt%2FHf%2BQ21P%2F30yQ4%2BqftayA0nKk%3Dreserved=0

It's missing:
protocol/alpha-compositing-unstable-v1-protocol.c
protocol/alpha-compositing-unstable-v1-client-protocol.h
protocol/alpha-compositing-unstable-v1-server-protocol.h

Please have the Weston team add the missing files or submit a revert patch to 
meta-freescale.

Regards,
Gary
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Patch sent to linux-fslc

2018-09-07 Thread Fabio Estevam
Hi Andreas,

On Fri, Sep 7, 2018 at 10:06 AM, Andreas Müller  wrote:
> Hi,
>
> don't know, who's duty it is to review so I send this email to widen
> the audience.
>
> Just sent out a patch to linux-fslc which makes Bluetooth work on
> Variscite-VarSOM when using networkmanager - details at [1]
>
> Cheers,
>
> Andreas
>
> [1] https://github.com/Freescale/linux-fslc/pull/32

This change makes sense.

The same patch has been submitted and will reach reach kernel 4.20:
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/defconfig=58cfbcaae469793899d524a70995f0cfadcb4425
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Tom Hochstein



> -Original Message-
> From: Gary Bisson 
> Sent: Friday, September 7, 2018 7:19 AM
> To: Tom Hochstein 
> Cc: meta-freescale@yoctoproject.org
> Subject: Re: [v3,04/43] weston: Fix non-GPU support
> 
> Hi Tom,
> 
> On Fri, Sep 07, 2018 at 11:41:35AM +, Tom Hochstein wrote:
> > Hi Gary,
> >
> > The problem is the upstreaming is incomplete.
> 
> Which upstreaming are you talking about? weston-imx or meta-freescale?

meta-freescale

> 
> I understand that not all the components are in meta-freescale yet but do
> not understand how can the weston-imx be built when files are missing. I still
> believe there's an issue with weston-imx branch as it is today.

We are patching wayland-protocols, adding HDR10 metadata and alpha compositing 
protocols. I believe that should fix the build break you see.

> 
> > I am working with Otavio on another set of patches that will fix this.
> 
> Ok, do you have an ETA on this? I'm asking because master is currently the
> only branch that can be built for i.MX8M platforms.

Hopefully today. I need to update my pull request to Otavio, then he will take 
it from there.

> 
> Right now it cannot builb an image with Weston for i.MX8M/i.MX6x solely
> because of this patch...
> 
> Regards,
> Gary
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Gary Bisson
Hi Tom,

On Fri, Sep 07, 2018 at 01:26:36PM +, Tom Hochstein wrote:
> 
> 
> > -Original Message-
> > From: Gary Bisson 
> > Sent: Friday, September 7, 2018 7:19 AM
> > To: Tom Hochstein 
> > Cc: meta-freescale@yoctoproject.org
> > Subject: Re: [v3,04/43] weston: Fix non-GPU support
> > 
> > Hi Tom,
> > 
> > On Fri, Sep 07, 2018 at 11:41:35AM +, Tom Hochstein wrote:
> > > Hi Gary,
> > >
> > > The problem is the upstreaming is incomplete.
> > 
> > Which upstreaming are you talking about? weston-imx or meta-freescale?
> 
> meta-freescale
> 
> > 
> > I understand that not all the components are in meta-freescale yet but do
> > not understand how can the weston-imx be built when files are missing. I 
> > still
> > believe there's an issue with weston-imx branch as it is today.
> 
> We are patching wayland-protocols, adding HDR10 metadata and alpha 
> compositing protocols. I believe that should fix the build break you see.

Indeed, you're right that should fix it. I could wrap my head around the
fact that weston includes files that aren't there (wasn't aware of the
wayland-protocols).

> > > I am working with Otavio on another set of patches that will fix this.
> > 
> > Ok, do you have an ETA on this? I'm asking because master is currently the
> > only branch that can be built for i.MX8M platforms.
> 
> Hopefully today. I need to update my pull request to Otavio, then he will 
> take it from there.

Awesome, I'll make sure to test your series (worst case on Monday).

Regards,
Gary
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Patch sent to linux-fslc

2018-09-07 Thread Andreas Müller
Hi,

don't know, who's duty it is to review so I send this email to widen
the audience.

Just sent out a patch to linux-fslc which makes Bluetooth work on
Variscite-VarSOM when using networkmanager - details at [1]

Cheers,

Andreas

[1] https://github.com/Freescale/linux-fslc/pull/32
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Gary Bisson
Hi Tom,

On Fri, Sep 07, 2018 at 11:41:35AM +, Tom Hochstein wrote:
> Hi Gary,
> 
> The problem is the upstreaming is incomplete.

Which upstreaming are you talking about? weston-imx or meta-freescale?

I understand that not all the components are in meta-freescale yet but
do not understand how can the weston-imx be built when files are
missing. I still believe there's an issue with weston-imx branch as it
is today.

> I am working with Otavio on another set of patches that will fix this.

Ok, do you have an ETA on this? I'm asking because master is currently
the only branch that can be built for i.MX8M platforms.

Right now it cannot builb an image with Weston for i.MX8M/i.MX6x solely
because of this patch...

Regards,
Gary
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [v3,04/43] weston: Fix non-GPU support

2018-09-07 Thread Gary Bisson
Hi Tom,

On Tue, Aug 07, 2018 at 10:41:56AM -0500, Tom Hochstein wrote:
> The desktop failed to start on i.MX parts without GPU. The problem
> is fixed, and now the package must be configured for i.MX GPU
> support.
> 
> Signed-off-by: Tom Hochstein 
> ---
>  recipes-graphics/wayland/weston_4.0.0.imx.bb | 5 -
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb 
> b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> index fc6a65f..7a2aab6 100644
> --- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
> +++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
> @@ -15,7 +15,7 @@ SRC_URI = 
> "git://source.codeaurora.org/external/imx/weston-imx.git;protocol=http
> file://xwayland.weston-start \
> 
> file://0001-weston-launch-Provide-a-default-version-that-doesn-t.patch \
>  "
> -SRCREV = "bf74309dd16d86537ff07eabf8b499cb2d25277d"
> +SRCREV = "642006cbd89e7ae51a7ce672c899614814dc4ef0"

Have you tested this patch only with a non-GPU configuration?

Because this revision simply fails to build currently for configuration
with GPU, giving the following error:
| make: *** No rule to make target 
'protocol/alpha-compositing-unstable-v1-protocol.c', needed by 'all'.  Stop.
| ERROR: oe_runmake failed

And indeed the source code seems broken as this patch relies on files
that were not pushed:
https://source.codeaurora.org/external/imx/weston-imx/commit/?id=26172d61

It's missing:
protocol/alpha-compositing-unstable-v1-protocol.c
protocol/alpha-compositing-unstable-v1-client-protocol.h
protocol/alpha-compositing-unstable-v1-server-protocol.h

Please have the Weston team add the missing files or submit a revert
patch to meta-freescale.

Regards,
Gary
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Is meta-freescale (sumo branch) ready to use?

2018-09-07 Thread Stefano Cappa
Perfect thank you, it worked

Il gio 6 set 2018, 14:22 Otavio Salvador 
ha scritto:

>
>
> On Thu, Sep 6, 2018 at 3:16 AM Stefano Cappa 
> wrote:
>
>> Otavio, thank you for the answer
>>
>> For imx6 ULL evk is the same? Because I'm using exactly that version.
>>
>> Also, can I change Linux and uboot form the default -imx versions to the
>> mainline -fslc?
>> If yes, how ? Because by default is using -imx.
>>
>
> You can append the 'use-mainline-bsp' override in the machine.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale