profiling doesn't seem to work

José Fonseca jose.r.fonseca at gmail.com
Tue Aug 26 14:36:39 PDT 2014


Yep. This extension is required for GPU profiling.  It's not necessary for
CPU profiling though.

It looks like the error message should be more visible, and reach somehow
the end user without forcing one to use strace..

Jose


On Sun, Aug 3, 2014 at 8:17 PM, <io.github.apitrace at io7m.com> wrote:

> On 2014-08-02T10:15:21 +0000
> <io.github.apitrace at io7m.com> wrote:
> >
> > When attempting to profile any trace, I get "Process exited with
> > non-zero exit code" in the status bar at the bottom of the main window
> > and the profiling results are always blank.
>
> Tracing with strace -f, I see the following:
>
> [pid 25884] write(1, "Error: Cannot run profile, GL_ARB_occlusion_query
> extension is not supported.\n", 78) = 78
> [pid 25879] <... select resumed> )      = 1 (in [15])
> [pid 25879] ioctl(15, FIONREAD, [78])   = 0
> [pid 25879] read(15, "Error: Cannot run profile, GL_ARB_occlusion_query
> extension is not supported.\n", 78) = 78
> [pid 25879] select(22, [15 17 21], [], NULL, NULL <unfinished ...>
> [pid 25884] close(5)                    = 0
> [pid 25884] munmap(0x7f829deb4000, 1052672) = 0
> [pid 25884] munmap(0x7f82965b0000, 1224704) = 0
> [pid 25884] exit_group(-1)              = ?
> [pid 25883] +++ exited with 255 +++
> [pid 25879] <... select resumed> )      = 2 (in [15 17])
>
> My program doesn't use that extension (or any extension, for that
> matter), so... What's causing this? Is that an extension required for
> profiling?
>
> M
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20140826/faf6b5c6/attachment.html>


More information about the apitrace mailing list