ARM+FPGA开发板的强劲图形系统体验——米尔基于NXP i.MX 8M Mini+Artix-7开发板
扫描二维码
随时随地手机看文章
本篇测评由优秀测评者“qinyunti”提供。
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分。
测试得分如下:
root@myd-jx8mma7:/opt/imx-gpu-sdk/GLES2# glmark2-es2-waylandEGL:Warning: No default display support on wayland======================================================= glmark2 2021.02======================================================= OpenGL InformationGL_VENDOR: Vivante CorporationGL_RENDERER: Vivante GC7000NanoUltraGL_VERSION: OpenGL ES 2.0 V6.4.3.p2.336687=======================================================[build] use-vbo=false:FPS:610FrameTime:1.639 ms[build] use-vbo=true:FPS:688FrameTime:1.453 ms[texture] texture-filter=nearest:FPS:605FrameTime:1.653 ms[texture] texture-filter=linear:FPS:580FrameTime:1.724 ms[texture] texture-filter=mipmap:FPS:559FrameTime:1.789 ms[shading] shading=gouraud:FPS:430FrameTime:2.326 ms[shading] shading=blinn-phong-inf:FPS:291FrameTime:3.436 ms[shading] shading=phong:FPS:180FrameTime:5.556 ms[shading] shading=cel:FPS:136FrameTime:7.353 ms[bump] bump-render=high-poly:FPS:194FrameTime:5.155 ms[bump] bump-render=normals:FPS:437FrameTime:2.288 ms[bump] bump-render=height:FPS:352FrameTime:2.841 ms[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS:108FrameTime:9.259 ms[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS:40FrameTime:25.000 ms[pulsar] light=false:quads=5:texture=false: FPS:401FrameTime:2.494 ms[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS:54FrameTime:18.519 ms[desktop] effect=shadow:windows=4: FPS:177FrameTime:5.650 ms[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS:80FrameTime:12.500 ms[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS:80FrameTime:12.500 ms[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS:97FrameTime:10.309 ms[ideas] speed=duration:FPS:202FrameTime:4.950 ms[jellyfish] <default>: FPS:99FrameTime:10.101 ms[terrain] <default>: FPS:1FrameTime:1000.000 ms[shadow] <default>: FPS:152FrameTime:6.579 ms[refract] <default>: FPS:28FrameTime:35.714 ms[conditionals] fragment-steps=0:vertex-steps=0: FPS:383FrameTime:2.611 ms[conditionals] fragment-steps=5:vertex-steps=0: FPS:115FrameTime:8.696 ms[conditionals] fragment-steps=0:vertex-steps=5: FPS:382FrameTime:2.618 ms[function] fragment-complexity=low:fragment-steps=5: FPS:223FrameTime:4.484 ms[function] fragment-complexity=medium:fragment-steps=5: FPS:97FrameTime:10.309 ms[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS:216FrameTime:4.630 ms[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS:217FrameTime:4.608 ms[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS:121FrameTime: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 -altotal 68drwxr-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 READMEdrwxr-xr-x 2 root root 4096 Mar 9 2018 computegles31drwxr-xr-x 2 root root 4096 Mar 9 2018 contextinfodrwxr-xr-x 2 root root 4096 Mar 9 2018 cubedrwxr-xr-x 2 root root 4096 Mar 9 2018 hellogl2drwxr-xr-x 2 root root 4096 Mar 9 2018 hellogles3drwxr-xr-x 2 root root 4096 Mar 9 2018 hellowindowdrwxr-xr-x 10 root root 4096 Mar 9 2018 legacy-rw-r--r-- 1 root root 415 Mar 9 2018 opengl.prodrwxr-xr-x 2 root root 4096 Mar 9 2018 paintedwindowdrwxr-xr-x 2 root root 4096 Mar 9 2018 qopenglwidgetdrwxr-xr-x 2 root root 4096 Mar 9 2018 qopenglwindowdrwxr-xr-x 3 root root 4096 Mar 9 2018 texturesdrwxr-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 -altotal 40drwxr-xr-x 10 root root 4096 Mar 92018 .drwxr-xr-x 12 root root 4096 Mar 92018 ..drwxr-xr-x 2 root root 4096 Mar 92018 BitmapFontdrwxr-xr-x 2 root root 4096 Mar 92018 CoverFlowdrwxr-xr-x 2 root root 4096 Mar 92018 Example1drwxr-xr-x 2 root root 4096 Mar 92018 Example2drwxr-xr-x 2 root root 4096 Mar 92018 Example3drwxr-xr-x 2 root root 4096 Mar 92018 SimpleBenchdrwxr-xr-x 3 root root 4096 Mar 92018 Systemdrwxr-xr-x 2 root root 4096 Mar 92018 VGStressTestroot@myd-jx8mma7:/usr/share/examples/opengl#
Qt
/usr/share/examples/widgets/touch/pinchzoom/pinchzoom
03测试总结
通过以上众多的测试程序可以看出ARM+FPGA异核架构MYD-JX8MMA7开发板的3D和2D图形性能非常不错,通过glmark2基准测试也可以和其他芯片进行对比,可以看到MYD-JX8MMA7开发板处理能力甚至媲美某些桌面级的芯片。所以本开发板也特别适合多媒体产品开发,具备比较强的图形处理能力。