<div dir="ltr">Yep. This extension is required for GPU profiling.  It's not necessary for CPU profiling though.<div><br></div><div>It looks like the error message should be more visible, and reach somehow the end user without forcing one to use strace..</div>
<div><br></div><div>Jose</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 3, 2014 at 8:17 PM,  <span dir="ltr"><<a href="mailto:io.github.apitrace@io7m.com" target="_blank">io.github.apitrace@io7m.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2014-08-02T10:15:21 +0000<br>
<div class=""><<a href="mailto:io.github.apitrace@io7m.com">io.github.apitrace@io7m.com</a>> wrote:<br>
><br>
> When attempting to profile any trace, I get "Process exited with<br>
> non-zero exit code" in the status bar at the bottom of the main window<br>
> and the profiling results are always blank.<br>
<br>
</div>Tracing with strace -f, I see the following:<br>
<br>
[pid 25884] write(1, "Error: Cannot run profile, GL_ARB_occlusion_query extension is not supported.\n", 78) = 78<br>
[pid 25879] <... select resumed> )      = 1 (in [15])<br>
[pid 25879] ioctl(15, FIONREAD, [78])   = 0<br>
[pid 25879] read(15, "Error: Cannot run profile, GL_ARB_occlusion_query extension is not supported.\n", 78) = 78<br>
[pid 25879] select(22, [15 17 21], [], NULL, NULL <unfinished ...><br>
[pid 25884] close(5)                    = 0<br>
[pid 25884] munmap(0x7f829deb4000, 1052672) = 0<br>
[pid 25884] munmap(0x7f82965b0000, 1224704) = 0<br>
[pid 25884] exit_group(-1)              = ?<br>
[pid 25883] +++ exited with 255 +++<br>
[pid 25879] <... select resumed> )      = 2 (in [15 17])<br>
<br>
My program doesn't use that extension (or any extension, for that<br>
matter), so... What's causing this? Is that an extension required for<br>
profiling?<br>
<div class="HOEnZb"><div class="h5"><br>
M<br>
_______________________________________________<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>
</div></div></blockquote></div><br></div>