How the ‘next-generation’ Vulkan API could pose a threat to Microsoft’s DirectX

new drivers make nvidia the first to support both directx 12 and vulkan outside of beta api talos
Recently, you may have noticed an ever-present flow of stories surrounding OpenGL and OpenGL ES successor Vulkan, a new low-level API from non-profit consortium the Kronos Group.

Most notably, we reported that Nvidia-powered Shield Android TV and Steam Machines would be getting Vulkan API support first, though eventually, the interface will help run games and graphics-heavy apps across PCs, consoles, smartphones, the cloud, and more.

Of course, all of this news might seem completely arbitrary if you’re not a software engineer. Most people don’t know what a low-level API is, or even care, for that matter. If you’re even mildly interested in gaming or computer technology, however, you’ve probably at least heard of DirectX, Microsoft’s own graphics API for Xbox and Windows PCs (it’s where the ‘X’ in Xbox gets its origin).

You may be wondering why Vulkan should matter to you, which, if you waste your nights avidly gaming them away much like myself, you’ll more than likely begin to reap its benefits soon enough. That said, it’s important to know what Vulkan is before making claims and bold and hyperbolic as “DirectX is dead” or “Metal for Mac never stood a chance.”

Low-Level AP-who?

An API, or Application Programming Interface, essentially serves as a translator between the GPU and the game engine. Back when computer graphics of any kind were considered impressive — think back to the Atari 2600 and Commodore 64 — the games would converse directly with the hardware.

Nowadays, things aren’t quite that easy. With operating systems having grown more complex over the years, hardware functionality isn’t nearly as accessible to games and applications as it once was. The advent of device drivers, and later game engines like Unreal and Unity, added extra layers to the process. To accommodate these changes, we started to see APIs appear, the most commonly implemented being DirectX and OpenGL.

For those still clueless, Microsoft puts it nicely in its antiquated description of DirectX 8 for Windows XP:

“Windows supports DirectX 8.0, which enhances the multimedia capabilities of your computer. DirectX provides access to the capabilities of your display and audio cards, which enables programs to provide realistic three-dimensional (3-D) graphics and immersive music and audio effects. DirectX is a set of low-level Application Programming Interfaces (APIs) that provides Windows programs with high-performance hardware-accelerated multimedia support.”

In short, an API allows developers to optimize their games or programs for your specific PC build, without as much work on their end. But DirectX, the most common API, was created by Microsoft — and it only works with Windows. With Vulkan, Khronos is looking to offer an alternative that can work on any device.

Next generation hesitation

“OpenGL has evolved over 25 years and continues to meet industry needs,” the Khronos group boasted in a webinar that took place late last week, “but there is a need for a complementary API approach.”

Khronos is right. While Microsoft has been hard at work on DirectX 12 and, naturally, Apple has been doing something a little different with Metal for Mac, the question of “what about my other devices?” had persistently lingered. Generously, AMD handed over the code to its own API, Mantle, over to the Khronos Group in an effort to accelerate the production of a unified low-overhead API standard (ironically, the consortium is led by Nvidia vice president Neil Trevett, though there are some AMD members on the board).

amd markham campus

As we learn more about Vulkan, it’s increasingly clear that Khronos is reluctant to allow OpenGL to fade into obscurity. Using words like “complementary” suggests Vulkan is designed to work in conjunction with OpenGL. And that’s not just a hunch. Also mentioned in the webinar was the fact that, for many developers, “OpenGL and OpenGL ES will remain the most effective API.”

How can developers move on to the next generation, if the previous generation is still considered relevant?

As optimistic as I am about Vulkan, the lack of commitment to moving forward leaves me skeptical. As the group said itself, OpenGL is 25 years old now. Vulkan was supposed to be its “next generation OpenGL initiative.” But how can developers move on to the next generation if the previous generation is still considered relevant?

Aside from moderately streamlined portability from its predecessor, and backwards compatibility with OpenGL ES 3.1/4.x GPUs, there’s no evidence suggesting a concrete relationship between the two APIs. It’s not clear why Khronos would continue to devote resources to keeping up OpenGL, unless it has a covert plan to ultimately phase out the old standard.

When doing less really does get you more

Nevertheless, Vulkan could pose a serious challenge to DirectX 12. Since releasing last July, only the beta versions of Fable Legends and Ashes of the Singularity actually support Microsoft’s new interface. In comparison, Vulkan is getting patched into The Talos Principle pretty soon, assuredly with more prominent implementations on the way.

In the webinar, a handful of surprisingly digestible visuals were exhibited, the most useful of which I’ve included below.

Screen Shot 2016-02-25 at 10.37.52 AM

If the Khronos Group’s messaging is to be believed, Vulkan is not only easier to port to from OpenGL and OpenGL ES than DirectX 12, but it also provides more significant performance improvements. And that goes without mentioning, once again, that this is in fact a cross-platform API spanning a vast assortment of devices. The apparently inferior DirectX 12, on the other hand, is still limited to Windows 10 and Xbox One.

Given enough dev support, Vulkan could reign victorious

Vulkan is capable enough to leave Microsoft’s graphics API in the dust.

All in all, Vulkan presents some compelling advantages over OpenGL. Finally taking the initiative to combine support for embedded systems and for desktops was a much-needed amendment to the low-overhead API. It’s so potent, in fact, that its LunarG SDK is being sponsored by Valve, and its working group participants consist of companies as reputable as Google, Sony, Nvidia, Nintendo, and Epic Games.

Despite some commitment issues, Khronos could have the power to leave Microsoft’s DirectX team weak in the knees. Vulkan is capable and ubiquitous enough to leave Microsoft’s graphics API in the dust.

As graphics engine specialist for The Talos Principle Dean Sekulic was quoted: “Vulkan in just one sentence? The endless war between performance and portability is finally over!”

Perhaps there’s some amount of truth to that rhetoric.

Mobile

Rekindled yet again, Nokia’s next-gen phones offer more than just nostalgia

HMD Global, a startup that designs and builds Nokia Android smartphones, wants to put the Nokia brand name back “where it belongs.” It helps that it’s made up of ex-Nokia employees. We go behind the scenes to see how HMD formed.
Mobile

Here’s how to download podcasts and listen to them on Android or iOS

Podcasts have become a cultural staple. Here's how to download podcasts and listen to them on your Android or iOS device, and which apps to use if you're looking to get the most out of the format.
Home Theater

Looking to cut cable? Here’s everything you need to know about Pluto TV

Pluto TV offers plenty of entertainment in a fashion similar to live internet TV services, only at no cost — you don’t even need to register. Too good to be true? Here’s everything you need to know.
Home Theater

All of the TVs getting Apple’s AirPlay 2 in 2019

This year, Apple made it clear it was done keeping its AirPlay wireless streaming technology to itself. With an open API, the way is clear for a plethora of third-party devices, including this growing list of TVs.
Computing

Watch out for these top-10 mistakes people make when buying a laptop

Buying a new laptop is exciting, but you need to watch your footing. There are a number of pitfalls you need to avoid and we're here to help. Check out these top-10 laptop buying mistakes and how to avoid them.
Computing

Don't spend a fortune on a PC. These are the best laptops under $300

Buying a laptop needn't mean spending a fortune. If you're just looking to browse the internet, answer emails, and watch Netflix, you can pick up a great laptop at a great price. These are the best laptops under $300.
Product Review

LG Gram 14 proves 2-in-1 laptops don’t need to sacrifice battery for light weight

The LG Gram 14 2-in-1 aims to be very light for a laptop that converts to a tablet. And it is. But it doesn’t skimp on the battery, and so it lasts a very long time on a charge.
Computing

Dell XPS 13 vs. Asus Zenbook 13: In battle of champions, who will be the victor?

The ZenBook 13 UX333 continues Asus's tradition of offering great budget-oriented 13-inch laptop offerings. Does this affordable machine offer enough value to compete with the excellent Dell XPS 13?
Gaming

Take a trip to a new virtual world with one of these awesome HTC Vive games

So you’re considering an HTC Vive, but don't know which games to get? Our list of 25 of the best HTC Vive games will help you out, whether you're into rhythm-based gaming, interstellar dogfights, or something else entirely.
Computing

The Asus ZenBook 13 offers more value and performance than Apple's MacBook Air

The Asus ZenBook 13 UX333 is the latest in that company's excellent "budget" laptop line, and it looks and feels better than ever. How does it compare to Apple's latest MacBook Air?
Computing

AMD Radeon VII will support DLSS-like upscaling developed by Microsoft

AMD's Radeon VII has shown promise with early tests of an open DLSS-like technology developed by Microsoft called DirectML. It would provide similar upscale features, but none of the locks on hardware choice.
Computing

You could be gaming on AMD’s Navi graphics card before the end of the summer

If you're waiting for a new graphics card from AMD that doesn't cost $700, you may have to wait for Navi. But that card may not be far away, with new rumors suggesting we could see a July launch.
Computing

Is AMD's Navi back on track for 2019? Here's everything you need to know

With a reported launch in 2019, AMD is focusing on the mid-range market with its next-generation Navi GPU. Billed as a successor to Polaris, Navi promises to deliver better performance to consoles, like Sony's PlayStation 5.
Computing

Cortana wants to be friends with Alexa and Google Assistant

Microsoft no longer wants to compete against Amazon's Alexa and Google's Assistant in the digital assistant space. Instead, it wants to transform Cortana into a skill that can be integrated into other digital assistants.