DirectX12 performance is terrible on Linux

I think you didnt notice the pattern.

With all those tests,benches etc posted here among different generations of Nvidia gpus common sceneario is this:

Things gets cpu intensive, performance gap compared to Windows gets worse.

So that is why you didn’t get that much gap.

Look at the tests above.

  • Raytracing, has impact on cpu, perf gets worse. Affects Alan Wake 2, Cyberpunk, Wukong and more. Ofc you can’t test that scenario with a GTX 1650.
  • Space Marines 2. Game doesn’t have raytracing but it is a cpu heavy title. Perf gap hovers around 40-50 percent.

So your test sounds like an outlier because you don’t that scenario.

4 Likes

I’d also say that the more GPU demanding the game is, the more you lose in performance. And I have yet to play a dx12 game where I don’t get some sort of loss in FPS with vkd3d-proton and Nvidia hardware (RTX 4070).

AMD is usually on par or better than native dx12 with vkd3d-proton.

Only by opening the Nvidia drivers source code would dx12 game performance improve.

2 Likes

true , but ain’t happening , however the drivers maintainers and vk3d maintainers can work together to get this issue solved asap , But nvidia and linux well :)

2 Likes

Really hope they reach out to the vkd3d-proton devs because its irritating that upgrading to my 4070 super meant I had to start booting into windows again.

2 Likes

Any news about it ?

1 Like

Based on some things I read recently about steam os, it seems that Valve have a bunch of people working on the Nvidia open source driver, so one would assume that in that they are in conversation.

1 Like

Valve is indeed investing resources into NVK, the completely open-source Nvidia Vulkan driver being developed as part of the Mesa project. It’s important to clarify, however, that NVK is not affiliated with Nvidia as a company.

While the progress on NVK is exciting, it’s far from delivering performance on par with Nvidia’s proprietary drivers at this point. Moreover, even if NVK eventually achieves decent performance, it will likely remain incompatible with Nvidia’s proprietary technologies such as DLSS, Reflex, and others. These features rely on closed-source frameworks, which are unlikely to be accessible through an open-source driver. As such, users heavily relying on these technologies will probably need to stick with Nvidia’s proprietary driver for the foreseeable future.

2 Likes

Well, they have DLSS on their to do list…

But I don’t know how things like framegen and reflex will go…

1 Like

570.86.16 unfortunately did not change anything regarding performance in games using vkd3d-proton.

Vulkan itself do work great under Linux so please, please fix what ever is going on in the translation between DX12 → Vulkan.

3 Likes

yeah, can confirm. Was playing finals and on my setup (Ryzen 5600x, RTX 3070) I had to play at all low quality settings with dlss set to quality to get about 100fps. Pretty trash performance really.

Tbh, I also play cs2 native vulkan, even that has some issues but I think that’s a valve issue

Fresh black myth benchmarks with the 570 driver.
Avg. FPS is 6% less in Linux but that’s not really the whole truth and it shows when running the benchmark, Lows are 20% less and Max is 26% less than Windows.

Windows:

Linux:

5 Likes

Shadow of the Tomb Raider (no Ray Traced Shadows, currently crashing in Linux). Loses 15% performance.
Windows:

Linux:

6 Likes

Kingdom Come Deliverance 2 loses around 20-30fps, under windows at the intro section JUST after crossing the river at night I get 115-144fps under Windows while under Linux I get 90-115fps.

So around %30 loss in FPS in this DX12 title on a 4090 with 570 driver. I’m using Plasma Wayland thought its running in XWayland obviously, tried with and without gamescope, about same performance.

Such a weird issue. I’ve noticed it to be even worse with Stalker-2 where you will loose around 37% fps!

Wild guess why things are the way they are.
Either the native DX12 path is very well optimized by Nvidia in the drivers and those optimizations gets lost in the translation.
Or Nvidia don’t do well with the DX12 shaders (DXIL/HLSL) → SPIR-V/Vulkan conversions.

But everyone is silent about this so we’re just up for guesses.

3 Likes

Anything new about this issue? Is Nvidia working on it or is it something impossible to fix? An Update would be nice. Im experiencing the same “issue” on a RTX 4090 Mobile.

1 Like

It’s NVIDIA man, we’re systematically kept out of the loop as customers. Then one day out of nowhere, they will announce it’s fixed.

1 Like

Around 15-25% performance loss in the Dune Benchmark compared to Windows.

2 Likes

Does that happen on Linux and Windows using Proton?

From what I’ve observed when I tested, using vkd3d-proton in Windows gives the same performance drops as seen in Linux.

So the issue isn’t limited to the Linux driver, it’s a general “Nvidia vkd3d-proton” issue.

I’m honestly so close to just give up and buy an AMD RX 9070 XT, since the issues with vk3d-proton on Nvidia has been going on for years.
BUT on the other hand, everything else works pretty well with Ampere/Ada GPUs on Linux now, from my perspective.

6 Likes