Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
We do often include affiliate links to earn us some pennies. See more here.

You have a fancy game using Direct3D 11 and you want to port it to Linux? In future, DXVK may be able to help with that.

Currently, DXVK translates D3D11 and D3D10 into Vulkan when used with Wine. However, Joshua Ashton who developed D9VK which is the offshoot of DXVK to do the same for D3D9 put out word on Twitter that they've begun working on "a way to use DXVK on your native platform! (ie. D3D11 on Linux! :D)".

We don't usually comment on unfinished code (a lot can change), but since Ashton announced it and it does sound quite exciting we decided to share. Some work to help towards this has already made it into DXVK too.

Giving developers any easy way to get Vulkan on Linux, without doing an entirely new renderer themselves could be a pretty big boost. Ashton said it currently supports SDL Windows and all of D3D11 apart from "GDI interop". Developers should be able to just set SDL to use Vulkan, no need of Wine and it "should work".

Something to certainly keep an eye on. You can see the work in progress DXVK code they linked to here.

Hat tip yokem55.

Article taken from GamingOnLinux.com.
Tags: Game Dev, Vulkan
26 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
14 comments

crt0mega Nov 15, 2019
This reminds me of that old d3d11 state tracker for gallium3d
rustybroomhandle Nov 15, 2019
My brain hurts.
Sir_Diealot Nov 15, 2019
So if you have a Windows game that uses DX11 but nothing else Windows you can compile it against that (once it's done). I guess this is way less useful than it at first sounds.
pb Nov 15, 2019
But isn't various middleware what causes the most problems?
YoRHa-2B Nov 15, 2019
I guess this is way less useful than it at first sounds.
I've received several mails in the past from people who had been interested in this since porting a renderer to a different API is significantly more work than e.g. porting input handling, so there's some merit to that.

Of course the core issues won't go away, namely that DXGI is built around win32 APIs which makes the SDL integration a massive hack.
lqe5433 Nov 15, 2019
This is Perfect!! I hope also Big Game Devs will use it to port GTA V, Heroes VI to Linux :)

M$ is not open-sourcing Dx11, or DX12 so we need to translate them to Vulkan.
This is something that Rocket League is using on Linux but with OpenGL.

This is even better than Proton, Wine etc.
drmoth Nov 15, 2019
Very interesting! Is there likely to be a performance hit due to the DX11->Vulkan translation or is it going to be more native performance?
Ardje Nov 15, 2019
Might be a good idea, since on proton, a vulkan native renderer can be a slideshow, while DX11 with DXVK is fast.
Jarno Nov 15, 2019
Btw, has Feral said anything about sharing their DX12 -> Vulkan translation layer?
Goldpaw Nov 15, 2019
Anything that brings more gaming that works to linux is a good thing.
a0kami Nov 15, 2019
Btw, has Feral said anything about sharing their DX12 -> Vulkan translation layer?

As far as I love FOSS I think Feral is going out of business if they ever share their tech.
edo Nov 15, 2019
this would be good if performance were the same on dxvk and w10. But there is a noticeable performance drop. It doesnt matter in small games, but in big games like gta5 you need every bit of performance you can get
Purple Library Guy Nov 15, 2019
this would be good if performance were the same on dxvk and w10. But there is a noticeable performance drop. It doesnt matter in small games, but in big games like gta5 you need every bit of performance you can get
That would be a relevant objection if the alternative were the game developers rewriting their games from scratch to run on Linux. But more likely the alternative is hit-or-miss Proton, which is unlikely to have less performance drop and would be significantly less reliable.
TheRiddick Nov 15, 2019
DXVK works better then almost all native OpenGL implementations for games I own. With a few exceptions of cause where the engine has really well optimized OGL support (extremely rare).
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.