On Fri, 2011-04-29 at 14:09 +0800, ext Zhao, Juan J wrote: > On Fri, 2011-04-29 at 08:57 +0300, Tapani Pälli wrote: > > On Fri, 2011-04-29 at 13:49 +0800, ext Zhao, Juan J wrote: > > > On Fri, 2011-04-29 at 08:33 +0300, Tapani Pälli wrote: > > > > Measuring fps : > > > > https://gitorious.org/swaplogger/ > > > > > > > > > > > Good point. I am also working on this now. But I have some concerns > > > about this measuring method. > > > It uses XDamageNotify to calculate the frame rate. The base idea is the > > > same as what we used named "VideoPerf". > > > As I know composite window manager also use XDamageNotify to process the > > > composite and redrawing the window. > > > I'm afraid this may load performance drop. > > > I run that perf tool to test glxgears and QGears on my desktop(the > > > graphcs is NV's). glxgears dropped about 40%. But QGears has the same > > > framerate. > > > Do you investigate this point before? Any comments? > > > > If you want to measure desktop GL composited video then I'm afraid you > > need to extend swaplogger, it only supports EGL and legacy X at the > > moment so I'm afraid as it is it might not be suitable for this but > > could be extended. I'm not sure now what is your use case, is it overlay > > video, textured video and is it composited or not direct rendered? > From the code, it calculates not only the video. And I don't concern the > video....VieoPerf is just the name, maybe the author planed to perf > video only at the initiate state. > It can calculate the Window changing frame rate including DRI. > QGears is one application based on QT and using EGL/GLES. > OK, let's talk about swaplogger only. > You calculate eglswapbuffers and xshmputimage, that's a good point. > And you also create one damage, and Xorg will generate DamageNotify > envent. > But Window manager will also use this event.Won't this method caused > performance dropping? Any idea about this damage usage?
Depending on how your drivers work you could get a usable benchmark by measuring the framerate from eglSwapBuffers by passing '--only-egl' (not tracking damage). // Tapani _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev http://wiki.meego.com/Mailing_list_guidelines
