All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: "Andreas Müller" <schnitzeltony@googlemail.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi] gles2 on raspi3
Date: Sun, 16 Apr 2017 20:27:36 -0400	[thread overview]
Message-ID: <20170417002736.GA5766@linux-uys3> (raw)
In-Reply-To: <CALbNGRQsCUupm4uo=OHiRoZ+4TOfBLD8aZ5Xz5f9e_fK9ZmxLA@mail.gmail.com>

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@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?!
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.
When I run it in its own little window:

	root@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@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.

I have no idea what govenor I'm using, whatever is the default.

Here's what I get for fullscreen:

	root@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 
	=======================================================
	root@raspberrypi3:~# cat /proc/loadavg 
	0.05 0.11 0.08 1/129 468


  reply	other threads:[~2017-04-17  0:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-15 13:39 [meta-raspberrypi] gles2 on raspi3 Trevor Woerner
2017-04-15 14:46 ` Andreas Müller
2017-04-15 16:35   ` Trevor Woerner
2017-04-15 18:09     ` Andreas Müller
2017-04-15 23:16       ` Trevor Woerner
2017-04-16 23:23         ` Andreas Müller
2017-04-17  0:30           ` Trevor Woerner
2017-04-17  0:49             ` Andreas Müller
2017-04-17  0:45           ` Trevor Woerner
2017-04-16 23:52         ` Andreas Müller
2017-04-17  0:27           ` Trevor Woerner [this message]
2017-04-17  1:11             ` Andreas Müller
2017-04-18  4:16               ` Changhyeok Bae
2017-04-16 22:54       ` Trevor Woerner
2017-04-20  3:41       ` ***SPAM*** " Herve Jourdain
2017-04-20  7:13         ` Trevor Woerner
2017-04-20 11:56           ` Herve Jourdain
2017-04-20 12:58             ` Andreas Müller
2017-04-20 16:55           ` Khem Raj
2017-04-21  3:19             ` Gary Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170417002736.GA5766@linux-uys3 \
    --to=twoerner@gmail.com \
    --cc=schnitzeltony@googlemail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.