https://bugs.winehq.org/show_bug.cgi?id=44260
Gabriel Majeri gabriel.majeri6@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabriel.majeri6@gmail.com
--- Comment #2 from Gabriel Majeri gabriel.majeri6@gmail.com --- I have found the reason for this bug.
Using the `perf` tool and building `wined3d.dll` with debug symbols, I've found out that the app spent most of its time in CSMT code:
perf report
33,88% DKII-DX.exe wined3d.dll.so [.] wined3d_cs_mt_finish 21,72% DKII-DX.exe wined3d.dll.so [.] wined3d_cs_queue_is_empty 9,77% DKII-DX.exe wined3d.dll.so [.] wined3d_cs_run
Based on https://wiki.winehq.org/Performance, it seemed to be an issue with CSMT.
Indeed, after disabling CSMT, game works perfectly, performance is at least as good as on Windows.