RockPi4 GPU performance

Hi,

Can anyone try to run ‘glmark2-es2 --off-screen’ and post their results? I’m getting low scores and I can’t figure out why.
Running on the Debian Stretch image, I get ~240 when running off-screen (default resolution).
For comparison, the Nanopi NEO4 with similar hardware gets ~500 for the exact same test.

Thanks

1 Like

I installed it on my ubuntu image, but it give me an error. i keep you updated when i solved the issue.

rock@RockPi(~):/usr/bin/glmark2-es2 --off-screen
libEGL warning: DRI2: failed to authenticate
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 6.0, 128 bits)
    GL_VERSION:    OpenGL ES 3.0 Mesa 18.0.5
=======================================================
[build] use-vbo=false: FPS: 41 FrameTime: 24.390 ms
[build] use-vbo=true: FPS: 38 FrameTime: 26.316 ms
[texture] texture-filter=nearest: FPS: 172 FrameTime: 5.814 ms
[texture] texture-filter=linear: FPS: 158 FrameTime: 6.329 ms
[texture] texture-filter=mipmap: FPS: 140 FrameTime: 7.143 ms
[shading] shading=gouraud: FPS: 27 FrameTime: 37.037 ms
[shading] shading=blinn-phong-inf: FPS: 26 FrameTime: 38.462 ms
[shading] shading=phong: FPS: 30 FrameTime: 33.333 ms
[shading] shading=cel: FPS: 24 FrameTime: 41.667 ms
[bump] bump-render=high-poly: FPS: 19 FrameTime: 52.632 ms
[bump] bump-render=normals: FPS: 193 FrameTime: 5.181 ms
[bump] bump-render=height: FPS: 156 FrameTime: 6.410 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 95 FrameTime: 10.526 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 67 FrameTime: 14.925 ms
[pulsar] light=false:quads=5:texture=false: FPS: 135 FrameTime: 7.407 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 16 FrameTime: 62.500 ms
[desktop] effect=shadow:windows=4: FPS: 36 FrameTime: 27.778 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 21 FrameTime: 47.619 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 21 FrameTime: 47.619 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 24 FrameTime: 41.667 ms
[ideas] speed=duration: FPS: 23 FrameTime: 43.478 ms
[jellyfish] <default>: FPS: 25 FrameTime: 40.000 ms
[terrain] <default>: FPS: 1 FrameTime: 1000.000 ms
[shadow] <default>: FPS: 21 FrameTime: 47.619 ms
[refract] <default>: FPS: 4 FrameTime: 250.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 64 FrameTime: 15.625 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 62 FrameTime: 16.129 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 64 FrameTime: 15.625 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 58 FrameTime: 17.241 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 62 FrameTime: 16.129 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 61 FrameTime: 16.393 ms
=======================================================
                                  glmark2 Score: 60 
=======================================================

Thank you :slight_smile:
The software renderer kicked in instead of the hardware. That means relatively lower results.

A bit very late, but if use hardware acceleration you will get this (same ~250). Not even close to 500

log
root@linux:/home/rock# /usr/bin/glmark2-es2 --off-screen
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-T860
    GL_VERSION:    OpenGL ES 3.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3
=======================================================
[build] use-vbo=false: FPS: 258 FrameTime: 3.876 ms
[build] use-vbo=true: FPS: 348 FrameTime: 2.874 ms
[texture] texture-filter=nearest: FPS: 419 FrameTime: 2.387 ms
[texture] texture-filter=linear: FPS: 407 FrameTime: 2.457 ms
[texture] texture-filter=mipmap: FPS: 390 FrameTime: 2.564 ms
[shading] shading=gouraud: FPS: 275 FrameTime: 3.636 ms
[shading] shading=blinn-phong-inf: FPS: 263 FrameTime: 3.802 ms
[shading] shading=phong: FPS: 242 FrameTime: 4.132 ms
[shading] shading=cel: FPS: 233 FrameTime: 4.292 ms
[bump] bump-render=high-poly: FPS: 272 FrameTime: 3.676 ms
[bump] bump-render=normals: FPS: 375 FrameTime: 2.667 ms
[bump] bump-render=height: FPS: 366 FrameTime: 2.732 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 296 FrameTime: 3.378 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 245 FrameTime: 4.082 ms
[pulsar] light=false:quads=5:texture=false: FPS: 389 FrameTime: 2.571 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 205 FrameTime: 4.878 ms
[desktop] effect=shadow:windows=4: FPS: 250 FrameTime: 4.000 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 40 FrameTime: 25.000 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 40 FrameTime: 25.000 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 45 FrameTime: 22.222 ms
[ideas] speed=duration: FPS: 102 FrameTime: 9.804 ms
[jellyfish] <default>: FPS: 179 FrameTime: 5.587 ms
[terrain] <default>: FPS: 43 FrameTime: 23.256 ms
[shadow] <default>: FPS: 144 FrameTime: 6.944 ms
[refract] <default>: FPS: 72 FrameTime: 13.889 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 396 FrameTime: 2.525 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 216 FrameTime: 4.630 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 366 FrameTime: 2.732 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 275 FrameTime: 3.636 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 260 FrameTime: 3.846 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 275 FrameTime: 3.636 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 272 FrameTime: 3.676 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 210 FrameTime: 4.762 ms
=======================================================
                                  glmark2 Score: 247 
=======================================================

To get hardware acceleration i used
xf86-video-armsoc from rockchip-linux and used armsoc in xorg.conf.d
But xserver is not rockchip specific.

Thanks for the help :slight_smile:
I can’t figure out why there is such a stark difference, but I’ve chosen another board for our project :frowning:

Thanks again
Gil

1 Like

As for now NanoPi have advantages in software terms. And RockPi you could say is a new board still (~3 month old). My guess, that after we will get official armbian image there will be all ok

As per my knowledge the performance of the Rock Pi 4 certainly outstrips that of the flagship Raspberry Pi 3 Model B+, but it also lags behind the Raspberry Pi in several important respects and that is because of its standard PCB assembly and the component placement over there. It contains almost all the features required on a single board computer. I just like it in all the way.

The problem right now is software developing. RasPi have a big advantage about it. Both in terms of human resources and time

1 Like