01、ARM+FPGA异核架构开发板简单介绍
MYD-JX8MMA7的这款ARM+FPGA异核架构开发板, 拥有2个GPU核,一个用来做3D数据处理,另一个用来做2D和 3D加速。3D GPU核支持:
- OpenGL ES 1.1,2.0
- Open VG 1.1
- 2D GPU核支持
- 多图层混合
基于ARM+FPGA异核架构开发板MYD-JX8MMA7,具备非常强的图形处理能力,板子自带了很多测试程序,我们就来跑一跑看看。
02、板卡测试
GPU
cd/opt/imx-gpu-sdk/GLES2
./Bloom/GLES2.Bloom_Wayland
./Blur/GLES2.Blur_Wayland
./EightLayerBlend/GLES2.EightLayerBlend_Wayland
./FractalShader/GLES2.FractalShader_Wayland
./LineBuilder101/GLES2.LineBuilder101_Wayland
./ModelLoaderBasics/GLES2.ModelLoaderBasics_Wayland
./ModelViewer/GLES2.ModelViewer_Wayland
./S01_SimpleTriangle/GLES2.S01_SimpleTriangle_Wayland
./S02_ColoredTriangle/GLES2.S02_ColoredTriangle_Wayland
./S03_Transform/GLES2.S03_Transform_Wayland
./S04_Projection/GLES2.S04_Projection_Wayland
./S06_Texturing/GLES2.S06_Texturing_Wayland
./S07_EnvMapping/GLES2.S07_EnvMapping_Wayland
./S08_EnvMappingRefraction/GLES2.S08_EnvMappingRefraction_Wayland
./S09_VIV_direct_texture/GLES2.S09_VIV_direct_texture_Wayland
./SdfFonts/GLES2.SdfFonts_Wayland
./Stats/GLES2.Stats_Wayland
./System/DFGraphicsBasic2D/GLES2.System.DFGraphicsBasic2D_Wayland
./System/DFNativeBatch2D/GLES2.System.DFNativeBatch2D_Wayland
./System/DevBasicRender/GLES2.System.DevBasicRender_Wayland
./System/DevNativeTexture2D/GLES2.System.DevNativeTexture2D_Wayland
./System/InputEvents/GLES2.System.InputEvents_Wayland
./T3DStressTest/GLES2.T3DStressTest_Wayland
./TextureCompression/GLES2.TextureCompression_Wayland
./UI/Benchmark/GLES2.UI.Benchmark_Wayland
./UI/DpiScale/GLES2.UI.DpiScale_Wayland
./UI/PixelPerfect/GLES2.UI.PixelPerfect_Wayland
./UI/SimpleUI100/GLES2.UI.SimpleUI100_Wayland
./UI/SimpleUI101/GLES2.UI.SimpleUI101_Wayland
./UI/SmoothScroll/GLES2.UI.SmoothScroll_Wayland
./UI/ThemeBasicUI/GLES2.UI.ThemeBasicUI_Wayland
./VIVDirectTextureMultiSampling/GLES2.VIVDirectTextureMultiSampling_Wayland
glmark2
glmark2是开源的对OpenGL 2.0和 ES 2.0的基准测试程序,对GPU进行基准测试。glmark提供了一系列丰富的测试,涉及图形单元性能(缓冲,建筑,照明,纹理等)的不同方面,允许进行更全面和有意义的测试, 每次测试进行10秒,并且单独计算帧速率。
测试得分为252分。
https://ubuntuforums.org/showthread.php?t=2131425 有一个对比数据
测试得分如下:
root@myd-jx8mma7:/opt/imx-gpu-sdk/GLES2# glmark2-es2-wayland
EGL: Warning: No default display support on wayland
=======================================================
glmark2 2021.02
=======================================================
OpenGL Information
GL_VENDOR: Vivante Corporation
GL_RENDERER: Vivante GC7000NanoUltra
GL_VERSION: OpenGL ES 2.0 V6.4.3.p2.336687
=======================================================
[build] use-vbo=false: FPS: 610 FrameTime: 1.639 ms
[build] use-vbo=true: FPS: 688 FrameTime: 1.453 ms
[texture] texture-filter=nearest: FPS: 605 FrameTime: 1.653 ms
[texture] texture-filter=linear: FPS: 580 FrameTime: 1.724 ms
[texture] texture-filter=mipmap: FPS: 559 FrameTime: 1.789 ms
[shading] shading=gouraud: FPS: 430 FrameTime: 2.326 ms
[shading] shading=blinn-phong-inf: FPS: 291 FrameTime: 3.436 ms
[shading] shading=phong: FPS: 180 FrameTime: 5.556 ms
[shading] shading=cel: FPS: 136 FrameTime: 7.353 ms
[bump] bump-render=high-poly: FPS: 194 FrameTime: 5.155 ms
[bump] bump-render=normals: FPS: 437 FrameTime: 2.288 ms
[bump] bump-render=height: FPS: 352 FrameTime: 2.841 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 108 FrameTime: 9.259 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 40 FrameTime: 25.000 ms
[pulsar] light=false:quads=5:texture=false: FPS: 401 FrameTime: 2.494 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 54 FrameTime: 18.519 ms
[desktop] effect=shadow:windows=4: FPS: 177 FrameTime: 5.650 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 80 FrameTime: 12.500 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 80 FrameTime: 12.500 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 97 FrameTime: 10.309 ms
[ideas] speed=duration: FPS: 202 FrameTime: 4.950 ms
[jellyfish] <default>: FPS: 99 FrameTime: 10.101 ms
[terrain] <default>: FPS: 1 FrameTime: 1000.000 ms
[shadow] <default>: FPS: 152 FrameTime: 6.579 ms
[refract] <default>: FPS: 28 FrameTime: 35.714 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 383 FrameTime: 2.611 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 115 FrameTime: 8.696 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 382 FrameTime: 2.618 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 223 FrameTime: 4.484 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 97 FrameTime: 10.309 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 216 FrameTime: 4.630 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 217 FrameTime: 4.608 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 121 FrameTime: 8.264 ms
=======================================================
glmark2 Score: 252
=======================================================
root@myd-jx8mma7:/opt/imx-gpu-sdk/GLES2#
Opengl
cd /usr/share/examples/opengl/
如下有一些测试程序,这里不再截图
root@myd-jx8mma7:/usr/share/examples/opengl# ls -al
total 68
drwxr-xr-x 15 root root 4096 Mar 9 2018 .
drwxr-xr-x 19 root root 4096 Mar 9 2018 ..
drwxr-xr-x 2 root root 4096 Mar 9 2018 2dpainting
-rw-r--r-- 1 root root 408 Mar 9 2018 README
drwxr-xr-x 2 root root 4096 Mar 9 2018 computegles31
drwxr-xr-x 2 root root 4096 Mar 9 2018 contextinfo
drwxr-xr-x 2 root root 4096 Mar 9 2018 cube
drwxr-xr-x 2 root root 4096 Mar 9 2018 hellogl2
drwxr-xr-x 2 root root 4096 Mar 9 2018 hellogles3
drwxr-xr-x 2 root root 4096 Mar 9 2018 hellowindow
drwxr-xr-x 10 root root 4096 Mar 9 2018 legacy
-rw-r--r-- 1 root root 415 Mar 9 2018 opengl.pro
drwxr-xr-x 2 root root 4096 Mar 9 2018 paintedwindow
drwxr-xr-x 2 root root 4096 Mar 9 2018 qopenglwidget
drwxr-xr-x 2 root root 4096 Mar 9 2018 qopenglwindow
drwxr-xr-x 3 root root 4096 Mar 9 2018 textures
drwxr-xr-x 2 root root 4096 Mar 9 2018 threadedqopenglwidget
Opengv
cd /opt/imx-gpu-sdk/OpenVG
如下有一些测试程序,这里不再截图
root@myd-jx8mma7:/usr/share/examples/opengl# ls /opt/imx-gpu-sdk/OpenVG -al
total 40
drwxr-xr-x 10 root root 4096 Mar 9 2018 .
drwxr-xr-x 12 root root 4096 Mar 9 2018 ..
drwxr-xr-x 2 root root 4096 Mar 9 2018 BitmapFont
drwxr-xr-x 2 root root 4096 Mar 9 2018 CoverFlow
drwxr-xr-x 2 root root 4096 Mar 9 2018 Example1
drwxr-xr-x 2 root root 4096 Mar 9 2018 Example2
drwxr-xr-x 2 root root 4096 Mar 9 2018 Example3
drwxr-xr-x 2 root root 4096 Mar 9 2018 SimpleBench
drwxr-xr-x 3 root root 4096 Mar 9 2018 System
drwxr-xr-x 2 root root 4096 Mar 9 2018 VGStressTest
root@myd-jx8mma7:/usr/share/examples/opengl#
Qt
/usr/share/examples/widgets/touch/pinchzoom/pinchzoom
03、测试总结
通过以上众多的测试程序可以看出ARM+FPGA异核架构MYD-JX8MMA7开发板的3D和2D图形性能非常不错,通过glmark2基准测试也可以和其他芯片进行对比,可以看到MYD-JX8MMA7开发板处理能力甚至媲美某些桌面级的芯片。所以本开发板也特别适合多媒体产品开发,具备比较强的图形处理能力。
米尔电子,是一家专注于嵌入式处理器模组设计研发、生产、销售于一体的高新技术企业。米尔电子在嵌入式处理器领域具有10多年的研发经验,为客户提供基于ARM架构、FPGA架构的CPU模组及充电控制系统等产品和服务;为智能医疗、智能交通、智能安防、物联网、边缘计算、工业网关、人工智能等行业客户,提供定制解决方案和OEM服务。公司通过专业高效的服务帮助客户加速产品上市进程,目前已为行业内10000家以上的企业客户服务。
本篇测评由优秀测评者“qinyunti”提供。