https://bugs.winehq.org/show_bug.cgi?id=39742
Bug ID: 39742 Summary: Heroes of Might and Magic 5 does not work (empty screen) Product: Wine Version: 1.8-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: galdralag@bk.ru Distribution: ---
Heroes of Might and Magic 5 does not work. When starting game shows only first splash screen. After splash game starts intro video and it is not shown. But sound exists. This occurs since 1.55. In version 1.54 all ok.
https://bugs.winehq.org/show_bug.cgi?id=39742
Vjacheslav galdralag@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from Vjacheslav galdralag@bk.ru --- Versions correction: Bug occurs since 1.7.55. In version 1.7.54 all ok.
https://bugs.winehq.org/show_bug.cgi?id=39742
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Could you please try to do a regression test, to find out which commit introduced this problem? Take a look here for instructions how to do that: http://wiki.winehq.org/RegressionTesting
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #3 from Vjacheslav galdralag@bk.ru --- I made regression test. Git bisection shows that problem commit is [bfb845f9fccb2ff5bff0b0ba3238fec7f9f7b710] dinput: Ensure X11 input events are forwarded to wineserver even without message loop. I tryed commenting MsgWaitForMultipleObjectsEx in function check_dinput_events() in dinput_main.c from this commit - when commented MsgWaitForMultipleObjectsEx game works
https://bugs.winehq.org/show_bug.cgi?id=39742
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |sebastian@fds-team.de Regression SHA1| |bfb845f9fccb2ff5bff0b0ba323 | |8fec7f9f7b710
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- Thanks for bisecting this issue.
Can this problem be reproduced with the demo version of the game, for example: http://www.4players.de/4players.php/download_start/Downloads/Download/45230.... ?
https://bugs.winehq.org/show_bug.cgi?id=39742
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #5 from super_man@post.com --- (In reply to Sebastian Lackner from comment #4)
Thanks for bisecting this issue.
Can this problem be reproduced with the demo version of the game, for example: http://www.4players.de/4players.php/download_start/Downloads/Download/45230. html ?
I think it's possible to use that for fixing the issue.
I have some weird focus loss issue that I struggle. I started the game with up to date wine (git). And I can't enter the game menu. Then I reverted the commit mentioned here and I was able to get into menu.
So I would say confirmed.
https://bugs.winehq.org/show_bug.cgi?id=39742
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.4players.de/4pla | |yers.php/download_start/Dow | |nloads/Download/45230
--- Comment #6 from Sebastian Lackner sebastian@fds-team.de --- Also confirming, the mentioned commit definitely makes a difference. I'll take a bit closer and report back afterwards. According to my testing, the issue can be worked around by using a virtual desktop (then the window doesn't disappear).
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #7 from Vjacheslav galdralag@bk.ru --- (In reply to Sebastian Lackner from comment #4)
Thanks for bisecting this issue.
Can this problem be reproduced with the demo version of the game, for example: http://www.4players.de/4players.php/download_start/Downloads/Download/45230. html ?
On demo version it is not reproducable
I can upload somewhere full version of game if you don't have it
https://bugs.winehq.org/show_bug.cgi?id=39742
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #8 from winetest@luukku.com --- Was this fixed already?
I tested another bug and downloaded the demo from the given url.
https://bugs.winehq.org/show_bug.cgi?id=14025#c29
I had no issues to start the demo with wine 1.9.16-git or wine-staging 1.9.16.
I remember testing the demo mentioned here before and reverting the commit and it fixed the issue back then.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #9 from winetest@luukku.com --- deleted prefix, installed the demo.
It starts with wine 1.9.21-git and wine-staging 1.9.21, but I don't get focus on it. Some logo is shown at taskbar.
Reverting the commmit mentioned here fixes the issue I have no focus issue and I am able to start a game.
https://bugs.winehq.org/show_bug.cgi?id=39742
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #10 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #11 from Vjacheslav galdralag@bk.ru --- (In reply to joaopa from comment #10)
Is still a bug in current wine(3.20)?
Yes it is a bug.
Some additional info:
It is occurs when game run in NOT full screen mode and activated option "Stay active" (Options -> Video & Audio)
When "Full screen" active game starts and then shows desktop but it is not exited and after a few times switching game/desktop it shows game screen and it is playable
When "Full screen" active and "Stay active" not active some switching game/desktop and changing window size by mouse also can make game playable
When "Full screen" active and "Stay active" active game is not playable
After making changes https://bugs.winehq.org/show_bug.cgi?id=39742#c3 game works in any combinations of "Full screen" and "Stay active" options. But in windowed mode it is required change window size by mouse to show game screen. It is appeared later in some wine version after firstly reported
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #12 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-4.18?
https://bugs.winehq.org/show_bug.cgi?id=39742
ZenAnonX ZenAnonX@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ZenAnonX@protonmail.ch
--- Comment #13 from ZenAnonX ZenAnonX@protonmail.ch --- No game working out of box in wine-4.19 we cant safely close this bug
https://bugs.winehq.org/show_bug.cgi?id=39742
IvanDSM snesivan1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |snesivan1@gmail.com
--- Comment #14 from IvanDSM snesivan1@gmail.com --- Confirming the bug is fixed as of Wine Staging 5.0. I think ZenAnonX meant to say that we *can* safely close the bug. The game launched and I was able to play the demo mission.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #15 from Vjacheslav galdralag@bk.ru --- (In reply to IvanDSM from comment #14)
Confirming the bug is fixed as of Wine Staging 5.0. I think ZenAnonX meant to say that we *can* safely close the bug. The game launched and I was able to play the demo mission.
It is still a bug. On demo version it is not reproducable.
It is reproducable on Wine5.0 and WineStaging5.0 but only when "Stay Active" game option enabled as described in https://bugs.winehq.org/show_bug.cgi?id=39742#c11
Also I noticed when "Stay Active" option not active and changes from https://bugs.winehq.org/show_bug.cgi?id=39742#c3 not applied after exiting game it does not save window size. It always starts with SAME window size. But when changes https://bugs.winehq.org/show_bug.cgi?id=39742#c3 applied game saves window size on exit and starts with new size as expected
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #16 from IvanDSM snesivan1@gmail.com --- (In reply to Vjacheslav from comment #15)
(In reply to IvanDSM from comment #14)
Confirming the bug is fixed as of Wine Staging 5.0. I think ZenAnonX meant to say that we *can* safely close the bug. The game launched and I was able to play the demo mission.
It is still a bug. On demo version it is not reproducable.
It is reproducable on Wine5.0 and WineStaging5.0 but only when "Stay Active" game option enabled as described in https://bugs.winehq.org/show_bug.cgi?id=39742#c11
Also I noticed when "Stay Active" option not active and changes from https://bugs.winehq.org/show_bug.cgi?id=39742#c3 not applied after exiting game it does not save window size. It always starts with SAME window size. But when changes https://bugs.winehq.org/show_bug.cgi?id=39742#c3 applied game saves window size on exit and starts with new size as expected
It sounds like the bug you're describing now is a different bug from the one you initially described. From what I understand, your description of the bug was that the game would only show the first splash screen and then not show anything else, correct?
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #17 from Vjacheslav galdralag@bk.ru --- (In reply to IvanDSM from comment #16)
(In reply to Vjacheslav from comment #15)
(In reply to IvanDSM from comment #14)
Confirming the bug is fixed as of Wine Staging 5.0. I think ZenAnonX meant to say that we *can* safely close the bug. The game launched and I was able to play the demo mission.
It is still a bug. On demo version it is not reproducable.
It is reproducable on Wine5.0 and WineStaging5.0 but only when "Stay Active" game option enabled as described in https://bugs.winehq.org/show_bug.cgi?id=39742#c11
Also I noticed when "Stay Active" option not active and changes from https://bugs.winehq.org/show_bug.cgi?id=39742#c3 not applied after exiting game it does not save window size. It always starts with SAME window size. But when changes https://bugs.winehq.org/show_bug.cgi?id=39742#c3 applied game saves window size on exit and starts with new size as expected
It sounds like the bug you're describing now is a different bug from the one you initially described. From what I understand, your description of the bug was that the game would only show the first splash screen and then not show anything else, correct?
Yes after splash screen game shows empty window. Saving window size it is addition to this bug that fixed when removed call of MsgWaitForMultipleObjectsEx
https://bugs.winehq.org/show_bug.cgi?id=39742
tantalosus@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tantalosus@protonmail.com
--- Comment #18 from tantalosus@protonmail.com --- I can confirm this bug still exists in Wine 6.0 (and staging version). Tested on Arch, with radv driver (same result for amdvlk). I'm using GOG version of the game, and standalone expansion Tribes of the East starts just fine, problem only occurs for me for base version that comes with Hammers of Fate expansion.
https://bugs.winehq.org/show_bug.cgi?id=39742
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #19 from Zebediah Figura z.figura12@gmail.com --- Is this bug still present in current wine (7.0-rc5)? There have been many modifications to dinput since 6.0.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #20 from Vjacheslav galdralag@bk.ru --- (In reply to Zebediah Figura from comment #19)
Is this bug still present in current wine (7.0-rc5)? There have been many modifications to dinput since 6.0.
Yes, this bug is still present. Wine 7.2.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-8.5? There were tons of changes in dinput recently.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #22 from Vjacheslav galdralag@bk.ru --- (In reply to joaopa from comment #21)
Does the bug still occur with wine-8.5? There were tons of changes in dinput recently.
Wine 8.5: Bug is still present
dinput_main.c has comment for problem call MsgWaitForMultipleObjectsEx: void check_dinput_events(void) { /* Windows does not do that, but our current implementation of winex11 * requires periodic event polling to forward events to the wineserver. * * We have to call this function from multiple places, because: * - some games do not explicitly poll for mouse events * (for example Culpa Innata) * - some games only poll the device, and neither keyboard nor mouse * (for example Civilization: Call to Power 2) * - some games do not explicitly poll for keyboard events * (for example Morrowind in its key binding page) */ MsgWaitForMultipleObjectsEx(0, NULL, 0, QS_ALLINPUT, 0); }
https://bugs.winehq.org/show_bug.cgi?id=39742
Neko-san nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus@protonmail.ch
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #23 from Vjacheslav galdralag@bk.ru --- Link to download full game https://disk.yandex.ee/d/jzJtWicpSI_EZQ
https://bugs.winehq.org/show_bug.cgi?id=39742
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #24 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- (In reply to Vjacheslav from comment #23)
Link to download full game https://disk.yandex.ee/d/jzJtWicpSI_EZQ
Hello,
Are you linking to a copy of the full Heroes of Might and Magic 5?
This game is still sold and protected by copyright, don't do that.
Regards.
https://bugs.winehq.org/show_bug.cgi?id=39742
--- Comment #25 from Vjacheslav galdralag@bk.ru --- Wine 9.0-rc3: Bug is still present
https://bugs.winehq.org/show_bug.cgi?id=39742
Dima butuz8@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butuz8@gmail.com
--- Comment #26 from Dima butuz8@gmail.com --- Bug still present on wine 9.3 on Mac with Apple M2 CPU (ARM architecture) System: macOS 14.3.1 (23D60) Kernel: Darwin 23.3.0
What I've noted is that behind game's main splash screen frozen there is small Windows critical window with title Error and text Failed to set display mode and OK button. Its can be seen in window swict mode (using 3 fingers scroll up on mac at least). When activate this tiny window and press Enter (its OK button) wine is closed. Wine's output of such run with export WINEDEBUG=+all was recorded to logfile and compressed (zip is 25 mb, logfile 677mb): https://drive.google.com/file/d/1dOhg1hKm_1mITjU9ZVOmIuJM4QYexdEk/view?usp=s... Please feel free to request any additional logs/traces/etc if needed!
https://bugs.winehq.org/show_bug.cgi?id=39742
Tim Clem tclem@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tclem@codeweavers.com
--- Comment #27 from Tim Clem tclem@codeweavers.com --- (In reply to Dima from comment #26)
Bug still present on wine 9.3 on Mac with Apple M2 CPU (ARM architecture) System: macOS 14.3.1 (23D60) Kernel: Darwin 23.3.0
What I've noted is that behind game's main splash screen frozen there is small Windows critical window with title Error and text Failed to set display mode and OK button. Its can be seen in window swict mode (using 3 fingers scroll up on mac at least). When activate this tiny window and press Enter (its OK button) wine is closed. Wine's output of such run with export WINEDEBUG=+all was recorded to logfile and compressed (zip is 25 mb, logfile 677mb): https://drive.google.com/file/d/1dOhg1hKm_1mITjU9ZVOmIuJM4QYexdEk/ view?usp=sharing Please feel free to request any additional logs/traces/etc if needed!
Dima, this is a different issue than what Vjacheslav reported. The game attempts to switch to fullscreen 1024x768 and 800x600, both of which are unavailable on the built-in displays on most Apple Silicon devices. I would do some searches to see if there is a way to force the game into windowed mode at startup, or to change its default resolution to one that is available.