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

Direct3D 9 / 10 / 11 to Vulkan translation layer DXVK 1.9 is out now

By - | Views: 13,755

After a while between major releases, the DXVK project has splashed onto the scene again with a juicy new release ripe for picking with DXVK 1.9 out now.

For those not aware: DXVK is a Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine. It's a major part of what powers Steam Play Proton. In short, it makes Windows games with DirectX run with Vulkan instead so they work on Linux through compatibility layers.

Some of the new features include:

  • Implemented basic support for various subsampled YUV texture formats such as NV12, which is used for video playback in some games, as well as basic support for ID3D11VideoProcessor APIs. This is needed for videos in Nier Replicant to play back (#2048), and may also be required for Contra: Rogue Corps (#1676). Note that Nier videos currently do not work with Proton for other reasons.
  • Implemented Conservative Rasterization for supported GPUs, which allows enabling the Nvidia ShadowLibs option in Final Fantasy XV and possibly similar options in other games.
  • Reduced presentation latency by up to one frame under some circumstances. This may help with games that are limited by vertical synchronization, DXGI frame latency settings, or external frame limiters that operate on vkAcquireNextImageKHR (PR #2075).
  • Added a frame rate limiter. This is mostly intended as a workaround for games that do not work correctly at high frame rates, but can also be controlled with an environment variable. Check the README for detais.

There's also a nice issue solved where "Software-only Vulkan implementations" like Lavapipe don't get reported to whatever you're trying to run, as long as you have a GPU that supports Vulkan. This should hopefully stop newer Mesa version sometimes crashing. You can use Lavapipe manually if you want still.

Quite a lot of other changes made it in like improved texture and buffer uploads in D3D9, a reduction in the size of the state cache files, numerous bug fixes and a number of Windows games should work better including: Atelier Mysterious Trilogy Deluxe Pack, Dal Segno, Nights of Azure, Days Gone, Demon Stone, Dragon Quest Builder 2, Final Fantasy XIII, Spec Ops: The Line, the GTA IV re-release, Halo 2, Kohan II, Nier Replicant, Second Sight and TrackMania Forever.

See the release notes for the full details.


As a reminder: if you're making use of Steam Play Proton which includes DXVK - you can upgrade this by itself, without waiting for a new Proton release. To do so you can just overwrite the existing DXVK files with the release download of DXVK 1.9. You can find your Proton install somewhere like this (depending on your Steam Library drives):

path-to-your/SteamLibrary/steamapps/common/Proton x.x/dist

Where x.x is whatever Proton version installed you wish to give a new DXVK.

Inside there you will see "lib" and "lib64", for 32bit and 64bit. Inside each of those, there's a "wine" folder and inside there is a "dxvk" folder and that's where you replace the files with new versions. Do so at your own risk but it's usually harmless. If you mess anything up, one way to ensure it gets reinstalled cleanly is just to remove the "/dist" folder.

Article taken from GamingOnLinux.com.
25 Likes , Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
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
17 comments
Page: «2/2
  Go to:

Beren 15 Jun
Quoting: Comandante Ñoñardo
Spoiler, click me
Quoting: YoRHa-2B
Quoting: Comandante ÑoñardoI wonder when they gonna fix the Epic Store Client stuttering bug...
which EGS client stuttering bug?

Sorry, I mean the extreme flickering... That bug that force us to use -opengl
link

If there is no bug report for this, the devs may be unaware of it. And without further info, the devs may be unable to reproduce it.
mirv 15 Jun
View PC info
  • Supporter Plus
if I'm not mistaken, VK_EXT_full_screen_exclusive is required by DXVK, but that's not an available extension in vanilla wine. It's added as a patch set to "Proton", but it's a little discouraging that DXVK won't work with upstream wine out of the box. It severely limits the ability of distros to offer DXVK out-of-the-box, as it were.

--edit: supposedly optional, but doesn't look too optional here.


Last edited by mirv on 15 June 2021 at 11:42 pm UTC
YoRHa-2B 16 Jun
Quoting: mirvif I'm not mistaken, VK_EXT_full_screen_exclusive is required by DXVK
It's not, in fact, we don't even use it if we know we're running on winevulkan. It's more of a Windows thing to make sure we get a fast path for presentation there.
mirv 16 Jun
View PC info
  • Supporter Plus
Quoting: YoRHa-2B
Quoting: mirvif I'm not mistaken, VK_EXT_full_screen_exclusive is required by DXVK
It's not, in fact, we don't even use it if we know we're running on winevulkan. It's more of a Windows thing to make sure we get a fast path for presentation there.

Which makes why it's crashing on me even stranger.

I'm going to have find a way to build and debug this, because it's been going on since > v1.5.1 (though at least the original unsupported function error messages have disappeared, leaving only this one). Sadly Gentoo doesn't want to build mingw right now, so I might have to look at dumping debian or something into a virtual machine and build it in there.
mirv 17 Jun
View PC info
  • Supporter Plus
Well a lot of hacking about, a virtual machine to build, and I finally got the little (insert words of an unsavoury nature here) to work.

Of the two devices detected, it was also fouling up on the second one when querying device info. Haven't dug far enough to figure out exactly which line, and nor for today do I care. That's a job for another day.
YoRHa-2B 17 Jun
if you have amdvlk installed, the device selection layer they started shipping a while ago is known to crash DXVK and some other Vulkan apps.


Last edited by YoRHa-2B on 17 June 2021 at 6:36 pm UTC
mirv 17 Jun
View PC info
  • Supporter Plus
No amdvlk, but it's been rolling along without a reinstall since fglrx, so I suspect some file in there somewhere is causing problems.

Now that I can build DXVK though, I can hopefully track that down a little easier; if I can find exactly where (I presume in a Vulkan call) it's going wrong, I'm one step closer to finding _why_.
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. 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!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.

Livestreams & Videos
Community Livestreams
Latest Forum Posts