关于imx6dq android422平台下 应用软件画图耗时问题

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

关于imx6dq android422平台下 应用软件画图耗时问题

1,483 Views
sunyd
Contributor I
您好,如下问题需要请教您:
过程介绍:
在imax6 Android422平台上运行波线打印程序:打印过程如下图
pastedImage_6.png
现在运行平台:
硬件:IMX6dq 内存1G
软件:Android422
运行该打印波线程序耗时7s
之前的平台:
硬件:335x 单核800Mhz,内存256M,
软件:Android2.3
运行该打印波线程序耗时3s
问题:imx6dq的性能比335x的性能要优越,但为什么 打印耗时却比较高?
pastedImage_7.png
pastedImage_8.png
对上述三项作如下不同选择,Y代表被选择,N代表没被选择
停用HW叠加层 Y
强制进行GPU渲染 N
强制启用4x MSAA N
打印耗时:7s
停用HW叠加层 N
强制进行GPU渲染 N
强制启用4x MSAA N
打印耗时:7s
停用HW叠加层 N
强制进行GPU渲染 Y
强制启用4x MSAA N
打印耗时:7s
停用HW叠加层 Y
强制进行GPU渲染 Y
强制启用4x MSAA N
打印耗时:7s
内存:ecg.apk为上述波线打印程序,下图为该apk打印中和打印完成后的内存变化
pastedImage_9.png
vmstat:
pastedImage_10.png
0 Kudos
4 Replies

1,367 Views
jimmychan
NXP TechSupport
NXP TechSupport

How you draw the line out?

Which i.MX6 processor are you using?

What is the display are you using? LVDS?

0 Kudos

1,367 Views
sunyd
Contributor I
  • How you draw the line out?

      http://note.youdao.com/noteshare?id=adc5a12b5a07ca27fd6f966f4e7ca48d&sub=113EEDD4C033473D9968398D022... 

  •    Which i.MX6 processor are you using?

         IMX6dq

  • What is the display are you using? LVDS?

         LVDS

thank you very much!

0 Kudos

1,367 Views
jimmychan
NXP TechSupport
NXP TechSupport

i.MX6D is dual core , i.MX6Q is 4 core. So, which one are you using?

Attached is the Android User Guide. In 5.4.2, there are parameters for reserved memory setting in bootargs. You may try to adjust fbmem, vmalloc and gpumem.

Android 4.2.2 is quite old version of BSP. There are newer version of Android. You may try to have a quick test of the performance of your apps in demo image if you don't want to build the BSP.

0 Kudos

1,367 Views
sunyd
Contributor I
  • which one are you using?

      it's  i.MX6D (is dual core)

  • Android4.2.2 can not be changed!

  • And have try to test for the same ecg.apk by different platform Android4.4.2 and Android6.0.1,

      but the effect not be changed。

let me try your‘s support;

thank you !

0 Kudos