doitsujin / dxvk

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

Age of Empires 2 Definitive Edition stutters unless apitrace mode is set #2491

Closed EmmerichFrog closed 2 years ago

EmmerichFrog commented 2 years ago

Software information

the game stutters regular intervals with dxvk, it's very noticeable online and as the game goes on it only gets worse. One other way to repro 100% of the time is to run the ingame benchmark: small stutters can be noticed (they are much more subtle this way and you might think it's just the benchmark that it's heavy but it's not that) every few second for the whole duration. This also does not happen with wined3d and the game runs as expected. It might be a game bug since the same (or at least very similar) issue happens on windows for some people (seems the common thing is having an amd gpu), so it might not be reproducible on other hw. Having apitrace mode on also makes the benchmark score noticeably higher (at least 100-150 points on my laptop, 150-200 on my desktop), so it's not just placebo.

The bug has been present since one game update about a year ago, and I have played it on several wine, proton, dxvk build over the months.

System information

Log files

the logs are taken on my vega 8 laptop without apitrace mode

AoE2DE_s_d3d11.log AoE2DE_s_dxgi.log

doitsujin commented 2 years ago

Can't confirm, getting the same benchmark score with and without apitrace mode here. Also means that enabling it won't hurt though.