AMD Mantel Erläuterung

Kaiserjäger

Banned
Registriert
Okt. 2013
Beiträge
249
AMD Mantle Erläuterung

Der Thread dient dazu genauer auf die Thematik einzugehen, wenn man ähnliche Thread sieht, die mit Grafikkarten zutun haben werden oftmals falsche oder Halbwahrheiten über Mantle verbreitet, dies soll dem entgegen wirken.

Mantle zählt wie OpenCL und DX zu Programmschnittstellen diese lassen es zu Anwendungen für bestimmte Hardware zu programmieren, also in diesen Fall die Grafikkarte auszunutzen, sprich Programme auszuführen sei es nun GPGPU-Programme, Spiele und so weiter.

Zu Mantle selbst, es ist ziemlich DX ähnlich und lagert sich auch auf die COM-basierten APIs aus, da DX weitläufiger ist und es uns erst ermöglicht andere Peripherie in Spiele zu nutzen, also alle Geräte wie Joysticks, Controller und Ähnliches, so nimmt Mantle nicht die alleinige Kommunikation zwischen Hardware und Software ein. Es dient nur zur Ressourcennutzung der GCN basierten GPUs und die Neuentwicklung TrueAudio, sowie andere Applicationen wie ATi Stream und Weiteres.

Was vielleicht ein in der Menge untergehendes Feature ist, ist die Auslastung aller 8-Kern Prozessoren die auf Vishera und auch dem Vorgänger Bulldozer basieren. So nimmt der Treiber-Teil von Mantle eine Ressourcenschnittstelle ein die es ermöglicht die CPU besser auszunutzen. Fakt ist auch das Mantle im Gegensatz zu PhysiX auch proprietär ist, aber Nvidia und Intel nicht den Nutzen verweigert und ihnen auch eine Beteiligung offen hält.


Was bringt Mantle wirklich und was scheint realistisch? Diese Frage ist schwer zu beantworten, da es von den Entwicklern von Mantle abhängt, wie leistungssteigernd es sich auswirkt. Um dies zu verstehen, benötigt es Wissen oder Erkenntnisse mit Programmieren von hardwarenahen Sprachen wie C und Assembler, auch wenn diese zu fehlertolerant im Gegensatz zu anderen Sprachen sind, lässt es sich damit gut erläutern. Ein Beispiel mit C, wenn ich einen Mikrocontroller habe und eine Frequenz festlegen soll, benötigt man oft einen Softwarefrequenzteiler der sehr viel Leistung verschwendet.

Zum Beispiel:
void Delayms (unsigned int ms)
{
while(ms)
{
TMR0 = 131;
while(!T0IF)
ms--;
}
}

Sprich je nachdem, wie effektiv Mantle Ressourcenverschwendung entgegen wirkt, im Gegensatz zu DX lässt sich damit sehr viel Leistung gut machen, denn DX verschwendet durch die Abdeckung von sehr viele Funktionen und daraus resultierenden Programmfehlern in jeder Hinsicht Leistung der GPU, Speicher und mehr.

Damit erschließt sich eine Möglichkeit mit Mantle ein Leistungszuwachs von 10-35%, es ist auch mehr möglich aber eher unwahrscheinlich und es kann der DDR5-Verbrauch verringert werden.


Wenn der Thread Anklang findet kann ich die Informationen auch ausbauen, denn dies ist mehr oder weniger nur grundlegendes Wissen über die API.
 
Zuletzt bearbeitet:
..................
 
Zuletzt bearbeitet:
Kartenlehrling schrieb:
Mantel sollen man das nicht dann wenigsten Richtige schreiben ? Mantle ?

recht haste aber .... wer im glashaus sitzt :evillol:
 
Mantle hat interessant geklungen bis zu dem Moment an dem es hieß: "es kommt nicht für Konsolen". Damit hätte AMD eine gute Alternative schaffen können die sicherlich viele Entwickler begeistert hätte und eventuell einen Schub bei der Entwicklung bewirkt hätte.
 
@Kartenlehrling
Bedank dich bei der Webbrowser-Plugin Autokorrektur ... Muss mich wohl bei der Bibliographisches Institut GmbH beschweren, dass Sie Denglisch nicht dulden. :evillol:
 
Der Vorteil von DX ist, dass es ein Hardwareunabhängiger Standard ist, der sich etabliert hat. Genau das ist der Nachteil von Mantle.
Ob Mantle sich durchsetzen wird, werden wir nicht heute sondern in 1 Jahr wissen.
 
SymA schrieb:
Mantle hat interessant geklungen bis zu dem Moment an dem es hieß: "es kommt nicht für Konsolen". Damit hätte AMD eine gute Alternative schaffen können die sicherlich viele Entwickler begeistert hätte und eventuell einen Schub bei der Entwicklung bewirkt hätte.

Ist es nicht für Konsolen sowieso irrelevant, da der Code 100 mal mehr "on the metal" läuft als beim PC?

Edit: Ich verwiese mal auf diesen Post von HOT, der hat es gut erklärt warum Mantle für Konsolen irrelevant ist:
https://www.computerbase.de/forum/t...-mantle-ins-boot.1274044/page-7#post-14775038

Edit 2:
Crossposting von dem BF4 Mantle Thread, ich denke aber das sollte auch hier im allgemeineren Thread stehen:

AnandTech (bekannt für die besten Tech Reviews im Netz würde ich mal sagen) haben übrigens in ihrem R9 2xx Test eine sehr gute Zusammanfassung zu Mantle geschrieben, die jeder den das Thema interessiert lesen sollte.
Würde einige Grundsatzdiskussionen wie "Die Konsolen unterstützen mantle nicht!" ersparen:
Mantle [...] is a way to allow multiplatform developers to take their already optimized GCN rendering code [from PS4/Xbox One] and bring it over to the PC. They’ll still have to write Direct3D/OpenGL code for NVIDIA/Intel/ImgTech GPUs, but for AMD GPUs they can go lower and faster, and best of all they already have most of the code necessary to do this. Coming from the consoles to the PC over Mantle should be very portable.

How portable? The answer surprised even us. Based on our conversations with AMD and what they’re willing to say (and not say) we are of the belief that Mantle isn’t just a low level API, but rather Mantle is THE low level API. As in it’s heavily derived (if not copied directly) from the Xbox One’s low level graphics API. All of the pieces are there; AMD will tell you from the start that Mantle is designed to leverage the optimization work done for games on the next generation consoles, and furthermore Mantle can even use the Direct3D High Level Shader Language (HLSL), the high level shader language Xbox One shaders will be coded against in the first place.

Now let’s be very clear here: AMD will not discuss the matter let alone confirm it, so this is speculation on our part. But it’s speculation that we believe is well grounded. Based on what we know thus far, we believe Mantle is the fundamentals of the Xbox One’s low level API brought to the PC.

By being based on the Xbox One’s low level API, Mantle isn’t just a new low level API for AMD GCN cards, whose success is defined by whether AMD can get developers to create games specifically for it, but Mantle becomes the bridge for porting over Xbox One games to the PC. Nothing like this has ever been done before, so quite how it will play out as a porting API is still up in the air, but it’s the kind of unexpected development that could have significant ramifications for multiplatform games in the future.

Of course an API is only as useful as the software that uses it, and consequently AMD has been working on this matter before they even announced Mantle. As AMD tells it, Mantle doesn’t just exist because AMD wants to leverage their console connection, but it exists because developers want to leverage it too, and indeed developers have been coming to AMD for years asking for such a low level API for this very reason. To that end a big part of Mantle’s creation is rooted in satisfying these requests, rather than just being something AMD created on its own and is trying to drum up interest for after the fact.

With at least one developer already knocking on their door, AMD’s immediate strategy is to get Mantle off the ground with a showcase game, all the while focusing less on individual game developers and more on middleware developers to implement Mantle support. In a roundabout way AMD is expecting middleware to become the new level of abstraction for most game developers in this upcoming generation, due to the prevalence of middleware engines. As game developers make ever increasing use of middleware over limited-reuse in-house game engines, downstream developers in particular will be spending their time programming against the middleware and not the APIs it sits on top of, making it easy to work in Mantle support.

Consequently, AMD for their part believes that if they can get Mantle support into common middleware like DICE’s Frostbite engine, then the downstream games using those products will be in a good position to offer Mantle support with little to no effort on the part of the individual game developer. Put in the humongous effort once at the middleware level, and AMD won’t have to repeat it with individual developers.

[...]
Wrapping things up, when AMD first told us about their plans for Mantle, it was something we took in equal parts of shock, confusion, and awe. The fact that AMD would seek to exploit their console connection was widely expected, however the fact that they would do so with such an aggressive move was not. If our suspicions are right and AMD is bringing over the Xbox One low level API, then this means AMD isn’t just merely exploiting the similarities to Microsoft’s forthcoming console, but they are exploiting the very heart of their console connection. To bring over a console’s low level graphics API in this manner is quite simply unprecedented.
http://anandtech.com/show/7400/the-radeon-r9-280x-review-feat-asus-xfx/2
 
Zuletzt bearbeitet:
@inspectah danke für die Infos von AnandTech zeigt wichtige Informationen mit Bezug auf die Konsolen auf.
 
Zurück
Oben