failing to take a trace

kalyan reddy kalyanreddy2005 at gmail.com
Thu Jan 12 04:27:44 PST 2012


Hi Jose,

 Thanks for your reply. Tried that but it complains saying cannot find
wrappers /egltrace.so . I have checked the wrappers folder and it doesn't
have any egltrace.so

reg,
kalyan

On Thu, Jan 12, 2012 at 12:56 PM, José Fonseca <jose.r.fonseca at gmail.com>wrote:

> On Thu, Jan 12, 2012 at 9:40 AM, kalyan reddy <kalyanreddy2005 at gmail.com>
> wrote:
> > Hi,
> >
> > I am a new user to api trace. I have been trying to get a trace out of
> > chromium(when using webgl) on meego. I have used the following command :
> >
> > apitrace trace "..<apppath>/chromium-browser" --user-gl=egl
> > --ignore-gpu-blacklist
> > http:://webglsamples.googlecode.com/hg/field/field.html
> >
> > chromium is launched and I can see the fps and field page correctly. I
> close
> > the browser and return to terminal. I cannot find any .trace file nor any
> > errors are shown up. Any tips??
> >
> > reg,
> > kalyan
> >
> > _______________________________________________
> > apitrace mailing list
> > apitrace at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/apitrace
> >
>
> There are several things to keep in mind here:
> - chrome does a lot of inter-process comunnication, so it is important
> to ensure that the renderer process is forked from the right parent
> and actually gets the LD_PRELOAD environment variable. There are some
> chrome options that help (--temp-profile --user-data-dir
> --single-process)
> - when tracing EGL you need to run apitrace trace --api egl ....
>
> This works for me when using GL:
>
> $ ./apitrace trace  --api gl chromium --temp-profile
> --ignore-gpu-blacklist
> http://webglsamples.googlecode.com/hg/field/field.html
> apitrace: redirecting dlopen("libGL.so.1", 0x1)
> apitrace: tracing to /home/jfonseca/projects/apitrace/chromium.2.trace
> apitrace: warning: unknown function "glBindFragDataLocationIndexedARB"
> apitrace: warning: unknown function "glBlitFramebufferANGLE"
> apitrace: warning: unknown function "glEGLImageTargetTexture2DOES"
> apitrace: warning: unknown function "glRenderbufferStorageMultisampleANGLE"
> apitrace: redirecting dlopen("libGL.so.1", 0x102)
> [3:3:555073509122:ERROR:nss_util.cc(394)] Error initializing NSS
> without a persistent database: libsoftokn3.so: cannot open shared
> object file: Permission denied
> apitrace: redirecting dlopen("libGL.so.1", 0x1)
> apitrace: tracing to /home/jfonseca/projects/apitrace/chromium.3.trace
> apitrace: warning: unknown function "glBindFragDataLocationIndexedARB"
> apitrace: warning: unknown function "glBlitFramebufferANGLE"
> apitrace: warning: unknown function "glEGLImageTargetTexture2DOES"
> apitrace: warning: unknown function "glRenderbufferStorageMultisampleANGLE"
> apitrace: redirecting dlopen("libGL.so.1", 0x102)
>
> And this *should* work for EGL:
>
> $ ./apitrace trace  --api egl chromium --temp-profile --user-gl=egl
> --ignore-gpu-blacklist
> http://webglsamples.googlecode.com/hg/field/field.html
>
> But by some reason chrome on my system refuses to use EGL, and always
> uses GL, so it doesn't. But that's a chrome issue, and not apitrace's.
>
> Jose
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20120112/583103f0/attachment.html>


More information about the apitrace mailing list