Panfrost for Bifrost GPUs - Big improvements

@spikerguy,

Great. By the way what kernel are you on? linux-vim 5.11-7-1? I am having system freeze on linux-vim 5.11.7-1 (most of the time during boot up and also during web browsing).

Are you on KDE Plasma? Is Panfrost now working well on KDE Plasma-Wayland?

I am on linux but I think this kernel panic on upstream kernel with panfrost enabled.

Will have to do some trial and error to figure out what’s causing it.

Even I am facing the same issue. Most likely its coz of panfrost.

GT King Pro - XFCE-linux-5.11.10-1 with current mesa-git from Stable Branch. Cpupower governor “performance”.

glmark2 --fullscreen (1920x1080) score = 113 Cpupower governor “performance”
glmarkw --fullscreen (1920x1080) score - 46 Cpupower governor “schedutil”

[jfl@MNJROGTKPro ~]$ glmark2 --fullscreen
'=======================================================
    glmark2 2014.03
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    3.1 Mesa 21.1.0-devel (git-8283ed65cf)
'=======================================================
[build] use-vbo=false: FPS: 131 FrameTime: 7.634 ms
[build] use-vbo=true: FPS: 138 FrameTime: 7.246 ms
[texture] texture-filter=nearest: FPS: 146 FrameTime: 6.849 ms
[texture] texture-filter=linear: FPS: 146 FrameTime: 6.849 ms
[texture] texture-filter=mipmap: FPS: 147 FrameTime: 6.803 ms
[shading] shading=gouraud: FPS: 120 FrameTime: 8.333 ms
[shading] shading=blinn-phong-inf: FPS: 120 FrameTime: 8.333 ms
[shading] shading=phong: FPS: 116 FrameTime: 8.621 ms
[shading] shading=cel: FPS: 117 FrameTime: 8.547 ms
[bump] bump-render=high-poly: FPS: 80 FrameTime: 12.500 ms
[bump] bump-render=normals: FPS: 156 FrameTime: 6.410 ms
[bump] bump-render=height: FPS: 152 FrameTime: 6.579 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 111 FrameTime: 9.009 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 63 FrameTime: 15.873 ms
[pulsar] light=false:quads=5:texture=false: FPS: 141 FrameTime: 7.092 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 48 FrameTime: 20.833 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] effect=shadow:windows=4: FPS: 120 FrameTime: 8.333 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 91 FrameTime: 10.989 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 88 FrameTime: 11.364 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 95 FrameTime: 10.526 ms
[ideas] speed=duration: FPS: 101 FrameTime: 9.901 ms
[jellyfish] <default>: FPS: 96 FrameTime: 10.417 ms
[terrain] <default>: FPS: 15 FrameTime: 66.667 ms
[shadow] <default>: FPS: 80 FrameTime: 12.500 ms
[refract] <default>: FPS: 27 FrameTime: 37.037 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 140 FrameTime: 7.143 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 138 FrameTime: 7.246 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 138 FrameTime: 7.246 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 139 FrameTime: 7.194 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 137 FrameTime: 7.299 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 138 FrameTime: 7.246 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 138 FrameTime: 7.246 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 132 FrameTime: 7.576 ms
=======================================================
                                  glmark2 Score: 113 
=======================================================
1 Like

Linux-vim 5.11.4-1 was slight better than linux-vim 5.11.7-1 in terms of system freeze on GT King Pro.

By the way with vim3-post-install 20210326-1, now XFCE default to NO GPU Acceleration. Need to edit 01-panfrost.conf to have Panfrost enabled now.

Is there a reason for this now? Previously Panfrost was automatically “Enabled”.

Not really, I have always wanted to disable panfrost on VIm3 until it is fully stable but was not getting time to update the package.

I have pushed it recently as I had to make a new image and publish it as 21.02.
I disabled panfrost on my devices and have not faces kernel panic since 2 days while I have compiled 3 kernel whereas before it would cause kernel panic while compiling with panfrost enabled.

Panfrost on XFCE DE is quite stable and with the current mesa-git there is no visual artifacts unless like in Chromium where the “gfx.webrenderer.all” is “Enabled” and this could can sometimes cause some issues. The other is occasionally there is some hesitancy which I am not sure what causes this.

Good to know that you might have found out what causes kernel panic when on linux-vim 5.11 and hopefully a solution.

Hi, everyone. Could you please help me to get youtube played smoothly in mpv .
Manjaro ARM 21.04 (MATE) X96 Max+

Сводка

(+) Video --vid=1 () (h264 1920x1080 25.000fps)
(+) Audio --aid=1 (
) (aac 2ch 44100Hz)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context ‘wayland’
[vo/gpu/opengl] Initializing GPU context ‘x11egl’
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] EGL_VERSION=1.5
[vo/gpu/opengl] EGL_VENDOR=Mesa Project
[vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES
[vo/gpu/opengl] Trying to create Desktop OpenGL context.
[vo/gpu/opengl] Choosing visual EGL config 0xb, visual ID 0x21
[vo/gpu/opengl] GL_VERSION=‘4.5 (Core Profile) Mesa 21.0.1’
[vo/gpu/opengl] Detected desktop OpenGL 4.5.
[vo/gpu/opengl] GL_VENDOR=‘Mesa/X.org’
[vo/gpu/opengl] GL_RENDERER=‘llvmpipe (LLVM 11.1.0, 128 bits)’
[vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION=‘4.50’
[vo/gpu/opengl] Detected suspected software renderer.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Initializing GPU context ‘drm’
[vo/gpu/opengl] DRM EGL backend can be activated only manually.
[vo/gpu/vulkan] Initializing GPU context ‘waylandvk’
[vo/gpu/vulkan/libplacebo] Initialized libplacebo v104
[vo/gpu/vulkan/libplacebo] Creating vulkan instance with extensions:
[vo/gpu/vulkan/libplacebo] VK_KHR_get_physical_device_properties2
[vo/gpu/vulkan/libplacebo] VK_KHR_surface
[vo/gpu/vulkan/libplacebo] VK_KHR_wayland_surface
[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
[vo/gpu/vulkan] Initializing GPU context ‘x11vk’
[vo/gpu/vulkan/libplacebo] Initialized libplacebo v104
[vo/gpu/vulkan/libplacebo] Creating vulkan instance with extensions:
[vo/gpu/vulkan/libplacebo] VK_KHR_get_physical_device_properties2
[vo/gpu/vulkan/libplacebo] VK_KHR_surface
[vo/gpu/vulkan/libplacebo] VK_KHR_xlib_surface
[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
[vo/vdpau/x11] X11 opening display: :0
[vo/vdpau/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/vdpau/x11] Current display FPS: 60.000000
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv/x11] X11 opening display: :0
[vo/xv/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/xv/x11] Current display FPS: 60.000000
[vo/xv] No Xvideo support found.
[vo/vaapi/x11] X11 opening display: :0
[vo/vaapi/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/vaapi/x11] Current display FPS: 60.000000
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vaapi] Failed to initialize VAAPI: unknown libva error
[vo/x11/x11] X11 opening display: :0
[vo/x11/x11] Display 0 (HDMI-1): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/x11/x11] Current display FPS: 60.000000
[vo/x11] selected visual: 33
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
[vo/x11] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 25.000000
[vd] Codec list:
[vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vaapi…
[vd] Could not create device.
[vd] Looking at hwdec h264-vdpau…
[vd] Could not create device.
[vd] Looking at hwdec h264-vaapi-copy…
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vd] Could not create device.
[vd] Looking at hwdec h264-vdpau-copy…
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vd] Error when calling vdp_device_create_x11: 1
[vd] Could not create device.
[vd] Looking at hwdec h264_v4l2m2m-v4l2m2m-copy…
[vd] Trying hardware decoding via h264_v4l2m2m-v4l2m2m-copy.
[vd] Using underlying hw-decoder ‘h264_v4l2m2m’
[ffmpeg/video] h264_v4l2m2m: Using device /dev/video0
[ffmpeg/video] h264_v4l2m2m: driver ‘meson-vdec’ on card ‘Amlogic Video Decoder’ in mplane mode
[ffmpeg/video] h264_v4l2m2m: requesting formats: output=H264 capture=NM12
[vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)

[lego@tv ~]$ glmark2-es2
libEGL warning: DRI2: failed to authenticate
=======================================================
    glmark2 2014.03
=======================================================
    OpenGL Information
    GL_VENDOR:     Mesa/X.org
    GL_RENDERER:   llvmpipe (LLVM 11.1.0, 128 bits)
    GL_VERSION:    OpenGL ES 3.2 Mesa 21.0.1
=======================================================
[build] use-vbo=false: FPS: 90 FrameTime: 11.111 ms
[build] use-vbo=true: FPS: 91 FrameTime: 10.989 ms
[texture] texture-filter=nearest: FPS: 137 FrameTime: 7.299 ms

Solved. “Glamour” is not enabled by default in/etc/X11/xorg.conf.d/01-panfrost.conf

glmark2-es2 --fullscreen -scores 60 CPU-Performance
glmark2-es2- 187

[lego@tv ~]$ glmark2-es2
=======================================================
glmark2 2014.03
=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali G31 (Panfrost)
GL_VERSION: OpenGL ES 3.0 Mesa 21.0.1
=======================================================
[build] use-vbo=false: FPS: 172 FrameTime: 5.814 ms
[build] use-vbo=true: FPS: 193 FrameTime: 5.181 ms
[texture] texture-filter=nearest: FPS: 356 FrameTime: 2.809 ms
[texture] texture-filter=linear: FPS: 356 FrameTime: 2.809 ms
[texture] texture-filter=mipmap: FPS: 357 FrameTime: 2.801 ms
[shading] shading=gouraud: FPS: 140 FrameTime: 7.143 ms
[shading] shading=blinn-phong-inf: FPS: 137 FrameTime: 7.299 ms
[shading] shading=phong: FPS: 142 FrameTime: 7.042 ms
[shading] shading=cel: FPS: 141 FrameTime: 7.092 ms
[bump] bump-render=high-poly: FPS: 56 FrameTime: 17.857 ms
[bump] bump-render=normals: FPS: 318 FrameTime: 3.145 ms
[bump] bump-render=height: FPS: 302 FrameTime: 3.311 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 188 FrameTime: 5.319 ms
libpng warning: iCCP: known incorrect sRGB profile
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 78 FrameTime: 12.821 ms
[pulsar] light=false:quads=5:texture=false: FPS: 384 FrameTime: 2.604 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 71 FrameTime: 14.085 ms
libpng warning: iCCP: known incorrect sRGB profile
[desktop] effect=shadow:windows=4: FPS: 265 FrameTime: 3.774 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 29 FrameTime: 34.483 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 29 FrameTime: 34.483 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 61 FrameTime: 16.393 ms
[ideas] speed=duration: FPS: 153 FrameTime: 6.536 ms
[jellyfish] : FPS: 146 FrameTime: 6.849 ms
[terrain] : FPS: 7 FrameTime: 142.857 ms
[shadow] : FPS: 109 FrameTime: 9.174 ms
[refract] : FPS: 15 FrameTime: 66.667 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 302 FrameTime: 3.311 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 210 FrameTime: 4.762 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 296 FrameTime: 3.378 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 263 FrameTime: 3.802 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 207 FrameTime: 4.831 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 261 FrameTime: 3.831 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 260 FrameTime: 3.846 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 185 FrameTime: 5.405 ms
=======================================================
glmark2 Score: 187
=======================================================

1 Like

My results:

[magno@khadas ~]$ glmark2-es2 -s 1280x720 --fullscreen
=======================================================                                                                       
    glmark2 2021.02                                                                                                           
=======================================================                                                                       
    OpenGL Information                                                                                                        
    GL_VENDOR:     Panfrost                                                                                                   
    GL_RENDERER:   Mali G52 (Panfrost)                                                                                        
    GL_VERSION:    OpenGL ES 3.0 Mesa 21.2.0-devel (git-c74d93cf01)                                                           
=======================================================                                                                       
[build] use-vbo=false: FPS: 325 FrameTime: 3.077 ms                                                                           
[build] use-vbo=true: FPS: 340 FrameTime: 2.941 ms                                                                            
[texture] texture-filter=nearest: FPS: 442 FrameTime: 2.262 ms                                                                
[texture] texture-filter=linear: FPS: 441 FrameTime: 2.268 ms                                                                 
[texture] texture-filter=mipmap: FPS: 441 FrameTime: 2.268 ms                                                                 
[shading] shading=gouraud: FPS: 277 FrameTime: 3.610 ms                                                                       
[shading] shading=blinn-phong-inf: FPS: 278 FrameTime: 3.597 ms                                                               
[shading] shading=phong: FPS: 274 FrameTime: 3.650 ms
[shading] shading=cel: FPS: 278 FrameTime: 3.597 ms
[bump] bump-render=high-poly: FPS: 137 FrameTime: 7.299 ms
[bump] bump-render=normals: FPS: 464 FrameTime: 2.155 ms
[bump] bump-render=height: FPS: 448 FrameTime: 2.232 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 340 FrameTime: 2.941 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 174 FrameTime: 5.747 ms
[pulsar] light=false:quads=5:texture=false: FPS: 427 FrameTime: 2.342 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 172 FrameTime: 5.814 ms
[desktop] effect=shadow:windows=4: FPS: 364 FrameTime: 2.747 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 222 FrameTime: 4.505 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 221 FrameTime: 4.525 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 219 FrameTime: 4.566 ms
[ideas] speed=duration: FPS: 235 FrameTime: 4.255 ms
[jellyfish] <default>: FPS: 246 FrameTime: 4.065 ms
[terrain] <default>: FPS: 28 FrameTime: 35.714 ms
[shadow] <default>: FPS: 194 FrameTime: 5.155 ms
[refract] <default>: FPS: 38 FrameTime: 26.316 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 400 FrameTime: 2.500 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 400 FrameTime: 2.500 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 399 FrameTime: 2.506 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 399 FrameTime: 2.506 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 400 FrameTime: 2.500 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 399 FrameTime: 2.506 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 399 FrameTime: 2.506 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 389 FrameTime: 2.571 ms
=======================================================
                                  glmark2 Score: 309 
=======================================================
[magno@khadas ~]$ glmark2-es2
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.0 Mesa 21.2.0-devel (git-c74d93cf01)
=======================================================
[build] use-vbo=false: FPS: 408 FrameTime: 2.451 ms
[build] use-vbo=true: FPS: 434 FrameTime: 2.304 ms
[texture] texture-filter=nearest: FPS: 642 FrameTime: 1.558 ms
[texture] texture-filter=linear: FPS: 644 FrameTime: 1.553 ms
[texture] texture-filter=mipmap: FPS: 647 FrameTime: 1.546 ms
[shading] shading=gouraud: FPS: 341 FrameTime: 2.933 ms
[shading] shading=blinn-phong-inf: FPS: 342 FrameTime: 2.924 ms
[shading] shading=phong: FPS: 343 FrameTime: 2.915 ms
[shading] shading=cel: FPS: 344 FrameTime: 2.907 ms
[bump] bump-render=high-poly: FPS: 165 FrameTime: 6.061 ms
[bump] bump-render=normals: FPS: 653 FrameTime: 1.531 ms
[bump] bump-render=height: FPS: 635 FrameTime: 1.575 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 512 FrameTime: 1.953 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 292 FrameTime: 3.425 ms
[pulsar] light=false:quads=5:texture=false: FPS: 654 FrameTime: 1.529 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 254 FrameTime: 3.937 ms
[desktop] effect=shadow:windows=4: FPS: 526 FrameTime: 1.901 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 239 FrameTime: 4.184 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 239 FrameTime: 4.184 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 258 FrameTime: 3.876 ms
[ideas] speed=duration: FPS: 275 FrameTime: 3.636 ms
[jellyfish] <default>: FPS: 405 FrameTime: 2.469 ms
[terrain] <default>: FPS: 38 FrameTime: 26.316 ms
[shadow] <default>: FPS: 254 FrameTime: 3.937 ms
[refract] <default>: FPS: 43 FrameTime: 23.256 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 574 FrameTime: 1.742 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 573 FrameTime: 1.745 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 571 FrameTime: 1.751 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 574 FrameTime: 1.742 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 574 FrameTime: 1.742 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 569 FrameTime: 1.757 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 569 FrameTime: 1.757 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 558 FrameTime: 1.792 ms
=======================================================
                                  glmark2 Score: 428 
=======================================================

I’m using mesa-git 21.2.0_devel.138334.c74d93cf018-1 and kernel 5.11.13-1
Board: Vim3

Please try Kernel 5.12 with mesa and mesa-git

5.12 should have many improvements in drm driver.

@spikerguy

On my vim 3, i installed manjaro through krescue and updated to latest. However i feel like something is off regarding mesa and mesa git… cant point it out exactly.

I want to reinstall a clean manjaro latest 21.04 with all stock settings and no custom scripts, is this The best way to do it?

  1. Flash latest manjaro vim3 image from here release page on a flash and boot vim3 with it.
  2. Go through all initial setup and reach desktop.
  3. Now i have two options, either shift this working setup to emmc using some script or use manjaro-arm-flasher to burn the manjaro image to emmc.:::

Can you please confirm? I just wanna install latest and clean manjaro to emmc without using krescue….

Hi Spikerguy,

Is linux-aml 5.12 released?

Edit 2021-05-10:
[jfl@MNJROGTKPro ~]$ glmark2-es2 score 475 - 492
XFCE-linux-5.12.2-2

'=======================================================
    glmark2 2021.02
'=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.0 Mesa 21.2.0-devel (git-3326861f4f)
'=======================================================
[build] use-vbo=false: FPS: 450 FrameTime: 2.222 ms
[build] use-vbo=true: FPS: 478 FrameTime: 2.092 ms
[texture] texture-filter=nearest: FPS: 768 FrameTime: 1.302 ms
[texture] texture-filter=linear: FPS: 764 FrameTime: 1.309 ms
[texture] texture-filter=mipmap: FPS: 779 FrameTime: 1.284 ms
[shading] shading=gouraud: FPS: 354 FrameTime: 2.825 ms
[shading] shading=blinn-phong-inf: FPS: 355 FrameTime: 2.817 ms
[shading] shading=phong: FPS: 348 FrameTime: 2.874 ms
[shading] shading=cel: FPS: 350 FrameTime: 2.857 ms
[bump] bump-render=high-poly: FPS: 149 FrameTime: 6.711 ms
[bump] bump-render=normals: FPS: 828 FrameTime: 1.208 ms
[bump] bump-render=height: FPS: 797 FrameTime: 1.255 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 608 FrameTime: 1.645 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 307 FrameTime: 3.257 ms
[pulsar] light=false:quads=5:texture=false: FPS: 783 FrameTime: 1.277 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 251 FrameTime: 3.984 ms
[desktop] effect=shadow:windows=4: FPS: 598 FrameTime: 1.672 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 233 FrameTime: 4.292 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 231 FrameTime: 4.329 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 250 FrameTime: 4.000 ms
[ideas] speed=duration: FPS: 256 FrameTime: 3.906 ms
[jellyfish] <default>: FPS: 441 FrameTime: 2.268 ms
[terrain] <default>: FPS: 35 FrameTime: 28.571 ms
[shadow] <default>: FPS: 254 FrameTime: 3.937 ms
[refract] <default>: FPS: 39 FrameTime: 25.641 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 663 FrameTime: 1.508 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 663 FrameTime: 1.508 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 661 FrameTime: 1.513 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 664 FrameTime: 1.506 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 663 FrameTime: 1.508 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 656 FrameTime: 1.524 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 658 FrameTime: 1.520 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 653 FrameTime: 1.531 ms
=======================================================
                                  glmark2 Score: 484 
=======================================================
1 Like

Just an update on mesa-git which I highlighted that mesa-git build since May 19 had issue of slowing down the system (XFCE/Xorg) as uptime progress Manjaro arm on Amlogic Tv box? - #1037 by JFL.

With the latest mesa-git built dated 2021-07-07 the issue seems to be resolved. Furthermore there seems to be a improvement on glmark2-es2-wayland score. By the way mesa-git built dated 2021-07-02 still had the issue mention earlier.

1 Like

Just an update on mesa and mesa-git Panfrost improvement.

Beelink GT King Pro Rev A

Manjaro-Arm GNOME Edition - Mainline Linux 5.13.1-2 with Mesa 21.1.4-1
Glmark2-es2-wayland score: 798 to 860 (   OpenGL ES 3.0 Mesa 21.1.4)

Armbian-Focal-Meson64-5.10.43 with Mesa 21.2.0-devel (git-d677120 2021-07-09 focal-oibaf-ppa)
Glmark2-es2-wayland score: 1041 [OpenGL ES 3.1 Mesa 21.2.0-devel (git-d677120 2021-07-09 focal-oibaf-ppa)]

And for comparison with Odroid N2 on Ubuntu 18.04 with Mali Blob taken from CNX-Software site.
Glmark2-es2-wayland score: 1119  (OpenGL ES 3.2 v1.r16p0-01rel0.2943fc4ef9657d91ee32c9a58dec6cd2)



Linux MNJROGTKPro 5.13.1-2-MANJARO-ARM #1 SMP Fri Jul 9 04:23:06 UTC 2021 aarch64 GNU/Linux`. **Manjaro-Arm GNOME EDITION.** with  **Mesa 21.1.4-1**

    glmark2-es2-wayland
    '=======================================================
        glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.0 Mesa 21.1.4
=======================================================
[build] use-vbo=false: FPS: 669 FrameTime: 1.495 ms
[build] use-vbo=true: FPS: 698 FrameTime: 1.433 ms
[texture] texture-filter=nearest: FPS: 1601 FrameTime: 0.625 ms
[texture] texture-filter=linear: FPS: 1601 FrameTime: 0.625 ms
[texture] texture-filter=mipmap: FPS: 1512 FrameTime: 0.661 ms
[shading] shading=gouraud: FPS: 470 FrameTime: 2.128 ms
[shading] shading=blinn-phong-inf: FPS: 470 FrameTime: 2.128 ms
[shading] shading=phong: FPS: 444 FrameTime: 2.252 ms
[shading] shading=cel: FPS: 450 FrameTime: 2.222 ms
[bump] bump-render=high-poly: FPS: 164 FrameTime: 6.098 ms
[bump] bump-render=normals: FPS: 1621 FrameTime: 0.617 ms
[bump] bump-render=height: FPS: 1574 FrameTime: 0.635 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 961 FrameTime: 1.041 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 402 FrameTime: 2.488 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1744 FrameTime: 0.573 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 316 FrameTime: 3.165 ms
[desktop] effect=shadow:windows=4: FPS: 960 FrameTime: 1.042 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 248 FrameTime: 4.032 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 239 FrameTime: 4.184 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 295 FrameTime: 3.390 ms
[ideas] speed=duration: FPS: 383 FrameTime: 2.611 ms
[jellyfish] <default>: FPS: 626 FrameTime: 1.597 ms
[terrain] <default>: FPS: 34 FrameTime: 29.412 ms
[shadow] <default>: FPS: 302 FrameTime: 3.311 ms
[refract] <default>: FPS: 41 FrameTime: 24.390 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1187 FrameTime: 0.842 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1215 FrameTime: 0.823 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1117 FrameTime: 0.895 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1225 FrameTime: 0.816 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1187 FrameTime: 0.842 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1124 FrameTime: 0.890 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1145 FrameTime: 0.873 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1134 FrameTime: 0.882 ms
=======================================================
                                  glmark2 Score: 823 
=======================================================

Armbian-Focal-meson64-5.10.43 with Oibaf-graphics-drivers mesa-git dated 2021-07-09

 glmark2-es2-wayland
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.1 Mesa 21.2.0-devel (git-d677120 2021-07-09 focal-oibaf-ppa)
=======================================================
[build] use-vbo=false: FPS: 677 FrameTime: 1.477 ms
[build] use-vbo=true: FPS: 796 FrameTime: 1.256 ms
[texture] texture-filter=nearest: FPS: 2247 FrameTime: 0.445 ms
[texture] texture-filter=linear: FPS: 2216 FrameTime: 0.451 ms
[texture] texture-filter=mipmap: FPS: 2394 FrameTime: 0.418 ms
[shading] shading=gouraud: FPS: 500 FrameTime: 2.000 ms
[shading] shading=blinn-phong-inf: FPS: 497 FrameTime: 2.012 ms
[shading] shading=phong: FPS: 473 FrameTime: 2.114 ms
[shading] shading=cel: FPS: 485 FrameTime: 2.062 ms
[bump] bump-render=high-poly: FPS: 169 FrameTime: 5.917 ms
[bump] bump-render=normals: FPS: 2995 FrameTime: 0.334 ms
[bump] bump-render=height: FPS: 2379 FrameTime: 0.420 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1121 FrameTime: 0.892 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 407 FrameTime: 2.457 ms
[pulsar] light=false:quads=5:texture=false: FPS: 2970 FrameTime: 0.337 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 312 FrameTime: 3.205 ms
[desktop] effect=shadow:windows=4: FPS: 863 FrameTime: 1.159 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 271 FrameTime: 3.690 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 90 FrameTime: 11.111 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 297 FrameTime: 3.367 ms
[ideas] speed=duration: FPS: 360 FrameTime: 2.778 ms
[jellyfish] <default>: FPS: 673 FrameTime: 1.486 ms
[terrain] <default>: FPS: 34 FrameTime: 29.412 ms
[shadow] <default>: FPS: 177 FrameTime: 5.650 ms
[refract] <default>: FPS: 35 FrameTime: 28.571 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1312 FrameTime: 0.762 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1425 FrameTime: 0.702 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1251 FrameTime: 0.799 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1389 FrameTime: 0.720 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1371 FrameTime: 0.729 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1390 FrameTime: 0.719 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1380 FrameTime: 0.725 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1402 FrameTime: 0.713 ms
=======================================================
                                  glmark2 Score: 1041 
=======================================================

 ODROID-N2 running Ubuntu 18.04 + Gnome3 + Linux 5.0 on top of Wayland with GPU drivers providing acceleration as shown by glmark2-es2-wayland test program.

The benchmark results are pretty impressive:
Shell
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-G52
    GL_VERSION:    OpenGL ES 3.2 v1.r16p0-01rel0.2943fc4ef9657d91ee32c9a58dec6cd2
=======================================================
[build] use-vbo=false: FPS: 961 FrameTime: 1.041 ms
[build] use-vbo=true: FPS: 1592 FrameTime: 0.628 ms
[texture] texture-filter=nearest: FPS: 1491 FrameTime: 0.671 ms
[texture] texture-filter=linear: FPS: 1477 FrameTime: 0.677 ms
[texture] texture-filter=mipmap: FPS: 1524 FrameTime: 0.656 ms
[shading] shading=gouraud: FPS: 1151 FrameTime: 0.869 ms
[shading] shading=blinn-phong-inf: FPS: 1215 FrameTime: 0.823 ms
[shading] shading=phong: FPS: 1043 FrameTime: 0.959 ms
[shading] shading=cel: FPS: 1126 FrameTime: 0.888 ms
[bump] bump-render=high-poly: FPS: 514 FrameTime: 1.946 ms
[bump] bump-render=normals: FPS: 1976 FrameTime: 0.506 ms
[bump] bump-render=height: FPS: 1777 FrameTime: 0.563 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1139 FrameTime: 0.878 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 383 FrameTime: 2.611 ms
[pulsar] light=false:quads=5:texture=false: FPS: 2096 FrameTime: 0.477 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 389 FrameTime: 2.571 ms
[desktop] effect=shadow:windows=4: FPS: 788 FrameTime: 1.269 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 103 FrameTime: 9.709 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 129 FrameTime: 7.752 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 158 FrameTime: 6.329 ms
[ideas] speed=duration: FPS: 356 FrameTime: 2.809 ms
[jellyfish] <default>: FPS: 979 FrameTime: 1.021 ms
[terrain] <default>: FPS: 52 FrameTime: 19.231 ms
[shadow] <default>: FPS: 437 FrameTime: 2.288 ms
[refract] <default>: FPS: 88 FrameTime: 11.364 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1769 FrameTime: 0.565 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1769 FrameTime: 0.565 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1853 FrameTime: 0.540 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1783 FrameTime: 0.561 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1726 FrameTime: 0.579 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1715 FrameTime: 0.583 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1650 FrameTime: 0.606 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1728 FrameTime: 0.579 ms
=======================================================
                                  glmark2 Score: 1119
=======================================================

Interestingly, on XFCE (X11) mesa 21.1.4-1 scores higher than mesa-git 21.2.0-devel dated 2021-07-08.
Manjaro-Arm-XFCE with Mesa 21.1.4-1 Glmark2-es2 scroe: 494
Manjaro-Arm-XFCE with Mesa-Git (2021-07-08) Glmark2-es2 scroe: 464

1 Like

XFCE is X11 only. Your test in gnome profile runs under Wayland. That may be the reason for the different behavior…

Edit - This statement is NO Longer Valid. Based on glmark2 or glmark2-es2 scores alone, the progress of Panfrost on X11 does not seems to have improved much since March 2021 but it had improved significantly on Wayland.

Edit 1: The progress in Panfrost is so fluid that the above statement is NO longer valid. Just installed the latest mesa-git (dated today 2021-07-10) and the glmark2-es2 (on XFCE) is now 684. Two days ago mesa-git the glmark2-es2 score was 464!

Manjaro-Arm-XFCE
    glmark2-es2
    =======================================================
        glmark2 2021.02
    =======================================================
        OpenGL Information
        GL_VENDOR:     Panfrost
        GL_RENDERER:   Mali G52 (Panfrost)
        GL_VERSION:    OpenGL ES 3.1 Mesa 21.2.0-devel (git-c70f45c759)
    =======================================================
    [build] use-vbo=false: FPS: 822 FrameTime: 1.217 ms
    [build] use-vbo=true: FPS: 1004 FrameTime: 0.996 ms
    [texture] texture-filter=nearest: FPS: 981 FrameTime: 1.019 ms
    [texture] texture-filter=linear: FPS: 925 FrameTime: 1.081 ms
    [texture] texture-filter=mipmap: FPS: 1015 FrameTime: 0.985 ms
    [shading] shading=gouraud: FPS: 789 FrameTime: 1.267 ms
    [shading] shading=blinn-phong-inf: FPS: 795 FrameTime: 1.258 ms
    [shading] shading=phong: FPS: 683 FrameTime: 1.464 ms
    [shading] shading=cel: FPS: 698 FrameTime: 1.433 ms
    [bump] bump-render=high-poly: FPS: 385 FrameTime: 2.597 ms
    [bump] bump-render=normals: FPS: 1231 FrameTime: 0.812 ms
    [bump] bump-render=height: FPS: 1044 FrameTime: 0.958 ms
    [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 734 FrameTime: 1.362 ms
    [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 347 FrameTime: 2.882 ms
    [pulsar] light=false:quads=5:texture=false: FPS: 1022 FrameTime: 0.978 ms
    [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 281 FrameTime: 3.559 ms
    [desktop] effect=shadow:windows=4: FPS: 635 FrameTime: 1.575 ms
    [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 255 FrameTime: 3.922 ms
    [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 96 FrameTime: 10.417 ms
    [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 297 FrameTime: 3.367 ms
    [ideas] speed=duration: FPS: 471 FrameTime: 2.123 ms
    [jellyfish] <default>: FPS: 633 FrameTime: 1.580 ms
    [terrain] <default>: FPS: 36 FrameTime: 27.778 ms
    [shadow] <default>: FPS: 207 FrameTime: 4.831 ms
    [refract] <default>: FPS: 59 FrameTime: 16.949 ms
    [conditionals] fragment-steps=0:vertex-steps=0: FPS: 868 FrameTime: 1.152 ms
    [conditionals] fragment-steps=5:vertex-steps=0: FPS: 918 FrameTime: 1.089 ms
    [conditionals] fragment-steps=0:vertex-steps=5: FPS: 916 FrameTime: 1.092 ms
    [function] fragment-complexity=low:fragment-steps=5: FPS: 919 FrameTime: 1.088 ms
    [function] fragment-complexity=medium:fragment-steps=5: FPS: 873 FrameTime: 1.145 ms
    [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 909 FrameTime: 1.100 ms
    [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 866 FrameTime: 1.155 ms
    [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 873 FrameTime: 1.145 ms
    =======================================================
                                      glmark2 Score: 684 
    =======================================================

The latest mesa-git (2021-07-10) glmark2-es2-wayland improved significantly again to 1328 which is higer than the Odroid N2 with Mali-Blob posted on CNX-Software benchmark. WOW. Thanks to Mesa/Panfrost Team.

glmark2-es2-wayland
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.1 Mesa 21.2.0-devel (git-c70f45c 2021-07-10 focal-oibaf-ppa)
=======================================================
[build] use-vbo=false: FPS: 896 FrameTime: 1.116 ms
[build] use-vbo=true: FPS: 1697 FrameTime: 0.589 ms
[texture] texture-filter=nearest: FPS: 2078 FrameTime: 0.481 ms
[texture] texture-filter=linear: FPS: 2058 FrameTime: 0.486 ms
[texture] texture-filter=mipmap: FPS: 2202 FrameTime: 0.454 ms
[shading] shading=gouraud: FPS: 1000 FrameTime: 1.000 ms
[shading] shading=blinn-phong-inf: FPS: 1064 FrameTime: 0.940 ms
[shading] shading=phong: FPS: 923 FrameTime: 1.083 ms
[shading] shading=cel: FPS: 849 FrameTime: 1.178 ms
[bump] bump-render=high-poly: FPS: 436 FrameTime: 2.294 ms
[bump] bump-render=normals: FPS: 3034 FrameTime: 0.330 ms
[bump] bump-render=height: FPS: 2538 FrameTime: 0.394 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1132 FrameTime: 0.883 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 408 FrameTime: 2.451 ms
[pulsar] light=false:quads=5:texture=false: FPS: 2851 FrameTime: 0.351 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 335 FrameTime: 2.985 ms
[desktop] effect=shadow:windows=4: FPS: 914 FrameTime: 1.094 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 252 FrameTime: 3.968 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 88 FrameTime: 11.364 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 293 FrameTime: 3.413 ms
[ideas] speed=duration: FPS: 638 FrameTime: 1.567 ms
[jellyfish] <default>: FPS: 891 FrameTime: 1.122 ms
[terrain] <default>: FPS: 38 FrameTime: 26.316 ms
[shadow] <default>: FPS: 226 FrameTime: 4.425 ms
[refract] <default>: FPS: 73 FrameTime: 13.699 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2253 FrameTime: 0.444 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2202 FrameTime: 0.454 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 2189 FrameTime: 0.457 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2246 FrameTime: 0.445 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1902 FrameTime: 0.526 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2171 FrameTime: 0.461 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2148 FrameTime: 0.466 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1822 FrameTime: 0.549 ms
=======================================================
                                  glmark2 Score: 1328 
=======================================================
1 Like

I’m running new tests today. Getting around 60% of improvement since may.

I’m using mesa-git 21.3.0_devel.142713 and kernel 5.13.0-1
Board: Vim3

[magno@khadas ~]$ glmark2-es2 -s 1280x720 --fullscreen
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     Panfrost
    GL_RENDERER:   Mali G52 (Panfrost)
    GL_VERSION:    OpenGL ES 3.1 Mesa 21.3.0-devel (git-57dcfb4e55)
=======================================================
[build] use-vbo=false: FPS: 629 FrameTime: 1.590 ms
[build] use-vbo=true: FPS: 712 FrameTime: 1.404 ms
[texture] texture-filter=nearest: FPS: 702 FrameTime: 1.425 ms
[texture] texture-filter=linear: FPS: 699 FrameTime: 1.431 ms
[texture] texture-filter=mipmap: FPS: 685 FrameTime: 1.460 ms
[shading] shading=gouraud: FPS: 583 FrameTime: 1.715 ms
[shading] shading=blinn-phong-inf: FPS: 580 FrameTime: 1.724 ms
[shading] shading=phong: FPS: 502 FrameTime: 1.992 ms
[shading] shading=cel: FPS: 518 FrameTime: 1.931 ms
[bump] bump-render=high-poly: FPS: 353 FrameTime: 2.833 ms
[bump] bump-render=normals: FPS: 814 FrameTime: 1.229 ms
[bump] bump-render=height: FPS: 766 FrameTime: 1.305 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 418 FrameTime: 2.392 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 176 FrameTime: 5.682 ms
[pulsar] light=false:quads=5:texture=false: FPS: 664 FrameTime: 1.506 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 193 FrameTime: 5.181 ms
[desktop] effect=shadow:windows=4: FPS: 467 FrameTime: 2.141 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 298 FrameTime: 3.356 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 110 FrameTime: 9.091 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 366 FrameTime: 2.732 ms
[ideas] speed=duration: FPS: 144 FrameTime: 6.944 ms
[jellyfish] <default>: FPS: 430 FrameTime: 2.326 ms
[terrain] <default>: FPS: 30 FrameTime: 33.333 ms
[shadow] <default>: FPS: 130 FrameTime: 7.692 ms
[refract] <default>: FPS: 59 FrameTime: 16.949 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 635 FrameTime: 1.575 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 626 FrameTime: 1.597 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 633 FrameTime: 1.580 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 632 FrameTime: 1.582 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 573 FrameTime: 1.745 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 626 FrameTime: 1.597 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 629 FrameTime: 1.590 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 574 FrameTime: 1.742 ms
=======================================================
                                  glmark2 Score: 483 
=======================================================

it’s more stable too, I’m still getting invisible fonts on the notifications, but the desktop it’s ok (using mate, compositor off)

2 Likes

Well, five months have passed, let’s see how the drivers are performing.

=======================================================
[magno@khadas ~]$ glmark2-es2 -s 1280x720 --fullscreen

glmark2 2021.02

=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali G52 (Panfrost)
GL_VERSION: OpenGL ES 3.1 Mesa 21.2.5

[build] use-vbo=false: FPS: 423 FrameTime: 2.364 ms
[build] use-vbo=true: FPS: 453 FrameTime: 2.208 ms
[texture] texture-filter=nearest: FPS: 433 FrameTime: 2.309 ms
[texture] texture-filter=linear: FPS: 433 FrameTime: 2.309 ms
[texture] texture-filter=mipmap: FPS: 437 FrameTime: 2.288 ms
[shading] shading=gouraud: FPS: 392 FrameTime: 2.551 ms
[shading] shading=blinn-phong-inf: FPS: 388 FrameTime: 2.577 ms
[shading] shading=phong: FPS: 337 FrameTime: 2.967 ms
[shading] shading=cel: FPS: 342 FrameTime: 2.924 ms
[bump] bump-render=high-poly: FPS: 272 FrameTime: 3.676 ms
[bump] bump-render=normals: FPS: 479 FrameTime: 2.088 ms
[bump] bump-render=height: FPS: 453 FrameTime: 2.208 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 225 FrameTime: 4.444 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 91 FrameTime: 10.989 ms
[pulsar] light=false:quads=5:texture=false: FPS: 403 FrameTime: 2.481 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 103 FrameTime: 9.709 ms
[desktop] effect=shadow:windows=4: FPS: 276 FrameTime: 3.623 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 244 FrameTime: 4.098 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 105 FrameTime: 9.524 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 281 FrameTime: 3.559 ms
[ideas] speed=duration: FPS: 254 FrameTime: 3.937 ms
[jellyfish] : FPS: 253 FrameTime: 3.953 ms
[terrain] : FPS: 20 FrameTime: 50.000 ms
[shadow] : FPS: 70 FrameTime: 14.286 ms
[refract] : FPS: 36 FrameTime: 27.778 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 404 FrameTime: 2.475 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 380 FrameTime: 2.632 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 400 FrameTime: 2.500 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 405 FrameTime: 2.469 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 345 FrameTime: 2.899 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 402 FrameTime: 2.488 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 402 FrameTime: 2.488 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 346 FrameTime: 2.890 ms

                              glmark2 Score: 311 

=======================================================

I’m getting a slightly lower score, and I can’t get the wayland test to work

[magno@khadas ~]$ glmark2-es2-drm

glmark2 2021.02

=======================================================
OpenGL Information
GL_VENDOR: Panfrost
GL_RENDERER: Mali G52 (Panfrost)
GL_VERSION: OpenGL ES 3.1 Mesa 21.2.5

[build] use-vbo=false:Error: Failed to set crtc: -13
Error: Failed to set crtc: -13
Error: Failed to set crtc: -13
Error: Failed to set crtc: -13
Falha de segmentação (imagem do núcleo gravada)
[magno@khadas ~]$ glmark2-es2-wayland
Error: main: Could not initialize canvas

[magno@khadas ~]$ uname -a
Linux khadas 5.15.10-1-MANJARO-ARM-KHADAS #1 SMP PREEMPT Sun Dec 19 19:38:16 UTC 2021 aarch64 GNU/Linux

Testing Mega Man with the PSP emulator. Resolution set to 3x without problems

I couldn’t put the screenshots here

But I couldn’t run Dolphin, to test game cube games