[
Edit: I made a bit of an oops, and posted the wrong results for the N2. I have edited the post to correct this.]
While still a long way to go before matching the binary blob for performance. It's still great to see amazing progress on features.
For those interested in a comparison of N2 (Mali G52) vs C4 (Mali G31) using Panfrost with just drm/gbm.
kernel: 5.11rc3 + patches
mesa: 21.0.0-rc1
N2
Code: Select all
CoreELEC:~ # glmark2-es2-drm --off-screen
=======================================================
glmark2 2020.04
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali G52 (Panfrost)
GL_VERSION: OpenGL ES 3.0 Mesa 21.0.0-rc1
=======================================================
[build] use-vbo=false: FPS: 341 FrameTime: 2.933 ms
[build] use-vbo=true: FPS: 425 FrameTime: 2.353 ms
[texture] texture-filter=nearest: FPS: 622 FrameTime: 1.608 ms
[texture] texture-filter=linear: FPS: 618 FrameTime: 1.618 ms
[texture] texture-filter=mipmap: FPS: 628 FrameTime: 1.592 ms
[shading] shading=gouraud: FPS: 308 FrameTime: 3.247 ms
[shading] shading=blinn-phong-inf: FPS: 306 FrameTime: 3.268 ms
[shading] shading=phong: FPS: 257 FrameTime: 3.891 ms
[shading] shading=cel: FPS: 242 FrameTime: 4.132 ms
[bump] bump-render=high-poly: FPS: 129 FrameTime: 7.752 ms
[bump] bump-render=normals: FPS: 509 FrameTime: 1.965 ms
[bump] bump-render=height: FPS: 470 FrameTime: 2.128 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 187 FrameTime: 5.348 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 74 FrameTime: 13.514 ms
[pulsar] light=false:quads=5:texture=false: FPS: 660 FrameTime: 1.515 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 58 FrameTime: 17.241 ms
[desktop] effect=shadow:windows=4: FPS: 252 FrameTime: 3.968 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 152 FrameTime: 6.579 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 152 FrameTime: 6.579 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 164 FrameTime: 6.098 ms
[ideas] speed=duration: FPS: 176 FrameTime: 5.682 ms
[jellyfish] <default>: FPS: 172 FrameTime: 5.814 ms
[terrain] <default>: FPS: 11 FrameTime: 90.909 ms
[shadow] <default>: FPS: 138 FrameTime: 7.246 ms
[refract] <default>: FPS: 29 FrameTime: 34.483 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 524 FrameTime: 1.908 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 308 FrameTime: 3.247 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 518 FrameTime: 1.931 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 417 FrameTime: 2.398 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 307 FrameTime: 3.257 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 408 FrameTime: 2.451 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 408 FrameTime: 2.451 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 251 FrameTime: 3.984 ms
=======================================================
glmark2 Score: 309
=======================================================
C4
Code: Select all
CoreELEC:~ # glmark2-es2-drm --off-screen
=======================================================
glmark2 2020.04
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali G31 (Panfrost)
GL_VERSION: OpenGL ES 3.0 Mesa 21.0.0-rc1
=======================================================
[build] use-vbo=false: FPS: 162 FrameTime: 6.173 ms
[build] use-vbo=true: FPS: 195 FrameTime: 5.128 ms
[texture] texture-filter=nearest: FPS: 290 FrameTime: 3.448 ms
[texture] texture-filter=linear: FPS: 290 FrameTime: 3.448 ms
[texture] texture-filter=mipmap: FPS: 288 FrameTime: 3.472 ms
[shading] shading=gouraud: FPS: 137 FrameTime: 7.299 ms
[shading] shading=blinn-phong-inf: FPS: 133 FrameTime: 7.519 ms
[shading] shading=phong: FPS: 106 FrameTime: 9.434 ms
[shading] shading=cel: FPS: 93 FrameTime: 10.753 ms
[bump] bump-render=high-poly: FPS: 55 FrameTime: 18.182 ms
[bump] bump-render=normals: FPS: 223 FrameTime: 4.484 ms
[bump] bump-render=height: FPS: 201 FrameTime: 4.975 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 67 FrameTime: 14.925 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 23 FrameTime: 43.478 ms
[pulsar] light=false:quads=5:texture=false: FPS: 327 FrameTime: 3.058 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 23 FrameTime: 43.478 ms
[desktop] effect=shadow:windows=4: FPS: 126 FrameTime: 7.937 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 42 FrameTime: 23.810 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 42 FrameTime: 23.810 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 46 FrameTime: 21.739 ms
[ideas] speed=duration: FPS: 102 FrameTime: 9.804 ms
[jellyfish] <default>: FPS: 64 FrameTime: 15.625 ms
[terrain] <default>: FPS: 3 FrameTime: 333.333 ms
[shadow] <default>: FPS: 65 FrameTime: 15.385 ms
[refract] <default>: FPS: 12 FrameTime: 83.333 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 219 FrameTime: 4.566 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 110 FrameTime: 9.091 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 218 FrameTime: 4.587 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 162 FrameTime: 6.173 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 108 FrameTime: 9.259 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 160 FrameTime: 6.250 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 160 FrameTime: 6.250 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 92 FrameTime: 10.870 ms
=======================================================
glmark2 Score: 131
=======================================================