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.
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.
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.
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.
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 getThat 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.
See more from me