Analyze.
Adjust.
Accelerate.
Now available as part of the Radeon™ Developer Tool Suite.
Radeon™ GPU Analyzer is an offline compiler and performance analysis tool for DirectX®, Vulkan®, SPIR-V™, OpenGL®, and OpenCL™.
Download the latest version - v2.11.0
This release features:
- Added support for gfx1150 as a compiler target across all modes.
- DXR mode now supports AMD compiler’s raytracing updates. With Radeon Adrenalin™ driver version 24.9.2, the AMD compiler includes changes to the way raytracing state objects are being compiled. Use this new version of RGA to ensure compatibility with the new compiler.
- Dark mode: the RGA GUI application now lets you choose between Light and Dark themes or have the UI follow the OS theme. To control this behavior, visit the tool’s Settings menu.
- Updated DXC to version v1.8.2407.
- Updated the offline Vulkan and OpenGL compilers.
Features
Inspect your ISA...
Analyze the ISA for your shader stages within a Vulkan® graphics or compute pipeline.
...compile for many products...
Select target GPUs for the compilation process. You can search for available targets by using specific GPU architecture or even retail product names, like “SSG” or “WX 8200”.
...refine your resources...
View register pressure and LDS/scratch memory usage for your target hardware.
...visualize VGPR pressure...
Jump to areas in your code with maximum VGPR pressure
...and correlate your code!
For OpenCL™ kernels, the tool provides correlation from high-level source code to the disassembly, and from the disassembly to the high-level source code.
Visual Studio Code Extension for Radeon™ GPU Analyzer
Radeon™ GPU Analyzer – Visual Studio® Code Extension
This is a Visual Studio® Code extension for Radeon GPU Analyzer (RGA) to allow you to use RGA directly from within VS Code.
Using the Visual Studio® Code Extension for RGA
This is a Visual Studio® Code extension for the Radeon GPU Analyzer (RGA). This extension makes it possible to use RGA directly from within VS Code.
Requirements
General
For all non-offline modes (DirectX®12, DXR, Vulkan®):
- Latest AMD drivers (Adrenalin SW on Windows and amdgpu-pro on Linux).
Offline modes (Vulkan® offline, OpenGL™, OpenCL™, and Binary Analysis) can run without AMD driver or hardware installed.
Supported GPUs
RGA supports the following as targets when compiling graphics shaders and pipelines:
- All RDNA-based architectures.
- Vega™ architecture is only supported on systems with a legacy GCN-compatible driver.
- The new Binary Analysis mode supports Code Objects that were pre-compiled for MI-200 in addition to all other supported targets.
Supported APIs in GUI
- Vulkan®
- OpenCL™
- HIP, DXR, DirectX® 12 (Binary Analysis only)
Supported APIs in command line
- Vulkan®
- DirectX® 11
- DirectX® 12
- DXR
- OpenGL®
- OpenCL™
Supported OSs
- Windows® 10
- Windows® 11
- Ubuntu 22.04
Version history
- Added support for gfx1150 as a compiler target across all modes.
- DXR mode now supports AMD compiler’s raytracing updates. With Radeon Adrenalin™ driver version 24.9.2, the AMD compiler includes changes to the way raytracing state objects are being compiled. Use this new version of RGA to ensure compatibility with the new compiler.
- Dark mode: the RGA GUI application now lets you choose between Light and Dark themes or have the UI follow the OS theme. To control this behavior, visit the tool’s Settings menu.
- Updated DXC to version v1.8.2407.
- Updated the offline Vulkan and OpenGL compilers.
- The RGA GUI application now handles display scaling for better experience when working with multiple monitors or when changing display settings.
- DX12 single shader support: compile single DX12 shaders in isolation (CS, VS or PS). When an incomplete DX12 pipeline is received (missing a shader, root signature or state subset), the tool will use reflection to auto-generate the missing pieces of the pipeline for you. No impact to the invocation command, just omit the missing pieces. For more details, check out this blog post about RGA v2.9.1
- MI-300 binary analysis support: you can now analyze pre-compiled HIP Code Object binaries for the MI-300 with RGA’s Binary Analysis mode.
- MI-300 support in OpenCL mode.
- Bug fixes, including improved display scaling, which allows for a better experience when working with multiple monitors or when changing display settings.
- Analyze pre-compiled Code Object binaries to inspect the ISA disassembly and analyze VGPR pressure and static hardware resource allocation. This is supported in both the GUI application and the command line tool.
- Using the new Binary Analysis mode, you can now analyze pre-compiled HIP binaries for the MI-200 architecture in addition to any of RGA’s existing targets.
- The RGA command line tool now captures the debug output when compiling DX12 pipelines with the D3D Debug Layer enabled (–debug-layer).
- Compile and analyze shaders and kernels for the gfx1101 (AMD Radeon RX 7800 XT and RX 7700 XT) and gfx1103 (AMD Radeon 740M, 760M and 780M) architectures.
- Use the latest HLSL Shader Model features on any system with Agility SDK when compiling D3D12 pipelines.
- VGPR pressure GUI: the UI now visualizes VGPR pressure in the disassembly view at the instruction level, allowing you to spot areas in your code that have the highest VGPR pressure and helping you identify where to focus your optimization.
The UI shows the allocation and usage of VGPRs for each instruction, and hints on how many VGPRs need to be reduced to reduce the allocation. - Jump to areas in your shaders and kernels which have maximum VGPR pressure using the RGA GUI application. After successfully compiling your shader, use:
- Edit -> Go to next maximum VGPR pressure line (Ctrl+F4) , or:
- Right-click on any ISA disassembly line -> Go to next maximum VGPR pressure line (Ctrl+F4).
- New Vulkan offline compiler, using AMD’s LLVM-based pipeline compiler.
- Compile and analyze shaders and kernels for the RDNA3™ architecture (gfx1100), even without a physical RDNA3™ card installed on your system.
- VGPR pressure GUI: the UI now visualizes VGPR pressure in the disassembly view at the instruction level, allowing you to spot areas in your code that have the highest VGPR pressure and helping you identify where to focus your optimization.
The UI shows the allocation and usage of VGPRs for each instruction, and hints on how many VGPRs need to be reduced to reduce the allocation. - Jump to areas in your shaders and kernels which have maximum VGPR pressure using the RGA GUI application. After successfully compiling your shader, use:
- Edit -> Go to next maximum VGPR pressure line (Ctrl+F4) , or:
- Right-click on any ISA disassembly line -> Go to next maximum VGPR pressure line (Ctrl+F4).
- DirectX®11 mode (-s dx11) is now an offline mode and works regardless of the installed driver. Support in this mode was limited to VS, PS and CS.
- Updates to Vulkan and OpenGL® backend components.
- OpenCL™ mode now uses an updated version of AMD’s LLVM-based Lightning Compiler.
- Added support for gfx1034 as a target in Vulkan®, DirectX® 12, DXR, DirectX® 11, OpenCL™and OpenGL modes.
- DirectX® 12 mode: you can now extract AMDIL disassembly for DirectX® 12 compute and graphics shaders.
- DXR and DirectX® 12 offline modes:
- You can now compile DXR and DirectX® 12 shaders and pipelines on machines that do not have an installed AMD card or driver by adding the –offline command line switch to your RGA command.
The tool ships with the latest released AMD DXR/DirectX® 12 driver at the time of the tool’s release, and it would use that driver if –offline is specified. - Plug & play DXR/DirectX® 12 driver: force RGA to load amdxc64.dll from a specific location by using the new –amdxc command line switch. This option also works on machines which do not have an AMD DXR/DX12 driver installed.
- You can now compile DXR and DirectX® 12 shaders and pipelines on machines that do not have an installed AMD card or driver by adding the –offline command line switch to your RGA command.
- VGPR pressure GUI: the UI now visualizes VGPR pressure in the disassembly view at the instruction level, allowing you to spot areas in your code that have the highest VGPR pressure and helping you identify where to focus your optimization.
The UI shows the allocation and usage of VGPRs for each instruction, and hints on how many VGPRs need to be reduced to reduce the allocation.
- Added support for gfx1032 as a target in Vulkan®, DirectX® 12, DXR, DirectX® 11, OpenCL™, and OpenGL modes.
- OpenCL™:
- Added support for RDNA™, RDNA™ 2, and CDNA targets, including the Radeon™ Instinct MI100.
- Updated the Lightning Compiler package that is bundled with the tool.
- Added support for live VGPR analysis and control-flow graph generation (
--livereg
and--cfg
options). - Note: ROCM-CL mode (
-s rocm-cl
) was replaced with an “Offline OpenCL” mode (-s opencl
).
- DirectX® 12:
- Support for multi-GPU configurations where the primary display adapter is a non-AMD card. The tool will now use the driver that is associated with the first AMD display adapter on the system.
- Vulkan®:
- Live VGPR analysis and control-flow graph can now be generated from LLPC disassembly.
- Updated the SPIR-V tools that are packaged with the tool.
- Support for DirectX® Raytracing (DXR) in a new mode of the command line tool (
-s dxr
):- Compile DXR HLSL code to generate RDNA™ 2 ISA disassembly, hardware resource usage statistics, live VGPR analysis, and control-flow graphs.
- The new mode does not require a raytracing-enabled AMD GPU. Installing the latest Radeon™ Adrenalin Software is sufficient.
- Improved performance in the GUI app to better handle shaders with large disassembly.
- Updated static analysis engine with support for the latest RDNA™ 2 instructions and bug fixes.
- (v2.4.2 only) Added support for gfx1031 (RX 6700 XT) in Vulkan®, DirectX®12, DirectX® Raytracing, DirectX®11, and OpenGL™ modes.
- RGA is now available as part of the Radeon™ Developer Tool Suite.
- Added support for RX6000 series in DirectX®12, DirectX®11, Vulkan®, Vulkan-Offline, OpenGL®, and OpenCL™ modes.
- Added support for Navi12 (gfx1011) and Renoir (gfx909) as targets in DX12, DX11, Vulkan, Vulkan-offline and OpenGL modes.
- Bug fixes and usability enhancements.
- Added support for DX12 graphics pipelines compilation in command line tool.
- Added support for Navi14.
- Live register analysis and control-flow graph generation support for RDNA targets.
- DX11 mode accepts DXBC binaries as an input.
- Vulkan mode reports when shaders were merged.
- Support for RDNA targets in OpenCL legacy mode.
- Add command line support for DirectX® 12 compute shaders.
- Support for RDNA targets in Vulkan, Vulkan offline, DX12, DX11 and OpenGL modes.
- Adds support for Vulkan® in the GUI.
- Shows a summary of the resources used by your shaders (VGPR, SGPR and LDS).
- Initial release.
Related to Radeon™ GPU Analyzer
New Radeon™ Developer Tool Suite brings Driver Experiments, Dark Mode to Tools
Find out more about our latest tools release, including driver experiments, updates to RRA, RGP, and more!
Radeon™ GPU Profiler 2.1 adds interoperability with Radeon™ GPU Analyzer (and more)!
RGP 2.1 adds RGA interoperability, ‘Color by’ modes, and additional customization options. Dive in for all the details!
GDC 2024 – Game Optimization With The Radeon™ Developer Tool Suite – YouTube link
This session presents the latest enhancements in the RDTS, a rich set of GPU profilers and analyzers and a new GPU crash analysis tool.
Optimizing Game Performance with the Radeon Developer Tool Suite (GDC 2023 – YouTube link)
This talk gives an overview of RGP, RMV, RRA, and RGA, introducing new features and improvements, and reveal the current work in progress.
Game Optimization: Radeon™ Developer Tools on RADV and Steam Deck™ (Vulkanised 2023 – YouTube link)
This talk at Vulkanised 2023 covers how to use the Radeon Developer Tool Suite (RDTS) to optimize games using RADV and Steam Deck.
RDNA 3: Read about our tool updates in Radeon Developer Tool Suite (RDTS)
Read this high level summary of our updates to RDTS for RDNA™ 3, including other new features and improvements, plus updates to GPUPerfAPI.
Raytracing Performance Revealed – How to Optimize your Game with the Radeon™ Developer Tool Suite – YouTube link
In this presentation, we demonstrate how to use Radeon™ GPU Profiler and Radeon™ Raytracing Analyzer, to illuminate performance issues.
Visualizing VGPR Pressure with Radeon™ GPU Analyzer 2.6
Radeon GPU Analyzer 2.6 introduces VGPR Pressure Visualization. This post explains exactly how to get the most out of this brand-new feature.
Radeon™ GPU Analyzer v2.4.1 supports DirectX® Raytracing
Radeon™ GPU Analyzer v2.4.1 introduces support for DXR shaders in a new mode of the command line tool.
Using Radeon™ GPU Analyzer v2.4.1 with DirectX® Raytracing
Radeon™ GPU Analyzer v2.4.1 introduces support for DXR shaders in a new mode of the command line tool.
Introducing the Radeon™ Developer Tool Suite
The Radeon™ Developer Tool Suite combines our Radeon™ GPU Profiler, Radeon™ Memory Visualizer, Radeon™ GPU Analyzer, and Radeon™ Developer Panel in one handy package.
AMD RDNA™ 2 – Radeon™ Developer Tool Suite – YouTube link
This video describes the benefits of bundling the Radeon™ GPU Profiler, Radeon™ Memory Visualizer, Radeon™ GPU Analyzer, and the Radeon™ Developer Panel into a single downloadable suite.
Radeon™ GPU Detective (RGD) is a tool for post-mortem analysis of GPU crashes. RGD can capture AMD GPU crash dumps from DirectX® 12 apps.
Radeon™ Raytracing Analyzer (RRA) is a tool which allows you to investigate the performance of your raytracing applications and highlight potential bottlenecks.
The RDP provides a communication channel with the Radeon™ Adrenalin driver. It generates event timing data used by the Radeon™ GPU Profiler (RGP), and the memory usage data used by the Radeon™ Memory Visualizer (RMV).
Radeon™ Memory Visualizer (RMV) is a tool to allow you to gain a deep understanding of how your application uses memory for graphics resources.
RGP gives you unprecedented, in-depth access to a GPU. Easily analyze graphics, async compute usage, event timing, pipeline stalls, barriers, bottlenecks, and other performance inefficiencies.
Radeon GPU Analyzer is an offline compiler and performance analysis tool for DirectX®, Vulkan®, SPIR-V™, OpenGL® and OpenCL™.
Our other tools
Frame Latency Meter measurement tool is a must-have for anyone who wants to measure the response time of their games with mouse events.
GPU Reshape is a powerful tool that leverages on-the-fly instrumentation of GPU operations with instruction level validation of potentially undefined behavior.
If you want to know how well a game is performing on your machine in real-time with low overhead, OCAT has you covered.
Compressonator is a set of tools to allow artists and developers to more easily work with compressed assets and easily visualize the quality impact of various compression technologies.