Join us on our own very special Reddit on /r/Linuxers.
We do often include affiliate links to earn us some pennies. See more here.

Direct3D 12 to Vulkan translator VKD3D-Proton version 2.7 out now

By - | Views: 21,210

Here is an absolutely huge open source release! VKD3D-Proton, the translation tech used in Steam Play Proton to translate Direct3D 12 to Vulkan for Steam Deck / Linux version 2.7 is out now.

This is the first tagged release since March, which pulls together all the work done for the Steam Deck launch up until now and it sounds pretty impressive.

The new release does have higher graphics driver requirements including Mesa 22.0 or NVIDIA 510 series, which should be easily available in most distributions but the release notes say Proton 7.0 will stick with VKD3D-Proton 2.6 but Proton Experimental and future main Proton releases will jump to version 2.7.

Some of the major additions include:

  • An improved pipeline cache, now enabled for all games along with it being smaller (helps performance).
  • Lots of optimizations and better GPU performance for various features.
  • It now supports D3D12 Mesh shaders and Advanced ExecuteIndirect.
  • DXR 1.1 had some more feature implemented that were missing.
  • Basic Shared resources and fences supported with Proton.
  • Preliminary HDR support.

Loads more including:

  • Fix random GPU hangs in Hitman 3.
  • Fix crash in Redout 2.
  • Fix random GPU hang in F1 2021.
  • Fix random flicker in Guardians of the Galaxy.
  • Update some API checks required by latest AgilitySDK runtime features. Fix crash in F1 2022.
  • Add various workarounds for game bugs in Halo Infinite.
  • Add workaround for amdgpu kernel issue for certain games using imported host memory and multiple Vulkan devices.
  • Workaround glitched rendering in F1 2020 due to game bug.
  • Workaround certain games that violate placed resource API w.r.t. subresource initialization.
    Spiderman Remastered and Lost Judgment are affected. More games will likely surface.

See the full release notes for more.

Article taken from GamingOnLinux.com.
24 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 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
7 comments

Does this mean that Halo Infinite will stop hanging on Nvidia GPUs?
Sorry if this makes me sound like a noob / dunce, and also sorry for this....shall we wax euphemistic...."not being my first time raising this question", but a sister article on the subject that I read on Phronix specifically mentioned ray tracing. Does this mean that ray tracing for the Linux faithful on the Steam Deck is nigh?! 🥰

I'm certainly hoping so! 🥰

Cheers!
But can I use it anyway in current Proton 7.04 with up to date Nvidia drivers?
rkfg 28 Oct
View PC info
  • Supporter
Quoting: NerdNoiseRadioSorry if this makes me sound like a noob / dunce, and also sorry for this....shall we wax euphemistic...."not being my first time raising this question", but a sister article on the subject that I read on Phronix specifically mentioned ray tracing. Does this mean that ray tracing for the Linux faithful on the Steam Deck is nigh?! 🥰

I'm certainly hoping so! 🥰

Cheers!
DXR has been working on Linux for quite a while, it's just not enabled by default. Usually you need to set env vars for it to work:
VKD3D_CONFIG=dxr11
VKD3D_FEATURE_LEVEL=12_1

And DLSS needs NVAPI that's also not enabled by default, it only works with Proton as some libraries need to be replaced and overridden in winecfg, Proton automates it:
PROTON_ENABLE_NVAPI=1
After that it should work, tested on Metro Exodus, Cyberpunk 2077, Dying Light 2, all good. Not sure about Steam Deck specifically though.


Last edited by rkfg on 28 October 2022 at 6:30 am UTC
deathxxx 28 Oct
How to check if we have VK3D version 2.7?
axelb 28 Oct
Quoting: rkfgAnd DLSS needs NVAPI that's also not enabled by default, it only works with Proton as some libraries need to be replaced and overridden in winecfg, Proton automates it:
PROTON_ENABLE_NVAPI=1
After that it should work, tested on Metro Exodus, Cyberpunk 2077, Dying Light 2, all good. Not sure about Steam Deck specifically though.
I additionally had to create
$home/.config/dxvk.conf
with the following content:
dxgi.nvapiHack = False
and I had to add the following to the Launch Options:
DXVK_CONFIG_FILE=/home/user/.config/dxvk.conf PROTON_HIDE_NVIDIA_GPU=0
otherwise DLSS wasnt available


Last edited by axelb on 29 October 2022 at 4:31 pm UTC
Quoting: axelb
Quoting: rkfgAnd DLSS needs NVAPI that's also not enabled by default, it only works with Proton as some libraries need to be replaced and overridden in winecfg, Proton automates it:
PROTON_ENABLE_NVAPI=1
After that it should work, tested on Metro Exodus, Cyberpunk 2077, Dying Light 2, all good. Not sure about Steam Deck specifically though.
I additionally had to create
$home/.config/dxvk.conf
with the following content:
dxgi.nvapiHack = False
and I had to add the following to the Launch Options:
DXVK_CONFIG_FILE=/home/user/.config/dxvk.conf PROTON_HIDE_NVIDIA_GPU=0
otherwise DLSS wasnt available

Thanks guys! Yeah, I knew that ray tracing support has been a available on Linux for some time now, both on the nVidia side, and even on the AMD side, it seems.

I only have two, what we'll call "gaming viable" computers: the Steam Deck, of course, and my "big rig", gaming PC, which was built in 2017 and hasn't been hardware upgraded ever since (though it has since seen Ubuntu Studio replace Windows). This means that it still has a pre-RTX card installed (a GTX1070 to be specific). So it's not going to be a player in the ray tracing consideration until I can finally get around to replacing the GPU (hoping for tax return time here stateside!)

As for the Steam Deck, I know hardware ray tracing support is present, and even works right now if one is willing to take the Faustian bargain of installing Windows. But for those of us committed to Linux, my understanding is that our ray tracing fate hinges on waiting for MESA to catch up. It's been long enough ago now since I originally saw this thread and the related article on Phronix, which was more detailed that I can't recall specifically what I saw that made me hopeful our wait was nearing an end, but there was something.

Anyway, anyone know anything about the Deck specifically? :-)

Cheers!
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 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.