[yocto] [meta-raspberrypi] gles2 on raspi3

Changhyeok Bae changhyeok.bae at gmail.com
Mon Apr 17 21:16:39 PDT 2017


FYI

If you are using morty branch, mesa version should be upgraded to v12.0.3
for vc4 bug fix. There is some vc4 patches between v12.0.1 and v12.0.3 of
mesa.

Thanks
Changhyeok

2017-04-17 10:11 GMT+09:00 Andreas Müller <schnitzeltony at googlemail.com>:

> On Mon, Apr 17, 2017 at 2:27 AM, Trevor Woerner <twoerner at gmail.com>
> wrote:
> > On Mon 2017-04-17 @ 01:52:57 AM, Andreas Müller wrote:
> >> On Sun, Apr 16, 2017 at 1:16 AM, Trevor Woerner <twoerner at gmail.com>
> wrote:
> >> > w00T! \O/
> >> >
> >> > Swapping out meta-raspberrypi for your meta-raspi-light works!!! I
> now have
> >> > accelerated glmark2-es2 ~40FPS :-D
> >> 40fps for glmark-es2 (did you mean glxgears)? The total result I get
> >> for Pi3 on X11 (xfce) is ~105-117 depending on cpu-governor. I don't
> >> know what Desktop/window manager you use but for graphics benchmarking
> >> you should disable compositor.
> >
> > ;-) haha ;-)
> > You couldn't just let me be happy?!
> OK - I am really sorry for this :))))
> > Yesterday it was running at 1FPS (*one*!! and probably less)
> > ;-) haha ;-)
> >
> > I'm using openbox, I can't imagine anything more minimal than that. But I
> > think I see where the difference lies. I usually run glmark2-es2
> fullscreen.
> Yeah openbox seems light weight and does no compositing.
> > When I run it in its own little window:
> >
> >         root at raspberrypi3:~# glmark2-es2
> >         MESA-LOADER: device is not located on the PCI bus
> >         MESA-LOADER: device is not located on the PCI bus
> >         MESA-LOADER: device is not located on the PCI bus
> >         =======================================================
> >             glmark2 2014.03
> >         =======================================================
> >             OpenGL Information
> >             GL_VENDOR:     Broadcom
> >             GL_RENDERER:   Gallium 0.4 on VC4 V3D 2.1
> >             GL_VERSION:    OpenGL ES 2.0 Mesa 17.0.2
> >         =======================================================
> >         [build] use-vbo=false: FPS: 126 FrameTime: 7.937 ms
> >         [build] use-vbo=true: FPS: 140 FrameTime: 7.143 ms
> >         [texture] texture-filter=nearest: FPS: 146 FrameTime: 6.849 ms
> >         [texture] texture-filter=linear: FPS: 141 FrameTime: 7.092 ms
> >         [texture] texture-filter=mipmap: FPS: 135 FrameTime: 7.407 ms
> >         [shading] shading=gouraud: FPS: 118 FrameTime: 8.475 ms
> >         [shading] shading=blinn-phong-inf: FPS: 102 FrameTime: 9.804 ms
> >         [shading] shading=phong: FPS: 69 FrameTime: 14.493 ms
> >         [shading] shading=cel: FPS: 69 FrameTime: 14.493 ms
> >         [bump] bump-render=high-poly: FPS: 68 FrameTime: 14.706 ms
> >         [bump] bump-render=normals: FPS: 154 FrameTime: 6.494 ms
> >         [bump] bump-render=height: FPS: 148 FrameTime: 6.757 ms
> >         [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 106 FrameTime: 9.434
> 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: 129 FrameTime:
> 7.752 ms
> >         [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:
> FPS: 44 FrameTime: 22.727 ms
> >         [desktop] effect=shadow:windows=4: FPS: 90 FrameTime: 11.111 ms
> >         [buffer] columns=200:interleave=false:
> update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 63
> FrameTime: 15.873 ms
> >         [buffer] columns=200:interleave=false:
> update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 62
> FrameTime: 16.129 ms
> >         [buffer] columns=200:interleave=true:
> update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 73
> FrameTime: 13.699 ms
> >         [ideas] speed=duration: FPS: 132 FrameTime: 7.576 ms
> >         [jellyfish] <default>: FPS: 98 FrameTime: 10.204 ms
> >         [terrain] <default>: FPS: 5 FrameTime: 200.000 ms
> >         [shadow] <default>: FPS: 79 FrameTime: 12.658 ms
> >         [refract] <default>: FPS: 20 FrameTime: 50.000 ms
> >         [conditionals] fragment-steps=0:vertex-steps=0: FPS: 145
> FrameTime: 6.897 ms
> >         [conditionals] fragment-steps=5:vertex-steps=0: FPS: 124
> FrameTime: 8.065 ms
> >         [conditionals] fragment-steps=0:vertex-steps=5: FPS: 145
> FrameTime: 6.897 ms
> >         [function] fragment-complexity=low:fragment-steps=5: FPS: 139
> FrameTime: 7.194 ms
> >         [function] fragment-complexity=medium:fragment-steps=5: FPS: 39
> FrameTime: 25.641 ms
> >         [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:
> FPS: 135 FrameTime: 7.407 ms
> >         [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:
> FPS: 136 FrameTime: 7.353 ms
> >         [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:
> FPS: 91 FrameTime: 10.989 ms
> >         =======================================================
> >                                           glmark2 Score: 101
> >         =======================================================
> >         root at raspberrypi3:~# cat /proc/loadavg
> >         0.15 0.15 0.09 1/130 458
> >
> > So, yes, I seem to be getting roughly what you're seeing.
> Yes I think the difference of our results is noise
> >
> > I have no idea what govenor I'm using, whatever is the default.
> I assume it is ondemand. That is default/fine (if you don't want to
> play music keyboard/sequencer).
> >
> > Here's what I get for fullscreen:
> >
> >         root at raspberrypi3:~# glmark2-es2 --fullscreen --annotate
> >         MESA-LOADER: device is not located on the PCI bus
> >         MESA-LOADER: device is not located on the PCI bus
> >         MESA-LOADER: device is not located on the PCI bus
> >         =======================================================
> >             glmark2 2014.03
> >         =======================================================
> >             OpenGL Information
> >             GL_VENDOR:     Broadcom
> >             GL_RENDERER:   Gallium 0.4 on VC4 V3D 2.1
> >             GL_VERSION:    OpenGL ES 2.0 Mesa 17.0.2
> >         =======================================================
> >         [build] use-vbo=false: FPS: 41 FrameTime: 24.390 ms
> >         [build] use-vbo=true: FPS: 43 FrameTime: 23.256 ms
> >         [texture] texture-filter=nearest: FPS: 42 FrameTime: 23.810 ms
> >         [texture] texture-filter=linear: FPS: 42 FrameTime: 23.810 ms
> >         [texture] texture-filter=mipmap: FPS: 42 FrameTime: 23.810 ms
> >         [shading] shading=gouraud: FPS: 40 FrameTime: 25.000 ms
> >         [shading] shading=blinn-phong-inf: FPS: 31 FrameTime: 32.258 ms
> >         [shading] shading=phong: FPS: 22 FrameTime: 45.455 ms
> >         [shading] shading=cel: FPS: 22 FrameTime: 45.455 ms
> >         [bump] bump-render=high-poly: FPS: 29 FrameTime: 34.483 ms
> >         [bump] bump-render=normals: FPS: 43 FrameTime: 23.256 ms
> >         [bump] bump-render=height: FPS: 42 FrameTime: 23.810 ms
> >         [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 30 FrameTime: 33.333
> 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: 35 FrameTime:
> 28.571 ms
> >         [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4:
> FPS: 12 FrameTime: 83.333 ms
> >         [desktop] effect=shadow:windows=4: FPS: 25 FrameTime: 40.000 ms
> >         [buffer] columns=200:interleave=false:
> update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 22
> FrameTime: 45.455 ms
> >         [buffer] columns=200:interleave=false:
> update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 22
> FrameTime: 45.455 ms
> >         [buffer] columns=200:interleave=true:
> update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 23
> FrameTime: 43.478 ms
> >         [ideas] speed=duration: FPS: 35 FrameTime: 28.571 ms
> >         [jellyfish] <default>: FPS: 30 FrameTime: 33.333 ms
> >         [terrain] <default>: FPS: 2 FrameTime: 500.000 ms
> >         [shadow] <default>: FPS: 32 FrameTime: 31.250 ms
> >         [refract] <default>: FPS: 13 FrameTime: 76.923 ms
> >         [conditionals] fragment-steps=0:vertex-steps=0: FPS: 40
> FrameTime: 25.000 ms
> >         [conditionals] fragment-steps=5:vertex-steps=0: FPS: 35
> FrameTime: 28.571 ms
> >         [conditionals] fragment-steps=0:vertex-steps=5: FPS: 40
> FrameTime: 25.000 ms
> >         [function] fragment-complexity=low:fragment-steps=5: FPS: 39
> FrameTime: 25.641 ms
> >         [function] fragment-complexity=medium:fragment-steps=5: FPS: 13
> FrameTime: 76.923 ms
> >         [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5:
> FPS: 38 FrameTime: 26.316 ms
> >         [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5:
> FPS: 38 FrameTime: 26.316 ms
> >         [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5:
> FPS: 27 FrameTime: 37.037 ms
> >         =======================================================
> >                                           glmark2 Score: 30
> >         =======================================================
> I never tried that before but prefer to run in not-fullscreeen because
> the results seem to depend on screen resolution.
>
> Happy easter,
>
> Andreas
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170418/a9e4eaf1/attachment.html>


More information about the yocto mailing list