Qt widget app is dramatically slow

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

Qt widget app is dramatically slow

1,511 Views
Sun1z
Contributor III

Hi All,

I am testing sumo 4.14.98_2.0.0 and zeus 5.4.3_1.0.0 on i.MX6Q sabresd board. the qt widgets application ("animatedtiles" in qtbase example) runs smooth on sumo but not on zeus, the performance on zeus is even worse than i.MX25 (400MHz ARM9 without opengl), the tiles moves in 1~2 steps per second while normal is tens steps. on qml engine, both of them look normal.

I wonder is it a known issue and is there a patch available?

B.R

Nus

0 Kudos
Reply
3 Replies

1,383 Views
Sun1z
Contributor III

Solved by enable "use-g2d=1" in weston.ini, strange that on sumo it's disabled too but smooth.

btw: is it certain that qtwidgets doesn't support video hw codec? when playing video by qtwidgets application like "player" example, it's only 2~3 FPS while "qmlvideo" has 30 FPS.

1,383 Views
b36401
NXP Employee
NXP Employee

Yes. It is recommended to have "use-g2d=1" on L4.14.

0 Kudos
Reply

1,383 Views
Sun1z
Contributor III

I still have a concern that why "use-g2d=1" is commented, from meta source, there is such description "OpenGL is not required for parts with GPU support for 2D but not 3D", and "use-g2d" is enabled only for i.MX7 and i.MX8. I wonder is there any side effor for i.MX6 if "use-g2d" is enabled.

0 Kudos
Reply