protonscr

Low CPU Usage

dxvkclosed performance
doitsujin/dxvk#276 · opened 2018-04-13 by ghost · updated 2018-05-12 · 11 comments · github
1 matching comments, n / p to jump
?ghost 2018-04-13 github

Low CPU usage. My GPU maxes out I believe in Witcher 3, but my FPS is only 40. My CPU usage is only 30%. In Windows, I don't have this problem and my CPU is usually at 70%. Is Vulkan that much more optimized than D3D11?

Software information

Witcher 3

System information

  • GPU: 1060 3GB
  • Driver: 390.48.0
  • Wine version: 3.5 Staging
  • DXVK version: Latest
Ddoitsujin maintainer 2018-04-13 github

Not sure what the issue is here, but if you're getting lower performance while being GPU-bound, lower CPU load is to be expected.

GGuy1524 2018-04-13 github

What CPU do you have

Sssorgatem 2018-04-13 github

This may point to a difference of performance in the GPU driver, too...

Aaqxa1 2018-04-14 github

Have you tested dxvk on Windows Aeirex? My suspicion is that you will get similar results (100% gpu load, lower cpu usage than D3D11 but also lower performance). So dxvk is probably loading the GPU more heavily than D3D11, for whatever reason.

?ghost 2018-04-14 github

Skylake 6600k is my processor.

The CPU performance of DXVK is good, just the GPU part of Vulkan needs a lot of optimization. Especially with shaders.

I also have the CPU performance flags set in Linux.

?ghost 2018-04-19 github

How do I replace the DX11.dll in WIndows? It won't let me.

SSveSop 2018-04-20 github

@Aeirex Afaik putting d3d11.dll and dxgi.dll in the folder you run the game/program .exe file from should work with Windows.

You CAN forcefully replace the native windows .dll too by using cmd "as administrator" i guess, but being a essential system file, im not sure i would recommend this approach.

?ghost 2018-04-20 github

@SveSop This had no effect, it still used my system DIrectX11.

Ddoitsujin maintainer 2018-04-20 github

I don't think you can use DXVK if the game you're testing insists on using the system libraries. That's a "feature" of the LoadLibrary function.

While we're at it, is there anything specific you'd like to see addressed? Right now I don't really see the point of this issue. Also, please note that Nvidia are currently rewriting their shader compiler which should give better results in the end.

Ssaboya 2018-04-20 github

While there's probably room for improvement in DXVK itself, you need to realize that Vulkan drivers are not in a mature state right now. Like @doitsujin said, Nvidia is rewriting their shader compiler, RADV has a lot of issues with their LLVM compiler, Mesa is in constant evolution and AMDVLK is just broken.

Right now it's hard to say where the performance penalties come from. Unless there's some specific issue you can point to with a reasonable test case (eg, some specific shader translation issue you can build a custom demo to showcase), it's impossible to act upon.

Ddoitsujin maintainer 2018-05-12 github

Closing due to lack of activity. FWIW, GPU performance has improved significantly with recent Nvidia driver updates and DXVK updates.

DLLs