Skip to main content

Ditch DirectX: It’s time to start using Vulkan with PC games

Since it launched in 2016, Vulkan has been positioned as a DirectX killer. It’s been a slow start, but the open software interface has gained a lot of momentum over the past six years, showing up in games as diverse as Red Dead Redemption 2 and Hollow Knight. With the recent release of Vulkan 1.3, though, we’ve reached a breaking point.

The most recent version unifies the fragmented feature base of Vulkan. The software interface has been capable of things like ray tracing on smartphones for years, but the new standard specifies a list of core features that should make developing games with Vulkan easier and faster.

Recommended Videos

With promises of better support on unique hardware configurations and clear performance improvements, it might finally be time for PC gamers to ditch DirectX in favor of Vulkan.

What is Vulkan?

Vulkan in The Talos Principle.
The Talos Principle was one of the earliest games to receive Vulkan support. Image used with permission by copyright holder

Vulkan is a cross-platform application programming interface (API) from The Khronos Group. In legible terms, it’s a piece of kit that works on all three major operating systems — Linux, MacOS, and Windows — that allows games to communicate with the operating system. It’s a middle-man that carries instructions.

PC gamers are likely more familiar with DirectX, Microsoft’s own API that works exclusively with Windows. There are dozens of technical differences between DirectX and Vulkan, but this is what you need to know: DirectX comes from Microsoft and only works on Windows, while Vulkan comes from a group comprised of industry executives and works across operating systems.

And it’s open-source. Unlike DirectX, developers are free to modify and expand Vulkan to meet their needs. In fact, the recent Vulkan 1.3 update was mostly an exercise in adding functionality to the core of Vulkan, contributed by both The Khronos Group and developers.

This recent update is a tipping point for the API, adding much-requested features to the core specification. For gamers, Khronos Group President Neil Trevett says the benefits are clear: “The result for consumers is that games will be able to ship using more advanced functionality, sooner.”

Vulkan is faster than DirectX

A cowboy riding a horse in Red Dead Redemption 2.
Rockstar Games

The David and Goliath battle between the multi-billion dollar closed-sourced corporation and the non-profit open-source consortium is a tale for the ages, but there are more tangible reasons to support Vulkan in PC games. In one-for-one matchups, Vulkan simply outperforms DirectX.

I tested four games that support Vulkan and DirectX to measure the differences in performance. Note that a lot of games use one or the other, and some games use both for different things. For example, Crysis Remastered uses DirectX as the main rendering engine, but it uses Vulkan for ray tracing (see the full list of Vulkan games).

Starting with the most recent DirectX 12, Vulkan managed to outperform it in Red Dead Redemption 2 and Strange Brigade, both at 1080p and 4K. They aren’t minor differences, either. In Strange Brigade at 1080p, simply switching to Vulkan brought a 9% increase in my average frame rate.

Keep in mind that the API was the only thing that changed between runs, and Strange Brigade and Red Dead Redemption 2 both have in-game benchmarks. There’s no cost to enabling Vulkan either — it’s free performance you’re leaving on the table if you use DirectX.

Step back to DirectX 11, and the differences are even clearer. Rainbow Six Siege and World War Z have Vulkan and DirectX 11 available, and Vulkan is still faster at 4K and 1080p.

It made a huge difference at 1080p in World War Z, increasing my average frame rate by nearly 21%. Vulkan handles multi-core CPU workloads much better than older versions of DirectX — DirectX 12 is better on this front — and that can make a world of difference when running at lower resolutions.

These four games are hardly a full representation of the games people play. But they’re enough to get the wheels turning about what could be in the massive swath of titles that only support DirectX. The good news for PC gamers is that Vulkan is gaining steam, and it has nothing to do with performance.

Cross-platform support, Steam Deck, and cloud gaming

Two players using Steam Decks to play Stardew Valley.
Image used with permission by copyright holder

Performance is king, but Vulkan is really important because it has cross-platform support. DirectX only works with Windows. As a developer building a game with DirectX, you have to take into account porting the game to other platforms. And other platforms are becoming a lot more important.

The Steam Deck is a sign of the times. Valve recommends developers use Vulkan as the primary API for Steam Deck because the Steam Deck uses Linux. When I pointed this out to Trevett, he agreed but pointed to several larger industry trends that are driving Vulkan adoption.

“There are many industry trends that are driving broader Vulkan support. Being the primary API on innovative devices such as Valve’s Steam Deck is certainly one. Enabling game streaming services to host games on Linux in the cloud is another. Using layered Vulkan over Metal on iOS and MacOS is now proven to give great performance. And of course, Vulkan being the API of choice for new generation titles on Android (the largest platform in the largest gaming market segment) doesn’t hurt either,” Trevett said.

Trevett also pointed out that Vulkan is the only modern API that’s both cross-platform and open-source. There are other operating systems and mobile devices, but Vulkan has applications elsewhere. It works on Google Stadia, for example, and it even supports consoles with the Nintendo Switch.

A Switch OLED in handheld mode playing Metroid Dread.
Image used with permission by copyright holder

Vulkan is likely a big reason why we have Doom and Doom Eternal ports on Switch, and it’s why Hades went to PC and Switch before moving to other consoles. With more games arriving on more devices than ever before, the benefit of Vulkan is clear: It allows developers to build games for more platforms, and usually with a performance improvement over closed-source APIs.

Years in the making

Soldiers shooting aliens in Rainbow Six Extraction.
Rainbow Six Extraction is one of the latest games with Vulkan support. Image used with permission by copyright holder

Vulkan was released in 2016, debuting as the only API in Doom. It was praised at the time, but the momentum Vulkan has gained since then is a story on its own. Vulkan is why we have Linux ports for Shadow of the Tomb Raider and Hollow Knight, and it’s a key player in mobile games coming to PC and vice versa.

You don’t need to look further than Red Dead Redemption 2 to see how Vulkan is picking up. A massive AAA game from one of the world’s wealthiest game developers chose Vulkan has its default PC API over DirectX.

Still, we’re a long way from Vulkan being the default API in every game. Microsoft, rightly or wrongly, has a monopoly on PC gaming, and DirectX still fits into the workflows of countless developers. Hopefully, with the changes that Vulkan 1.3 brings and momentum with devices like the Steam Deck, we’ll see wider support in the future.

Jacob Roach
Former Digital Trends Contributor
Jacob Roach is the lead reporter for PC hardware at Digital Trends. In addition to covering the latest PC components, from…
I tested the Ryzen 5 9600X against the best budget gaming CPU — here’s the winner
The Ryzen 5 7600X sitting among thermal paste and RAM.

AMD is back with a new budget CPU that's aiming to make it among the best gaming processors. The Ryzen 5 9600X debuts the Zen 5 architecture, and it comes with some performance improvements over last-gen's Ryzen 5 7600X. As you can read in our Ryzen 5 9600X review, however, it's not a slam dunk for AMD's latest.

Big price drops on AMD's last-gen Ryzen 5 7600X have made it a very impressive budget CPU. Although the latest Ryzen 5 9600X is clearly faster across benchmarks, the Ryzen 5 7600X stands out with an exceptional value.
By the specs

Read more
This pack of corn puffs hasn’t left my gaming PC — here’s why
A pack of Kuai Kuai sitting on a gaming PC.

In Taiwan, I fell in love. I didn't find a spouse, a pet, or suddenly decide to move my life to the other side of the world. I fell in love with a coconut-flavored corn puff called Kuai Kuai (or "Guai Guai"). And since returning home, I've had an unopened bag of the snack leaning on my gaming PC.

If you're one of the few that knows about Kuai Kuai, you already know what's up. For everyone else, you probably think I'm a little off my rocker. You might be onto something there, but Kuai Kuai has an entire culture around it that I learned about on my trip to Computex this year, and it's been a great way to bring a little piece of Taiwan home with me.

Read more
Sony is convinced the PS4 somehow made PC gaming better
A mini PC sitting in front of the PS5.

It's hard to dispute that PC gaming leads gaming as a whole from a technology standpoint, but Sony disagrees. Mark Cerny, lead architect for the PlayStation 4, PlayStation Vita, and PS5, says that Sony's consoles occasionally show "the way for the larger industry" in a recent interview with Gamesindustry.biz.

"I like to think that occasionally we’re even showing the way for the larger industry, and that our efforts end up benefiting those gaming on PC as well," Cerny said. "It’s a tech-heavy example, but on PS4, we had very efficient GPU interfaces, and that may well have spurred DirectX to become more efficient in response."

Read more