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