3.3 Capture over TCP/IP for Android and Linux devices
Connecting to a Linux device or IP address is automated through the Device Manager. The Device Manager detects any Linux device on the network that has aga-daemon running on it. When a connection is established, Graphics Analyzer installs the layer driver and daemon application that it uses to communicate with it ready to capture your application.
Prerequisites
To run Graphics Analyzer on a Linux device, ensure that the device has:
- A running OpenGL ES, OpenCL, or Vulkan application.
- A network connection to a host running the Graphics Analyzer GUI.
- The target must permit TCP/IP communication on port 5002.
Procedure
-
Open Graphics Analyzer.
-
Click Open the Device Manager
.
-
Select the Linux/IP tab.
Results: The Device Manager
automatically shows any Linux devices on the same local network and subnet as
the host that are running the aga-daemon
application. Alternatively, you can connect to the IP address of the
device.
-
Connect to your device using one of the following
methods:
Figure
3-4 The Device
Manager dialog
Results: Graphics Analyzer connects to
your device and installs the layer driver and daemon application that it uses to communicate with
it. When the connection is established, the Device Manager
closes and the live capture is shown.
-
Optionally, select a preset configuration, or choose which API
assets are captured.
Figure
3-5 Trace Config dialog
The more asset types you enable, the slower the application runs, the more memory is required,
and the larger the generated capture file is. See 3.4 Configure tracing assets for more information.
-
Perform your test scenario on the device. Graphics Analyzer displays the data it receives
from the device.
-
When you see a problem area in the capture:
-
When you have captured the data you need, click Stop
tracing
.
Results: The frames are listed in the Trace
Outline view. To identify the type of frame capture you performed, an icon is shown
next to the frames when you have captured extra data.
-
To show only the frames where you have captured extra data, select the Show Only
Frames With Features Enabled check box.
Figure
3-6 Show only frames with features enabled
-
Expand a frame to see the render passes and draw calls within
it. Select frames, renderpasses, and draw calls to explore their data using the
different data views. See Chapter 5 The Graphics Analyzer interface
for more information about the views.
Next Steps
To save or export the trace file, use the options under the File menu.