doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.42k stars 798 forks source link

[Warcraft III] Low FPS on heavy maps without cachedDynamicBuffers #3906

Open hideki2k02 opened 4 months ago

hideki2k02 commented 4 months ago

Hello, i've been trying to diagnose some issues with Warcraft 3 and i was advised to post my findings in here. Some images are also below.

My game stutters a lot at 15 FPS whilst playing heavier maps. The problem is mitigated a lot when enabling d3d9.cachedDynamicBuffers

Without cachedDynamicBuffers: image

With cachedDynamicBuffers: image

Software information

Warcraft 3 1.28.5 DXVK 2.3, Max Settings at 1440x900

System information

Apitrace file(s)

https://mega.nz/file/YoVXhR4Q#SSKU4w4HbqCztBEtPA4paG1PJjssW2Lewuy9VpAb8P8

Log files

game.log

Blisto91 commented 2 months ago

Thank you for the report. I will attempt to verify this on my own rig soon ish. Can you give an example name of a heavy map where this occurs?

Edit: nvm i just noticed the map name is in the top right of the screenshots

Blisto91 commented 2 months ago

I got around to testing this now on my RX 7900xtx and x7950 setup with and without rebar. Trying the same Warcraft 3 version i do see that the fps is quite bad with that map (i think likely it is just the map itselft) but i cannot reproduce that the config have any affect on it,

K0bin commented 2 months ago

It is very unlikely that the shader cache impact performance.