patrickhwood
Posts: 27
Joined: Wed Aug 31, 2011 2:12 am

glmark2-es2-drm slow on Pi4

Tue Apr 14, 2020 5:12 pm

I posted this in the raspbian forum, but it's really an OpenGLES question. Apologies to anyone who's already see it.

Since glmark2 isn't in the raspbian apt repositories and the drm version in the ubuntu repo crashes, I pulled it down from git and built glmark2-es2 and glmark2-es2-drm.

Overall glmark2-es2 seems quite good. Off screen rendering score at 800x600 is around 450 across raspbian with 32 and 64-bit kernels and on 64-bit ubuntu. However, the DRM rendering score on the same distros clocks in at 79. The llvmpipe software renderer gets 19.

Some details:

1. DRM tests were done with the X server disabled (duh!).
2. CPU scaling governor set to "performance" and clock speed set to 1.5GHz in all cases (the CPU clock speed affects the hardware rendering almost as much as software -- go figure).
3. glmark2-es2-drm fails with default settings. I had to use --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0' (other settings, like alpha=0, don't seem to have much effect).
4. Used --off-screen and --size 800x600 to be consistent across all tests.
5. Kernel versions tested so far: 4.19.97-v7l+, 4.19.114-v7l+, 4.19.114-v8+, 4.19.105-v8-28
6. Mesa versions tested so far (from glmark2's GL_VERSION string): OpenGL ES 3.1 Mesa 19.3.2, OpenGL ES 3.1 Mesa 20.1.0-devel.
7. glmark2 reports GL_RENDERER as V3D 4.2 and GL_VENDOR as Broadcom (except for the llvmpipe software renderer).
8. CPU utilization for glmark2-es2-drm is < 5% all the time and < 2% most of the time.

Before mucking around in the glmark2 sources, I figured I'd ask here if anyone has seen this or knows what's going on.

Note that I am looking at a non-X, full-screen application that requires DRM access to the HDMI output, so standalone DRM GLES2/3 rendering performance is of major importance.

joyrider3774
Posts: 48
Joined: Sun Mar 13, 2016 12:21 pm

Re: glmark2-es2-drm slow on Pi4

Fri May 01, 2020 8:30 pm

when i run it offscreen i seem to be getting a higher score than the 79 you mentioned

Code: Select all

pi@retropie:~/glmark2 $ glmark2-es2-drm --off-screen --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 280 FrameTime: 3.571 ms
[build] use-vbo=true: FPS: 265 FrameTime: 3.774 ms
[texture] texture-filter=nearest: FPS: 237 FrameTime: 4.219 ms
[texture] texture-filter=linear: FPS: 235 FrameTime: 4.255 ms
[texture] texture-filter=mipmap: FPS: 238 FrameTime: 4.202 ms
[shading] shading=gouraud: FPS: 252 FrameTime: 3.968 ms
[shading] shading=blinn-phong-inf: FPS: 228 FrameTime: 4.386 ms
[shading] shading=phong: FPS: 194 FrameTime: 5.155 ms
[shading] shading=cel: FPS: 184 FrameTime: 5.435 ms
[bump] bump-render=high-poly: FPS: 158 FrameTime: 6.329 ms
[bump] bump-render=normals: FPS: 233 FrameTime: 4.292 ms
[bump] bump-render=height: FPS: 216 FrameTime: 4.630 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 129 FrameTime: 7.752 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 71 FrameTime: 14.085 ms
[pulsar] light=false:quads=5:texture=false: FPS: 272 FrameTime: 3.676 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 41 F                                                                                            rameTime: 24.390 ms
[desktop] effect=shadow:windows=4: FPS: 161 FrameTime: 6.211 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: 140 FrameTime: 7.143 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 148 FrameTime: 6.757 ms
[ideas] speed=duration: FPS: 199 FrameTime: 5.025 ms
[jellyfish] <default>: FPS: 88 FrameTime: 11.364 ms
[terrain] <default>: FPS: 9 FrameTime: 111.111 ms
[shadow] <default>: FPS: 78 FrameTime: 12.821 ms
[refract] <default>: FPS: 22 FrameTime: 45.455 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 229 FrameTime: 4.367 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 141 FrameTime: 7.092 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 226 FrameTime: 4.425 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 189 FrameTime: 5.291 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 133 FrameTime: 7.519 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 170 FrameTime: 5.882 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 179 FrameTime: 5.587 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 68 FrameTime: 14.706 ms
=======================================================
                                  glmark2 Score: 168
=======================================================
I do get a much lower score if i let it actually render (don't use offscreen)

Code: Select all


pi@retropie:~/glmark2 $ glmark2-es2-drm --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 74 FrameTime: 13.514 ms
[build] use-vbo=true: FPS: 75 FrameTime: 13.333 ms
[texture] texture-filter=nearest: FPS: 75 FrameTime: 13.333 ms
[texture] texture-filter=linear: FPS: 75 FrameTime: 13.333 ms
[texture] texture-filter=mipmap: FPS: 75 FrameTime: 13.333 ms
[shading] shading=gouraud: FPS: 75 FrameTime: 13.333 ms
[shading] shading=blinn-phong-inf: FPS: 75 FrameTime: 13.333 ms
[shading] shading=phong: FPS: 75 FrameTime: 13.333 ms
[shading] shading=cel: FPS: 75 FrameTime: 13.333 ms
[bump] bump-render=high-poly: FPS: 75 FrameTime: 13.333 ms
[bump] bump-render=normals: FPS: 75 FrameTime: 13.333 ms
[bump] bump-render=height: FPS: 75 FrameTime: 13.333 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 75 FrameTime: 13.333 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 73 FrameTime: 13.699 ms
[pulsar] light=false:quads=5:texture=false: FPS: 75 FrameTime: 13.333 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 26 FrameTime: 38.462 ms
[desktop] effect=shadow:windows=4: FPS: 74 FrameTime: 13.514 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 75 FrameTime: 13.333 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 74 FrameTime: 13.514 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 75 FrameTime: 13.333 ms
[ideas] speed=duration: FPS: 74 FrameTime: 13.514 ms
[jellyfish] <default>: FPS: 74 FrameTime: 13.514 ms
[terrain] <default>: FPS: 8 FrameTime: 125.000 ms
[shadow] <default>: FPS: 73 FrameTime: 13.699 ms
[refract] <default>: FPS: 21 FrameTime: 47.619 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 74 FrameTime: 13.514 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 75 FrameTime: 13.333 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 75 FrameTime: 13.333 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 75 FrameTime: 13.333 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 75 FrameTime: 13.333 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 75 FrameTime: 13.333 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 75 FrameTime: 13.333 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 74 FrameTime: 13.514 ms
=======================================================
                                  glmark2 Score: 69
=======================================================

That 79 you had gotten was with offscreen drawing right ? i do have memory split set to 512MB and i have a rpi4 4gb but not sure if that matters much. Also that 75 fps seems like a limit when actually displaying the data. I noticed when i'm running in x my refreshrate is set to 75mhz so i'm guessing i'm hitting some vsync limits while using drm outside x and that my screen changes resolution / refresh rate somehow when using drm but can't test further my rpi4 is acting up atm

Edit: attached my rpi4 to my tv and i'm definatly hitting vsync as now almost everything is capped at 60fps while my screen is 60hz refreshrate. I don't know how to override vsync for glmark2-es2-drm vblank_mode=0 does not have an effect on it

Code: Select all

pi@retropie:~/glmark2 $ glmark2-es2-drm --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 60 FrameTime: 16.667 ms
[build] use-vbo=true: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=nearest: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=linear: FPS: 60 FrameTime: 16.667 ms
[texture] texture-filter=mipmap: FPS: 60 FrameTime: 16.667 ms
[shading] shading=gouraud: FPS: 60 FrameTime: 16.667 ms
[shading] shading=blinn-phong-inf: FPS: 60 FrameTime: 16.667 ms
[shading] shading=phong: FPS: 60 FrameTime: 16.667 ms
[shading] shading=cel: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=high-poly: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=normals: FPS: 60 FrameTime: 16.667 ms
[bump] bump-render=height: FPS: 60 FrameTime: 16.667 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 32 FrameTime: 31.250 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 20 FrameTime: 50.000 ms
[pulsar] light=false:quads=5:texture=false: FPS: 60 FrameTime: 16.667 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: 32 FrameTime: 31.250 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 59 FrameTime: 16.949 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 59 FrameTime: 16.949 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 60 FrameTime: 16.667 ms
[ideas] speed=duration: FPS: 59 FrameTime: 16.949 ms
[jellyfish] <default>: FPS: 60 FrameTime: 16.667 ms
[terrain] <default>: FPS: 4 FrameTime: 250.000 ms
[shadow] <default>: FPS: 29 FrameTime: 34.483 ms
[refract] <default>: FPS: 12 FrameTime: 83.333 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 59 FrameTime: 16.949 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 60 FrameTime: 16.667 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 60 FrameTime: 16.667 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 60 FrameTime: 16.667 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 60 FrameTime: 16.667 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 60 FrameTime: 16.667 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: 32 FrameTime: 31.250 ms
=======================================================
                                  glmark2 Score: 50
=======================================================
edit3:
just for reference this is what i get when i run the non drm version under X and it seems faster than the drm version outside x

Code: Select all

pi@retropie:~ $ vblank_mode=0 DISPLAY=:0 glmark2-es2 --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
ATTENTION: default value of option vblank_mode overridden by environment.
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 386 FrameTime: 2.591 ms
[build] use-vbo=true: FPS: 328 FrameTime: 3.049 ms
[texture] texture-filter=nearest: FPS: 302 FrameTime: 3.311 ms
[texture] texture-filter=linear: FPS: 300 FrameTime: 3.333 ms
[texture] texture-filter=mipmap: FPS: 301 FrameTime: 3.322 ms
[shading] shading=gouraud: FPS: 305 FrameTime: 3.279 ms
[shading] shading=blinn-phong-inf: FPS: 276 FrameTime: 3.623 ms
[shading] shading=phong: FPS: 233 FrameTime: 4.292 ms
[shading] shading=cel: FPS: 220 FrameTime: 4.545 ms
[bump] bump-render=high-poly: FPS: 222 FrameTime: 4.505 ms
[bump] bump-render=normals: FPS: 294 FrameTime: 3.401 ms
[bump] bump-render=height: FPS: 272 FrameTime: 3.676 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 151 FrameTime: 6.623 ms
[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: 286 FrameTime: 3.497 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: 190 FrameTime: 5.263 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 169 FrameTime: 5.917 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 165 FrameTime: 6.061 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 192 FrameTime: 5.208 ms
[ideas] speed=duration: FPS: 442 FrameTime: 2.262 ms
[jellyfish] <default>: FPS: 146 FrameTime: 6.849 ms
[terrain] <default>: FPS: 14 FrameTime: 71.429 ms
[shadow] <default>: FPS: 137 FrameTime: 7.299 ms
[refract] <default>: FPS: 35 FrameTime: 28.571 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 318 FrameTime: 3.145 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 226 FrameTime: 4.425 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 316 FrameTime: 3.165 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 266 FrameTime: 3.759 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 218 FrameTime: 4.587 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 273 FrameTime: 3.663 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 258 FrameTime: 3.876 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 105 FrameTime: 9.524 ms
=======================================================
                                  glmark2 Score: 226
=======================================================
maybe your rpi4 is throtling due to reaching high temperatures ? i have a fan and heatsinks for my rpi4 and it never throttles

joyrider3774
Posts: 48
Joined: Sun Mar 13, 2016 12:21 pm

Re: glmark2-es2-drm slow on Pi4

Mon May 04, 2020 12:19 am

This is after a reboot with the cpu governor set to perfomance it scores much more than my initial test

Code: Select all

pi@retropie:~ $ sudo sh -c "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
pi@retropie:~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
pi@retropie:~ $ glmark2-es2-drm --off-screen --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 387 FrameTime: 2.584 ms
[build] use-vbo=true: FPS: 419 FrameTime: 2.387 ms
[texture] texture-filter=nearest: FPS: 375 FrameTime: 2.667 ms
[texture] texture-filter=linear: FPS: 373 FrameTime: 2.681 ms
[texture] texture-filter=mipmap: FPS: 373 FrameTime: 2.681 ms
[shading] shading=gouraud: FPS: 391 FrameTime: 2.558 ms
[shading] shading=blinn-phong-inf: FPS: 338 FrameTime: 2.959 ms
[shading] shading=phong: FPS: 270 FrameTime: 3.704 ms
[shading] shading=cel: FPS: 251 FrameTime: 3.984 ms
[bump] bump-render=high-poly: FPS: 278 FrameTime: 3.597 ms
[bump] bump-render=normals: FPS: 349 FrameTime: 2.865 ms
[bump] bump-render=height: FPS: 317 FrameTime: 3.155 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 163 FrameTime: 6.135 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 81 FrameTime: 12.346 ms
[pulsar] light=false:quads=5:texture=false: FPS: 362 FrameTime: 2.762 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 61 FrameTime: 16.393 ms
[desktop] effect=shadow:windows=4: FPS: 239 FrameTime: 4.184 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 145 FrameTime: 6.897 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 143 FrameTime: 6.993 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 163 FrameTime: 6.135 ms
[ideas] speed=duration: FPS: 244 FrameTime: 4.098 ms
[jellyfish] <default>: FPS: 159 FrameTime: 6.289 ms
[terrain] <default>: FPS: 16 FrameTime: 62.500 ms
[shadow] <default>: FPS: 105 FrameTime: 9.524 ms
[refract] <default>: FPS: 42 FrameTime: 23.810 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 404 FrameTime: 2.475 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 271 FrameTime: 3.690 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 400 FrameTime: 2.500 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 340 FrameTime: 2.941 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 242 FrameTime: 4.132 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 324 FrameTime: 3.086 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 324 FrameTime: 3.086 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 127 FrameTime: 7.874 ms
=======================================================
                                  glmark2 Score: 256
=======================================================
And immediatly therafter i had set the governor back to ondemand. The rpi4 sets ondemand at boot unless the shift key was pressed in. A big difference in score (256 vs 155) as well as fps in the tests is reached as you can see. so one way is to make sure throtling due to high temperatures is never done and setting the governor to perfomance at least thats what i see on my rpi4 which as said before has heatsinks and a fan in the case i'm using. My temperature never goes above 45 degrees during these tests But i don't know if you'll see the same with your own application

Code: Select all

pi@retropie:~ $ sudo sh -c "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
pi@retropie:~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
pi@retropie:~ $ glmark2-es2-drm --off-screen --size 800x600 --visual-config 'red=8:green=8:blue=8:alpha=8:buffer=0'
=======================================================
    glmark2 2020.04
=======================================================
    OpenGL Information
    GL_VENDOR:     Broadcom
    GL_RENDERER:   V3D 4.2
    GL_VERSION:    OpenGL ES 3.1 Mesa 19.3.2
=======================================================
[build] use-vbo=false: FPS: 285 FrameTime: 3.509 ms
[build] use-vbo=true: FPS: 272 FrameTime: 3.676 ms
[texture] texture-filter=nearest: FPS: 235 FrameTime: 4.255 ms
[texture] texture-filter=linear: FPS: 242 FrameTime: 4.132 ms
[texture] texture-filter=mipmap: FPS: 236 FrameTime: 4.237 ms
[shading] shading=gouraud: FPS: 249 FrameTime: 4.016 ms
[shading] shading=blinn-phong-inf: FPS: 224 FrameTime: 4.464 ms
[shading] shading=phong: FPS: 192 FrameTime: 5.208 ms
[shading] shading=cel: FPS: 182 FrameTime: 5.495 ms
[bump] bump-render=high-poly: FPS: 152 FrameTime: 6.579 ms
[bump] bump-render=normals: FPS: 197 FrameTime: 5.076 ms
[bump] bump-render=height: FPS: 178 FrameTime: 5.618 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 85 FrameTime: 11.765 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 41 FrameTime: 24.390 ms
[pulsar] light=false:quads=5:texture=false: FPS: 211 FrameTime: 4.739 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 31 FrameTime: 32.258 ms
[desktop] effect=shadow:windows=4: FPS: 133 FrameTime: 7.519 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: 109 FrameTime: 9.174 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 129 FrameTime: 7.752 ms
[ideas] speed=duration: FPS: 165 FrameTime: 6.061 ms
[jellyfish] <default>: FPS: 80 FrameTime: 12.500 ms
[terrain] <default>: FPS: 8 FrameTime: 125.000 ms
[shadow] <default>: FPS: 71 FrameTime: 14.085 ms
[refract] <default>: FPS: 21 FrameTime: 47.619 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 220 FrameTime: 4.545 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 142 FrameTime: 7.042 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 217 FrameTime: 4.608 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 182 FrameTime: 5.495 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 126 FrameTime: 7.937 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 172 FrameTime: 5.814 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 172 FrameTime: 5.814 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 65 FrameTime: 15.385 ms
=======================================================
                                  glmark2 Score: 155
=======================================================
pi@retropie:~ $

just for reference i tried the same with glxgears (under x) setting governor to perfomance and ondemand and there i also had a performance in crease of 200ish fps with performance mode

Code: Select all

pi@retropie:~ $ sudo sh -c "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
pi@retropie:~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
performance
pi@retropie:~ $ DISPLAY=:0 vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
9456 frames in 5.0 seconds = 1891.062 FPS
9580 frames in 5.0 seconds = 1915.979 FPS
9572 frames in 5.0 seconds = 1914.353 FPS
9562 frames in 5.0 seconds = 1912.210 FPS
9566 frames in 5.0 seconds = 1913.103 FPS
9568 frames in 5.0 seconds = 1913.594 FPS
^C
pi@retropie:~ $ sudo sh -c "echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
pi@retropie:~ $ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
pi@retropie:~ $ DISPLAY=:0 vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
8569 frames in 5.0 seconds = 1713.729 FPS
8464 frames in 5.0 seconds = 1692.624 FPS
8482 frames in 5.0 seconds = 1696.277 FPS
8484 frames in 5.0 seconds = 1696.793 FPS
8479 frames in 5.0 seconds = 1695.800 FPS
8463 frames in 5.0 seconds = 1692.404 FPS
^C
pi@retropie:~ $

Return to “OpenGLES”