AGS is a helper library designed to provide a much clearer view of the GPUs in the system and the displays attached to them. It also exposes the ability to query each display for HDR capabilities and put those HDR-capable displays into various HDR modes.
Download the latest version - v6.0.1
This release adds the following features:
Version 6.0 is a significant step on from version 5.x and has a refactored interface that should make shimming the library easier for those developers that need to do that. In addition, there are some interesting features that the API exposes:
- A ray tracing hit token that can be used to optimize some ray tracing scenarios on RDNA™ 2 hardware.
- Additional shader intrinsics, namely
ReadLaneAtand float conversions.
- Detection for RDNA™ 2 hardware. It’s worth understanding that this should not be relied upon for detecting feature support like ray tracing or VRS. It’s important to use the rendering API eg DirectX® 12, to determine feature support as this is a function of the hardware, OS and driver support.
- Detection for external GPUs.
For DirectX® 11 only:
AGS exposes shader extensions for both DirectX® 11 and DirectX® 12. It also provides access to additional extensions available in the AMD driver for DirectX® 11:
- Clock speed reporting for APUs.
- Reinstating the
sharedMemoryInBytesfield in the
AGSDeviceInfostructure which is used for calculating the memory budget for APUs.
- x86 libs.
- Visual Studio 2019 support.
- Support for base vertex and base instance intrinsics.
- Support for
- Samples have been ported from premake to cmake.
- A better description of the GPU architecture for those wishing to fine tune their games for specific code paths.
- The ability to check if the GPU is an APU or not. This may be useful when budgeting for memory since the local memory reported will only be a small amount compared to the system memory the GPU has access to.
- Shader intrinsics for getting the draw index for execute indirect calls as well as support for atomic U64 ops.
- Radeon™ 7 and RDNA GPU core and memory speeds are now returned.
- For those using the static lib version of AGS, you may be pleased to hear we now ship the debug versions of these libs too.
Version 5.3 adds DirectX® 11 deferred context support for our MultiDrawIndirect and UAV overlap extensions, along with a helper function to let your app determine if the installed driver meets your game’s minimum driver version requirements. If you’re a Vulkan® user, you can pair that with our machine readable AMD Vulkan versions database, to get more information about the Vulkan® implementation in our client driver.
Lastly, there’s a new FreeSync 2 gamma 2.2 mode. It uses a 10-bit (per RGB component, 2-bit alpha) swapchain, as opposed to the 16-bit (per RGB component, 16-bit alpha) swapchain needed for FreeSync 2 scRGB.
Version 5.2 adds support for app registration in DirectX 12. App registration lets you give more information about your game or application to our driver, which can then use that (ideally unique) information to better support the game or app if we need to make driver-side changes to help things run as efficiently and correctly as possible.
We also changed how you get access to extensions under DX12, requiring you to create your GPU device using agsDriverExtensionsDX12_CreateDevice() , instead of the normal D3D12CreateDevice() call you’d make to D3D.
Lastly, we’ve also added support for breadcrumb markers in D3D11. Using the agsDriverExtensionsDX11_WriteBreadcrumb() API, you can put in place a strategy for debugging driver issues more easily. Sometimes your game or app can interact with the driver in a way that causes it to crash or TDR. The new API gives you the ability to leave markers around your D3D11 API calls, helping you narrow down exactly what interaction with the driver caused the problem.
Version 5.1 is a partly developer-focused update to AGS 5. We’ve listened to feedback about how difficult it can be to integrate the binary AGS libs into your games, and while we can’t open the source code to AGS to allow you to integrate it from source, we canvassed developers to figure out what pre-built binaries would be most useful to provide. So we’ve now added builds of the AGS binary library that are linkable with Visual Studio projects built with /MT and /MD, used to select a particular CRT.
There’s also a breaking change in how you get access to DX11 AMD extensions. Look at the Changelog for details on that. We’ve also added an application registration extension for DX11 apps. That lets you tell the driver that your game can be considered in a uniquely indentifiable way, which is particularly helpful if you build on top of popular middleware like Unity or UE4 and make rendering changes.
There’s also support for FreeSync 2 HDR, DX12 application user markers for Radeon GPU Profiler, VS2017 versions of the shipping samples, and new wave-level shader intrinsics for both DX11 and DX12.
Related to AGS
Part 4 of a series of posts on AMD FreeSync™ Premium Pro Technology. Here, we look at how to enable FreeSync Premium Pro with all next gen graphics APIs.
A machine-readable mapping that you can integrate into your software for decoding Radeon™ Vulkan® versions. Includes a link to a handy table.
Croteam’s Karlo Jez writes about AMD LiquidVR MultiView Rendering in Serious Sam VR with the GPU Services (AGS) Library.
Guide to using the shader compiler control API in AGS 5.0
Useful information about features within our AMD GPU Services (AGS) library.
This sample demonstrates how to use the explicit Crossfire™ application programming interface (API).
The DepthBoundsTest11 sample shows how to use the Depth Bounds driver extension.
Our other SDKs
AMD Radeon™ ProRender is our fast, easy, and incredible physically-based rendering engine built on industry standards that enables accelerated rendering on virtually any GPU, any CPU, and any OS in over a dozen leading digital content creation and CAD applications.
Radeon™ Machine Learning (Radeon™ ML or RML) is an AMD SDK for high-performance deep learning inference on GPUs.
Harness the power of machine learning to enhance images with denoising, enabling your application to produce high quality images in a fraction of the time traditional denoising filters take.
The Advanced Media Framework SDK provides developers with optimal access to AMD GPUs for multimedia processing.
The D3D12 Memory Allocator (D3D12MA) is a C++ library that provides a simple and easy-to-integrate API to help you allocate memory for DirectX®12 buffers and textures.
The AMD Display Library (ADL) SDK is designed to access display driver functionality for AMD Radeon™ and AMD FirePro™ graphics cards.
VMA is our single-header, MIT-licensed, C++ library for easily and efficiently managing memory allocation for your Vulkan® games and applications.
AMD TrueAudio Next is a software development kit for GPU accelerated and multi-core high-performance audio signal processing.
AMD Radeon™ ProRender is a powerful physically-based path traced rendering engine that enables creative professionals to produce stunningly photorealistic images.
The lightweight accelerated ray intersection library for DirectX®12 and Vulkan®.
GPUPerfAPI provides access to GPU Performance Counters. It analyzes performance and execution characteristics of applications using a Radeon™ GPU.
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.