2.4.5 Capture a Vulkan application

To capture your Vulkan application, you must tell the Vulkan loader the location of the Graphics Analyzer layer and manifest that you copied onto your target. You must also tell it the name of the Graphics Analyzer layer to load as both an instance and a device layer.

For example:

VK_LAYER_PATH=/path/to/aga/layer/ VK_INSTANCE_LAYERS=VK_LAYER_ARM_AGA VK_DEVICE_LAYERS=VK_LAYER_ARM_AGA ./your_vulkan_app

Note:

The concept of device layers has been deprecated. However, some older drivers might still require the VK_DEVICE_LAYERS environment variable to be set to allow Graphics Analyzer to trace all Vulkan function calls in the application.
Non-Confidential - RELPDF file icon PDF version101545__00_en
Copyright © 2020–2022, 2024 Arm Limited or its affiliates. All rights reserved.