Updated: April 19, 2023

Record all OpenGL calls made by the target application


gltracelogger [-a=frame]
              [-p=process_name | pid]

Runs on:

QNX Neutrino



Specify the frame number on which to start tracing.


Specify the number of buffers. Default is 16 buffers.


Start gltracelogger in daemon mode, which means tracing is not started until the specified frame (using -a option). By default, tracing is started right away.


Immediate mode means the shared memory buffers will be flushed immediately after each trace event (useful if you're sending trace data over network for remote replay).


Specify the output file .glev location.

-p=process_name | pid

Tell gltracelogger to connect to the named process or pid.


Specify the maximum size of the trace file.


Specify the number of seconds to trace.


Specify the frame number on which to stop tracing.


This tracing tool is used to help debug graphical issues by providing a trace of all OpenGL function calls made by an application. The gltracelogger is started with a command-line argument specifying the target application by name or pid. The gltracelogger receives the trace data which is then compressed and written into the .glev file, which can be read by gltraceprinter.

To run gltracelogger:

  1. Ensure that screen is running.
  2. Run gltracelogger from a shell.


# gltracelogger -p gles3-gears -d -a1 -z1

Environment variables:

To start tracing the application from the beginning, you need to use the GLTRACE_WAIT_FOR_CLIENT environment variable that forces the application to wait for the gltracelogger to start. The application will resume when the connection with gltracelogger is completed. It can be used along with the application name as following: