HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.75k stars 183 forks source link

Dead By Daylight - GPU utilization too high compared to windows #2015

Open VeilSilence opened 3 weeks ago

VeilSilence commented 3 weeks ago

As title says, game utilize gpu at 95~97% in menu, when on Windows (DX12) it using ~65% for example. Game also feels a bit laggy and framerate tend to degrade after some time of playing ( from 120fps to ~100 fps in menu for example at 97% gpu utilization).

Software information

Dead By Daylight ( Steam ). Ultra settings. 120fps. 2560x1440 resolution. I did quick mangohud logging ( 3 minutes ) in menu. Launch option: LD_PRELOAD="" gamescope -w 2560 -h 1440 mangohud gamemoderun %command%

DXVK Linux ( -dx11 in steam launch options ). ~71-80% GPU utilization in menu. MangoHud report:

Duration:180.6s
97% 129.1
AVG 119.9
1% 108.3
0.1% 101.3

VKD3D. 95-97% GPU utilization in menu.Mangohud report:

Duration:181.8s
97% 132.0
AVG 113.5
1% 93.4
0.1% 44.4

Frame time graph: https://flightlessmango.com/games/5522/logs/5423

Screenshots

VKD3D gpu utilization

![VKD3D](https://github.com/HansKristian-Work/vkd3d-proton/assets/132572320/c07c11fa-9c73-4ff6-8c5b-825180fb6422)

VKD3D performance degrade after one test match

![VKD3D-after-match](https://github.com/HansKristian-Work/vkd3d-proton/assets/132572320/ad2d8916-15bf-4d49-ba97-3fc8030455dd)

Win DX 12 gpu utilization

![Win-DX-12](https://github.com/HansKristian-Work/vkd3d-proton/assets/132572320/21093280-38b3-4320-bd3c-16589cc725a0)

DXVK gpu utilization

![DXVK](https://github.com/HansKristian-Work/vkd3d-proton/assets/132572320/07ae575f-35a4-4a6c-a205-1a58ba8113cd)

System information

Log files

Please attach Proton or Wine logs as a text file: steam-381210-VKD3D.log

HansKristian-Work commented 2 weeks ago

Testing GPU utilization at a capped frame rate is flawed, the GPU clocks may not be the same. You need to test with fully unlocked frame rate to make sure GPU clocks are comparable. Even then, I expect NVIDIA to lose performance here compared to native, but not 30%. It's a known issue that we cannot solve ourselves.

VeilSilence commented 2 weeks ago

Testing GPU utilization at a capped frame rate is flawed, the GPU clocks may not be the same. You need to test with fully unlocked frame rate to make sure GPU clocks are comparable. Even then, I expect NVIDIA to lose performance here compared to native, but not 30%. It's a known issue that we cannot solve ourselves.

Understandable. Dead by daylight just frame capped by design at 120fps, so I cannot "uncap" in normal way, unless I can bypass this somehow on Linux. Is nvidia devs acknowledged about this, or should I make report about that?