Graphics performace using qt/wayland/weston on i.MX6 not good

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

Graphics performace using qt/wayland/weston on i.MX6 not good

1,851 Views
vikaspatil
Senior Contributor I

Hi Team,

This is regarding the current project named Toyota CY20 based on i.MX6Dual.  This is based on following components.

Linux  4.1.15

QT 5.9 with wayland and gles2

weston 1.11.1

OpenGL Information

    GL_VENDOR:     Vivante Corporation

    GL_RENDERER:   Vivante GC880

    GL_VERSION:    OpenGL ES 3.0 V5.0.11.p8.41671

With this we see graphics performance with qt is not good. For this we created test application which is attached here. If you touch on shader tab , you can see it is not moving fast. Usually on desktop qt emulator it shows smooth.

Could you please let us know if such issue is known and any fix is available (i.e. in gpu driver, qt or weston) ? Could you please suggest us to check further on this issue? You could reproduce the issue with attached application.

Thank you.

Best Regards,

Vikash

Labels (3)
0 Kudos
5 Replies

1,522 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Vikash,

You are using the GC880, for using QT should be the GC2000, however I can not reproduced in my side, you should use the Linux 4.14.98v, since 4.1.15 its obsolete.

Regards

0 Kudos

1,522 Views
vikaspatil
Senior Contributor I

Hi,

Is it mandatory to use GC2000 with qt5.9 on i.MX6? Does it mean we can not expect support for Linux  4.1.15 based system? How can I enable NXP to reproduce this issue?

Thank you.

Best Regards,

Vikash

0 Kudos

1,522 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi,

Yes it is for GC2000, The BSP should L4.14.98, generally we take the NXP BSP and the SabreSD board to reproduced it.

0 Kudos

1,522 Views
vikaspatil
Senior Contributor I

Hi,

To just better understand, could you please explain how and why GC880 short falls with usage of QT5.9 and where GC2000 improves it.

If possible could you try the attached application on the BSP you mentioned and let us know the performance with shader tab?

I tried glmark2 with full screen see the scores below. Which seems ok except couple of use cases.

=======================================================

    glmark2 2014.03

=======================================================

    OpenGL Information

    GL_VENDOR:     Vivante Corporation

    GL_RENDERER:   Vivante GC880

    GL_VERSION:    OpenGL ES 3.0 V5.0.11.p8.41671

=======================================================

[build] use-vbo=false: FPS: 122 FrameTime: 8.197 ms

[build] use-vbo=true: FPS: 151 FrameTime: 6.623 ms

[texture] texture-filter=nearest: FPS: 114 FrameTime: 8.772 ms

[texture] texture-filter=linear: FPS: 109 FrameTime: 9.174 ms

[texture] texture-filter=mipmap: FPS: 108 FrameTime: 9.259 ms

[shading] shading=gouraud: FPS: 113 FrameTime: 8.850 ms

[shading] shading=blinn-phong-inf: FPS: 81 FrameTime: 12.346 ms

[shading] shading=phong: FPS: 58 FrameTime: 17.241 ms

[shading] shading=cel: FPS: 46 FrameTime: 21.739 ms

[bump] bump-render=high-poly: FPS: 67 FrameTime: 14.925 ms

[bump] bump-render=normals: FPS: 100 FrameTime: 10.000 ms

[bump] bump-render=height: FPS: 88 FrameTime: 11.364 ms

[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 27 FrameTime: 37.037 ms

[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 11 FrameTime: 90.909 ms

[pulsar] light=false:quads=5:texture=false: FPS: 94 FrameTime: 10.638 ms

[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 16 FrameTime: 62.500 ms

[desktop] effect=shadow:windows=4: FPS: 35 FrameTime: 28.571 ms

[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 30 FrameTime: 33.333 ms

[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 29 FrameTime: 34.483 ms

[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 35 FrameTime: 28.571 ms

[ideas] speed=duration: FPS: 35 FrameTime: 28.571 ms

[jellyfish] <default>: FPS: 31 FrameTime: 32.258 ms

[terrain] <default>: FPS: 1 FrameTime: 1000.000 ms

[shadow] <default>: FPS: 39 FrameTime: 25.641 ms

[refract] <default>: FPS: 11 FrameTime: 90.909 ms

[conditionals] fragment-steps=0:vertex-steps=0: FPS: 98 FrameTime: 10.204 ms

[conditionals] fragment-steps=5:vertex-steps=0: FPS: 33 FrameTime: 30.303 ms

[conditionals] fragment-steps=0:vertex-steps=5: FPS: 96 FrameTime: 10.417 ms

[function] fragment-complexity=low:fragment-steps=5: FPS: 57 FrameTime: 17.544 ms

[function] fragment-complexity=medium:fragment-steps=5: FPS: 21 FrameTime: 47.619 ms

[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 53 FrameTime: 18.868 ms

[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 53 FrameTime: 18.868 ms

[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 31 FrameTime: 32.258 ms

=======================================================

                                  glmark2 Score: 60

=======================================================

Best Regards,

Vikash

0 Kudos

1,522 Views
vikaspatil
Senior Contributor I

Hi Team,

Could you please check and comment on this issue?

Best Regards,

Vikash

0 Kudos