Performance issue with weston 1.8/1.9 on IMX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Performance issue with weston 1.8/1.9 on IMX6Q

Jump to solution
4,462 Views
bjurr
Contributor I

I'm currently in the process of updating our board's Yocto bsp (from Daisy to Jethro) and noticed a performance decrease in Weston using fbdev-backend. The simplest way I found to reproduce the issue is by using the weston-simple-egl example. I used to get a solid 60 fps with double buffering, but can't manage to get more than 35 fps now (39 by enabling gal2d).

By pulling the old weston-1.6 recipes, I was able to get a bit more framerate (50fps with double-buffering), but I still can't achieve the 60fps we were previously capable of. The behaviour was observed on our custom board, and also on our development boards which are plain Boundary Devices Sabre-Lite, both running 1280x720p @ 32bpp.

I suspect something has changed in Weston > 1.6 and/or the gpu-viv drivers (now a modular galcore.ko). Also, just to be sure this was not something new introduced in the community repo only, I rebuilt the fsl-arm-yocto-bsp with our kernel and ended up with the same results.

Anybody else has this issue?

For reference, here are the setup:

Old configuration (60 fps):

- Yocto Daisy (meta-fsl-bsp-release)

- Weston 1.6

- Kernel 3.10.53 (linux-imx)

- gpu-viv: 5.0.11.p4.3

New configuration:

- Yocto Jethro (community)

- Weston 1.8/1.9 (tried both, same result)

- Kernel 3.14.38 (linux-imx) / 3.14.52 (nitrogen)

- gpu-viv: 5.0.11.p7.4 / 5.0.11.p8.3

Any pointers would be welcomed. Thanks!

--

Dominique

Labels (3)
1 Solution
3,222 Views
anushreemoholka
NXP Employee
NXP Employee

Hi Benjamin,

Here are the patches in the attachment, Please let me know if it works I am getting 60 fps.

Here is my configuration:

Yocto BSP: 4.1.15

Weston 1.9

imx6Sabresd

I can provide detail step by step description.

Thanks,

Anushree

View solution in original post

9 Replies
3,222 Views
_benjamindubb
Contributor II

I see the same results with SabreSD running iMX6Q. The weston-simple-egl demo app shows 40 FPS on Yocto BSP 3.14.52-1.1.0-ga, and 60 FPS on Yocto BSP 3.10.53-1.1.0. We were evaluating a new BSP to port our product to from 3.10.53, but with GPU performance decrease like that it's probably off the table.

Can someone from Freescale please explain. Thanks,

Ben

0 Kudos
Reply
3,222 Views
anushreemoholka
NXP Employee
NXP Employee

Hi Benjamin,

Please follow this thread as same problem discussion is going on : https://community.nxp.com/message/803646#comment-803646

Please let me know if you have any concerns.

Thanks,

Anushree

3,222 Views
jjohn
Contributor II

Hi Anushree,

The link is not accessible, it saying 'Unauthorized'.

0 Kudos
Reply
3,222 Views
_benjamindubb
Contributor II

Anushree, I'm not able to access that page. It's says "Unauthorized".

0 Kudos
Reply
3,223 Views
anushreemoholka
NXP Employee
NXP Employee

Hi Benjamin,

Here are the patches in the attachment, Please let me know if it works I am getting 60 fps.

Here is my configuration:

Yocto BSP: 4.1.15

Weston 1.9

imx6Sabresd

I can provide detail step by step description.

Thanks,

Anushree

3,222 Views
mrleo
Contributor IV

Hi,Anushree

 In Yocto BSP: 4.1.15-2.1.0-ga your patch I can not apply.

Could you please share the patch with Yocto BSP: 4.1.15-2.1.0-ga weston 1.9  ?

Thanks,

Leo

0 Kudos
Reply
3,222 Views
jjohn
Contributor II

Hi Anushree,

What's the purpose of this patch ? Could you please share further details. I am trying to setup the multi display with weston 1.9.0 (HDMI + LVDS) on a similar setup.

Thank you.

0 Kudos
Reply
3,222 Views
gusarambula
NXP TechSupport
NXP TechSupport

Thanks, Anushree!

0 Kudos
Reply
3,222 Views
anushreemoholka
NXP Employee
NXP Employee

Hi Gusarambula,

Let me know your results.

Thanks,

Anushree

0 Kudos
Reply