HOME

TheInfoList



OR:

Mantle was a low-overhead rendering API targeted at 3D video games.
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that de ...
originally developed Mantle in cooperation with
DICE A die (: dice, sometimes also used as ) is a small, throwable object with marked sides that can rest in multiple positions. Dice are used for generating random values, commonly as part of tabletop games, including dice games, board games, ro ...
, 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 ...
and
OpenGL OpenGL (Open Graphics Library) is a Language-independent specification, cross-language, cross-platform application programming interface (API) for rendering 2D computer graphics, 2D and 3D computer graphics, 3D vector graphics. The API is typic ...
, primarily for use on
personal computer A personal computer, commonly referred to as PC or computer, is a computer designed for individual use. It is typically used for tasks such as Word processor, word processing, web browser, internet browsing, email, multimedia playback, and PC ...
s. 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 cross-platform API and open standard for 3D graphics and computing. It was intended to address the shortcomings of OpenGL, and allow developers more control over the GPU. It is designed to support a wide variety of GPUs, CPUs and o ...
rose in popularity.


Overview

The draw call improvements of Mantle help alleviate cases where the
CPU A central processing unit (CPU), also called a central processor, main processor, or just processor, is the primary processor in a given computer. Its electronic circuitry executes instructions of a computer program, such as arithmetic, log ...
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 primary Processor (computing), processor in a given computer. Its electronic circuitry executes Instruction (computing), instructions ...
and
GPUs A graphics processing unit (GPU) is a specialized electronic circuit designed for digital image processing and to accelerate computer graphics, being present either as a discrete video card or embedded on motherboards, mobile phones, personal ...
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 ''Battlefield 4'' is a 2013 first-person shooter game developed by DICE and published by Electronic Arts. The game was released in October and November for Microsoft Windows, PlayStation 3, Xbox 360, PlayStation 4, and Xbox One, and is the sequ ...
'' 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 Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that des ...
prior to 19.5.1, which was available for
Microsoft Windows Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
.
AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant operations in Austin, Texas. AMD is a hardware and fabless company that de ...
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 was Nvidia's GeForce 600 series (also manufactured at TS ...
GPUs * certain
Radeon HD 8000 series The Radeon HD 8000 series is a family of computer GPUs developed by AMD Advanced Micro Devices, Inc. (AMD) is an American multinational corporation and technology company headquartered in Santa Clara, California and maintains significant ...
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, at ...
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 felidae, cat species and the only extant taxon, living member of the genus ''Panthera'' that is native to the Americas. With a body length of up to and a weight of up to , it is the biggest cat spe ...
-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 Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
, including Linux, but it never happened. While the API was officially discontinued, Clément Guérin started a Mantle to
Vulkan Vulkan is a cross-platform API and open standard for 3D graphics and computing. It was intended to address the shortcomings of OpenGL, and allow developers more control over the GPU. It is designed to support a wide variety of GPUs, CPUs and o ...
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 operates additional studios in Kyiv, Ukraine and Istanbul, Turkey. It ...
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 (video game), Far Cry'', and continues to be updated to sup ...
. * During a GPU 14 Tech Days presentation, an announcement was made that Frostbite 3 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 Games ...
, alongside DirectX 12. Mantle benchmark is still available in a free Star Swarm stress test. * ''
Thief Theft (, cognate to ) 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 short ...
'' is based on a modified
Unreal Engine 3 Unreal Engine 3 (UE3) is the third version of Unreal Engine developed by Epic Games. Unreal Engine 3 was one of the first game engines to support multithreading. It used DirectX 9 as its baseline graphics API, simplifying its rendering code. The ...
that supported Mantle. * LORE, a '' Civilization: Beyond Earth'' engine supported Mantle. * Asura, engine used by ''
Sniper Elite III ''Sniper Elite III'' is a 2014 Third-person view, third-person tactical shooter Stealth game, stealth video game developed and published by Rebellion Developments. The game is a prequel to its 2012 predecessor ''Sniper Elite V2'', and is the thir ...
'' supported Mantle.


Video games

* ''
Battlefield 4 ''Battlefield 4'' is a 2013 first-person shooter game developed by DICE and published by Electronic Arts. The game was released in October and November for Microsoft Windows, PlayStation 3, Xbox 360, PlayStation 4, and Xbox One, and is the sequ ...
'' * ''
Battlefield Hardline ''Battlefield Hardline'' is a 2015 first-person shooter game developed by Visceral Games and published by Electronic Arts. It was released in March 2015 for PlayStation 3, PlayStation 4, Windows, Xbox 360, and Xbox One. The game is chronologic ...
'' * ''
Thief Theft (, cognate to ) 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 short ...
'' * '' Plants vs. Zombies: Garden Warfare'' * '' Civilization: Beyond Earth'' * '' Dragon Age: Inquisition'' * ''
Sniper Elite III ''Sniper Elite III'' is a 2014 Third-person view, third-person tactical shooter Stealth game, stealth video game developed and published by Rebellion Developments. The game is a prequel to its 2012 predecessor ''Sniper Elite V2'', and is the thir ...
''


Originally planned

* ''
Star Citizen ''Star Citizen'' is a multiplayer, space trading and combat simulation video game currently under development by Cloud Imperium Games for Windows. An extended retry of unrealized plans for ''Freelancer'' (2003), ''Star Citizen'' is led by dire ...
'' * 15 Frostbite games after ''
Battlefield 4 ''Battlefield 4'' is a 2013 first-person shooter game developed by DICE and published by Electronic Arts. The game was released in October and November for Microsoft Windows, PlayStation 3, Xbox 360, PlayStation 4, and Xbox One, and is the sequ ...
'' were planned to support Mantle, potentially including ''
Need for Speed Rivals ''Need for Speed Rivals'' is a 2013 racing video game developed in collaboration between EA Gothenburg, Ghost Games and Criterion Games, and published by Electronic Arts. It is the twentieth installment in the ''Need for Speed'' series, and the ...
'', '' Mass Effect: Andromeda'', ''
Mirror's Edge Catalyst ''Mirror's Edge Catalyst'' is a 2016 First person (video games), first-person Action-adventure game, action-adventure platform game developed by DICE (company), DICE and published by Electronic Arts. It was released for PlayStation 4, Windows, ...
'', ''
The Sims 4 ''The Sims 4'' is a social simulation game developed by Maxis and published by Electronic Arts. The game was released on September 2, 2014 for Windows, and is the fourth main installment in ''The Sims'' series, following ''The Sims 3'' (2009 ...
'' 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 undercover agent Kyle Crane who is sent to infiltrate a quarantine zone in a fictiona ...
'', ''
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 game developed by Crystal Dynamics and published by Microsoft Studios and Square Enix. The game is the eleventh main entry in the ''Tomb Raider'' series, the sequel to 2013's ''Tomb Raid ...
'' 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" (Approaching Zero Driver Overhead) has been shown to achieve substantial performance improvements, approaching those stated for Mantle.
Nvidia Nvidia Corporation ( ) is an American multinational corporation and technology company headquartered in Santa Clara, California, and incorporated in Delaware. Founded in 1993 by Jensen Huang (president and CEO), Chris Malachowsky, and Curti ...
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 of 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 an ...
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 main ...
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 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 c ...
and record gameplay of their own with a built-in GVR, a feature similar to Nvidia Shadowplay 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 cross-platform API and open standard for 3D graphics and computing. It was intended to address the shortcomings of OpenGL, and allow developers more control over the GPU. It is designed to support a wide variety of GPUs, CPUs and o ...
– low-overhead API from Khronos, developed from Mantle * Glide – another low-level API, by the now defunct 3dfx *
GNM * Games 'n' Music *Gaussian network model The Gaussian network model (GNM) is a representation of a biological macromolecule as an elastic mass-and-spring (device), spring network to study, understand, and characterize the mechanical aspects of it ...
– low-level API of the PlayStation 4 *
GNMX The PlayStation 4 system software is the updatable firmware and operating system of the PlayStation 4. The operating system is Orbis OS, based on FreeBSD 9. Technology System The native operating system of the PlayStation 4 is Orbis OS, which ...
– high-level API of the PlayStation 4 *
Metal A metal () is a material that, when polished or fractured, shows a lustrous appearance, and conducts electrical resistivity and conductivity, electricity and thermal conductivity, heat relatively well. These properties are all associated wit ...
– 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