News for hackers. Stuff that matters.
Re:AMD Introduces "Mantle" API Initiative by oofabz on Wednesday September 25, 2013 @07:02PM (#6447889)
This is not for performance. OpenGL has very low overhead, and already allows you to "directly tap into the hardware" and "fully exploit the capabilities of modern GPUs".

AMD wants people to write code that will not run on Nvidia and Intel hardware. Nvidia has been doing the same thing for years with CUDA.

Re:AMD Introduces "Mantle" API Initiative by binarycrusader on Wednesday September 25, 2013 @08:17PM (#6448168)
Follow some of the top-end OpenGL developers on Twitter sometime; you'll change your tune quickly.

There's a significant amount of overhead in the existing OpenGL API, which currently can only be mitigated somewhat through vendor-specific extensions. But extensions alone aren't sufficient to address some of the serious issues that the OpenGL API has today.

OpenGL forces you to maintain a tremendous amount of state information that significantly increases overhead.

John Carmack and many others have explicitly mentioned this in past discussions.

While I'm horrified at the idea of revisiting the days of 3DFX glide and installing my own client ICD into a game driectory, if Mantle drives the OpenGL ARB to start seriously addressing those issues and increases competition, then I'm all for it.

Re:AMD Introduces "Mantle" API Initiative by zanny on Wednesday September 25, 2013 @09:11PM (#6448315)
This. I'm hoping Mantle is to OGL what Mir was to Wayland - not a supplicant, but a kick in the rear to get their act in gear.
Re:AMD Introduces "Mantle" API Initiative by simoncion on Thursday September 26, 2013 @03:11AM (#6449328)
It was my understanding that those involved with or in the know about both Wayland and Mir felt that Mir is a project in a very early state of development [0][1] that was started for the wrong reasons [2]. Could you point me to a knowledgeable person who doesn't work for Canonical who mentions that some significant good idea(s) from Mir worked their way into Wayland? :)

[0] http://mjg59.dreamwidth.org/26254.html [1] http://mjg59.dreamwidth.org/27327.html [2] http://blog.martin-graesslin.com/blog/2013/05/mir-in-kubuntu...

Re:AMD Introduces "Mantle" API Initiative by qznc on Thursday September 26, 2013 @01:11AM (#6449076)
Who are those "top-end OpenGL developers on Twitter"? Maybe some blogs you can recommend?
Re:AMD Introduces "Mantle" API Initiative by binarycrusader on Thursday September 26, 2013 @06:46PM (#6454097)
Here are some of the graphics people I follow on Twitter and whom I personally consider experts in the field:

Fabian Giesen: https://twtter.com/rygorous http://fgiesen.wordpress.com/ -- RAD Game Tools

Sean Barrett: https://twitter.com/nothings -- ex-Looking Glass, now RAD Game Tools

Brian Hook: https://twitter.com/GrumpyHook -- ex-id Software, now RAD Game Tools

Romain Guy: https://twitter.com/romainguy -- Google (Android)

John Carmack: https://twitter.com/ID_AA_Carmack -- id Software Founder / Occulus VR CTO

Johan Andersson: https://twitter.com/repi -- Technical Director on Frostbite Engine at DICE (Battlefield Games)

Dave Moore: https://twitter.com/dmmfix -- RAD Game Tools

Tom Forsyth: https://twitter.com/tom_forsyth -- ex-Valve (?), ex-Intel, now at Occulus

Graham Sellers: https://twitter.com/grahamsellers -- AMD

Matthäus G. Chajdas: https://twitter.com/NIV_Anteru

Christophe Riccio: https://twitter.com/g_truc -- ex-Imagination Technologies, ex-AMD ?, now indie?

Robert Menzel: https://twitter.com/renderpipeline

Morgan McGuire: https://twitter.com/CasualEffects

Re:AMD Introduces "Mantle" API Initiative by thelinked on Thursday September 26, 2013 @06:10AM (#6449807)
Re:AMD Introduces "Mantle" API Initiative by comex on Wednesday September 25, 2013 @07:35PM (#6448035)
What, and people haven't been ragging on and even trying to replace OpenGL for years? Everyone used the GPU-specific API rather than OpenGL on PS3 to make it harder to port their code, not to get the maximum possible performance? The "leading game developers" that allegedly inspired Mantle aren't going to show?

Standards are great, and I'd love OpenGL drivers to be as fast as possible, but OpenGL being what it is, this API seems pretty interesting to me.

Re:AMD Introduces "Mantle" API Initiative by mihai_ionic on Wednesday September 25, 2013 @10:29PM (#6448561)
libgcm is pretty much just OpenGL with a few Sony specific extensions - plus you have to use their headers which use macros to build the command lists, probably pulled right out of NVidia's driver code.

It's quite fascinating how many of the PS3's APIs are wrappers around established standards/libraries, almost as if they were deliberately crafted to require more porting effort from developers.

Re:AMD Introduces "Mantle" API Initiative by pandaman on Thursday September 26, 2013 @02:50AM (#6449265)
Seriously? A stateless API is just OpenGL? This is not even wrong.
Re:AMD Introduces "Mantle" API Initiative by the_mitsuhiko on Wednesday September 25, 2013 @07:11PM (#6447936)
> OpenGL has very low overhead

Not at all. OpenGL for a start is a huge state machine still. Far from how you program graphics on a gaming console.

Re:AMD Introduces "Mantle" API Initiative by modeless on Wednesday September 25, 2013 @08:07PM (#6448137)
OpenGL can introduce a lot of overhead, especially when moving data back and forth between CPU and GPU. As just one example, OpenGL gives you no control over texture swizzling, which can be a serious performance issue during texture upload.
Re:AMD Introduces "Mantle" API Initiative by mihai_ionic on Wednesday September 25, 2013 @10:40PM (#6448602)
That's sort of the fault of the hardware vendors though for not proposing any viable extensions that expose texture swizzling. Why would it get any better with a new API?
Re:AMD Introduces "Mantle" API Initiative by zokier on Wednesday September 25, 2013 @07:27PM (#6448009)
They quoted 9x drawcall rate improvement. This is especially important on AMD APUs which are relatively weak on the CPU side.
Re:AMD Introduces "Mantle" API Initiative by jra101 on Wednesday September 25, 2013 @07:35PM (#6448036)
I wonder if that is vs DirectX (easier) or vs OpenGL (harder).
Re:AMD Introduces "Mantle" API Initiative by boost_ on Wednesday September 25, 2013 @07:11PM (#6447938)
well CUDA is really for general purpose development on GPUs and to be fair if i recall correctly CUDA appeared before there were standard ways to to GPGPU (like openCL and directcompute).

the idea i got from the video is that mantle is a replacement for opengl and directx for "performance reasons".

i still agree with you though, this is just pure marketing to make people develop/buy AMD GPUs instead of something else.

Re:AMD Introduces "Mantle" API Initiative by oakwhiz on Wednesday September 25, 2013 @08:50PM (#6448260)
This seems rather contrary to the heterogenous computation interest group that AMD was involved in. http://hsafoundation.com/
Re:AMD Introduces "Mantle" API Initiative by AsymetricCom on Wednesday September 25, 2013 @07:40PM (#6448054)
There is a opportunity for performance improvements by making the API calls more practical for the hardware and unifying the design. Comparing an API at this level to OpenGL API exposes your ignorance.