http://bugs.winehq.org/show_bug.cgi?id=21204
Summary: Warcraft 3 disproportionately slow in d3d mode unless RenderTargetLockMode=disabled Product: Wine Version: 1.1.33 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: Simon80@gmail.com
Under default settings, Warcraft 3 runs very slowly on my system, whose hardware is more than capable of of running it without framerate issues. When run in OpenGL mode, the game runs smoothly without exception (60fps), but there are probems with the rendering. In Direct3D mode, it renders correctly, but the framerate is very low, under 15 fps. In the search for a playable configuration, I discovered that setting HKEY_CURRENT_USER\Software\Wine\Direct3D:RenderTargetLockMode to disabled results in much better framerates, around 30 fps. This isn't as good as the OpenGL mode, but is still playable, and I didn't notice any rendering problems.
I tried some of the other possibilities (textex, readtex, texread, I think), and the performance was just as slow.
I also discovered just now that Warcraft 3 has a registry setting, HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video:lockfb, which acts similarly (defaults to on, and when set to 0, performance becomes acceptable). If neither of those two values are disabled, then performance is disproportionately slow on this hardware.
I can grab debug output on request.