ARM+FPGA開發(fā)板的強(qiáng)勁圖形系統(tǒng)體驗——米爾基于NXP i.MX 8M Mini+Artix-7開發(fā)板
本篇測評由優(yōu)秀測評者“qinyunti”提供。
本文引用地址:http://m.butianyuan.cn/article/202303/445157.htm01 ARM+FPGA異核架構(gòu)開發(fā)板簡單介紹
MYD-JX8MMA7的這款ARM+FPGA異核架構(gòu)開發(fā)板, 擁有2個GPU核,一個用來做3D數(shù)據(jù)處理,另一個用來做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ú)計算幀速率。
測試得分為252分。
https://ubuntuforums.org/showthread.php?t=2131425 有一個對比數(shù)據(jù)
測試得分如下:
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 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圖形性能非常不錯,通過glmark2基準(zhǔn)測試也可以和其他芯片進(jìn)行對比,可以看到MYD-JX8MMA7開發(fā)板處理能力甚至媲美某些桌面級的芯片。所以本開發(fā)板也特別適合多媒體產(chǎn)品開發(fā),具備比較強(qiáng)的圖形處理能力。
米爾電子,是一家專注于嵌入式處理器模組設(shè)計研發(fā)、生產(chǎn)、銷售于一體的高新技術(shù)企業(yè)。米爾電子在嵌入式處理器領(lǐng)域具有10多年的研發(fā)經(jīng)驗,為客戶提供基于ARM架構(gòu)、FPGA架構(gòu)的CPU模組及充電控制系統(tǒng)等產(chǎn)品和服務(wù);為智能醫(yī)療、智能交通、智能安防、物聯(lián)網(wǎng)、邊緣計算、工業(yè)網(wǎng)關(guān)、人工智能等行業(yè)客戶,提供定制解決方案和OEM服務(wù)。公司通過專業(yè)高效的服務(wù)幫助客戶加速產(chǎn)品上市進(jìn)程,目前已為行業(yè)內(nèi)10000家以上的企業(yè)客戶服務(wù)。
評論