Vulkan 1.0 Graphics API Brings Cross-Platform Performance Boost; Intel, AMD, Nvidia Contribute
After 18 months of hard work, the Khronos group is finally launching Vulkan 1.0, its answer to the demand for a low-overhead open-source graphics API.
Vulkan is the answer from the Khronos Group to the demand for a low-overhead graphics API. Eighteen months ago, the Khronos Group got to work on its new graphics API, Vulkan, and after some legal delays, the group is launching Vulkan 1.0.
This is a little different from the Khronos Group's past launches, however, in that this time around there will be more than a specification PDF available – there are drivers, support documentation and a free SDK, and there is even a game that you can download with a Vulkan backend.
There is a multitude of companies comprising the Khronos Group, and those in the working group for Vulkan include not only AMD, Nvidia, and Intel, but game engine makers and even Oculus VR.
What Is Vulkan?
In order to achieve the aforementioned low overhead, the API operates at a lower level, leaving much of the work done by past APIs to the developers – allowing the developers themselves to manage the graphics hardware more closely. This makes the API more difficult to use, but it enables higher performance than before.
Unlike DirectX 12, Vulkan is completely open-source and royalty-free. Anyone who wants to use the code or adjust the code to fit their personal needs is free to do so, be that for private or commercial purposes.
But It’s Not For Everyone?
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Correct. Because various components of the hardware management are left over to the application developers, the language is more difficult to work with. Although it does have its benefits, using it would increase development cost and require a higher skill level. For that reason, Vulkan does not serve as a replacement for OpenGL. Instead, they are meant to exist in parallel.
There are a handful of situations where Vulkan becomes a valuable recourse, but naturally it isn’t the obvious choice for every application. There are three main situations in which Vulkan may be worth the additional development costs: When an application is suffering from a CPU bottleneck, when you need the maximum performance you can get, and when you need the smoothest experience possible.
The reason why Vulkan is able to provide a smoother experience than OpenGL or other high-level APIs is simple: When memory management is left to the API, the application developer has no idea how the data is managed. This can lead to unpredictable scenarios, such as the memory management suddenly deciding to re-arrange everything when the application introduces a new piece of data. The user will experience a stutter when this happens.
Of course, in traditional gaming, a brief stutter is just a stutter -- it’s not the end of the world. However, in VR, stuttering can break presence, ruining the immersion and perhaps even making you nauseous. High-demand applications like VR are where Vulkan will show its benefits most clearly.
Additionally, Vulkan is actually able to handle multiple CPU threads effectively, which can resolve the CPU bottlenecks from which many OpenGL applications suffer.
In gaming, the folks that are in direct contact with Vulkan are the creators of the game engine -- developers working on the content do not necessarily need to understand how Vulkan works and how to use it.
Will There Be Vulkan Mobile, Too?
DirectX 12 is Microsoft’s graphics API, and it works only on Windows 10. Metal is an API made by Apple, and although it is also a low-overhead API, it works only on Apple devices. Vulkan, by contrast, works on many platforms. You can use it on operating systems as old as Windows XP on up to Windows 10, pretty much any Linux distro including SteamOS, and Android. Interestingly enough, Apple has opted not to integrate support for Vulkan into its devices -- although it is free to do so, so a day may come when Apple devices do have Vulkan support.
In the days of OpenGL, we had OpenGL for desktops, OpenGL ES for embedded systems, and OpenGL SC for safety critical applications. That’s still the case, but for Vulkan it works differently. Rather than different versions of Vulkan for desktop, embedded systems and mobile, there are pre-set features that are enabled on each platform. Platform owners themselves can also decide to deviate from these feature sets and define their own, implementing simpler or more lavish feature sets. With a simpler set, however, they risk compatibility with applications that require certain features.
It's A Juicy Launch, This One
As I mentioned above, where the launch of Vulkan 1.0 differs from the launch of most other APIs is that the API is launching with plenty of resources available. On day one -- today, right now -- AMD, Intel and Nvidia have published graphics drivers that integrate Vulkan support. Qualcomm is also working on support for Android 6.0, and there are drivers coming from ARM with Linux support, as well.
Additionally, Valve funded the development of a Vulkan-based SDK from LunarG (which is available, you guessed it, for free), and there are heaps of reference materials, code samples, validators, conformance tests, and more. Another Android SDK will be available soon, too.
For that matter, any moment now, the game Talos Principle will have an update pushed through Steam. If the game then detects that you’re running a Vulkan-enabled graphics driver, it will give you the option of enabling the Vulkan backend.
Where Is Vulkan Headed?
All of the obvious places. As we speak, the various game developers are working on creating engines with Vulkan support, and in due time we will be seeing more games with it. It isn’t only gaming, though; Vulkan will also play a big role in scientific super-computing, self-driving cars, medicine, robotics and more.
Remember, OpenGL is an API that has been around for 25 years now, and during that time it has evolved tremendously. The same is likely to happen with Vulkan, too.
Follow Niels Broekhuijsen @NBroekhuijsen. Follow us @tomshardware, on Facebook and on Google+.
Niels Broekhuijsen is a Contributing Writer for Tom's Hardware US. He reviews cases, water cooling and pc builds.
-
NightAntilli Apple... I'm disappointed.Reply
Finally we will have efficient use of all our hardware... CPU, memory, GPU, they will all be used more efficiently. No more mountains of wasted resources. -
kenjitamura Vulkan is completely open-source
Small nitpick here but that's wrong. Vulkan isn't open source it is an open standard. To make changes to the Vulkan specification itself, that will be universally adopted by all other Vulkan adopters, you will need to be a Khronos member which is something like $10,000 a year for companies but less for universities.
There will be open-source implementations of Vulkan that anyone can contribute to for free but any big changes like new extensions won't be universally adopted by all implementations of Vulkan in places like game engines so it won't really affect Vulkan as a standard. -
xHDx It's all nice and all but there is still uncertainty.Reply
Firstly, Vulkan is probably at least 40%+ Mantle. If you followed Mantle, then you know this is the truth. There are many articles online explaining the story.
Secondly, there is the problem of this not taking off. Maybe it does offer more than what DirectX does or OpenGL, but I doubt many will adopt it. Mantle didn't take off, so I can't see this being getting much further. Maybe im wrong. I hope not, but who knows. -
Bloob It's all nice and all but there is still uncertainty.
Firstly, Vulkan is probably at least 40%+ Mantle. If you followed Mantle, then you know this is the truth. There are many articles online explaining the story.
Secondly, there is the problem of this not taking off. Maybe it does offer more than what DirectX does or OpenGL, but I doubt many will adopt it. Mantle didn't take off, so I can't see this being getting much further. Maybe im wrong. I hope not, but who knows.
There are drivers already out, game engine -vendors are already implementing a Vulkan version of their rendering pipeline. It's not sure to take off, but with "global" support in desktops and mobile, it seems quite likely. -
NightAntilli 17512443 said:It's all nice and all but there is still uncertainty.
Firstly, Vulkan is probably at least 40%+ Mantle. If you followed Mantle, then you know this is the truth. There are many articles online explaining the story.
Secondly, there is the problem of this not taking off. Maybe it does offer more than what DirectX does or OpenGL, but I doubt many will adopt it. Mantle didn't take off, so I can't see this being getting much further. Maybe im wrong. I hope not, but who knows.
Mantle didn't 'take off' because nVidia refused to support it, and because AMD kept it for themselves since it was still in beta. They were trying to figure out whether to make it open as is, or doing something else to increase adoption. Rather than opening it up, they gave Mantle to Khronos instead, since they knew it would not get support if nVidia refused to adopt it.
Vulkan will very likely be successful. Since it's on a lot of different platforms, it will make porting easier for developers.There's little reason not to adopt it. Aside from that, it works even on Windows XP. Lots of people are refusing to upgrade from Windows 7 to Windows 10. DX12 is limited to W10, while vulkan works across pretty much all windows platforms... That alone increases the potential buyers for developers over DX12, so... It should do fine. -
eklipz330 I foresee massive backpedaling by Microsoft if those shows even an ounce of adoption over their API... Maybe win 8 support, maybe lower or no royaltied... Competition is good.Reply -
Djibrille "Additionally, Vulkan is actually able to handle multiple CPU threads effectively, which can resolve the CPU bottlenecks from which many OpenGL applications."Reply
I think this phrase "suffers" from a missing word(or more?). -
hannibal The diversity of vulkan is the key. The problem is, as mentioned in the article, that it is harder to program.Reply
But if you can get DX12 level graphic in windows7 should make this API appealing to many companies. On the other hand they can chose to only use DX12 and force everyone to win10... But there definitely is potential in Vulcan to become very popular api! -
hst101rox This should give more respect to the intellectual abilities of the klingon people. For too long, they have been considered merely great warriors with guts and glory with hardly the ability to develop complex systems without special drugs to inhibit their, sometimes considered, barbaric behavior to other races, now banned.Reply -
GhosT94 i see it adopting but it will take alot of time for sure as the development in api is slow as everReply