https://bugs.winehq.org/show_bug.cgi?id=43246
Bug ID: 43246 Summary: King's Bounty: The Legend suffers from performance issues Product: Wine Version: 2.1 Hardware: x86 URL: https://www.fileplanet.com/191666/190000/fileinfo/King 's-Bounty:-The-Legend-Updated-Demo OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: hverbeet@gmail.com Regression SHA1: 15d53761a5fbfc12fc5f9974c029dace00eab33d Distribution: ---
Created attachment 58554 --> https://bugs.winehq.org/attachment.cgi?id=58554 terminal output
The game runs much slower than it used to: animations, character and mouse movement are way too slow. Reproduced the issue with nouveau/mesa 17.1.3 and nvidia binary drivers 381.22. Disabling anti-aliasing and lowering detail level to the minimum doesn't help.
According to my testing the commit which caused the slowdown is
commit 15d53761a5fbfc12fc5f9974c029dace00eab33d Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Jan 31 15:47:10 2017 +0100
wined3d: Do not pin system memory in wined3d_buffer_load_location().
Maybe a duplicate of bug #42588, although the symptoms are different. With the previous commit the game runs much smoothly. For comparison, in Wine 2.11 I'm getting only 4-5 fps when using nvidia 381.22. Before the regression Wine gave me 32-36 fps.
Steps to reproduce the issue with the demo: 1. download and install the demo, install native d3dx9_33.dll before launching the game. 2. in the main menu start a new game, click <Next> on the character selection screen, press <Skip>. You are in a training chamber: run around in the room, rotate the camera using the right mouse button and observe how sluggish the game is. You can save the game here so you can reproduce the issue more easily the next time you enter the game.
KingsBounty_TheLegend_Demo2.exe (682 MB) sha1: 7b60066a63cd4ee8a242347ebc1802a60453d9b2
Wine 2.11 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 381.22