http://bugs.winehq.org/show_bug.cgi?id=29287
Bug #: 29287 Summary: Heroes of Might and Magic IV: performance issues with Opengl renderer Product: Wine Version: 1.3.34 Platform: x86 OS/Version: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 94c0da184e18252ca2df7f9f462e9a4df9c5f2df
Created attachment 37882 --> http://bugs.winehq.org/attachment.cgi?id=37882 plain terminal output
There is a noticeable slowdown in HoMM IV during gameplay with the default Opengl renderer. This is noticeable in the map screen (when the player is wandering around, collecting items and exploring the land), but it doesn't occur during combat. I tested with HoMM IV Complete (also available on GOG.com). Actually, there are 2 distinct issues, both of them are originating from the same commit.
1. the game is much slower than it was in 1.3.33 (or earlier): scrolling the map as well as animations are lagging/redrawing slowly. 2. the mouse pointer is acting weird: while moving the mouse pointer across the screen, it frequently jumps in different directions by several pixels. It makes pointing to an icon or item more difficult.
The result of the regression test:
94c0da184e18252ca2df7f9f462e9a4df9c5f2df is the first bad commit commit 94c0da184e18252ca2df7f9f462e9a4df9c5f2df Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Dec 1 07:31:41 2011 +0100
wined3d: Create a PBO in surface_load_location() even if SFLAG_INSYSMEM is already set.
In the longer term, sysmem and pbo should be separate resource locations.
:040000 040000 0ea129726096c1508557eacfc8272cf884f0c61b 4e1bfdfeccfc95e0b700f75d6841dbb7cc1889da M dlls
Reverting the patch on wine-1.3.34-166-g71199ea fixed both problems.
No demo available. Workaround: ddr=gdi Other opened bugs related to this commit: bug #29234, bug #29235. The attached console log is probably not much of use. Please let me know if you need a log with debug channels enabled.
Fedora 16 x86 Nvidia 250 / driver 290.10 X.Org X Server 1.11.2
http://bugs.winehq.org/show_bug.cgi?id=29287
Alex Bradbury asb@asbradbury.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asb@asbradbury.org
http://bugs.winehq.org/show_bug.cgi?id=29287
--- Comment #1 from GyB gyebro69@gmail.com 2012-01-02 10:54:16 CST --- Wings over Europe (Cold War gone Hot) is also affected by this regression, but in a different way. Since commit 94c0d... the game starts with a black screen but music is playing. Pressing <Esc> reveals the main menu, but here comes the problem: the animated mouse pointer is not moving (stuck on the screen). Since keyboard is not available in the menus (except for <Esc>), there is no way to get further in the menus.
ddr=gdi acts as a workaround in WoE too: the game starts with the main menu (without the aforementioned black screen) and mouse pointer is moving as it should.
There is no demo for WoE.
WIne-1.3.36
http://bugs.winehq.org/show_bug.cgi?id=29287
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-02-17 06:42:25 CST --- Mostly out of curiosity, does attachment 38908 from bug 26918 make this better or worse?
http://bugs.winehq.org/show_bug.cgi?id=29287
--- Comment #3 from GyB gyebro69@gmail.com 2012-02-17 09:15:13 CST --- (In reply to comment #2)
Mostly out of curiosity, does attachment 38908 [details] from bug 26918 make this better or worse?
The patch fixes the problem in Wings over Europe, but it doesn't change anything in HoMM IV.
http://bugs.winehq.org/show_bug.cgi?id=29287
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry.risenberg@gmail.com
--- Comment #4 from Henri Verbeet hverbeet@gmail.com 2012-07-11 09:38:48 CDT --- *** Bug 29613 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=29287
Jay jaynobyl@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaynobyl@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=29287
Jay jaynobyl@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|jaynobyl@gmx.de |
http://bugs.winehq.org/show_bug.cgi?id=29287
Roland Haeder roland@mxchange.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roland@mxchange.org
--- Comment #5 from Roland Haeder roland@mxchange.org 2013-06-17 00:13:34 CDT --- Bug is still there in latest GIT, frames are at 10-20 FPS which is unplayable (I have the German 2 CD-ROM version).
https://bugs.winehq.org/show_bug.cgi?id=29287
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
--- Comment #6 from Xavier Vachon xvachon@gmail.com --- Still a bug in wine 1.7.31. Tested with Heroes of might and magic 4
https://bugs.winehq.org/show_bug.cgi?id=29287
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- How does this work with current Wine?
https://bugs.winehq.org/show_bug.cgi?id=29287
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Henri Verbeet from comment #7)
How does this work with current Wine?
I can't really tell the difference in performance (gdi vs. opengl) in current Wine. By all means, the game runs much smoother now, than with 1.7.x series of Wine.
Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=29287
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=29287
paukovics paukovicstimy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paukovicstimy@gmail.com