https://bugs.winehq.org/show_bug.cgi?id=43953
Bug ID: 43953 Summary: Regression in Spellforce 2: message boxes about fatal dx9 errors appear on map loading Product: Wine Version: 2.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: idarktemplar@mail.ru Regression SHA1: 25a8773d21d0113dc5e4f9dee49d9d9dbeed347b Distribution: Gentoo
Created attachment 59597 --> https://bugs.winehq.org/attachment.cgi?id=59597 terminal-output.txt
When loading any map, i.e. starting a campaign or skirmish, during loading screen a lot of message boxes with title "FATAL DX9 Error", message "(D3DERR_INVALIDCALL) 'Create Texture'" and a button "Ok" appear. After pressing "Ok" a few dozen times in those message boxes, game continues to load and seems to run more or less fine (I didn't test it for long time).
The issue appears starting with release 2.18. Using git-bisect I've reached following result:
25a8773d21d0113dc5e4f9dee49d9d9dbeed347b is the first bad commit commit 25a8773d21d0113dc5e4f9dee49d9d9dbeed347b Author: Matteo Bruni mbruni@codeweavers.com Date: Thu Sep 21 01:07:07 2017 +0200
wined3d: Advertise AUTOGENMIPMAP only for renderable and filterable formats.
Signed-off-by: Matteo Bruni mbruni@codeweavers.com Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 8f429da1fc2547287b8df47a249f521a47480775 533ce20f6fa677130b14abb35f47c4577e1210e7 M dlls
Reverting this change resolves issue for me.