The benchmark testing glmark2 scores of iMX95 EVK with MALI G310 has lower scores than compared to the iMX8MP with VIVANTE GC7000 UL.
Based on the GFLOPS scores vivante GC7000 UL with 16/32 and MALI G310 with 32-128. So Based on this computation performance, the Mali gpu should give atleast same or more than the vivante gpu.
imx8mp glmark is 300
imx95 evk is 104
Can you explain why this could be happening please ?
Please find the attachments of the vivante and mali gpu's glmark scores with offscreen command.
已解决! 转到解答。
Hi,
Thanks for your information. Can you try to refer below steps before running benchmark?
Best Regards,
Zhiming
Hello
Release is LF_v6.6.52-2.2.0_images_IMX95EVK
Please find attachments here of glmark scores
Thanks,
yashwanth
Hello,
I did same test with L6.6.52(MIPI-HDMI, 1080P HDMI monitor), the score is 583. Did you run any other gpu task while running glmark2?
root@imx95evk:~# glmark2-es2-wayland --off-screen
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-G310
GL_VERSION: OpenGL ES 3.2 r50p0-00eac0.710cfb6.0f4cbd0292f8afc6fd193b54c0389e04
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 702 FrameTime: 1.425 ms
[build] use-vbo=true:
FPS: 915 FrameTime: 1.093 ms
[texture] texture-filter=nearest:
FPS: 1035 FrameTime: 0.967 ms
[texture] texture-filter=linear:
FPS: 934 FrameTime: 1.071 ms
[texture] texture-filter=mipmap:
FPS: 1068 FrameTime: 0.937 ms
[shading] shading=gouraud:
FPS: 720 FrameTime: 1.389 ms
[shading] shading=blinn-phong-inf:
FPS: 675 FrameTime: 1.482 ms
[shading] shading=phong:
FPS: 541 FrameTime: 1.852 ms
[shading] shading=cel:
FPS: 498 FrameTime: 2.008 ms
[bump] bump-render=high-poly:
FPS: 337 FrameTime: 2.975 ms
[bump] bump-render=normals:
FPS: 1039 FrameTime: 0.963 ms
[bump] bump-render=height:
FPS: 958 FrameTime: 1.045 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;:
FPS: 483 FrameTime: 2.071 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;:
FPS: 272 FrameTime: 3.684 ms
[pulsar] light=false:quads=5:texture=false:^[[A
FPS: 899 FrameTime: 1.113 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:
FPS: 384 FrameTime: 2.610 ms
[desktop] effect=shadow:windows=4:
FPS: 393 FrameTime: 2.548 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map:
FPS: 159 FrameTime: 6.322 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata:
FPS: 76 FrameTime: 13.212 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map:
FPS: 221 FrameTime: 4.544 ms
[ideas] speed=duration:
FPS: 323 FrameTime: 3.099 ms
[jellyfish] <default>:
FPS: 302 FrameTime: 3.320 ms
[terrain] <default>:
FPS: 79 FrameTime: 12.796 ms
[shadow] <default>:
FPS: 539 FrameTime: 1.857 ms
[refract] <default>:
FPS: 170 FrameTime: 5.893 ms
[conditionals] fragment-steps=0:vertex-steps=0:
FPS: 925 FrameTime: 1.081 ms
[conditionals] fragment-steps=5:vertex-steps=0:
FPS: 536 FrameTime: 1.867 ms
[conditionals] fragment-steps=0:vertex-steps=5:
FPS: 906 FrameTime: 1.104 ms
[function] fragment-complexity=low:fragment-steps=5:
FPS: 749 FrameTime: 1.335 ms
[function] fragment-complexity=medium:fragment-steps=5:
FPS: 460 FrameTime: 2.177 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:
FPS: 712 FrameTime: 1.405 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:
FPS: 732 FrameTime: 1.366 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:
FPS: 544 FrameTime: 1.839 ms
=======================================================
glmark2 Score: 583
=======================================================
Best Regards,
Zhiming
Hello Zhiming,
Apologies for the mistake in the documentation. The glmark of evk imx95 with offscreen is 530 and same as you have achieved and without off-screen flag is 73 or 104. Attaching the correct and latest console output of the glmark scores. The minimum lowest frequency score of gpu of imx8mp is 450.
Thanks,
yashwanth
Hi @Zhiming_Liu
I checked after updating the environment with "WESTON_FORCE_RENDERER=1". Have seen better results
But the step systemctl not updating the environment and seen no change. The environment was updated only after system reboot and seen below better results. @VoVan Can you also please try rebooting system after updating environment.
root@imx95-libra-fpsc-1:~# glmark2-es2-wayland --fullscreen .======================================================= glmark2 2023.01 ======================================================= OpenGL Information GL_VENDOR: ARM GL_RENDERER: Mali-G310 GL_VERSION: OpenGL ES 3.2 r50p0-00eac0.710cfb6.0f4cbd0292f8afc6fd193b54c0389e04 Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0 Surface Size: 1280x800 fullscreen ======================================================= [build] use-vbo=false: FPS: 1393 FrameTime: 0.718 ms [build] use-vbo=true: FPS: 2176 FrameTime: 0.460 ms [texture] texture-filter=nearest: FPS: 1805 FrameTime: 0.554 ms [texture] texture-filter=linear: FPS: 1837 FrameTime: 0.545 ms [texture] texture-filter=mipmap: FPS: 1830 FrameTime: 0.547 ms [shading] shading=gouraud: FPS: 2033 FrameTime: 0.492 ms [shading] shading=blinn-phong-inf: FPS: 1913 FrameTime: 0.523 ms [shading] shading=phong: FPS: 1493 FrameTime: 0.670 ms [shading] shading=cel: FPS: 1305 FrameTime: 0.766 ms [bump] bump-render=high-poly: FPS: 1075 FrameTime: 0.930 ms [bump] bump-render=normals: FPS: 2235 FrameTime: 0.447 ms [bump] bump-render=height: FPS: 2132 FrameTime: 0.469 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 747 FrameTime: 1.340 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 242 FrameTime: 4.140 ms [pulsar] light=false:quads=5:texture=false: FPS: 1785 FrameTime: 0.561 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 282 FrameTime: 3.552 ms [desktop] effect=shadow:windows=4: FPS: 724 FrameTime: 1.382 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 183 FrameTime: 5.476 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 187 FrameTime: 5.372 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 304 FrameTime: 3.295 ms [ideas] speed=duration: FPS: 722 FrameTime: 1.387 ms [jellyfish] <default>: FPS: 512 FrameTime: 1.955 ms [terrain] <default>: FPS: 55 FrameTime: 18.391 ms [shadow] <default>: FPS: 1029 FrameTime: 0.973 ms [refract] <default>: FPS: 157 FrameTime: 6.407 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 2001 FrameTime: 0.500 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 1071 FrameTime: 0.934 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 2007 FrameTime: 0.498 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 1606 FrameTime: 0.623 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 872 FrameTime: 1.147 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1595 FrameTime: 0.627 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1599 FrameTime: 0.626 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1122 FrameTime: 0.892 ms ======================================================= glmark2 Score: 1212
I run glmark2-es2-wayland:
root@imx95-19x19-lpddr5-evk:~# export WESTON_FORCE_RENDERER=1 root@imx95-19x19-lpddr5-evk:~# cat /etc/xdg/weston/weston.ini [core]
#gbm-format=argb8888
use-g2d=true
repaint-window=16
modules=screen-share.so
idle-time=0
xwayland=true
#enable-overlay-view=1
root@imx95-19x19-lpddr5-evk:~# systemctl restart weston
root@imx95-19x19-lpddr5-evk:~# glmark2-es2-wayland --fullscreen
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-G310
GL_VERSION: OpenGL ES 3.2 r50p0-00eac0.710cfb6.0f4cbd0292f8afc6fd193b54c0389e04
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 1920x1080 fullscreen
=======================================================
[build] use-vbo=false: FPS: 63 FrameTime: 15.974 ms
[build] use-vbo=true: FPS: 68 FrameTime: 14.722 ms
[texture] texture-filter=nearest: FPS: 70 FrameTime: 14.394 ms
[texture] texture-filter=linear: FPS: 72 FrameTime: 13.964 ms
[texture] texture-filter=mipmap: FPS: 74 FrameTime: 13.632 ms
[shading] shading=gouraud: FPS: 75 FrameTime: 13.403 ms
[shading] shading=blinn-phong-inf: FPS: 72 FrameTime: 13.956 ms
[shading] shading=phong: FPS: 79 FrameTime: 12.728 ms
[shading] shading=cel: FPS: 78 FrameTime: 12.942 ms
[bump] bump-render=high-poly: FPS: 69 FrameTime: 14.604 ms
[bump] bump-render=normals: FPS: 73 FrameTime: 13.837 ms
[bump] bump-render=height: FPS: 74 FrameTime: 13.646 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 105 FrameTime: 9.543 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 111 FrameTime: 9.018 ms
[pulsar] light=false:quads=5:texture=false: FPS: 74 FrameTime: 13.650 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 61 FrameTime: 16.636 ms
[desktop] effect=shadow:windows=4: FPS: 61 FrameTime: 16.552 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 61 FrameTime: 16.652 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 61 FrameTime: 16.659 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 61 FrameTime: 16.576 ms
[ideas] speed=duration: FPS: 61 FrameTime: 16.471 ms
[jellyfish] <default>: FPS: 80 FrameTime: 12.630 ms
[terrain] <default>: FPS: 34 FrameTime: 29.645 ms
[shadow] <default>: FPS: 62 FrameTime: 16.382 ms
[refract] <default>: FPS: 61 FrameTime: 16.637 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 76 FrameTime: 13.186 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 73 FrameTime: 13.761 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 76 FrameTime: 13.199 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 72 FrameTime: 13.970 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 73 FrameTime: 13.760 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 76 FrameTime: 13.248 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 75 FrameTime: 13.499 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 75 FrameTime: 13.506 ms
=======================================================
glmark2 Score: 70
=======================================================
Then i start glmark2 for DRM:
Weston log:
Weston render use g2d - it is ok. But speed of glmark2-es2-wayland in imx8mp higher, wheen speed of glmark2-es2-wayland in imx95.
Differrent between GPU: imx8mp use VivanteGC7000, imx95 use Mali-G310.
VivanteGC7000 use libgbm.so with support gbm_surface_get_in_fence_fd,
Mali-G310 use libgbm.so but no support gbm_surface_get_in_fence_fd....
IMX8MP:
glmark2-es2-wayland:
glmark2-es2-drm:
Imx95(DRM,WWayland test) , Imx8MP(DRM) - the picture is excellent and smooth, but FPS is small...
Imx8MP(Wayland) - the picture is torn in motion, but fps is high...
Is this real fps????:
[build] use-vbo=false: FPS: 812 FrameTime: 1.233 ms
[build] use-vbo=true: FPS: 1237 FrameTime: 0.809 ms
Maybe it's just an incorrect fps calculation...I don't know...
Hi @VoVan
To update the /etc/environment, please use below commands
vi /etc/environment
copy WESTON_FORCE_RENDERER=1 to /etc/environment
systemctl restart weston.service
Here are results with 1080P
root@imx95evk:~# glmark2-es2-wayland --fullscreen
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-G310
GL_VERSION: OpenGL ES 3.2 r53p0-00eac0.f2226b0.2a10cd970ed0294e1de0a25c512ed292
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 1920x1080 fullscreen
=======================================================
[build] use-vbo=false: FPS: 1059 FrameTime: 0.944 ms
[build] use-vbo=true: FPS: 1438 FrameTime: 0.696 ms
[texture] texture-filter=nearest: FPS: 1198 FrameTime: 0.835 ms
[texture] texture-filter=linear: FPS: 1202 FrameTime: 0.833 ms
[texture] texture-filter=mipmap: FPS: 1206 FrameTime: 0.830 ms
[shading] shading=gouraud: FPS: 1251 FrameTime: 0.800 ms
[shading] shading=blinn-phong-inf: FPS: 1107 FrameTime: 0.904 ms
[shading] shading=phong: FPS: 839 FrameTime: 1.193 ms
[shading] shading=cel: FPS: 725 FrameTime: 1.381 ms
[bump] bump-render=high-poly: FPS: 789 FrameTime: 1.268 ms
[bump] bump-render=normals: FPS: 1199 FrameTime: 0.834 ms
[bump] bump-render=height: FPS: 1110 FrameTime: 0.901 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 355 FrameTime: 2.823 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 120 FrameTime: 8.348 ms
[pulsar] light=false:quads=5:texture=false: FPS: 987 FrameTime: 1.014 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 155 FrameTime: 6.465 ms
[desktop] effect=shadow:windows=4: FPS: 360 FrameTime: 2.779 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 160 FrameTime: 6.261 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 178 FrameTime: 5.627 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 261 FrameTime: 3.838 ms
[ideas] speed=duration: FPS: 564 FrameTime: 1.774 ms
[jellyfish] <default>: FPS: 279 FrameTime: 3.587 ms
[terrain] <default>: FPS: 34 FrameTime: 30.014 ms
[shadow] <default>: FPS: 576 FrameTime: 1.739 ms
[refract] <default>: FPS: 108 FrameTime: 9.269 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1092 FrameTime: 0.916 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 585 FrameTime: 1.712 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1095 FrameTime: 0.914 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 835 FrameTime: 1.199 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 470 FrameTime: 2.132 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 834 FrameTime: 1.199 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 834 FrameTime: 1.199 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 600 FrameTime: 1.667 ms
=======================================================
glmark2 Score: 714
=======================================================
root@imx95evk:~# glmark2-es2-drm
Warning: DRM_CAP_ASYNC_PAGE_FLIP not supported, falling back to 'mailbox' mode for SwapInterval(0).
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: ARM
GL_RENDERER: Mali-G310
GL_VERSION: OpenGL ES 3.2 r53p0-00eac0.f2226b0.2a10cd970ed0294e1de0a25c512ed292
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 1920x1080 fullscreen
=======================================================
[build] use-vbo=false: FPS: 120 FrameTime: 8.342 ms
[build] use-vbo=true: FPS: 121 FrameTime: 8.325 ms
[texture] texture-filter=nearest: FPS: 120 FrameTime: 8.333 ms
[texture] texture-filter=linear: FPS: 121 FrameTime: 8.332 ms
[texture] texture-filter=mipmap: FPS: 121 FrameTime: 8.333 ms
[shading] shading=gouraud: FPS: 120 FrameTime: 8.335 ms
[shading] shading=blinn-phong-inf: FPS: 121 FrameTime: 8.330 ms
[shading] shading=phong: FPS: 121 FrameTime: 8.331 ms
[shading] shading=cel: FPS: 121 FrameTime: 8.331 ms
[bump] bump-render=high-poly: FPS: 121 FrameTime: 8.332 ms
[bump] bump-render=normals: FPS: 121 FrameTime: 8.332 ms
[bump] bump-render=height: FPS: 121 FrameTime: 8.331 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 120 FrameTime: 8.338 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 90 FrameTime: 11.159 ms
[pulsar] light=false:quads=5:texture=false: FPS: 121 FrameTime: 8.330 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 98 FrameTime: 10.307 ms
[desktop] effect=shadow:windows=4: FPS: 120 FrameTime: 8.334 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 91 FrameTime: 11.036 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 68 FrameTime: 14.816 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 120 FrameTime: 8.359 ms
[ideas] speed=duration: FPS: 120 FrameTime: 8.334 ms
[jellyfish] <default>: FPS: 113 FrameTime: 8.923 ms
[terrain] <default>: FPS: 33 FrameTime: 31.122 ms
[shadow] <default>: FPS: 121 FrameTime: 8.331 ms
[refract] <default>: FPS: 87 FrameTime: 11.570 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 120 FrameTime: 8.335 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 120 FrameTime: 8.336 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 121 FrameTime: 8.331 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 121 FrameTime: 8.331 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 120 FrameTime: 8.337 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 121 FrameTime: 8.332 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 121 FrameTime: 8.331 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 121 FrameTime: 8.331 ms
=======================================================
glmark2 Score: 111
=======================================================
Best Regards,
Zhiming