My Pi4 which is strange as the results are not that bad but wow it feels in use much slower.
pi@raspberrypi:~ $ glmark2-es2
=======================================================
glmark2 2017.07
=======================================================
OpenGL Information
GL_VENDOR: Broadcom
GL_RENDERER: V3D 4.2
GL_VERSION: OpenGL ES 3.0 Mesa 19.1.0-devel
=======================================================
[build] use-vbo=false: FPS: 201 FrameTime: 4.975 ms
[build] use-vbo=true: FPS: 198 FrameTime: 5.051 ms
[texture] texture-filter=nearest: FPS: 184 FrameTime: 5.435 ms
[texture] texture-filter=linear: FPS: 185 FrameTime: 5.405 ms
[texture] texture-filter=mipmap: FPS: 186 FrameTime: 5.376 ms
[shading] shading=gouraud: FPS: 193 FrameTime: 5.181 ms
[shading] shading=blinn-phong-inf: FPS: 185 FrameTime: 5.405 ms
[shading] shading=phong: FPS: 168 FrameTime: 5.952 ms
[shading] shading=cel: FPS: 163 FrameTime: 6.135 ms
[bump] bump-render=high-poly: FPS: 166 FrameTime: 6.024 ms
[bump] bump-render=normals: FPS: 186 FrameTime: 5.376 ms
[bump] bump-render=height: FPS: 180 FrameTime: 5.556 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 140 FrameTime: 7.143 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 97 FrameTime: 10.309 ms
[pulsar] light=false:quads=5:texture=false: FPS: 183 FrameTime: 5.464 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 62 FrameTime: 16.129 ms
[desktop] effect=shadow:windows=4: FPS: 141 FrameTime: 7.092 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 141 FrameTime: 7.092 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 138 FrameTime: 7.246 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 157 FrameTime: 6.369 ms
[ideas] speed=duration: FPS: 262 FrameTime: 3.817 ms
[jellyfish] <default>: FPS: 137 FrameTime: 7.299 ms
[terrain] <default>: FPS: 20 FrameTime: 50.000 ms
[shadow] <default>: FPS: 112 FrameTime: 8.929 ms
[refract] <default>: FPS: 40 FrameTime: 25.000 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 205 FrameTime: 4.878 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 174 FrameTime: 5.747 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 196 FrameTime: 5.102 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 187 FrameTime: 5.348 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 167 FrameTime: 5.988 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 185 FrameTime: 5.405 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 177 FrameTime: 5.650 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 129 FrameTime: 7.752 ms
=======================================================
glmark2 Score: 158
=======================================================
Then again its about 200% for the rk3399 and my new build drops to 30%
@tonyunreal
I have been googling the Mesa teams latest panfrost efforts that seems to have a lot of focus with wayland.
So rebuilt mesa -b master and went through and even optional dependencies installed them apart from dlopen as not sure what or which package.
[rock@rockpi4 mesa]$ meson -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false -Dprefix=/usr build/
The Meson build system
Version: 0.51.1
Source dir: /home/rock/mesa
Build dir: /home/rock/mesa/build
Build type: native build
Program python found: YES (/usr/bin/python)
Project name: mesa
Project version: 19.2.0-devel
C compiler for the build machine: cc (gcc 8.3.0 "cc (GCC) 8.3.0")
C++ compiler for the build machine: c++ (gcc 8.3.0 "c++ (GCC) 8.3.0")
C compiler for the host machine: cc (gcc 8.3.0 "cc (GCC) 8.3.0")
C++ compiler for the host machine: c++ (gcc 8.3.0 "c++ (GCC) 8.3.0")
Build machine cpu family: aarch64
Build machine cpu: aarch64
Program pkg-config found: YES (/usr/bin/pkg-config)
WARNING: Project targetting '>= 0.45' but tried to use feature introduced in '0.46.0': Python Module
Program python3 found: YES (/usr/bin/python3)
Checking for function "bswap32" : YES
Checking for function "bswap64" : YES
Checking for function "clz" : YES
Checking for function "clzll" : YES
Checking for function "ctz" : YES
Checking for function "expect" : YES
Checking for function "ffs" : YES
Checking for function "ffsll" : YES
Checking for function "popcount" : YES
Checking for function "popcountll" : YES
Checking for function "unreachable" : YES
Checking if "__attribute__((const))" compiles: YES
Checking if "__attribute__((flatten))" compiles: YES
Checking if "__attribute__((malloc))" compiles: YES
Checking if "__attribute__((pure))" compiles: YES
Checking if "__attribute__((unused))" compiles: YES
Checking if "__attribute__((warn_unused_result))" compiles: YES
Checking if "__attribute__((weak))" compiles: YES
Checking if "__attribute__((format(...)))" compiles: YES
Checking if "__attribute__((packed))" compiles: YES
Checking if "__attribute__((returns_nonnull))" compiles: YES
Checking if "__attribute__((visibility(...)))" compiles: YES
Checking if "__attribute__((alias(...)))" compiles: YES
Checking if "__attribute__((__noreturn__))" compiles: YES
Checking if "__uint128_t" compiles: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Compiler for C supports arguments -Werror=missing-prototypes: YES
Compiler for C supports arguments -Werror=return-type: YES
Compiler for C supports arguments -Werror=incompatible-pointer-types: YES
Compiler for C supports arguments -Werror=format: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -fno-math-errno: YES
Compiler for C supports arguments -fno-trapping-math: YES
Compiler for C supports arguments -Qunused-arguments: NO
Compiler for C supports arguments -Wmissing-field-initializers: YES
Compiler for C supports arguments -Wformat-truncation: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Compiler for C++ supports arguments -Werror=return-type: YES
Compiler for C++ supports arguments -Werror=format: YES
Compiler for C++ supports arguments -Wformat-security: YES
Compiler for C++ supports arguments -fno-math-errno: YES
Compiler for C++ supports arguments -fno-trapping-math: YES
Compiler for C++ supports arguments -Qunused-arguments: NO
Compiler for C++ supports arguments -Wnon-virtual-dtor: YES
Compiler for C++ supports arguments -Wmissing-field-initializers: YES
Compiler for C++ supports arguments -Wformat-truncation: YES
Compiler for C supports arguments -Woverride-init: YES
Compiler for C supports arguments -Winitializer-overrides: NO
Compiler for C++ supports arguments -fvisibility=hidden: YES
Compiler for C supports arguments -Werror=pointer-arith: YES
Compiler for C++ supports arguments -Werror=pointer-arith: YES
Compiler for C supports arguments -Werror=vla: YES
Compiler for C++ supports arguments -Werror=vla: YES
Checking if "GCC atomic builtins" compiles: YES
Checking if "GCC atomic builtins required -latomic" links: YES
Checking if "GCC 64bit atomics" with dependency not-found links: YES
Header <sys/sysmacros.h> has symbol "major" : YES
Checking if "xlocale.h" compiles: NO
Checking if "sys/sysctl.h" compiles: YES
Checking if "linux/futex.h" compiles: YES
Checking if "endian.h" compiles: YES
Checking if "dlfcn.h" compiles: YES
Checking if "execinfo.h" compiles: YES
Checking if "sys/shm.h" compiles: YES
Checking for function "strtof" : YES
Checking for function "mkostemp" : YES
Checking for function "posix_memalign" : YES
Checking for function "timespec_get" : YES
Checking for function "memfd_create" : YES
Checking if "strtod has locale support" links: YES
Checking if "Bsymbolic" links: YES
Checking if "gc-sections" links: YES
Checking if "version-script" links: YES
Checking if "dynamic-list" links: YES
Checking for function "dlopen" : NO
Library dl found: YES
Checking for function "dladdr" with dependency -ldl: YES
Checking for function "dl_iterate_phdr" : YES
Checking for function "clock_gettime" : YES
Found pkg-config: /usr/bin/pkg-config (1.6.1)
Run-time dependency zlib found: YES 1.2.11
Run-time dependency threads found: YES
Checking for function "pthread_setaffinity_np" with dependency threads: YES
Run-time dependency expat found: YES 2.2.7
Library m found: YES
Run-time dependency libdrm found: YES 2.4.99
llvm-config found: YES (/usr/bin/llvm-config) 8.0.0
Run-time dependency LLVM (modules: bitwriter, engine, mcdisassembler, mcjit) found: YES 8.0.0
Run-time dependency valgrind found: YES 3.14.0
Program bison found: YES (/usr/bin/bison)
Program flex found: YES (/usr/bin/flex)
Found pkg-config: /usr/bin/pkg-config (1.6.1)
Build-time dependency wayland-scanner found: YES 1.17.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency wayland-protocols found: YES 1.17
Run-time dependency wayland-client found: YES 1.17.0
Run-time dependency wayland-server found: YES 1.17.0
Run-time dependency wayland-egl-backend found: YES 3
Run-time dependency x11 found: YES 1.6.8
Run-time dependency xext found: YES 1.3.4
Run-time dependency xdamage found: YES 1.1.5
Run-time dependency xfixes found: YES 5.0.3
Run-time dependency xcb-glx found: YES 1.13.1
Run-time dependency xcb found: YES 1.13.1
Run-time dependency x11-xcb found: YES 1.6.8
Run-time dependency xcb-dri2 found: YES 1.13.1
Run-time dependency xcb-dri3 found: YES 1.13.1
Run-time dependency xcb-present found: YES 1.13.1
Run-time dependency xcb-sync found: YES 1.13.1
Run-time dependency xshmfence found: YES 1.3
Run-time dependency glproto found: YES 1.4.17
Run-time dependency dri2proto found: YES 2.8
Run-time dependency xxf86vm found: YES 1.1.4
Run-time dependency xcb-xfixes found: YES 1.13.1
Run-time dependency xcb-randr found: YES 1.13.1
Run-time dependency xrandr found: YES 1.5.2
Library sensors found: YES
Program nm found: YES (/usr/bin/nm)
Program symbols-check.py found: YES (/usr/bin/env python /home/rock/mesa/bin/symbols-check.py)
DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.
Checking for function "mincore" : YES
WARNING: Project targetting '>= 0.45' but tried to use feature introduced in '0.50.0': Python module path method
Program /usr/bin/python3 found: YES (/usr/bin/python3)
Message: Configuration summary:
prefix: /usr
libdir: lib
includedir: include
OpenGL: yes (ES1: yes ES2: yes)
OSMesa: no
DRI platform: drm
DRI drivers: no
DRI driver dir: /usr/lib/dri
GLX: DRI-based
EGL: yes
EGL drivers: builtin:egl_dri2 builtin:egl_dri3
GBM: yes
EGL/Vulkan/VL platforms: x11 wayland drm surfaceless
Vulkan drivers: no
llvm: yes
llvm-version: 8.0.0
Gallium drivers: panfrost kmsro
Gallium st: mesa
HUD lmsensors: yes
Shared-glapi: yes
[rock@rockpi4 ~]$ cat glmark2-es2-wayland
=======================================================
glmark2 2017.07
=======================================================
OpenGL Information
GL_VENDOR: panfrost
GL_RENDERER: panfrost
GL_VERSION: OpenGL ES 2.0 Mesa 19.2.0-devel (git-3043908ccb)
=======================================================
[build] use-vbo=false: FPS: 178 FrameTime: 5.618 ms
[build] use-vbo=true: FPS: 317 FrameTime: 3.155 ms
[texture] texture-filter=nearest: FPS: 394 FrameTime: 2.538 ms
[texture] texture-filter=linear: FPS: 386 FrameTime: 2.591 ms
[texture] texture-filter=mipmap: FPS: 400 FrameTime: 2.500 ms
[shading] shading=gouraud: FPS: 238 FrameTime: 4.202 ms
[shading] shading=blinn-phong-inf: FPS: 220 FrameTime: 4.545 ms
[shading] shading=phong: FPS: 163 FrameTime: 6.135 ms
[shading] shading=cel: FPS: 142 FrameTime: 7.042 ms
[bump] bump-render=high-poly: FPS: 177 FrameTime: 5.650 ms
[bump] bump-render=normals: FPS: 327 FrameTime: 3.058 ms
[bump] bump-render=height: FPS: 274 FrameTime: 3.650 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 135 FrameTime: 7.407 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 154 FrameTime: 6.494 ms
[pulsar] light=false:quads=5:texture=false: FPS: 374 FrameTime: 2.674 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 33 FrameTime: 30.303 ms
[desktop] effect=shadow:windows=4: FPS: 153 FrameTime: 6.536 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 112 FrameTime: 8.929 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 114 FrameTime: 8.772 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 138 FrameTime: 7.246 ms
[ideas] speed=duration: FPS: 35 FrameTime: 28.571 ms
[jellyfish] <default>: FPS: 86 FrameTime: 11.628 ms
[terrain] <default>: FPS: 10 FrameTime: 100.000 ms
[shadow] <default>: Set up failed
[refract] <default>: Set up failed
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 342 FrameTime: 2.924 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 161 FrameTime: 6.211 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 342 FrameTime: 2.924 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 219 FrameTime: 4.566 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 163 FrameTime: 6.135 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 228 FrameTime: 4.386 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 232 FrameTime: 4.310 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 129 FrameTime: 7.752 ms
=======================================================
glmark2 Score: 205
=======================================================