I think the problem had to do with a mismatch in apitrace version.  I'm viewing the trace on a different machine because our development boxes do not come with the proper packages to build qapitrace.  I was debugging another issue at the time with the _trace_user_arrays segfault and I think I was going back and forth between versions to see if the issue existed in the 3.0 tag.  I must have then traced with 3.0 and tried to view the profiling info with the tip.  This resulted in retrace running into segfaults which is why all the profiling data wasn't there.<div>
<br></div><div>Perhaps a file version verification would have helped in this case but I don't really think it's necessary.  I should have just been more careful all along.  The full profile now shows up correctly when both machines are using the tip of apitrace.</div>
<div><br></div><div>A couple of other things I've noticed:</div><div><br></div><div>1. The pixel count seems to always be 1 for each draw call which is definitely not accurate.</div><div>2. Getting the state info for a frame does get through the entire retrace but then crashes on the last frame where it dumps an error "json_parser - syntax error found, forcing abort"</div>
<div><br></div><div>I have the tip of apitrace as of monday.</div><div>OpenGL driver on the dev box is catalyst 12.1</div><div>I'm uncertain whether I am able to share the trace or not due to it containing proprietary content which is unreleased at this time.  I can get back to you on that.</div>
<div><div><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 7:11 AM, José Fonseca <span dir="ltr"><<a href="mailto:jose.r.fonseca@gmail.com" target="_blank">jose.r.fonseca@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know that GPU/CPU skewing is a problem. apitrace tries to<br>
synchronize timings every now and then. But a 10x skewing seems like<br>
something is fundamentally wrong.<br>
<br>
Could you provide the trace? What OpenGL driver are you using?<br>
<br>
Jose<br>
<div><div class="h5"><br>
On Wed, Oct 17, 2012 at 3:24 PM, Kain Osterholt<br>
<<a href="mailto:kain.osterholt@gmail.com">kain.osterholt@gmail.com</a>> wrote:<br>
> I seem to be having some trouble with the profiling view in the qapitrace<br>
> GUI.  I have a couple thousand frames in the trace file but the gui only<br>
> shows about 100 of them and the timeline is a bit skewed.  I can't seem to<br>
> find a way to specify a range of frames to profile and/or scroll to see new<br>
> frames in the profiler.  Am I able to specify a range of frames to profile?<br>
><br>
> --<br>
><br>
> -Kain<br>
><br>
</div></div>> _______________________________________________<br>
> apitrace mailing list<br>
> <a href="mailto:apitrace@lists.freedesktop.org">apitrace@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/apitrace" target="_blank">http://lists.freedesktop.org/mailman/listinfo/apitrace</a><br>
><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div>-Kain <br>
</div></div>