AMD Mantle support

AMD Mantle support

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
ismo
Posts: 33
Joined: 27 Dec 2009, 13:52

AMD Mantle support

Post by ismo » 23 Mar 2014, 11:00

I am wondering would it be possible to add support for AMD Mantle? As spring is sort of swarm game which benefits most of it.

Swarm test result comparisons:
http://www.extremetech.com/gaming/17588 ... irectx-9/2

Also I have no idea how easy/difficult (impossible?) adding of Mantle support would be. But to my understanding it would greatly benefit many players.

Not sure how many of engine developers are "AMD fans", at least in 2009 I guess there were quite few.

P.S. Hmm I am wondering does Spring's GlobalRendering.cpp successfully support Radeon R9 (270, 280, and 290) cards? That is identifying supportNPOTs, and other important rendering features correctly.
0 x

User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6107
Joined: 29 Apr 2005, 01:14

Re: AMD Mantle support

Post by FLOZi » 23 Mar 2014, 11:09

I don't mean to speak out of turn, but most likely this would have to be jK or kloot, and you can see jK's thoughts on Mantle here:

http://springrts.com/phpbb/viewtopic.php?f=10&t=30959
0 x

ismo
Posts: 33
Joined: 27 Dec 2009, 13:52

Re: AMD Mantle support

Post by ismo » 23 Mar 2014, 11:25

Thanks from that thread link, did not notice that earlier - interesting stuff.

As a side note: just found this http://news.softpedia.com/news/NVIDIA-I ... 3380.shtml

I would be happy if they managed to make it 1.5x faster for starters :)
0 x

User avatar
smoth
Posts: 22298
Joined: 13 Jan 2005, 00:46

Re: AMD Mantle support

Post by smoth » 23 Mar 2014, 14:28

Mantle is such a throwback to the 90s where you had to have this or that hardware or you were forced to go to a software render. Only in this case it would be ati's shit open gl support!
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: AMD Mantle support

Post by AF » 23 Mar 2014, 17:36

It's CPU not GPU that we're limited by
0 x

Super Mario
Posts: 814
Joined: 21 Oct 2008, 02:54

Re: AMD Mantle support

Post by Super Mario » 23 Mar 2014, 19:53

Expecting AMD hatred in 5,4,3,2...
0 x

ismo
Posts: 33
Joined: 27 Dec 2009, 13:52

Re: AMD Mantle support

Post by ismo » 24 Mar 2014, 07:19

AF wrote:It's CPU not GPU that we're limited by
That is valid point, and mantle shines in CPU bound situations ("sucks" in GPU bound):
http://wccftech.com/mantle-api-directx- ... d-creamed/
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: AMD Mantle support

Post by AF » 24 Mar 2014, 13:52

Sorry I've been shortsighted. By Using Mantle we will quadruple the amount of CPU time available. The many hours spent implementing Mantle and having to manage 2 rendering APIs will give us far more CPU time than the hours optimising what we already have in non-rendering code......

If you're running a fabric factory and making your workers sew the fabric by hand, the solution is not an impressive new sewing needle produced by AMD that reduces the time spent moving your fingers by 30%! The solution is automated sewing machines.

The same logic can be said of using DirectX 12 when it's out, or even just using the available OpenGL extensions that do essentially the same thing

Or incremental driver updates, the newer Nvidia drivers for Dx11 already provide superior performance to Mantle without a new API
0 x

ismo
Posts: 33
Joined: 27 Dec 2009, 13:52

Re: AMD Mantle support

Post by ismo » 24 Mar 2014, 19:30

Hmm interesting thing, indeed best option is to get opengl (or directx) drivers as fast as possible without any 3rd "dirty" solution.

"Now the golden question that comes to my mind is this: If Nvidia could do all this with a Soft update, why didn’t it do it before. The obvious answer to that question is slightly alarming."
Answer: there was no need for such earlier :D

Would have been nice to see those comparisons for other than those very high end cards (R290X and GTX780) as only small fraction of players have such good cards.
0 x

User avatar
AF
AI Developer
Posts: 20669
Joined: 14 Sep 2004, 11:32

Re: AMD Mantle support

Post by AF » 24 Mar 2014, 19:37

We see increases like that in many nvidia driver updates in the release notes, I think the most telling is that right now, if all the engine devs decided they adored AMDs Mantle and desperately wanted to implement it, they couldn't. It may be as much as 2 years before a public SDK is released.
0 x

Post Reply

Return to “Engine”