You can sign up to get a daily email of our articles, see the Mailing List page!

An interview with the developer of DXVK, part of what makes Valve's Steam Play tick

Posted by , | Views: 32,033

What started as a large article talking to developers about Steam Play required splitting off before it became too big. For now, I give you a chat with the developer of DXVK, Philip Rebohle.

For those that aren't quite up to speed, DXVK is a project that provides a Vulkan-based D3D11 and D3D10 implementation for Wine. It's part of what makes Valve's Steam Play "Proton" work. In simple terms, games built to run on Windows via DirectX can be run with DXVK/Proton, so that they can be played on Linux.

I believe that DXVK and Steam Play are some of the most interesting projects to come out in the last few years, which could possibly help push Linux gaming forward. You can see more of my own thoughts in the previous article. I don't want to ramble on too much about what's already said, so here it is below.

GOL: Firstly, as the developer of DXVK, how did you get started with Vulkan and DirectX?

DXVK: “I've always had an interest in graphics programming and used OpenGL in the past for some hobby projects that never really evolved into anything useful, and started experimenting with Vulkan once it came out.

My first contact with D3D11 was actually when I tried to debug a rendering issue with a D3D11 game on wined3d, but since most of its concepts are very similar to what we have in OpenGL and Vulkan, it wasn't too hard to figure out. Except of course for the parts where Microsoft's documentation is terrible, and there are a lot of those... sorry, I just had to rant about that.”

GOL: What gave you the idea for DXVK? Why did you decide to make it?

DXVK: “It's a combination of being dissatisfied with the performance of wine's own D3D11 implementation, not wanting to dual-boot to Windows anymore, and being inspired by the VK9 project which I had been keeping an eye on for some time. And I really wanted to get one specific game to work.”

GOL: Since you're now contracted by Valve, how did that happen? Must have been quite a shock initially to have Valve approach you?

DXVK: “It wasn't all that spectacular - they contacted me when News made the round that DXVK could run Nier [NieR:Automata] back in late January, and when offered to work full-time on the project after a friendly chat, I couldn't really refuse.

There are a lot of things that probably would not have happened if Valve hadn't been backing the project - such as driver developers fixing their Vulkan drivers for DXVK or reporting bugs, or Vulkan getting a transform feedback extension.”

GOL: Do Valve give you much input in the direction of DXVK or do you continue to work on it freely, simply with the backing of Valve to allow you extra time on it?

DXVK: "There are some things that I probably wouldn't have done without them requesting it, such as adding OpenVR support or focusing on certain games early on, or trying to squeeze more performance out of specific workloads. But I spent most of the time just improving overall game compatibility and performance."

GOL: There have been a lot of people asking about anti-cheat, things like Easy Anti-Cheat, BattlEye and so on where the games won't run in Steam Play/Wine. People seem confused where the problem really is. Is it something Wine needs to solve to support them?

DXVK: "I'm certainly not an expert on anti-cheat or DRM technology, but those that don't work are typically very invasive, access Windows kernel APIs, rely on undocumented APIs, and may prevent debugging. All of that makes it very hard for Wine to support them."

GOL: How has the reception been to DXVK? Has it changed since Steam Play?

DXVK: “Depends on who you ask. People who just wanted to play their games on Linux were generally excited when DXVK started running more and more of their games, part of the wine community isn't exactly happy about it being a separate project, and there are of course those who dislike wine in general, but more on that later.

Has it changed since Steam Play? I don't think so. Things just have calmed down over time. Many of those using Proton now have been using Wine, Lutris, DXVK etc. before, and new users seem to be happy with Proton as a whole, which DXVK is a part of.”

GOL: Any hopes for the future for DXVK? How do you feel about developers concerns with it possibly causing less native Linux ports?

DXVK: “It should hopefully fulfil its purpose and make users who currently dual-boot or run some crazy VM setup for gaming switch to Linux as their primary gaming platform, and maybe attract a few new users altogether.

I genuinely don't know if it'll reduce the number of native ports. Maybe it will, maybe we'll get more ports due to a higher market share, maybe some studios will adopt Vulkan for better compatibility with Proton - anything can happen. And while I'd take a good port over wine any day of the week, there's one thing that everyone seems to forget in this discussion: It increases the number of playable games on our platform, and that just can't be a bad thing.”

 

Thanks again for having a chat! It's always great to get some background on such important projects like this. I have to agree with Rebohle's ending remark there too, having more games be compatible on Linux is going to be good for us in the long run.

We should have more articles up from other developers in future. Depending on responses this may come in one big feature or a few smaller articles over the next few weeks. We're casting a wide net, so if you're a developer of a game, a game engine, a game porter or anything of the sorts and want to have a chat about Steam Play, do get in touch!

Article taken from GamingOnLinux.com.
105 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more information here.
About the author -
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check 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.
See more from me
65 comments
Page: «7/7
  Go to:

Ardje 12 September 2018 at 2:43 pm UTC
View PC info
  • Supporter
dodrianPS. Imagine how good Steam Machines 2 will be! Just don't ask for Steam Machines 3.
But at least we can expect Steam Machines episode 1 and 2 too...
technatica 12 September 2018 at 3:32 pm UTC
This is a great technology for Linux and gamers.

What will truly drive game companies to native ports is gamers seeking performance. If a native port will run at 2 FPS faster than the Windows game itself on equivalent hardware, gamers will come to Linux in droves.

It will take more than one example, ie. several top-tier games ported to Linux, but at that point, the floodgates will be open.
Ardje 12 September 2018 at 5:37 pm UTC
View PC info
  • Supporter
And don't forget that cro-team has stutter-fixes for high end hardware that *only* works on linux because that was the only platform that allowed to peek into it.
Shmerl 13 September 2018 at 3:35 pm UTC
QuoteThere are some things that I probably wouldn't have done without them requesting it, such as adding OpenVR support or focusing on certain games early on, or trying to squeeze more performance out of specific workloads.

@YoRHa-2B: Was The Witcher 3 one of those games? It started working with DXVK quite rapidly. I wonder if Valve were interested in that in particular, because of the past ads of "Coming to SteamOS" for TW3.

In a sense, if they'll make sure TW3 works perfectly through Wine+dxvk/Proton, they can at least say that those ads aren't false anymore.


Last edited by Shmerl at 13 September 2018 at 3:37 pm UTC
Patola 15 September 2018 at 1:10 pm UTC
wojtek88
jensArkham City has a similar confirmed workaround (haven't tried it myself) https://github.com/ValveSoftware/Proton/issues/309#issuecomment-415633734
I am the author of last compatibility report and I can confirm this workaround works. Just change OS to WinXP with winecfg, press play and wait little bit long during first run, while .NET is installed (about 45 minutes). After that Batman Arkham City works fine.
Thank you very much for your contribution. I bought the game because of your report and instructions.

However... It didn't work. :-( NVIDIA 396.54, Ubuntu 18.04, used wine-staging to change windows version to winxp, steam installed dotnet and finished, changed to win10, didn't run. Changed to windows 7, didn't run. Changed to winxp, didn't run. Where could I see its log? ~/.steam/error.log doesn't show anything useful.

UPDATE: found it. It runs in Windows 10 mode. Just set launch options to TZ= %command% so that it unsets the timezone variable.


Last edited by Patola at 15 September 2018 at 4:29 pm UTC
  Go to:
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just 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!

You need to Register and Login to comment, submit articles and more.


Or login with...

Livestreams & Videos
Community Livestreams
  • Story Time: „Demetrios“
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts