ARM+FPGA開發(fā)板的強(qiáng)勁圖形系統(tǒng)體驗(yàn)——米爾基于NXP i.MX 8M Mini+Artix-7開發(fā)板
本篇測評由優(yōu)秀測評者“qinyunti”提供。
01 ARM+FPGA異核架構(gòu)開發(fā)板簡單介紹
MYD-JX8MMA7的這款A(yù)RM+FPGA異核架構(gòu)開發(fā)板, 擁有2個(gè)GPU核,一個(gè)用來做3D數(shù)據(jù)處理,另一個(gè)用來做2D和 3D加速。3D GPU核支持:
?OpenGL ES 1.1,2.0
?Open VG 1.1
?2D GPU核支持
?多圖層混合
基于ARM+FPGA異核架構(gòu)開發(fā)板MYD-JX8MMA7,具備非常強(qiáng)的圖形處理能力,板子自帶了很多測試程序,我們就來跑一跑看看。
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的基準(zhǔn)測試程序,對GPU進(jìn)行基準(zhǔn)測試。glmark提供了一系列豐富的測試,涉及圖形單元性能(緩沖,建筑,照明,紋理等)的不同方面,允許進(jìn)行更全面和有意義的測試, 每次測試進(jìn)行10秒,并且單獨(dú)計(jì)算幀速率。
測試得分為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測試總結(jié)
通過以上眾多的測試程序可以看出ARM+FPGA異核架構(gòu)MYD-JX8MMA7開發(fā)板的3D和2D圖形性能非常不錯(cuò),通過glmark2基準(zhǔn)測試也可以和其他芯片進(jìn)行對比,可以看到MYD-JX8MMA7開發(fā)板處理能力甚至媲美某些桌面級的芯片。所以本開發(fā)板也特別適合多媒體產(chǎn)品開發(fā),具備比較強(qiáng)的圖形處理能力。