HOME

TheInfoList



OR:

Mantle was a low-overhead
rendering API This is a glossary of terms relating to computer graphics Computer graphics deals with generating images with the aid of computers. Today, computer graphics is a core technology in digital photography, film, video games, cell phone and comp ...
targeted at 3D video games.
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational semiconductor company based in Santa Clara, California, that develops computer processors and related technologies for business and consumer markets. While it initially manufactur ...
originally developed Mantle in cooperation with
DICE Dice (singular die or dice) are small, throwable objects with marked sides that can rest in multiple positions. They are used for generating random values, commonly as part of tabletop games, including dice games, board games, role-playing g ...
, starting in 2013. Mantle was designed as an alternative to
Direct3D Direct3D is a graphics application programming interface (API) for Microsoft Windows. Part of DirectX, Direct3D is used to render three-dimensional graphics in applications where performance is important, such as games. Direct3D uses hardware a ...
and
OpenGL OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardwa ...
, primarily for use on
personal computer A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or tec ...
s, although Mantle supports the GPUs present in the
PlayStation 4 The PlayStation 4 (PS4) is a home video game console developed by Sony Interactive Entertainment. Announced as the successor to the PlayStation 3 in February 2013, it was launched on November 15, 2013, in North America, November 29, 2013 in ...
and in the
Xbox One The Xbox One is a home video game console developed by Microsoft. Announced in May 2013, it is the successor to Xbox 360 and the third base console in the Xbox series of video game consoles. It was first released in North America, parts of ...
. In 2015, Mantle's public development was suspended and in 2019 completely discontinued, as
DirectX 12 Microsoft DirectX is a collection of application programming interfaces (APIs) for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with "Direct" ...
and the Mantle-derived
Vulkan Vulkan is a low- overhead, cross-platform API, open standard for 3D graphics and computing. Vulkan targets high-performance real-time 3D graphics applications, such as video games and interactive media. Vulkan is intended to offer higher perfor ...
rose in popularity.


Overview

The draw call improvements of Mantle help alleviate cases where the CPU is the bottleneck. The design goals of Mantle are to allow games and applications to utilize the
CPUs A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program. The CPU performs basic arithmetic, logic, controlling, and ...
and
GPUs A graphics processing unit (GPU) is a specialized electronic circuit designed to manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display device. GPUs are used in embedded systems, mobil ...
more efficiently, eliminate CPU bottlenecks by reducing API validation overhead and allowing more effective scaling on multiple CPU cores, provide faster draw routines, and allow greater control over the graphics pipeline by eliminating certain aspects of hardware abstraction inherent to both current prevailing graphics APIs OpenGL and Direct3D.


CPU-bound scenarios

With a basic implementation, Mantle was designed to improve performance in scenarios where the CPU is the limiting factor: * Low-overhead validation and processing of API commands * Explicit command buffer control * Close to linear performance scaling from reordering command buffers onto multiple CPU cores * Reduced runtime shader compilation overhead * AMD claims that Mantle can generate up to 9 times more draw calls per second than comparable APIs by reducing CPU overhead. * Multithreaded parallel CPU rendering support for at least 8 cores.


GPU-bound scenarios

Mantle was also designed to improve situations where high resolutions and "maximum detail" settings are used, although to a somewhat lesser degree, as these settings tax GPU resources in a way that is more difficult to improve at the API level. While Mantle provides some built-in features to improve GPU-bound performance, gains in these cases are largely dependent on how well Mantle features and optimizations are being utilized by the game engine. Some of those features include: * Reduction of command buffers submissions * Explicit control of resource compression, expands and synchronizations * Asynchronous DMA queue for data uploads independent from the graphics engine * Asynchronous compute queue for overlapping of compute and graphics workloads * Data formats optimizations via flexible buffer/image access * Advanced Anti-Aliasing features for MSAA/EQAA optimizations * Native multi-GPU support


Benchmarks

* Performance superior to Direct3D 11 * Improved performance in '' Battlefield 4'' and up to 319% faster in the ''Star Swarm'' demo in single GPU configuration in extremely CPU-limited situations.


Other claims

* Easier to port from Mantle to Direct3D 12 than from Direct3D 11 to Direct3D 12 * At GDC 14 Oxide Games employee Dan Baker stated that Mantle would address fundamental development challenges that could not be addressed by a retrofit of an existing API. It is hard to optimize for the graphics device driver. * At the AMD Developer Summit (APU) in November 2013 Johan Andersson, technical director of the Frostbite engine at DICE praised Mantle for making development easier and enabling developers to innovate. * Mantle targets 100K * Monolithic Pipeline * Pipeline saving and loading * Hybrid Resource Model * Generalized Resources * Control over resource preparation * Dynamic flow control without CPU intervention * Direct GPU control * Reduced runtime shader compilation overhead * Better control over the hardware. * "All hardware capabilities are exposed through the API." * Reduction of command buffer submissions * Data formats optimizations via flexible buffer/image access * Explicit control of resource compression, expansion, and synchronization * Asynchronous DMA queue for data uploads independent from the graphics engine * Asynchronous compute queue for overlapping of compute and graphics workloads * New rendering techniques


Support

The Mantle API was only available as part of
AMD Catalyst AMD Radeon Software is a device driver and utility software package for AMD's graphics cards and APUs. Its graphical user interface is built with Electron and is compatible with 64-bit Windows and Linux distributions. Software bundle Func ...
prior to 19.5.1, which was available for
Microsoft Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
.
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational semiconductor company based in Santa Clara, California, that develops computer processors and related technologies for business and consumer markets. While it initially manufactur ...
promised to support their Mantle API only for their graphics cards and APUs which are based on their Graphics Core Next microarchitecture, but not older products based on the TeraScale microarchitecture. the implementation of the Mantle API was available for the following hardware: * certain
Radeon HD 7000 Series The Radeon HD 7000 series, codenamed "Southern Islands", is a family of GPUs developed by AMD, and manufactured on TSMC's 28 nm process. The primary competitor of Southern Islands, Nvidia's GeForce 600 Series (also manufactured at TSMC), a ...
GPUs * certain
Radeon HD 8000 Series The Radeon HD 8000 series is a family of computer GPUs developed by AMD. AMD was initially rumored to release the family in the second quarter of 2013, with the cards manufactured on a 28 nm process and making use of the improved Graphics ...
GPUs * certain
AMD Radeon Rx 200 Series The Radeon 200 series is a series of graphics processors developed by AMD. These GPUs are manufactured on a 28 nm Gate-Last process through TSMC or Common Platform Alliance. Release The Rx 200 series was announced on September 25, 2013, ...
GPUs ("R7" and "R9") * all
Steamroller A steamroller (or steam roller) is a form of road roller – a type of heavy construction machinery used for leveling surfaces, such as roads or airfields – that is powered by a steam engine. The leveling/flattening action is achieved through ...
-based "Kaveri" APUs: AMD A10-7000 Series and AMD A8-7000 Series * all
Jaguar The jaguar (''Panthera onca'') is a large cat species and the only living member of the genus '' Panthera'' native to the Americas. With a body length of up to and a weight of up to , it is the largest cat species in the Americas and the th ...
-based "Kabini" and "Temash" APUs: AMD E1-2000 Series, E2-3000 Series, A4-1200 Series, A4-1350, A4-5000 Series, A6-1450, A6-5200, Sempron 2650, Sempron 3850, Athlon 5150, Athlon 5350, etc. * all Puma-based "Beema" and "Mullins" APUs: E1 Micro-6200T, A4 Micro-6400T, A10 Micro-6700T, E1-6010, E2-6110, A4-6210, A6-6310, etc. Mantle was originally planned to be released on other platforms than
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
, including Linux, but it never happened. While the API was officially discontinued, Clément Guérin started a Mantle to
Vulkan Vulkan is a low- overhead, cross-platform API, open standard for 3D graphics and computing. Vulkan targets high-performance real-time 3D graphics applications, such as video games and interactive media. Vulkan is intended to offer higher perfor ...
translation layer called GRVK in mid 2020. This allows the API and ultimately the games to live on even without Mantle supporting graphic drivers.


Game engines

* At GDC 2014,
Crytek Crytek GmbH is a German video game developer and software developer based in Frankfurt. Founded by the Yerli brothers in Coburg in 1999 and moved to Frankfurt in 2006, Crytek also operates further studios in Kyiv, Ukraine and Istanbul, Turkey. ...
announced they will support Mantle in their
CryEngine CryEngine (stylized as CRYENGINE) is a game engine designed by the German game developer Crytek. It has been used in all of their titles with the initial version being used in ''Far Cry'', and continues to be updated to support new consoles and ...
. * During a GPU 14 Tech Days presentation, an announcement was made that
Frostbite 3 Frostbite is a game engine developed by DICE, designed for cross-platform use on Microsoft Windows, seventh generation game consoles PlayStation 3 and Xbox 360, eighth generation game consoles PlayStation 4, Xbox One and Nintendo Switch and nin ...
would include a Mantle backend. * The Nitrous game engine from
Oxide Games Oxide Games is an American video game developer based in Lutherville-Timonium, Maryland. The studio was founded in January 2013 by Brad Wardell and former Firaxis employees Dan Baker, Marc Meyer, Brian Wade, and Tim Kipp. History Oxide Game ...
, alongside DirectX 12. Mantle benchmark is still available in a free Star Swarm stress test. * ''
Thief Theft is the act of taking another person's property or services without that person's permission or consent with the intent to deprive the rightful owner of it. The word ''theft'' is also used as a synonym or informal shorthand term for some ...
'' is based on a modified
Unreal Engine 3 Unreal Engine (UE) is a 3D computer graphics game engine developed by Epic Games, first showcased in the 1998 first-person shooter game '' Unreal''. Initially developed for PC first-person shooters, it has since been used in a variety of genre ...
that supported Mantle. * LORE, a '' Civilization: Beyond Earth'' engine supported Mantle. * Asura, engine used by '' Sniper Elite III'' supported Mantle.


Video games

* '' Battlefield 4'' * ''
Battlefield Hardline ''Battlefield Hardline'' is a first-person shooter video game developed by Visceral Games and published by Electronic Arts. It was released in March 2015 for Microsoft Windows, PlayStation 3, PlayStation 4, Xbox 360 and Xbox One. Unlike the prev ...
'' * ''
Thief Theft is the act of taking another person's property or services without that person's permission or consent with the intent to deprive the rightful owner of it. The word ''theft'' is also used as a synonym or informal shorthand term for some ...
'' * '' Plants vs. Zombies: Garden Warfare'' * '' Civilization: Beyond Earth'' * '' Dragon Age: Inquisition'' * '' Sniper Elite III''


Originally planned

* ''
Star Citizen Logo Cloud Imperium Games ''Star Citizen'' is an in-development multiplayer, space trading and combat simulation game. The game is being developed and published by Cloud Imperium Games for Microsoft Windows. An extended retry of unrealized plans ...
'' * 15 Frostbite games after '' Battlefield 4'' were planned to support Mantle, potentially including ''
Need for Speed Rivals A need is dissatisfaction at a point of time and in a given context. Needs are distinguished from wants. In the case of a need, a deficiency causes a clear adverse outcome: a dysfunction or death. In other words, a need is something required for a ...
'', '' Mass Effect: Andromeda'', ''
Mirror's Edge Catalyst ''Mirror's Edge Catalyst'' is a first-person action-adventure platform game developed by DICE and published by Electronic Arts. The game was released for PlayStation 4, Windows, and Xbox One in June 2016. It is a reboot of the 2008 game tha ...
'', ''
The Sims 4 ''The Sims 4'' is a social simulation game developed by Maxis and published by Electronic Arts. It is the fourth major title in ''The Sims'' series, and is the sequel to '' The Sims 3'' (2009). The game was released in North America on Septem ...
'' and '' Star Wars Battlefront (2015)''. * There have been rumours about other games from that time, including '' Call of Duty: Advanced Warfare'', ''
Dying Light ''Dying Light'' is a 2015 survival horror video game developed by Techland and published by Warner Bros. Interactive Entertainment. The game's story follows an undercover agent named Kyle Crane who is sent to infiltrate a quarantine zone in a ...
'', ''
Grand Theft Auto V ''Grand Theft Auto V'' is a 2013 action-adventure game developed by Rockstar North and published by Rockstar Games. It is the seventh main entry in the Grand Theft Auto, ''Grand Theft Auto'' series, following 2008's ''Grand Theft Auto IV'', and ...
'' and ''
Rise of the Tomb Raider ''Rise of the Tomb Raider'' is a 2015 action-adventure video game developed by Crystal Dynamics and published by Microsoft Studios and Square Enix's European subsidiary. The game is the eleventh main entry in the ''Tomb Raider'' series, the s ...
'' potentially supporting Mantle, but these reports were not confirmed.


Similar technologies

A set of recent OpenGL 4.4 features, coupled with bindless texturing as an extension, can also substantially reduce driver overhead. This approach, termed by the Khronos Group as "
AZDO This is a glossary of terms relating to computer graphics. For more general computer hardware terms, see glossary of computer hardware terms. 0–9 A B ...
" (Approaching Zero Driver Overhead) has been shown to achieve substantial performance improvements, approaching those stated for Mantle.
Nvidia Nvidia CorporationOfficially written as NVIDIA and stylized in its logo as VIDIA with the lowercase "n" the same height as the uppercase "VIDIA"; formerly stylized as VIDIA with a large italicized lowercase "n" on products from the mid 1990s to ...
has extended OpenGL with a number of features that further reduce driver overhead. After details about DirectX 12 were made public, AMD has stated that they fully intend to support DirectX 12, but at the same time they claimed that Mantle "will
till image:Geschiebemergel.JPG, Closeup of glacial till. Note that the larger grains (pebbles and gravel) in the till are completely surrounded by the matrix of finer material (silt and sand), and this characteristic, known as ''matrix support'', is d ...
do some things faster." They have also claimed that due to similarities in the design philosophy of the two APIs, porting games from Mantle to DirectX 12 will be relatively straightforward, and easier than porting from DirectX 11 to 12. Ultimately, AMD discontinued Mantle as a game API due to the similar aims DirectX 12 and glNext (later renamed Vulkan). AMD donated the Mantle API to the Khronos group, which developed it into the Vulkan API.


Comments


Recording and FPS overlay software

PC gamers and professionals traditionally used programs such as
Fraps Fraps (derived from frames per second) is a benchmarking, screen capture and screen recording utility for Windows developed by Beepa. It can capture from software that uses DirectX and OpenGL, such as PC games. Operation Fraps is proprietary ...
and
Bandicam Bandicam (stylized as BANDICAM) is a closed-source screen capture and screen recording software originally developed by Bandisoft and later by Bandicam Company that can take screenshots or record screen changes. Bandicam consists of three mai ...
to record gameplay, measure game FPS and display FPS overlay, but because Mantle is new, most traditional recording software does not work with new titles while using the new API. In partnership with AMD, PC gaming community and game recording software maker
Raptr Raptr was a social-networking website and instant messenger developed by Raptr, Inc. intended for use by video game players. Dennis Fong, co-founder of Xfire, founded the company Raptr, Inc. in 2007; it is located in Mountain View, California. ...
have overhauled their client and have since re-branded it as the ''AMD Gaming Evolved'' client in conjunction with AMD's Gaming Evolved initiative in the PC gaming space. Out of the partnership, players who install and use the client while in-game can earn points to spend on digital items like games or computer hardware, chat with friends, keep their game library optimized, check for graphics card driver updates, stream their games to
Twitch Twitch may refer to: Biology * Muscle contraction ** Convulsion, rapid and repeated muscle contraction and relaxation ** Fasciculation, a small, local, involuntary muscle contraction ** Myoclonic twitch, a jerk usually caused by sudden muscle co ...
and record gameplay of their own with a built-in GVR, a feature similar to
Nvidia Shadowplay Nvidia ShadowPlay is a hardware-accelerated screen recording utility available as part of Nvidia's GeForce Experience software for GeForce GPUs. Launched in 2013, it can be configured to record a continuous buffer, allowing the user to save the vi ...
software in its own GeForce Experience software that allows users to define a custom buffer length in their game for retroactive game recording with the push of a button so no moment gets missed and users typically do not need expensive hard drive setups to record to. In late 2014, AMD updated the client to support the recording and streaming of titles using Mantle. As of its initial update into the client, the Gaming Evolved software was the only software to officially support the recording and streaming of Mantle enabled games. Besides Raptr, D3DGear was the only other commercial game recording software that supported Mantle API based games.


See also

*
Direct3D 12 Direct3D is a graphics application programming interface (API) for Microsoft Windows. Part of DirectX, Direct3D is used to render three-dimensional graphics in applications where performance is important, such as games. Direct3D uses hardware a ...
– low-level API from Microsoft *
Vulkan Vulkan is a low- overhead, cross-platform API, open standard for 3D graphics and computing. Vulkan targets high-performance real-time 3D graphics applications, such as video games and interactive media. Vulkan is intended to offer higher perfor ...
– low-overhead API from Khronos, developed from Mantle *
Glide Glide may refer to: * Gliding flight, to fly without thrust Computing *Glide API, a 3D graphics interface *Glide OS, a web desktop *Glide (software), an instant video messenger *Glide, a molecular docking software by Schrödinger (company), Schrà ...
– another low-level API, by the now defunct 3dfx * GNM – low-level API of the PlayStation 4 * GNMX – high-level API of the PlayStation 4 *
Metal A metal (from Greek μέταλλον ''métallon'', "mine, quarry, metal") is a material that, when freshly prepared, polished, or fractured, shows a lustrous appearance, and conducts electricity and heat relatively well. Metals are typicall ...
– low-level API for Apple iOS and macOS


References


External links


Mantle Programming Guide and API Reference
{{AMD graphics 3D graphics APIs AMD software Application programming interfaces