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.
https://bugs.winehq.org/show_bug.cgi?id=43953
i.Dark_Templar idarktemplar@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=43953
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com, | |matteo.mystral@gmail.com
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- I can reproduce the problem in Spellforce 2: Anniversary Edition and Spellforce 2: Demons of the Past (GOG.com version). Reverting commit 25a8773d21d0113dc5e4f9dee49d9d9dbeed347b fixes the problem. The demo version of the game uses Starforce DRM and I couldn't make it run.
wine-2.22-64-gb84ba52248 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 387.34
https://bugs.winehq.org/show_bug.cgi?id=43953
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |joseph.kucia@gmail.com Assignee|wine-bugs@winehq.org |joseph.kucia@gmail.com
--- Comment #2 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 59900 --> https://bugs.winehq.org/attachment.cgi?id=59900 Patch
The attached patch should fix the problem.
https://bugs.winehq.org/show_bug.cgi?id=43953
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #59900|0 |1 is obsolete| |
--- Comment #3 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 59901 --> https://bugs.winehq.org/attachment.cgi?id=59901 Patch v2
https://bugs.winehq.org/show_bug.cgi?id=43953
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=43953
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Józef Kucia from comment #3)
Created attachment 59901 [details] Patch v2
The patch fixes the problem here.
https://bugs.winehq.org/show_bug.cgi?id=43953
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6e5df50ac8e18e11de048636193 | |8a6b586ed0195 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #5 from Józef Kucia joseph.kucia@gmail.com --- Fixed by commit 6e5df50ac8e18e11de0486361938a6b586ed0195
https://bugs.winehq.org/show_bug.cgi?id=43953
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|joseph.kucia@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=43953
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc2.